:root {
    --primary-brown: #6B5843;
    --secondary-brown: #8B7355;
    --cream: #E8D5BE;
    --cream-light: #F5EDE3;
    --cream-dark: #D4C3AD;
    --text-dark: #3D3228;
    --text-medium: #6B5843;
    --text-light: #9B8B7A;
    --bg-light: #FFFCF8;
    --bg-warm: #F9F3EB;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-light);
}

header {
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 57.5px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links-center {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    list-style: none;
    gap: 2.5rem;
}

.nav-links-center li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-cta-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary-brown);
}

.cta-nav {
    background-color: var(--primary-brown);
    color: var(--cream-light) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.2s;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

.cta-nav:hover {
    background-color: var(--secondary-brown);
    color: white !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-brown);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 999;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--bg-warm);
    color: var(--primary-brown);
}

.page-hero {
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 100%);
    padding: 4rem 3rem 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 400;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

.treatment-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.subsection-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 4rem 0 2.5rem;
    font-weight: 400;
    text-align: center;
}

.subsection-title:first-of-type {
    margin-top: 0;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Four cards in one row on desktop */
.four-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.treatment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(201, 168, 124, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(201, 168, 124, 0.2);
}

.treatment-card.best-seller {
    border: 3px solid var(--primary-brown);
    position: relative;
}

.treatment-card.best-seller::before {
    content: "PIÙ RICHIESTO";
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-brown);
    color: var(--cream-light);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    z-index: 10;
}

.treatment-card.piu-amato {
    border: 3px solid var(--primary-brown);
    position: relative;
}

.treatment-card.piu-amato::before {
    content: "PIÙ AMATO";
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-brown);
    color: var(--cream-light);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    z-index: 10;
}

.treatment-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.treatment-card:hover .treatment-image {
    transform: scale(1.05);
}

.treatment-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.treatment-name {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.treatment-benefit {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
}

.treatment-benefit strong {
    color: var(--primary-brown);
}

.treatment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 2px solid var(--cream);
    border-bottom: 2px solid var(--cream);
    margin-bottom: 1.5rem;
}

.treatment-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.treatment-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-brown);
}

.btn-prenota {
    background-color: var(--primary-brown);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    display: block;
}

.btn-prenota:hover {
    background-color: var(--secondary-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 88, 67, 0.3);
}

.whatsapp-cta {
    text-align: center;
    margin: 4rem 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #25D366;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.section-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--cream-light), var(--cream));
    border-radius: 15px;
}

.section-cta h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-cta p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.section-cta a {
    display: inline-block;
    background-color: var(--primary-brown);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.section-cta a:hover {
    background-color: var(--secondary-brown);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-hero {
        padding: 3rem 1.5rem 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    /* Treatment Sections */
    .treatment-section {
        padding: 3rem 1.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stack four-card-grid on mobile */
    .four-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* === SIMPLE MOBILE MENU === */

    nav {
        padding: 1rem;
    }

    .logo img {
        height: 46px;
    }

    /* Show hamburger */
    .mobile-menu-toggle {
        display: block;
    }

    /* Hide menu by default */
    .nav-links-center {
        display: none;
    }

    /* Show menu when active */
    .nav-links-center.active {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        background: white;
        padding: 70px 20px 20px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.2);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links-center.active li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links-center.active li a {
        display: block;
        padding: 15px 10px;
    }

    /* Hide Prenota button on mobile */
    .nav-cta-wrapper {
        display: none;
    }

    /* Dropdown in menu */
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: #f5f5f5;
        border-radius: 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 10px 20px;
    }

    /* Show Prenota button in mobile menu */
    .nav-cta-wrapper {
        display: none;
    }

    .nav-links-center.active ~ .nav-cta-wrapper {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        left: auto;
        width: calc(300px - 40px);
        z-index: 1001;
    }

    .nav-links-center.active ~ .nav-cta-wrapper .cta-nav {
        display: block;
        text-align: center;
        width: 100%;
        padding: 12px 20px;
    }

    /* Treatment Cards */
    .treatment-content {
        padding: 1.5rem;
    }

    .treatment-name {
        font-size: 1.5rem;
    }

    .treatment-benefit {
        font-size: 1rem;
    }

    .treatment-price {
        font-size: 1.5rem;
    }

    /* Treatment Cards Grid - 1 column on mobile */
    .treatment-cards-grid {
        grid-template-columns: 1fr !important;
    }

    /* Buttons */
    .btn-prenota,
    .btn-whatsapp {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Contact Section */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.contact {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1613 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(201, 168, 124, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-intro h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: center;
}

.contact-intro p {
    color: #D0C4B8;
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 500px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201, 168, 124, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-brown), var(--secondary-brown));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 168, 124, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 5px 15px rgba(201, 168, 124, 0.3);
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-item-content {
    width: 100%;
}

.contact-item-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--cream);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.contact-item-content p {
    color: #E5DDD5;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-item-content a {
    transition: color 0.3s ease;
}

.contact-item-content a:hover {
    color: var(--cream) !important;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #25D366;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-links-container {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(232, 213, 190, 0.2);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 55px;
    height: 55px;
    background-color: rgba(232, 213, 190, 0.2);
    border: 2px solid var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--cream);
    color: var(--primary-brown);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(232, 213, 190, 0.4);
}

.social-links a svg {
    transition: transform 0.3s ease;
}

.social-links a:hover svg {
    transform: scale(1.1);
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-intro {
        margin-bottom: 2rem;
        padding-bottom: 0;
        border-bottom: none !important;
    }

    .contact-details {
        grid-template-columns: 1fr;
        border-top: none !important;
        border: none !important;
        padding-top: 0;
        margin-top: 0;
    }

    .contact-item {
        border-top: none !important;
    }

    .contact-intro h2 {
        font-size: 2.2rem;
    }
}

/* Footer */
footer {
    background-color: #0E0B09;
    color: #D9CCBF;
    text-align: center;
    padding: 2.5rem 2rem 3rem;
    font-family: 'Montserrat', sans-serif;
}

.site-footer__copy {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: rgba(232, 213, 190, 0.7);
    margin: 0 0 1.5rem;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    margin-bottom: 0.9rem;
    color: #F5EDE3;
}

.site-footer__links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer__links a:hover {
    color: #ffffff;
}

.site-footer__divider {
    opacity: 0.5;
}

.site-footer__meta {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: #F5EDE3;
}
