/* 
========================================
   Aura Salon & Spa - Theme Variables
======================================== 
*/
:root {
    /* Color Palette */
    --bg-cream: #FAF7F2;
    --bg-alt: #F3ECE3;
    --color-dark: #2C2A29;
    --color-accent: #C4A482; /* Warm Taupe */
    --color-accent-light: rgba(196, 164, 130, 0.15);
    --text-main: #2C2A29;
    --text-muted: #6B6865;
    --border-color: rgba(44, 42, 41, 0.1);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 90px;
    
    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 120px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mt-2 {
    margin-top: 16px;
}

/* 
========================================
   Typography
======================================== 
*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.2;
    font-weight: 400;
}

.italic-text {
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 300;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.section-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 60px;
    font-family: var(--font-heading);
    font-style: italic;
}

/* 
========================================
   Buttons & Links
======================================== 
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-dark);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 164, 130, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 1px solid var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: #ffffff;
}

.btn-large {
    padding: 20px 40px;
    font-size: 0.95rem;
}

/* 
========================================
   Navigation
======================================== 
*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(44, 42, 41, 0.05);
    transition: background-color var(--transition-fast);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 400;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-dark);
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-dark);
    cursor: pointer;
    padding: 8px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.25s ease;
}

.mobile-link.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 
========================================
   Hero Section
======================================== 
*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(250, 247, 242, 0.5) 0%, rgba(250, 247, 242, 0.9) 100%);
}

.hero-content {
    max-width: 850px;
    text-align: center;
    padding: 0 32px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-accent-light);
    border: 1px solid rgba(196, 164, 130, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.accent-icon {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

.hero-title {
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-heading);
    font-style: italic;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-muted);
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* 
========================================
   Philosophy Section
======================================== 
*/
.philosophy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

.philosophy-image .image-frame {
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 20px 40px rgba(44, 42, 41, 0.08);
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 
========================================
   Services Section
======================================== 
*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--bg-cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 42, 41, 0.04);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 42, 41, 0.08);
}

.service-img-wrapper {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-info {
    padding: 28px;
}

.service-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-indicator {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* 
========================================
   AI Planner Widget
======================================== 
*/
.ai-widget-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    background-color: var(--bg-alt);
    border-radius: 32px;
    padding: 80px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(44, 42, 41, 0.04);
}

.ai-icon-container {
    width: 64px;
    height: 64px;
    background-color: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.ai-pulse-icon {
    color: var(--color-accent);
    width: 28px;
    height: 28px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.ai-widget-visual h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.ai-widget-visual p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.ai-perks {
    display: grid;
    gap: 16px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.perk-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.ai-widget-form {
    background-color: var(--bg-cream);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 15px 35px rgba(44, 42, 41, 0.06);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.ai-step.active {
    display: block;
}

.step-counter {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.ai-step h3 {
    font-size: 2rem;
    margin-bottom: 32px;
    font-weight: 300;
}

.options-grid {
    display: grid;
    gap: 12px;
}

.ai-option {
    background-color: var(--bg-alt);
    border: 1px solid transparent;
    color: var(--text-main);
    padding: 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
}

.ai-option:hover {
    border-color: var(--color-accent);
    background-color: rgba(196, 164, 130, 0.05);
}

.form-input {
    width: 100%;
    background-color: var(--bg-alt);
    border: 1px solid transparent;
    color: var(--text-main);
    padding: 18px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(196, 164, 130, 0.05);
}

#step-generating {
    text-align: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

#step-generating p {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-accent);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.result-header h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.plan-preview {
    background-color: var(--bg-alt);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    border-left: 3px solid var(--color-accent);
}

.plan-preview strong {
    color: var(--color-dark);
}

.coupon-box {
    border: 2px dashed var(--color-accent);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.coupon-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.coupon-code {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-dark);
}

/* 
========================================
   Stylists Section
======================================== 
*/
.stylist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stylist-card {
    background-color: var(--bg-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 42, 41, 0.03);
}

.stylist-img-wrapper {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.stylist-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stylist-info {
    padding: 32px;
    text-align: center;
}

.stylist-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.stylist-info h3 {
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.stylist-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 
========================================
   Gallery Section
======================================== 
*/
.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: 0 10px 30px rgba(44, 42, 41, 0.04);
}

.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* 
========================================
   Footer
======================================== 
*/
.footer {
    padding: 100px 0 40px;
    background-color: var(--color-dark);
    color: #FAF7F2;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer h2, .footer h3 {
    color: #FAF7F2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand h2 {
    font-size: 2.25rem;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: #B2AFA9;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: #B2AFA9;
    margin-bottom: 16px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    color: #B2AFA9;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials svg {
    width: 20px;
    height: 20px;
    color: #B2AFA9;
    cursor: pointer;
    transition: var(--transition-fast);
}

.socials svg:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    color: #8C8882;
    font-size: 0.85rem;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* 
========================================
   Animations (Reveal)
======================================== 
*/
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* 
========================================
   Responsive Design
======================================== 
*/
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
    .philosophy-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .ai-widget-wrapper {
        grid-template-columns: 1fr;
        padding: 48px;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero-title { font-size: 3.5rem; }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }

    .stylist-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.tall {
        grid-row: auto;
        aspect-ratio: 16/10;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .section { padding: 80px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .ai-widget-wrapper {
        padding: 32px 20px;
    }
    .ai-widget-form {
        padding: 32px 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* 
========================================
   Preloader Overlay
======================================== 
*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    visibility: visible;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 8px;
    margin-bottom: 20px;
    animation: logoFade 1.8s ease-in-out infinite alternate;
}

.preloader-bar {
    width: 120px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    animation: barProgress 1.5s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

@keyframes logoFade {
    0% { opacity: 0.3; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes barProgress {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}
