:root {
    --primary-bg: #ffffff;
    --accent-color: #f2e1db;
    --text-color: #4a4a4a;
    --rosa-cipria: #fff5ee;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--body-font);
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1); 
    min-height: 130px;
    position: relative !important; 
    top: auto !important;
}

.nav-container, 
.nav-spacer {
    flex: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: opacity 0.3s;
}

.nav-links li a:hover {
    opacity: 0.6;
}

/* LOGO */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.logo-initial {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 400;
    line-height: 0.7;
    margin-bottom: 10px;
    color: var(--text-color);
}

.logo-name {
    font-family: var(--heading-font);
    font-size: 1rem;
    letter-spacing: 8px;
    font-weight: 400;  
    white-space: nowrap;
    border: none; 
    padding-top: 0;
}

/* SUBMENU PORTFOLIO */
.has-submenu {
    position: relative;
}

.submenu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 15px 0;
    min-width: 180px;
    border: 1px solid rgba(0,0,0,0.1);
    list-style: none;
    z-index: 999;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.7rem !important;
    color: var(--text-color);
    letter-spacing: 1px;
    text-align: left;
}

.submenu li a:hover {
    background-color: #f9f9f9;
    opacity: 1 !important;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 85vh;
    padding: 0 10%;
    background-color: #ffffff;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.hero-content {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-right: 40px;
}

.hero-text {
    max-width: 500px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

.hero-text h1 {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
}

.hero-text p {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    hyphens: auto;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

/* MINDFUL LIVING SECTION */
.mindful-living {
    background-color: var(--rosa-cipria);
    padding: 80px 5%;
    width: 100%;
}

.content-grid {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.side-img, .side-text {
    flex: 1;
    min-width: 0;
}

.side-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.side-text {
    display: flex;
    flex-direction: column;
}

.side-text h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.side-text p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 25px;
}

.read-more {
    display: inline-block;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding-bottom: 5px;
    align-self: flex-start;
}

/* TESTIMONIALS */
.testimonials {
    background-color: var(--primary-bg);
    padding: 130px 20px;
    text-align: center;
}

.testimonials h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 200 !important;
    color: var(--text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 25px;
}

.testimonials .quote {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    padding-bottom: 0;
}

/* OFFERINGS SECTION */
.offerings {
    background-color: var(--rosa-cipria); 
    padding: 80px 5%; 
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    max-width: 1600px;
    margin: 0 auto;
}

.offer-card {
    background: #ffffff;
    padding: 40px 50px; 
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 450px;
    transition: all 0.3s ease;
}

.offer-img {
    width: 100%;
    max-width: 220px;
    height: 140px;    
    object-fit: cover;
    margin-bottom: 20px;
}

.offer-card h3 {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.offer-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: justify;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 5; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-card .read-more {
    width: 100%;
    max-width: 250px;
    padding: 12px 0;
    background-color: var(--accent-color);
    color: #ffffff !important;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* FOOTER */
.main-footer {
    background-color: #ffffff;
    padding: 80px 5% 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo .logo-initial {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 0.7;
    margin-bottom: 10px;
    color: var(--text-color);
}

.footer-logo .logo-name {
    font-family: var(--heading-font);
    font-size: 0.9rem;
    letter-spacing: 6px;
    font-weight: 400;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
}

.footer-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.3s;
}

.footer-links li a:hover {
    opacity: 0.6;
}

/* --- ADATTAMENTO MOBILE --- */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        min-height: auto;
        padding: 20px 0;
        gap: 15px;
    }

    .nav-container {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-links {
        gap: 15px;
        padding: 0 10px;
    }

    .nav-links li a {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .logo-initial {
        font-size: 3rem;
    }

    .logo-name {
        font-size: 0.75rem;
        letter-spacing: 4px;
    }

    .hero {
        flex-direction: column;
        padding: 60px 20px;
        min-height: auto;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-image-container {
        order: 1;
        width: 100%;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        text-align: center;
    }

    .hero-text p {
        text-align: justify;
        text-align-last: center;
    }

    .btn-primary {
        margin: 0 auto;
        display: table;
    }

    .content-grid {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .side-img, .side-text {
        width: 100% !important;
        flex: none !important;
    }

    .side-img {
        order: 1 !important;
    }

    .side-text {
        order: 2 !important;
        text-align: center;
        align-items: center;
    }

    .side-text p {
        text-align: justify;
    }

    .read-more {
        align-self: center !important;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .offer-card {
        min-height: auto;
        padding: 30px 20px;
    }

    .testimonials {
        padding: 60px 20px;
    }

    .testimonials h2 {
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .testimonials .quote {
        text-align: center;
        font-size: 1.2rem;
    }

    .main-footer {
        padding: 60px 5% 30px;
    }

    .footer-container {
        gap: 35px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-logo .logo-initial {
        font-size: 3rem;
    }

    .footer-logo .logo-name {
        font-size: 0.8rem;
        letter-spacing: 4px;
    }
}