/* 
 * BellAnge Salon - Premium Styles
 * Colors: Baby Pink, Pastel Blue, White
 */

:root {
    /* Color Palette */
    --primary-pink: #FFC4D6;
    --primary-blue: #A0C4FF;
    --secondary-pink: #FFD1DC;
    --secondary-blue: #C7CEEA;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gradient-main: linear-gradient(135deg, #FFC4D6 0%, #A0C4FF 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F7E98D 50%, #D4AF37 100%);

    /* Typography */
    --font-heading: 'Helvetica', sans-serif;
    --font-body: 'Helvetica', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --shadow-soft: 0 10px 30px rgba(160, 196, 255, 0.2);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.svg-inline {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.2em;
    fill: currentColor;
    display: inline-block;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-main);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 196, 214, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(160, 196, 255, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(160, 196, 255, 0.4);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(160, 196, 255, 0.5), 0 8px 25px rgba(160, 196, 255, 0.6);
}

/* Button Variants */
.btn-pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 196, 214, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 196, 214, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 196, 214, 0); }
}

.btn-gold {
    background: var(--gradient-gold) !important;
    color: #4a3400 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-neon {
    background: transparent !important;
    border: 2px solid var(--primary-pink);
    color: var(--text-dark) !important;
    box-shadow: none;
}

.btn-neon:hover {
    background: var(--primary-pink) !important;
    color: var(--white) !important;
    box-shadow: 0 0 20px rgba(255, 196, 214, 0.6);
}

/* Navigation */
.navbar {
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 100px;
    width: auto;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin: -10px 0;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
}

.nav-links a:not(.btn-primary):hover, .dropbtn:hover {
    color: var(--primary-pink);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.dropbtn::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-bottom: 3px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn::after {
    transform: rotate(-135deg);
    margin-bottom: -3px;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    min-width: 240px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 196, 214, 0.2);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
    color: #DB7093; /* A darker, legible pink (PaleVioletRed) */
    font-weight: 600;
}

.dropdown-content a:hover {
    background-color: var(--secondary-pink);
    color: var(--text-dark) !important;
}

.dropdown-content a:last-child:hover {
    color: #C71585 !important; /* MediumVioletRed on hover */
}

/* Show dropdown on hover (Desktop) */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        top: 100%;
        margin-top: 20px;
    }
    
    .dropdown:hover .dropbtn {
        color: var(--primary-pink);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero_whatsapp.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    text-align: center;
    padding-top: 80px;
    /* offset for fixed nav */
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100dvh;
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_whatsapp.jpg') center center / cover no-repeat !important;
        padding: 120px 20px 60px;
    }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.6rem;
        margin-bottom: 15px;
    }
}

.hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--off-white);
    max-width: 850px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.4rem !important;
    margin-bottom: 15px !important;
}

@media (max-width: 768px) {
    .hero-content p {
        font-size: 1.1rem;
        max-width: 90%;
    }
    .hero-subtitle {
        font-size: 1.8rem !important;
    }
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.bg-light {
    background-color: var(--white);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 196, 214, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }
    
    .stat-item h3 {
        font-size: 2rem !important;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        gap: 15px;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Footer Improvements */
footer {
    background: var(--white);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 196, 214, 0.2);
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary-pink);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-main);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-pink);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 196, 214, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--gradient-main);
    color: var(--white);
    border-color: transparent;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-legal-links a:hover {
    color: var(--primary-pink);
}

@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Appointment Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 196, 214, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(160, 196, 255, 0.2);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Service Cards Updates */
.service-card {
    cursor: pointer;
    position: relative;
    /* transition already defined */
}

.price-tag {
    margin-top: 15px;
    display: inline-block;
    background: rgba(160, 196, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-pink);
    border: 1px solid var(--primary-pink);
}

/* Flip Card Styles */
/* Categories & Scrolling */
.category-section {
    margin-bottom: 80px;
    position: relative;
}

.category-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
    font-family: var(--font-heading);
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 196, 214, 0.5);
}

.scroll-wrapper {
    position: relative;
    width: 100%;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 20px 20px 40px 20px;
    /* Bottom padding for card shadows */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    justify-content: safe center;
}

