/* 
 * Salon Anova Redesign Stylesheet
 * Premium Gold & Charcoal Design System
 */

/* ==========================================================================
   1. DESIGN TOKENS (CSS VARIABLES)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-dark: #121212;
    --color-bg-card: #1c1c1e;
    --color-bg-navbar: rgba(18, 18, 18, 0.85);
    
    --color-accent: #dcb879;
    --color-accent-hover: #f3d39c;
    --color-accent-rgb: 220, 184, 121;
    
    --color-text-primary: #fcfcfc;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing & Layout */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 2rem;     /* 32px */
    --spacing-lg: 4rem;     /* 64px */
    --spacing-xl: 8rem;     /* 128px */
    
    --container-max-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    /* Transitions & Effects */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.7);
    --glass-blur: blur(12px);
    --glass-border: 1px solid rgba(220, 184, 121, 0.15);
}

/* ==========================================================================
   2. BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

/* Common Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--color-bg-navbar);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color var(--transition-fast);
}

header.scrolled {
    background-color: #0d0d0d;
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

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

/* Desktop Navbar */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-item a {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--color-accent);
}

/* Language and Booking CTA in Nav */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.lang-switch {
    display: flex;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--border-radius-sm);
}

.lang-btn {
    padding: 4px 8px;
    color: var(--color-text-secondary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.lang-btn.active {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.nav-cta-btn {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(220, 184, 121, 0.2);
}

.nav-cta-btn:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 184, 121, 0.3);
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   4. HERO SPLASH SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 18, 18, 0.6) 0%,
        rgba(18, 18, 18, 0.8) 70%,
        rgba(18, 18, 18, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
    margin-top: 60px; /* Offset for floating header */
}

.hero-logo-large {
    max-width: 200px;
    margin: 0 auto var(--spacing-md) auto;
    animation: fadeInDown 1s ease;
}

.hero-title-text {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease;
}

.hero-subtitle-text {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    animation: fadeInUp 1.2s ease;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    animation: fadeInUp 1.4s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 20px rgba(220, 184, 121, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 184, 121, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
}

.btn-secondary:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   5. DYNAMIC STATUS BADGE & PROMO CTA
   ========================================================================== */
.promo-bar {
    background: linear-gradient(135deg, #1f1f23 0%, #151518 100%);
    border-top: 1px solid rgba(220, 184, 121, 0.2);
    border-bottom: 1px solid rgba(220, 184, 121, 0.2);
    padding: var(--spacing-sm) 0;
}

.promo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.promo-text h3 {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.promo-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.status-badge-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Real-Time Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.badge-open {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-open .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-success);
    box-shadow: 0 0 10px var(--color-success);
    animation: pulse 2s infinite;
}

.badge-closed {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-closed .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-error);
}

.status-detail {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   6. WELCOME / ABOUT US SECTION
   ========================================================================== */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Mosaic Image Layout */
.welcome-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
}

.mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.mosaic-img:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.mosaic-img.pos-1 { grid-column: 1 / 4; grid-row: 1; }
.mosaic-img.pos-2 { grid-column: 4 / 7; grid-row: 1; }
.mosaic-img.pos-3 { grid-column: 1 / 3; grid-row: 2; }
.mosaic-img.pos-4 { grid-column: 3 / 7; grid-row: 2; }

/* Welcome Content */
.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.welcome-content .btn {
    margin-top: var(--spacing-sm);
}

/* ==========================================================================
   7. SERVICES & PRICING
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 500;
}

/* Glassmorphism Price Cards Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-sm);
}

.price-card {
    background: var(--color-bg-card);
    border: var(--glass-border);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    transform: scaleY(0);
    transition: transform var(--transition-fast);
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 184, 121, 0.4);
    box-shadow: var(--shadow-md);
}

.price-card:hover::before {
    transform: scaleY(1);
}

.price-card h3 {
    font-size: 1.35rem;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.price-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-accent);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   8. STYLE / PORTFOLIO GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.2) 80%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-sm);
    transition: opacity var(--transition-fast);
    z-index: 2;
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    color: var(--color-accent);
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

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

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

/* ==========================================================================
   9. BOOKING VIEW (IFRAME LAYOUT)
   ========================================================================== */
.hero-title-section {
    position: relative;
    padding: 150px 0 80px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-title-section .hero-overlay {
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 1) 100%);
}

.hero-title-section .container {
    position: relative;
    z-index: 2;
}

.hero-title-section h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-title-section p {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.iframe-container {
    background-color: var(--color-bg-card);
    border: var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 800px;
    position: relative;
}

.iframe-container iframe {
    display: block;
    width: 100%;
    border: none;
    background: white; /* Setmore has white background */
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
footer {
    background-color: #0b0b0c;
    border-top: 4px solid var(--color-accent);
    padding-top: var(--spacing-lg);
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-col h4 {
    color: var(--color-accent);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 6px;
    display: inline-block;
}

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

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--color-text-secondary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.contact-icon {
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(220, 184, 121, 0.1);
    border-radius: 50%;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-xs);
    list-style: none;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
}

/* Hours Table */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.hours-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 6px 0;
}

.hours-table td.day {
    font-weight: 500;
    color: var(--color-text-primary);
}

.hours-table td.time {
    text-align: right;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #060607;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-accent);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* ==========================================================================
   11. ANIMATIONS & MEDIA QUERIES
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.mobile-only-cta {
    display: none;
}

/* Media Query: Tablets (992px) */
@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .welcome-mosaic {
        grid-template-rows: repeat(2, 160px);
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
}

/* Media Query: Mobile Devices (768px) */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 2.5rem;
        --spacing-xl: 4.5rem;
    }
    
    .nav-container {
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Sliding Navigation Drawer for Mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #121212;
        border-left: 1px solid rgba(220, 184, 121, 0.2);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px var(--spacing-md) var(--spacing-md) var(--spacing-md);
        gap: var(--spacing-md);
        transition: right var(--transition-smooth);
        z-index: 105;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    /* Active menu toggle state */
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-actions {
        margin-right: 50px; /* Make space for hamburger icon */
    }
    
    .nav-actions .nav-cta-btn {
        display: none;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .mobile-only-cta {
        display: block;
        width: 100%;
    }
    
    .promo-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }
    
    .hero-btn-group {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xs);
        padding: 0 var(--spacing-sm);
    }
    
    .hero-btn-group .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .welcome-content {
        text-align: center;
    }
    
    .welcome-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .btn {
        display: inline-flex;
        justify-content: center;
        width: auto;
        min-width: 200px;
        max-width: 100%;
    }
    
    .welcome-mosaic {
        grid-template-rows: repeat(2, 120px);
        gap: 8px;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .iframe-container {
        margin-bottom: 2.5rem;
    }
}
