/* ============================================
   LA VISTA CAFE — Design System & Styles
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors */
    --color-primary: #6B4F4F;
    --color-primary-light: #8B6F6F;
    --color-primary-dark: #4A3636;
    --color-beige: #F3E9D2;
    --color-beige-light: #FAF5EC;
    --color-charcoal: #333333;
    --color-terracotta: #D87C6A;
    --color-terracotta-light: #E89B8C;
    --color-green: #8DAA9D;
    --color-green-light: #A8C4B7;

    /* Semantic Colors */
    --bg-body: #FFFAF5;
    --bg-section: #FFFFFF;
    --bg-section-alt: #FAF5EC;
    --bg-card: #FFFFFF;
    --bg-header: rgba(255, 250, 245, 0.95);
    --bg-footer: #2C2222;
    --bg-overlay: rgba(51, 51, 51, 0.6);
    --bg-input: #FFFFFF;

    --text-primary: #333333;
    --text-secondary: #6B4F4F;
    --text-muted: #8B7E7E;
    --text-light: #FFFFFF;
    --text-on-primary: #FFFFFF;

    --border-color: #E8DDD0;
    --border-light: #F0E8DC;

    --shadow-sm: 0 2px 8px rgba(107, 79, 79, 0.08);
    --shadow-md: 0 4px 20px rgba(107, 79, 79, 0.12);
    --shadow-lg: 0 8px 40px rgba(107, 79, 79, 0.16);
    --shadow-hover: 0 12px 48px rgba(107, 79, 79, 0.2);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 60px 0;
    --container-width: 1200px;
    --gap: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 50%;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #6B4F4F, #4A3636);
    --grad-accent: linear-gradient(135deg, #D87C6A, #B85C4A);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    --grad-icon: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
    --bg-body: #1A1412;
    --bg-section: #221C18;
    --bg-section-alt: #2A2220;
    --bg-card: #2E2624;
    --bg-header: rgba(26, 20, 18, 0.95);
    --bg-footer: #131010;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --bg-input: #2E2624;

    --text-primary: #F3E9D2;
    --text-secondary: #D4B8A0;
    --text-muted: #9A8A80;

    --border-color: #3D3230;
    --border-light: #2E2624;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
    transition: all var(--transition-base);
}

input,
textarea {
    font-family: var(--font-body);
    border: none;
    outline: none;
}

/* ---------- Container ---------- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--text-on-primary);
    box-shadow: 0 4px 16px rgba(107, 79, 79, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(107, 79, 79, 0.4);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    transition: padding var(--transition-base);
}

.header.scrolled .header-inner {
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-terracotta));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-text span {
    color: var(--color-terracotta);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--bg-section-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background: var(--color-primary);
    color: var(--text-on-primary);
    border-color: var(--color-primary);
    transform: rotate(30deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--bg-section-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-section);
    z-index: 999;
    padding: 100px 32px 40px;
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--color-terracotta);
    padding-left: 8px;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-overlay);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-overlay.show {
    opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 100px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-charcoal);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(51, 51, 51, 0.85) 0%,
            rgba(107, 79, 79, 0.6) 50%,
            rgba(216, 124, 106, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 100%;
    padding: 0;
}

.hero-visual {
    position: relative;
    width: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.hero-main-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 320px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-3deg) rotateX(2deg);
    transition: transform 0.5s ease;
    z-index: 6;
}

.hero-main-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-beige);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.05;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--color-terracotta-light);
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(243, 233, 210, 0.85);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    width: fit-content;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(243, 233, 210, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Floating decorative elements */
.hero-card {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: floatingUI 6s ease-in-out infinite;
}

.hero-card-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-card-2 {
    top: 40%;
    left: -5%;
    animation-delay: 2s;
}

.hero-card-3 {
    bottom: 10%;
    right: -5%;
    animation-delay: 4s;
}

.hero-card-icon {
    width: 34px;
    height: 34px;
    background: var(--grad-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Decorative Shapes */
.hero-shape {
    position: absolute;
    z-index: 4;
    border-radius: var(--radius-full);
    filter: blur(40px);
    opacity: 0.4;
    animation: pulseShape 8s ease-in-out infinite;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--color-terracotta);
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes pulseShape {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1) translate(-20px, 20px);
        opacity: 0.5;
    }
}

@keyframes floatingUI {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.hero-float-icon {
    font-size: 1.6rem;
}

.hero-float-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
}

.hero-float-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.about-grid {
    display: flex;
    justify-content: center;
    text-align: center;
}

