/* 
  Esthetica by Dr. Shangavi - Premium Vanilla CSS
  Theme: Clean white base, Rose Gold and Subtle Violet accents.
*/

:root {
    /* Color Palette */
    --clr-bg: #FFFFFF;
    --clr-bg-alt: #FAFAFA;
    --clr-text-main: #1C1C1C;
    --clr-text-muted: #555555;
    
    /* Accents */
    --clr-rose-gold: #C07C88;
    --clr-rose-gold-light: #E8CCD0;
    --clr-violet: #7A5E93;
    --clr-violet-light: #C0B4CE;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--clr-rose-gold) 0%, var(--clr-violet) 100%);
    --gradient-hover: linear-gradient(135deg, #CF8F9A 0%, #8C70A4 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* UI Values */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* Shadows - Soft luxurious shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(122, 94, 147, 0.08);
    --shadow-lg: 0 20px 40px rgba(122, 94, 147, 0.12);
    
    /* Transitions */
    --smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--smooth);
}

ul {
    list-style: none;
}

/* Typography Tools */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--clr-violet);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--clr-bg-alt); }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #FFF;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform var(--smooth), box-shadow var(--smooth), background var(--smooth);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--clr-text-main);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--clr-violet-light);
    cursor: pointer;
    transition: all var(--smooth);
}

.btn-secondary:hover {
    border-color: var(--clr-violet);
    color: var(--clr-violet);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: padding var(--smooth), background var(--smooth);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    flex-direction: column;
}
.brand-logo img {
    height: 80px; /* Reduced from 144px back to a 1X-ish 80px */
    width: auto;
    object-fit: contain;
}

#logo-text .brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

#logo-text .brand-sub {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--clr-text-muted);
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-main);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    bottom: -4px;
    left: 0;
    transition: width var(--smooth);
}

.nav-links li a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-main);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFF;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--smooth);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-placeholder {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img, .hero-video {
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px 180px 40px 40px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--clr-rose-gold-light);
    top: 10%;
    right: 20%;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--clr-violet-light);
    bottom: -10%;
    left: 10%;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #FFF;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--clr-violet);
    z-index: 2;
}

.about-desc {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

.about-highlights {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    color: var(--clr-text-muted);
}

.about-highlights li strong {
    color: var(--clr-text-main);
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.accent-icon {
    color: var(--clr-rose-gold);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Services - Tabbed Modern Layout */
.services-tab-container {
    width: 100%;
    margin-top: 2rem;
}

.services-tabs, .gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn, .gallery-tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--clr-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--smooth);
    position: relative;
    bottom: -1px;
}

.tab-btn:hover, .gallery-tab-btn:hover {
    color: var(--clr-text-main);
}

.tab-btn.active, .gallery-tab-btn.active {
    color: var(--clr-text-main);
    border-bottom: 2px solid var(--clr-rose-gold);
}

.tab-contents, .gallery-tab-contents {
    position: relative;
}

.tab-content, .gallery-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active, .gallery-tab-content.active {
    display: block;
}

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

.services-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.service-card-modern {
    background: #FFF;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--smooth), transform var(--smooth);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    color: var(--clr-rose-gold);
    margin-bottom: 1.5rem;
}

.star-sm {
    width: 24px;
    height: 24px;
}

.modern-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
}

.modern-card-price {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--clr-violet);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.modern-card-desc {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--clr-text-muted);
    align-self: flex-start;
}

.duration-badge i {
    width: 12px;
    height: 12px;
}

/* Gallery (Clean Grid Layout) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #FFF;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Reviews */
.reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: #FFF;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    min-width: 320px;
    max-width: 400px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.star-icon {
    color: #FACC15;
    fill: #FACC15;
    width: 18px;
    height: 18px;
}

.review-text {
    font-style: italic;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: 600;
    color: var(--clr-text-main);
}

/* Footer & Contact */
.footer {
    background: var(--clr-text-main);
    color: #FFF;
    padding-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.9);
}

.contact-details p a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-form-wrapper {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: var(--radius-md);
}

.footer-form-wrapper h4 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

/* Base Inputs - Standardizing fields across forms */
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="time"],
select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #FFF;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--smooth);
}

input::placeholder {
    color: rgba(255,255,255,0.5);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--clr-rose-gold);
    background: rgba(255,255,255,0.15);
}

/* Specifically invert colors for the Light Modal Form */
.modal-content input, .modal-content select {
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.02);
    color: var(--clr-text-main);
}
.modal-content input::placeholder {
    color: rgba(0,0,0,0.4);
}
.modal-content input:focus, .modal-content select:focus {
    border-color: var(--clr-violet);
    background: #FFF;
}
.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}


.form-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-top: 1rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #FFF;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--smooth);
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-muted);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--clr-text-main);
}

.modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-violet);
}

.modal-header p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.booking-success-msg {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(122, 94, 147, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--clr-violet);
    font-weight: 500;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}
.whatsapp-float svg {
    fill: #FFF;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Revealing Utility Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0,0);
}


/* Responsive Design */
@media (max-width: 968px) {
    .nav-links, .navbar .btn-primary {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-placeholder {
        margin-top: 3rem;
        width: 100%;
        height: 400px;
    }
    
    .brand-logo img {
        height: 80px; /* scaled down for mobile so it doesn't break header */
    }

    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .about-image-wrapper {
        order: 2;
    }
    .about-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section {
        padding: 4rem 0;
    }
    .modal-content {
        padding: 1.5rem;
        max-height: 85vh;
    }
    .modal-header {
        margin-bottom: 1rem;
    }
    .modal-header h2 {
        font-size: 1.25rem;
    }
    .form-group {
        margin-bottom: 0.8rem;
    }
    .form-group label {
        margin-bottom: 0.2rem;
    }
    input[type="text"], input[type="tel"], input[type="date"], select {
        padding: 0.7rem 1rem;
    }
}
