/* ═══════════════════════════════════════════════════════════════
   Rishi's Edinburgh — Design System
   Premium Indian Restaurant | PHP Version
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ─── CSS Variables ─── */
:root {
    /* Colors */
    --charcoal: #1a1a1a;
    --charcoal-light: #2a2a2a;
    --charcoal-medium: #333333;
    --gold: #c9a84c;
    --gold-light: #d4b85e;
    --gold-dark: #b89638;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --warm-white: #faf8f5;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;
    
    /* Spacing */
    --section-py: 80px;
    --container-max: 1200px;
    --container-px: 24px;
    
    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

/* ─── Typography ─── */
.heading-hero {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.heading-1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
}

.heading-2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
}

.heading-3 {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
}

.body-large {
    font-size: 1.05rem;
    line-height: 1.75;
}

.accent-text {
    font-family: var(--font-accent);
    font-style: italic;
}

/* ─── Layout ─── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

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

.section-warm { background: var(--warm-white); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--charcoal); color: var(--cream); }

/* ─── Gold Decorative Lines ─── */
.gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.gold-line-center {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0 auto;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--charcoal);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border-color: var(--cream);
}

.btn-outline:hover {
    background: var(--cream);
    color: var(--charcoal);
    transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
    background: var(--charcoal);
    color: var(--cream);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.navbar-brand {
    display: flex;
    flex-direction: column;
}

.header-logo {
    max-height: 80px;
    width: auto;
    transition: max-height var(--transition-slow);
}

.navbar.scrolled .header-logo {
    max-height: 48px;
}

.navbar-brand .brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
}

.navbar-brand .brand-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-links a {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    opacity: 1;
    color: var(--gold);
}

.navbar-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-cta .call-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--cream);
    opacity: 0.7;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.navbar-cta .call-btn:hover { opacity: 1; }

.navbar-cta .book-btn {
    padding: 10px 20px;
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
}

.navbar-cta .book-btn:hover {
    background: var(--gold);
    color: var(--charcoal);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    border-radius: 1px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--cream);
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar-links { display: none; }
    .navbar-cta .call-btn { display: none; }
    .menu-toggle { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

.hero.hero-short {
    height: 50vh;
    min-height: 400px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Animated Video-like Background Slider */
.hero-slider-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: var(--charcoal);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    animation: slideFade 36s infinite;
}

.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 6s; }
.slide-3 { animation-delay: 12s; }
.slide-4 { animation-delay: 18s; }
.slide-5 { animation-delay: 24s; }
.slide-6 { animation-delay: 30s; }

@keyframes slideFade {
    0% { opacity: 0; transform: scale(1.05); }
    4% { opacity: 1; transform: scale(1.03); }
    16% { opacity: 1; transform: scale(1); }
    20% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 0; transform: scale(0.98); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(26, 26, 26, 0.4) 50%,
        rgba(26, 26, 26, 0.7) 100%
    );
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 50px;
    background: rgba(12, 10, 9, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.5);
    backdrop-filter: blur(8px);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    box-shadow: 0 0 24px rgba(201, 168, 76, 0.2);
}

.hero-badge .badge-icon {
    font-size: 1rem;
    color: var(--gold);
}

.hero-title {
    font-family: var(--font-heading);
    color: var(--cream);
    margin-bottom: 24px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.hero-title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e8c074 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-title .accent {
    color: var(--gold);
    font-style: italic;
    text-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    color: rgba(245, 240, 232, 0.9);
    font-style: italic;
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature Badge Premium */
.icon-badge-premium {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.05);
    position: relative;
    border-radius: 50%;
    margin: 0 auto;
}

.icon-glow-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 168, 76, 0.4);
    animation: spin 12s linear infinite;
    pointer-events: none;
}

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

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADING COMPONENT
   ═══════════════════════════════════════════════════════════════ */
.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading .subtitle {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-heading .title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-heading .description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    opacity: 0.6;
    line-height: 1.7;
}

.section-heading.light .title { color: var(--cream); }
.section-heading.light .description { color: rgba(245, 240, 232, 0.5); }

