/* ========================================
   LUXOR HOOKAH LOUNGE — STYLE SYSTEM
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Terracotta + Sand Palette */
    --color-terracotta-50: #fef7f4;
    --color-terracotta-100: #fdeede;
    --color-terracotta-200: #fad5c5;
    --color-terracotta-300: #f5b5a0;
    --color-terracotta-400: #ee8a6e;
    --color-terracotta-500: #e06b47;
    --color-terracotta-600: #cc522e;
    --color-terracotta-700: #a83f22;
    --color-terracotta-800: #86331f;
    --color-terracotta-900: #6e2c1d;
    
    --color-sand-50: #fefce8;
    --color-sand-100: #fef9c3;
    --color-sand-200: #fef08a;
    --color-sand-300: #fde047;
    --color-sand-400: #facc15;
    --color-sand-500: #eab308;
    --color-sand-600: #ca8a04;
    --color-sand-700: #a16207;
    --color-sand-800: #854d0e;
    --color-sand-900: #713f12;
    
    --color-warm-white: #faf8f5;
    --color-warm-gray-50: #f7f5f2;
    --color-warm-gray-100: #efece6;
    --color-warm-gray-200: #e2ddd5;
    --color-warm-gray-300: #c8c0b5;
    --color-warm-gray-400: #9e9589;
    --color-warm-gray-500: #7a7267;
    --color-warm-gray-600: #5c554c;
    --color-warm-gray-700: #443e37;
    --color-warm-gray-800: #2d2924;
    --color-warm-gray-900: #1a1714;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 2px 8px rgba(26, 23, 20, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 23, 20, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 23, 20, 0.12);
    --shadow-xl: 0 16px 64px rgba(26, 23, 20, 0.16);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-warm-gray-800);
    background-color: var(--color-warm-white);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-warm-gray-900);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-terracotta-600);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(204, 82, 46, 0.3);
}

.btn-primary:hover {
    background: var(--color-terracotta-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(204, 82, 46, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-light {
    background: #ffffff;
    color: var(--color-terracotta-700);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

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

.logo {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-warm-gray-900);
}

.logo-dot {
    color: var(--color-terracotta-500);
    font-weight: 700;
}

.main-nav ul {
    display: none;
    gap: var(--space-xl);
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-warm-gray-600);
    transition: color var(--transition-fast);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-terracotta-500);
    transition: width var(--transition-base);
}

.main-nav a:hover {
    color: var(--color-terracotta-600);
}

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

@media (min-width: 768px) {
    .main-nav ul {
        display: flex;
    }
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-warm-gray-800);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-warm-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--color-warm-gray-800);
}

.mobile-menu-overlay ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-warm-gray-900);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--color-terracotta-600);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--color-terracotta-500) 0%, 
        var(--color-terracotta-600) 25%,
        var(--color-terracotta-700) 50%,
        var(--color-warm-gray-800) 75%,
        var(--color-warm-gray-900) 100%
    );
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-terracotta-400);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-sand-500);
    bottom: -100px;
    left: -100px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-terracotta-300);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #ffffff;
    margin-bottom: var(--space-lg);
    line-height: 1.05;
}

.hero-headline .accent {
    font-style: italic;
    color: var(--color-sand-300);
}

.hero-subhead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-terracotta-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

.section-title .accent {
    font-style: italic;
    color: var(--color-terracotta-600);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-warm-gray-500);
    line-height: 1.7;
}

/* --- Experience --- */
.experience {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-white);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .experience-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.experience-card {
    padding: var(--space-xl);
    background: var(--color-warm-gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--color-warm-white);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-terracotta-100);
    border-radius: var(--radius-md);
    color: var(--color-terracotta-700);
    margin-bottom: var(--space-lg);
}

.experience-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.experience-card p {
    font-size: 0.9375rem;
    color: var(--color-warm-gray-600);
    line-height: 1.7;
}

/* --- Menu --- */
.menu-section {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-gray-50);
}

.menu-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .menu-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.menu-content {
    max-width: 520px;
}

.menu-intro {
    font-size: 1.0625rem;
    color: var(--color-warm-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.menu-category h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-warm-gray-900);
}

.menu-category .category-desc {
    font-size: 0.875rem;
    color: var(--color-warm-gray-500);
    line-height: 1.5;
}

/* --- Ambiance --- */
.ambiance-section {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-white);
}

.ambiance-section .section-header {
    margin-bottom: var(--space-2xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 280px);
    }
    
    .gallery-item--large {
        grid-column: span 2;
    }
    
    .gallery-item--tall {
        grid-row: span 2;
    }
}

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

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(26, 23, 20, 0.7), transparent);
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

/* --- Visit --- */
.visit-section {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-gray-50);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .visit-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.visit-info {
    max-width: 480px;
}

.visit-intro {
    font-size: 1.0625rem;
    color: var(--color-warm-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-terracotta-100);
    border-radius: var(--radius-md);
    color: var(--color-terracotta-700);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-warm-gray-500);
    margin-bottom: var(--space-xs);
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--color-warm-gray-800);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--color-terracotta-600);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-link {
    position: relative;
    display: block;
}

.map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 23, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.map-link:hover .map-overlay {
    opacity: 1;
}

.map-overlay span {
    padding: 1rem 2rem;
    background: #ffffff;
    color: var(--color-terracotta-700);
    font-weight: 600;
    border-radius: var(--radius-xl);
    font-size: 0.9375rem;
}

/* --- CTA --- */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--color-warm-gray-900) 0%,
        var(--color-terracotta-900) 50%,
        var(--color-terracotta-800) 100%
    );
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(224, 107, 71, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(234, 179, 8, 0.15) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-warm-gray-900);
    padding: var(--space-3xl) 0 var(--space-lg);
    color: rgba(255, 255, 255, 0.6);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--space-2xl);
    }
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

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

.footer-contact a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-terracotta-400);
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-contact a:hover {
    color: var(--color-terracotta-300);
}

.footer-contact p {
    font-size: 0.875rem;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .gradient-orb {
        animation: none;
    }
    
    .scroll-line {
        animation: none;
        opacity: 0.5;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Default state for scroll-reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
