/* STYLO SALON - PREMIUM LUXURY STYLES */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Colors */
    --color-bg: #050505; /* Deepest Black */
    --color-surface: #121212; /* Slightly lighter for cards */
    --color-gold: #D4AF37; /* Metallic Gold */
    --color-gold-hover: #F2D06B; /* Lighter Gold */
    --color-ivory: #F5F5F0; /* Soft readable text */
    --color-grey: #888888;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Borders & radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --border-gold: 1px solid rgba(212, 175, 55, 0.3);

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-ivory);
    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: 400;
    color: var(--color-ivory);
    line-height: 1.2;
}

h1 { font-size: clamp(3rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: var(--spacing-sm); }
h3 { font-size: 1.5rem; color: var(--color-gold); }

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* UTILITIES */
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 600;
}

.btn-primary {
    background: var(--color-gold);
    color: #000; /* Contrast black on gold */
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-ivory);
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-fast);
    background: linear-gradient(to bottom, rgba(5,5,5,0.9), transparent);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-ivory);
    opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--color-gold);
}

.mobile-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.5rem;
    color: var(--color-gold);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('assets/hero-bg.jpg') center/cover no-repeat;
    /* Fallback if image missing */
    background-color: #1a1a1a; 
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    animation: fadeIn 1.5s ease-out;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* SECTIONS COMMONS */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 1rem auto 0;
}

/* CARDS (Services, Why Us) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--color-surface);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.card h3 { margin-bottom: 1rem; color: var(--color-ivory); }
.card p { font-size: 0.95rem; color: var(--color-grey); margin-bottom: 1.5rem; }

/* REVIEWS */
.review-card {
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    border-left: 3px solid var(--color-gold);
}

.stars { color: var(--color-gold); margin-bottom: 0.5rem; }

/* FOOTER */
.footer {
    background: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--color-ivory);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--color-grey);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE — TABLET */
@media (max-width: 1024px) {
    .section { padding: 5rem 0; }
    
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

/* RESPONSIVE — MOBILE */
@media (max-width: 768px) {
    /* ── Nav ── */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 320px;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: 0.4s ease;
        border-left: 1px solid var(--color-gold);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active { right: 0; }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    /* Close menu when link clicked */
    .nav-links li { width: 100%; text-align: center; }
    .nav-links .btn { width: 100%; display: block; }

    /* ── Typography ── */
    h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

    /* ── Sections ── */
    .section { padding: 4rem 0; }

    /* ── Hero ── */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .hero-buttons .btn { width: 100%; max-width: 280px; }

    /* ── Cards / Grids ── */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .card { padding: 1.75rem; }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer { padding: 3rem 0 2rem; }

    /* ── Rate tables — allow horizontal scroll ── */
    .rate-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .rate-table { min-width: 320px; }
    .rate-table th,
    .rate-table td { padding: 0.75rem; font-size: 0.9rem; }
}

/* ── Sticky Booking Button (Mobile) ── */
.mobile-sticky-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 999;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .mobile-sticky-btn { display: block; }
}

/* RESPONSIVE — SMALL PHONES */
@media (max-width: 480px) {
    html { font-size: 15px; }

    .container { width: 95%; padding: 0 0.75rem; }

    .navbar { padding: 1rem 0; }
    .logo { font-size: 1.4rem; }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }

    .btn { padding: 0.85rem 1.75rem; font-size: 0.8rem; letter-spacing: 1.5px; }

    .section { padding: 3rem 0; }
    .section-title { margin-bottom: 2rem; }

    /* Hero */
    .hero-content { padding: 0 1rem; }
    .hero-subtitle { font-size: 1rem; }

    /* Cards */
    .card { padding: 1.25rem; }
    .card-icon { font-size: 2rem; }

    /* Sections general */
    .grid-3 { gap: 1rem; }

    /* Footer */
    .footer { padding: 2.5rem 0 1.5rem; margin-top: 2rem; }
}