@media (max-width: 992px) {
    .scroll-container {
        justify-content: flex-start;
    }
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 196, 214, 0.4);
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.scroll-arrow:hover {
    background: var(--primary-pink);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.scroll-arrow.prev {
    left: -25px;
}

.scroll-arrow.next {
    right: -25px;
}

/* Hide arrows on mobile if needed, though they might be useful */
@media (max-width: 768px) {
    .scroll-arrow {
        display: none;
    }
}

.scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.service-card {
    background-color: transparent;
    min-width: 250px;
    /* Fixed width for scroll items */
    width: 250px;
    flex-shrink: 0;
    height: 380px;
    perspective: 1000px;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    scroll-snap-align: center;
}



.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover:not(.unflipped-manual) .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.service-card.flipped .flip-card-inner {
    transform: rotateY(180deg) !important;
}

.service-card.unflipped-manual .flip-card-inner {
    transform: rotateY(0deg) !important;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 196, 214, 0.3);
    background-color: var(--white);
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.flip-card-front {
    color: var(--text-dark);
    pointer-events: auto;
    z-index: 2;
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(250, 250, 250, 1), rgba(255, 240, 245, 0.5));
    color: var(--text-dark);
    transform: rotateY(180deg);
    overflow-y: auto;
    justify-content: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
    pointer-events: none;
    z-index: 1;
}

/* Toggle z-index and pointer-events when flipped to prevent iOS Safari 3D touch issues */
.service-card.flipped .flip-card-front {
    pointer-events: none;
    z-index: 1;
}

.service-card.flipped .flip-card-back {
    pointer-events: auto;
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover:not(.unflipped-manual) .flip-card-front {
        pointer-events: none;
    }
    .service-card:hover:not(.unflipped-manual) .flip-card-back {
        pointer-events: auto;
    }
}

/* Flip Hint Button */
.flip-hint {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 196, 214, 0.25);
    border: 1px solid rgba(255, 196, 214, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-pink);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    animation: wiggle 3s infinite ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    pointer-events: auto;
}

.flip-card-back .flip-hint {
    background: rgba(199, 21, 133, 0.15);
    border: 1px solid rgba(199, 21, 133, 0.35);
    color: #C71585;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    10%, 30% { transform: rotate(-10deg) scale(1.1); }
    20%, 40% { transform: rotate(10deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1); }
}

@media (max-width: 768px) {
    .flip-hint {
        display: flex;
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }
    
    .flip-card-front h3, 
    .flip-card-front p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

.flip-card-front .icon-box {
    font-size: 3rem;
    margin-bottom: 15px;
}

.flip-card-front h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    margin-bottom: 5px;
    color: var(--text-dark);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    width: 100%;
}

.flip-card-front p {
    color: var(--text-light);
    font-size: 0.92rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    width: 100%;
}