/* ═══════════════════════════════════════════════════════════════
   PARALLAX STRIP
   ═══════════════════════════════════════════════════════════════ */
.parallax-strip {
    position: relative;
    padding: 80px 24px;
    overflow: hidden;
}

.parallax-strip .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-strip .overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.82);
}

.parallax-strip .content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
/* Signature Dish Card */
.dish-card {
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(245, 240, 232, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-slow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dish-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.dish-card .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--charcoal-light), var(--charcoal));
}

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

.dish-card:hover .card-image img {
    transform: scale(1.05);
}

.dish-card .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 168, 76, 0.9);
    color: var(--charcoal);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.dish-card .card-body {
    padding: 20px;
    flex: 1;
}

.dish-card .card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.dish-card .card-body .price {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.dish-card .card-body p {
    color: rgba(245, 240, 232, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 8px;
}

/* Review Card */
.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.review-card .stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--gold);
}

.review-card .review-text {
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}

.review-card .review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--cream);
    padding-top: 16px;
}

.review-card .review-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.review-card .review-source {
    font-size: 0.65rem;
    color: rgba(26, 26, 26, 0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Feature Card (Why Choose Us) */
.feature-card {
    text-align: center;
    padding: 16px;
}

.feature-card .icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all var(--transition-slow);
}

.feature-card:hover .icon-circle {
    background: var(--gold);
    color: var(--charcoal);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(26, 26, 26, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   GRID LAYOUTS
   ═══════════════════════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

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

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

/* ═══════════════════════════════════════════════════════════════
   MENU PAGE
   ═══════════════════════════════════════════════════════════════ */
.menu-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
}

.menu-tabs {
    position: sticky;
    top: 60px;
    z-index: 30;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-dark);
}

.menu-tabs-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
}

.menu-tabs-inner::-webkit-scrollbar { display: none; }

.menu-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition);
    background: transparent;
    color: rgba(26, 26, 26, 0.6);
    border: none;
}

.menu-tab:hover {
    color: var(--charcoal);
    background: var(--cream);
}

.menu-tab.active {
    background: var(--charcoal);
    color: var(--cream);
    box-shadow: var(--shadow-md);
}

/* Menu Item Card */
.menu-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    border: 1px solid transparent;
    cursor: pointer;
}

.menu-item:hover {
    box-shadow: var(--shadow-lg);
}

.menu-item.has-badge {
    border-color: rgba(201, 168, 76, 0.25);
}

.menu-item-inner {
    display: flex;
}

.menu-item-image {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    overflow: hidden;
}

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

@media (min-width: 768px) {
    .menu-item-image {
        width: 112px;
        height: 112px;
    }
}

.menu-item-content {
    flex: 1;
    padding: 16px;
    min-width: 0;
}

.menu-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.menu-item-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.menu-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.55rem;
    font-weight: 700;
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.2);
    flex-shrink: 0;
}

.menu-item-desc {
    color: rgba(26, 26, 26, 0.5);
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.55rem;
    font-weight: 500;
    border: 1px solid;
}

