/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (DARK HIGH-CONTRAST THEME)
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #d4af37;       /* Bright High-Contrast Gold */
    --primary-hover: #b89218;
    --secondary: #16181f;     /* Pure Dark Slate */
    --accent: #e0532b;        /* Vibrant Orange/Terracotta */
    
    --bg-dark: #07080a;       /* Deepest Black */
    --bg-light: #0d0f13;      /* Dark Canvas */
    --bg-panel: #171921;      /* Contrasting Panel Dark Gray */
    
    --text-dark: #f0f2f5;     /* High Contrast Light Text (Body) */
    --text-light: #ffffff;    /* Absolute White */
    --text-muted: #9ba3b0;    /* Muted Text */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.85);
    
    /* Layout */
    --header-height: 80px;
    --border-radius: 16px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.2;
}

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

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

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 0;
}

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

.section-tagline {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 3.4rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    margin: 18px auto 0;
    border-radius: 2px;
    transform: scaleX(0.5);
    transition: var(--transition);
}

.section-container:hover .section-title::after {
    transform: scaleX(1);
    background-color: #ffffff;
}

.section-container:not(.text-center) .section-title::after {
    margin-left: 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px;
    font-weight: 400;
}

/* Buttons with Magnet & Scale effects */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    gap: 8px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-primary:hover::before {
    transform: scaleY(1);
}