/* Back Content */
.flip-card-back h3 {
    color: #C71585; /* MediumVioletRed for much better contrast against light background */
    margin-bottom: 15px;
    font-size: clamp(1.05rem, 4vw, 1.2rem);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 8px;
    display: inline-block;
    max-width: 80%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.benefits-list {
    list-style: none;
    text-align: left;
    width: 100%;
    padding: 0 5px;
    margin-bottom: 20px;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

.benefit-number {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Contact Section Additional Styles */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.contact-info,
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    margin-top: 40px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info .info-item strong {
    min-width: 80px;
}

.contact-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    fill: #000;
    flex-shrink: 0;
}

.contact-info .info-item span {
    color: var(--text-dark);
}

/* Ensure form fits well */
.contact-form {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 30px 0;
        gap: 25px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .dropdown.active .dropdown-content {
        display: flex;
    }

    .dropdown-content a {
        padding: 8px 15px;
        font-size: 0.95rem;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2, .category-title {
        font-size: 2rem;
    }

    .scroll-container {
        gap: 20px;
        padding: 10px 10px 30px 10px;
    }

    .service-card {
        min-width: 260px;
        width: 260px;
        max-width: 85vw;
        height: 390px;
    }

    .flip-card-front, .flip-card-back {
        padding: 18px 14px;
    }
    
    .flip-card-back {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .contact-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info,
    .contact-form-wrapper {
        width: 100%;
        min-width: unset;
    }
}

/* Admin Panel & Slots */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.slot-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--white);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.slot-btn {
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f0f0f0;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.slot-btn:hover {
    background-color: #e4e4e4;
    border-color: #ccc;
}

.slot-btn.available {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.1);
}

.slot-btn.available:hover {
    background-color: #c3e6cb;
}

.slot-note {
    width: 100%;
    padding: 8px;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    min-height: 40px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.slot-note:focus {
    outline: none;
    border-color: var(--primary-pink);
}

/* Client Side Booking Slots */
.client-slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.client-slot-grid .slot-btn {
    background-color: var(--white);
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
}

.client-slot-grid .slot-btn:hover {
    background-color: var(--primary-pink);
    color: var(--white);
}

.client-slot-grid .slot-btn.selected {
    background-color: var(--primary-pink);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 196, 214, 0.5);
    border-color: var(--primary-pink);
}

.client-slot-grid .slot-btn.expired {
    background-color: #fff1f0 !important;
    border: 1px solid #ffa39e !important;
    color: #d9363e !important;
    cursor: not-allowed !important;
    opacity: 0.85;
    pointer-events: none;
    box-shadow: none !important;
}

.client-slot-grid .slot-btn.expired .expired-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #cf1322;
    margin-top: 2px;
}

/* Booking Wizard */
.wizard-container {
    max-width: 900px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    background: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    border: 2px solid #eee;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.step-item.active {
    background: var(--primary-pink);
    color: var(--white);
    border-color: var(--primary-pink);
    box-shadow: 0 0 15px rgba(255, 196, 214, 0.5);
}

.step-item.completed {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.wizard-content {
    animation: wizardFadeIn 0.4s ease-out;
}

@keyframes wizardFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Category & Service Grids */
.category-grid, .service-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card, .service-select-card {
    background: var(--off-white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.category-card:hover, .service-select-card:hover {
    background: var(--white);
    border-color: var(--primary-pink);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.category-card.selected, .service-select-card.selected {
    border-color: var(--primary-pink);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.category-card .icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.category-card h3 { font-size: 1.1rem; margin-bottom: 5px; font-family: var(--font-body); }

/* Service Select Card Extra */
.service-select-card {
    text-align: left;
    padding: 20px;
}

.service-select-card h4 {
    margin-bottom: 5px;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.service-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
}

.service-price {
    font-weight: 700;
    color: var(--primary-pink);
}

/* Therapist Cards */
.therapist-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.therapist-card {
    width: 260px;
    background: var(--off-white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.therapist-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 3px solid var(--white);
    background: #eee;
}

.therapist-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.therapist-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.therapist-card.selected, .service-select-card.selected {
    border-color: var(--primary-blue);
    background: var(--off-white);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.service-select-card.selected::before {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Custom Calendar */
.calendar-wrapper {
    background: var(--off-white);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cal-btn {
    background: var(--white);
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-day-head { 
    font-weight: 700; 
    color: var(--text-light); 
    padding: 10px 0; 
    font-size: 0.8rem;
}

.calendar-day {
    padding: 10px 5px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: var(--white);
    font-size: 0.9rem;
    min-height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calendar-day:not(.empty):not(.disabled):hover {
    background: var(--secondary-pink);
}

.calendar-day.selected {
    background: var(--primary-pink) !important;
    color: var(--white);
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

.calendar-day.today {
    border: 1px solid var(--primary-blue);
}

/* Nav Buttons */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-outline {
    padding: 10px 25px;
    border: 2px solid var(--primary-pink);
    background: transparent;
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-pink);
    color: var(--white);
}

.btn-outline:disabled {
    border-color: #eee;
    color: #ccc;
    cursor: not-allowed;
}

.btn-wizard-next {
    padding: 10px 35px;
}

/* Thank you summary */
.summary-box {
    background: var(--off-white);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: left;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.summary-value {
    font-weight: 600;
}

.summary-item.total {
    margin-top: 10px;
    border-top: 2px solid var(--primary-blue);
    border-bottom: none;
    padding-top: 15px;
}

.summary-item.total .summary-value {
    font-size: 1.2rem;
    color: var(--primary-pink);
}

/* Services Tables */
.epilare-tables-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.epilare-table-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 196, 214, 0.2);
    overflow-x: auto;
}

.epilare-table-box h3 {
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary-pink);
    font-size: 1.8rem;
    border-bottom: 2px solid var(--secondary-blue);
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.services-table th, .services-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.services-table th {
    background: var(--off-white);
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.services-table tr:hover {
    background-color: rgba(160, 196, 255, 0.05);
}

.services-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.services-table td {
    color: var(--text-light);
    font-variant-numeric: tabular-nums;
}

.table-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

.promo-badge {
    background: var(--gradient-main);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* WhatsApp Buttons */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 25px 0;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 2px solid var(--primary-pink);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.cookie-text a {
    color: #DB7093;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-cookie-accept {
    background: var(--gradient-main);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 196, 214, 0.4);
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 196, 214, 0.6);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-light);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-cookie-decline:hover {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cookie-text {
        min-width: unset;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Accessibility Utilities & Enhancements */
.skip-link {
    position: absolute;
    top: -100px;
    left: 15px;
    background: var(--text-dark);
    color: var(--white);
    padding: 12px 24px;
    z-index: 9999;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: top 0.2s ease-in-out;
}

.skip-link:focus {
    top: 15px;
    outline: 3px solid var(--primary-pink);
}

:focus-visible {
    outline: 3px solid var(--primary-pink);
    outline-offset: 3px;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