.tag-veg { background: rgba(34,197,94,0.1); color: #15803d; border-color: rgba(34,197,94,0.2); }
.tag-vegan { background: rgba(16,185,129,0.1); color: #047857; border-color: rgba(16,185,129,0.2); }
.tag-spicy { background: rgba(239,68,68,0.08); color: #dc2626; border-color: rgba(239,68,68,0.2); }
.tag-mild { background: rgba(234,179,8,0.08); color: #a16207; border-color: rgba(234,179,8,0.2); }
.tag-gf { background: rgba(217,119,6,0.1); color: #b45309; border-color: rgba(217,119,6,0.2); }

/* Menu Variants Expandable */
.menu-item-variants {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid rgba(232, 224, 208, 0.5);
    margin-top: -1px;
}

.menu-item-variants.open { display: block; }

.variant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 12px;
}

.variant-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--warm-white);
    border-radius: 8px;
    padding: 8px 12px;
}

.variant-pill .label { font-size: 0.75rem; color: var(--charcoal); font-weight: 500; }
.variant-pill .price { font-size: 0.75rem; color: var(--gold); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    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.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

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

.gallery-item .gallery-caption {
    color: var(--cream);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 60px 0 0;
}

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

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

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.footer-brand .sub {
    color: var(--gold);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(245, 240, 232, 0.5);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    padding: 20px 0;
    text-align: center;
    color: rgba(245, 240, 232, 0.3);
    font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.from-left { transform: translateX(-40px); }
.animate-on-scroll.from-right { transform: translateX(40px); }

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.about-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--charcoal);
    color: var(--cream);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.about-badge .year {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
}

.about-badge .label {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-charcoal { color: var(--charcoal); }
.text-center { text-align: center; }

.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

.hidden { display: none !important; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Overlay pattern */
.overlay-pattern { position: relative; }
.overlay-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(201,168,76,0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--charcoal);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--gold); color: var(--charcoal); }

/* SVG Icon sizing */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

/* ═══════════════════════════════════════════ */
/* Our Story Page — Timeline & Heritage       */
/* ═══════════════════════════════════════════ */

/* Story Cards */
.story-grid { display: flex; flex-direction: column; gap: 64px; }
.story-card {
    display: flex; gap: 40px; align-items: center;
}
.story-card-image {
    flex: 0 0 380px; border-radius: 12px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    position: relative;
}
.story-card-image::after {
    content: ''; position: absolute; inset: 0;
    border: 1px solid rgba(201,168,76,0.15); border-radius: 12px;
    pointer-events: none;
}
.story-card-image img {
    width: 100%; height: 280px; object-fit: cover; display: block;
    transition: transform 0.6s ease;
}
.story-card:hover .story-card-image img { transform: scale(1.05); }
.story-card-text { flex: 1; }

@media (max-width: 768px) {
    .story-card { flex-direction: column !important; }
    .story-card-image { flex: none; width: 100%; }
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 48px;
}
.timeline::before {
    content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
}
.timeline-item {
    position: relative; margin-bottom: 48px;
    padding: 28px 32px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.timeline-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.timeline-item.active-branch {
    border-left: 4px solid var(--gold);
    background: linear-gradient(135deg, #fffbf0, #fff);
}
.timeline-dot {
    position: absolute; left: -40px; top: 32px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 3px var(--gold), 0 0 20px rgba(201,168,76,0.3);
    z-index: 2;
}
.timeline-year {
    font-family: var(--font-heading);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
    color: var(--gold); text-transform: uppercase; margin-bottom: 4px;
}
.timeline-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem; color: var(--charcoal); margin-bottom: 8px;
}
.timeline-item p {
    font-size: 0.9rem; color: rgba(26,26,26,0.6); line-height: 1.7;
}

@media (max-width: 768px) {
    .timeline { padding-left: 32px; }
    .timeline::before { left: 8px; }
    .timeline-dot { left: -30px; }
    .timeline-item { padding: 20px 24px; }
}

/* Value Cards */
.value-card {
    background: var(--white); padding: 40px 32px; border-radius: 12px;
    text-align: center; box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.value-icon {
    font-size: 2.5rem; margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}
.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem; color: var(--charcoal); margin-bottom: 12px;
}
.value-card p {
    font-size: 0.9rem; color: rgba(26,26,26,0.6); line-height: 1.7;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Branch Pills */
.branch-pill {
    padding: 12px 24px; border-radius: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.2);
    color: rgba(245,240,232,0.7);
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}
.branch-pill:hover {
    background: rgba(201,168,76,0.12);
    border-color: var(--gold);
    color: var(--cream);
    transform: translateY(-2px);
}
.branch-pill.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

/* Review Cards (clean version) */
.review-card {
    background: var(--white); padding: 32px; border-radius: 12px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review-card .stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 16px; }
.review-card .review-text { font-size: 1rem; line-height: 1.6; color: var(--charcoal); margin-bottom: 24px; }
.review-card .review-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.05); padding-top: 16px;
}
.review-card .review-name { font-weight: 700; color: var(--charcoal); }
.review-card .review-source { font-size: 0.8rem; color: rgba(26,26,26,0.4); }

