/*
   VANITY FASHION COLORS
*/

:root {
    --emerald: #0F3B36;
    --gold: #C9A86A;
    --nude-light: #FDF7F5;
    --nude-dark: #F5EAE6;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --transition: all 0.4s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Fashion */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--nude-light);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 5px 20px rgba(15, 59, 54, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--emerald);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 8px;
    margin-left: 15px;
    align-items: center;
    border-left: 1px solid var(--nude-dark);
    padding-left: 15px;
}

.lang-btn {
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--emerald);
    opacity: 0.5;
    transition: var(--transition);
    cursor: pointer;
}

.lang-btn.active {
    opacity: 1;
    color: var(--gold);
}

.lang-btn:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 155vh;
    padding: 185px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/home-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.slogan {
    color: white;
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-top: 20px;
    font-style: italic;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Sezioni */
section {
    padding: 100px 0;
}

.about {
    padding: 230px 0;
    background: linear-gradient(rgba(15, 59, 54, 0.7), rgba(15, 59, 54, 0.7)), url('../img/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
}

.about .section-title {
    color: var(--gold);
}

.about p {
    color: white !important;
}

.section-title {
    font-size: 2.5rem;
    color: var(--emerald);
    margin-bottom: 40px;
    text-align: center;
}

/* Card Trattamenti */
.treatment-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--nude-dark);
    transition: var(--transition);
    text-align: center;
}

.treatment-card:hover {
    background-color: var(--nude-light);
    border-color: var(--gold);
}

.card-icon {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Pulsanti */
.btn-gold-large {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--emerald);
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid var(--emerald);
}

.btn-gold-large:hover {
    background-color: transparent;
    color: var(--emerald);
}

.btn-gold-small {
    background-color: var(--gold);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Pacchetti */
.packages {
    background-color: var(--emerald);
    color: white;
}

.packages .section-title {
    color: white;
}

.package-card {
    border: 1px solid var(--gold);
    padding: 30px;
    background: rgba(255,255,255,0.05);
}

.package-card h3 {
    color: var(--gold);
}

/* Footer */
footer {
    background-color: var(--black);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-hero img {
    height: auto;
    max-width: 400px;
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 59, 54, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--nude-light);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--gold);
    width: 95%;
    max-width: 800px;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border: 1px solid var(--nude-dark);
}

.time-slot {
    padding: 10px;
    border: 1px solid var(--nude-dark);
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.time-slot:hover:not(.disabled) {
    background-color: var(--gold);
    color: white;
    border-color: var(--gold);
}

.time-slot.selected {
    background-color: var(--emerald);
    color: white;
    border-color: var(--emerald);
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: #eee;
}

.flatpickr-calendar {
    box-shadow: none !important;
    border: 1px solid var(--nude-dark) !important;
    background: white !important;
}

.flatpickr-day.selected {
    background: var(--emerald) !important;
    border-color: var(--emerald) !important;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--emerald);
}

.modal-content h2 {
    color: var(--emerald);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form input {
    padding: 15px;
    border: 1px solid var(--nude-dark);
    background-color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.booking-form input:focus {
    border-color: var(--gold);
}

.booking-form label {
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 700;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-contact {
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: var(--transition);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-contact.wa {
    background-color: #25D366;
    color: white;
}

.btn-contact.mail {
    background-color: var(--emerald);
    color: white;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* MOBILE */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        padding: 10px 0 12px;
    }

    .navbar .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 12px;
    }

    .logo img {
        height: 58px;
    }

    nav ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 20px;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        font-size: 0.72rem;
        letter-spacing: 1.6px;
    }

    .lang-selector {
        width: 100%;
        justify-content: center;
        margin: 2px 0 0;
        padding-left: 0;
        border-left: none;
        gap: 14px;
    }

    .lang-btn {
        font-size: 0.75rem;
    }

    .hero {
        min-height: 82vh;
        padding: 30px 18px 55px;
        background-position: center center;
        background-size: cover;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .logo-hero img {
        max-width: 68vw;
        height: auto;
        margin: 0 auto;
    }

    .slogan {
        font-size: 1.75rem !important;
        line-height: 1.35;
        letter-spacing: 2px;
        margin-top: 28px;
        color: white;
        text-shadow: 2px 2px 12px rgba(0,0,0,0.72);
    }

    .btn-gold-large {
        max-width: 90vw;
        padding: 17px 34px;
        margin-top: 22px;
    }

    .about {
        padding: 90px 20px;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 2% auto;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .time-slots-container {
        grid-template-columns: repeat(2, 1fr);
    }
}