.btn-primary:hover {
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    color: var(--bg-dark);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover::before {
    transform: scaleY(1);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #1fc15b;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(7, 8, 10, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(7, 8, 10, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.main-header.scrolled .logo-img {
    height: 42px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform-origin: right;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    transform-origin: left;
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION (ZOOM SCALING ON LOAD)
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Hero Background Animating */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(10,10,12,0.6), rgba(10,10,12,0.85)), url('assets/images/imgcapa.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: zoomOutHero 10s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomOutHero {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-content {
    width: 90%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.hero-tagline {
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.85rem;
    color: var(--primary);
    display: block;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-title {
    font-size: 5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeRevealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 44px;
    line-height: 1.65;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeRevealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeRevealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

@keyframes fadeRevealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: block;
    position: relative;
    transition: var(--transition-fast);
}

.mouse-icon:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* ==========================================================================
   A TRADIÇÃO / HISTÓRIA (REVEAL ANIMATIONS)
   ========================================================================== */
.tradition-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.tradition-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.tradition-highlight {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--primary);
    line-height: 1.45;
    margin-bottom: 28px;
}

.tradition-paragraph {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.tradition-badges {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    transition: var(--transition-fast);
}

.badge:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

.badge i {
    color: var(--primary);
    font-size: 1.25rem;
}

.tradition-image-wrapper {
    position: relative;
}

.image-frame {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tradition-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tradition-image-wrapper:hover .tradition-img {
    transform: scale(1.06);
}

.image-accent-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-panel);
    color: #ffffff;
    padding: 24px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.tradition-image-wrapper:hover .image-accent-card {
    transform: translateY(-4px) translateX(4px);
    box-shadow: var(--shadow-lg);
}

.accent-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
}

.accent-label {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   A NOSSA EMENTA (MENU EFFECTS)
   ========================================================================== */
.menu-section {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.menu-tabs-container {
    overflow-x: auto;
    margin-bottom: 60px;
    padding-bottom: 12px;
    -scrollbar-width: none;
}

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

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    min-width: max-content;
    margin: 0 auto;
}

.menu-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.menu-tab-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.menu-tab-btn.active {
    background-color: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.menu-category-panel {
    display: none;
}

.menu-category-panel.active {
    display: block;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.menu-category-info-box {
    background-color: var(--bg-panel);
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 44px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-category-info-box i {
    color: var(--primary);
    font-size: 1.25rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid transparent;
    transition: var(--transition);
}

.menu-item:hover {
    background-color: var(--bg-panel);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

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

.menu-item-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition-fast);
}

.menu-item:hover .menu-item-title {
    color: var(--primary);
}

.menu-item-line {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(212, 175, 55, 0.2);
    margin: 0 15px;
    transition: var(--transition);
}

.menu-item:hover .menu-item-line {
    border-bottom-color: var(--primary);
    transform: scaleX(1.02);
}

.menu-item-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.menu-item:hover .menu-item-description {
    color: #ffffff;
}

/* Menu Callout Banner */
.menu-footer-callout {
    background-image: linear-gradient(to bottom, rgba(23, 25, 33, 0.85), rgba(23, 25, 33, 0.95)), url('assets/fundopratodia.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 60px;
    border-radius: var(--border-radius);
    margin: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.menu-footer-callout:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8);
}

.callout-badge {
    background-color: var(--primary);
    color: var(--bg-dark);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.callout-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 400;
}

.callout-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.callout-includes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.callout-includes span {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.callout-includes span:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.callout-includes span i {
    color: var(--primary);
}

.callout-includes .divider {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.menu-legal-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 30px;
}


/* ==========================================================================
   DESTAQUES GASTRONÓMICOS / DISHES SECTION
   ========================================================================== */
.dishes-section {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.gallery-item.dish-hidden {
    display: none;
}

.gallery-item.dish-hidden.visible {
    display: block;
}

/* ==========================================================================
   O ESPAÇO / GALERIA
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(7, 8, 10, 0.1), rgba(7, 8, 10, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: auto;
    align-self: flex-end;
    transform: scale(0.7) translateY(-15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-caption {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    color: #ffffff;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item:hover .gallery-icon {
    transform: translate(0) scale(1);
}

.gallery-item:hover .gallery-caption {
    transform: translate(0);
}

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

/* ==========================================================================
   VISITA VIRTUAL 360º
   ========================================================================== */
.tour-section {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.tour-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.tour-wrapper:hover {
    transform: scale(1.005);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.tour-wrapper iframe {
    display: block;
}

/* ==========================================================================
   CONTACTOS & LOCALIZAÇÃO
   ========================================================================== */
.contacts-section {
    background-color: var(--bg-dark);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contacts-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-block {
    display: flex;
    gap: 20px;
    transition: var(--transition-fast);
}

.info-block:hover {
    transform: translateX(4px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-panel);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.info-block:hover .info-icon {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.info-text h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.phone-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.phone-link:hover {
    color: var(--primary);
}

.phone-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.contacts-actions {
    display: flex;
    gap: 16px;
}

.contacts-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.contacts-map:hover {
    transform: scale(1.01);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.contacts-map iframe {
    /* light mode styling by default */
}

/* ==========================================================================
   ELEGANT CAROUSEL LIGHTBOX
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 8, 10, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 40px;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 2005;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.lightbox-content {
    max-width: 70%;
    max-height: 80%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: contain;
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-meta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lightbox-caption {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0;
}

.lightbox-counter {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 64px;
    width: auto;
    margin: 0 auto 30px;
    display: block;
    object-fit: contain;
    transition: var(--transition-fast);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}



.copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================================================
   ANIMATIONS & DYNAMIC REVEAL SYSTEM
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal directional variants */
.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

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

/* Delays for children stagger reveals */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

#back-to-top:hover {
    background-color: #ffffff !important;
    color: var(--bg-dark) !important;
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4) !important;
}

/* ==========================================================================
   RESPONSIVENESS & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.8rem;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    .tradition-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .tradition-image-wrapper {
        order: -1;
    }
    
    .tradition-img {
        height: 380px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header Mobile Drawer */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        padding: 40px;
        transform: translateX(-100%);
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .btn-header {
        margin-top: 20px;
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    /* Navigation toggle active animation */
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    /* Grid adjustments */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contacts-actions {
        flex-direction: column;
    }
    
    /* Callout */
    .menu-footer-callout {
        padding: 40px 20px;
    }
    
    .callout-title {
        font-size: 2rem;
    }
    
    .callout-includes {
        gap: 15px;
    }
    
    .callout-includes .divider {
        display: none;
    }
    
    /* Lightbox mobile spacing */
    .lightbox {
        padding: 0 10px;
    }
    .lightbox-prev, .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .lightbox-content {
        max-width: 75%;
    }
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .image-accent-card {
        bottom: -20px;
        left: 10px;
        right: 10px;
        padding: 16px 20px;
    }
    
    .accent-number {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   CLEANUP & COMPLIANCE ADDITIONS
   ========================================================================== */

/* Scroll Progress Indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--primary);
    width: 0%;
    z-index: 1002;
    transition: width 0.1s ease;
}

/* Virtual Tour Section Styling */
.tour-wrapper {
    background-image: linear-gradient(to bottom, rgba(7, 8, 10, 0.4), rgba(7, 8, 10, 0.85)), url('assets/images/img_2.webp');
    background-size: cover;
    background-position: center;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tour-content {
    max-width: 600px;
    padding: 40px;
}

.tour-icon-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 2.2rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.tour-icon-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.6);
}

.tour-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 600;
}

.tour-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Back to Top Button Styling */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    color: var(--bg-dark);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

#back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px) scale(1.05);
}

/* Helper spacing classes */
.gallery-btn-container {
    margin-top: 50px;
}

.btn-icon {
    margin-left: 6px;
    transition: transform 0.3s ease;
}