.about-content {
    max-width: 800px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
}

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

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .about-image-badge {
    background: rgba(46, 38, 36, 0.95);
}

.about-image-badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-primary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.about-image-badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-image-badge-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.about-content .section-subtitle,
.about-content .section-title {
    text-align: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
    justify-content: center;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 20px;
    background: var(--bg-section-alt);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

.about-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--grad-icon);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(216, 124, 106, 0.2);
    color: white;
}

.about-feature h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
    padding: var(--section-padding);
    background: var(--bg-body);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.menu-tab:hover {
    color: var(--text-primary);
    border-color: var(--color-primary);
}

.menu-tab.active {
    background: var(--color-primary);
    color: var(--text-on-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(107, 79, 79, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.menu-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 1;
    transform: translateY(0);
}

.menu-card.hidden {
    display: none;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.menu-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.menu-card:hover .menu-card-image img {
    transform: scale(1.08);
}

.menu-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    background: var(--color-terracotta);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-xl);
}

.menu-card-body {
    padding: 24px;
}

.menu-card-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.menu-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-terracotta);
}

.menu-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.menu-card-rating .star {
    color: #F0A500;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: var(--section-padding);
    background: var(--bg-section-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 16px;
}

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

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(51, 51, 51, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-footer);
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 48px;
    margin-bottom: 40px;
    align-items: stretch;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-terracotta);
    color: white;
    transform: translateY(-3px);
}

.footer-visit-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.footer-info-item {
    display: flex;
    gap: 16px;
}

.footer-info-item .icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta-light);
}

.footer-info-item h4 {
    color: white;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-info-item p,
.footer-info-item a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-map-col {
    width: 100%;
    height: 100%;
}

.footer-map-col iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: var(--radius-lg);
    filter: grayscale(1) invert(0.9) opacity(0.8);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Old sections hide */
.contact,
.visit {
    display: none;
}

/* Animation utilities for the new layout */
.footer-info-item {
    transition: transform var(--transition-base);
}

.footer-info-item:hover {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-visit-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.whatsapp-fab-tooltip {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
    opacity: 1;
}

/* Pulse animation */
.whatsapp-fab::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: #25D366;
    z-index: -1;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Staggered delay ---------- */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

@media (max-width: 1024px) {

    /* Header & Nav */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .container {
        width: 92%;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: flex;
        margin: 0 auto;
        order: 2;
        width: 100%;
        max-width: 400px;
        margin-inline: auto;
    }

    .hero-main-card {
        height: 180px;
        width: 90%;
        margin-inline: auto;
        border-radius: 20px;
    }

    .hero-card {
        display: flex;
        padding: 6px 11px;
        gap: 8px;
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.08);
    }

    .hero-card-icon {
        width: 24px;
        height: 24px;
    }

    .hero-card-icon i,
    .hero-card-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .hero-float-icon {
        font-size: 1.1rem;
    }

    .hero-float-text {
        font-size: 11px;
    }

    .hero-float-sub {
        font-size: 0.65rem;
    }

    .hero-card-1 {
        top: 10%;
        right: 0%;
    }

    .hero-card-2 {
        bottom: 35%;
        left: 0%;
        top: auto;
    }

    .hero-card-3 {
        bottom: 5%;
        right: 0%;
    }

    .hero-shape {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .hero-badge,
    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        margin: 40px auto 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
        gap: 12px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-map-col {
        grid-column: span 2;
    }
}

/* ============================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 30px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .about-features {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-wrap: nowrap;
        gap: 20px;
        justify-content: space-between;
        padding: 24px 20px;
        width: 90%;
        margin: 25px auto 0;
    }

    .hero-stat {
        flex: 1;
        text-align: center;
    }

    .hero-stat {
        text-align: center;
        flex: 1;
    }

    /* Footer */
    .footer {
        padding-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-map-col {
        grid-column: span 1;
    }
}

/* ============================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        width: 88%;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .logo {
        gap: 8px;
    }

    .header-inner {
        padding: 12px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stat-value {
        font-size: 1.6rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .hero-stats {
        gap: 12px;
        padding: 16px 12px;
        width: 90%;
        margin-top: 25px;
    }

    .hero-buttons {
        gap: 10px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 8px;
    }

    .about-feature {
        padding: 14px;
        gap: 10px;
    }

    .about-feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .about-feature-icon i {
        width: 18px !important;
        height: 18px !important;
    }

    .about-feature h4 {
        font-size: 0.85rem;
    }

    .about-feature p {
        font-size: 0.75rem;
    }
}