/**
 * D Patimongo Peña - Restaurant Website Styles
 * Mobile-first responsive design with CSS variables
 */

/* ===== CSS VARIABLES / DESIGN TOKENS ===== */
:root {
    /* Paleta principal */
    --primary-dark: #27251F;
    --primary-red: #DA291C;
    --primary-yellow: #FFC72C;

    /* Paleta complementaria */
    --secondary-1: #4D148C;
    --secondary-2: #DA1884;
    --secondary-3: #008C15;

    /* Neutrales - Fondo oscuro */
    --bg: #27251F;
    --bg-alt: #33312a;
    --bg-light: #ffffff;
    --text: #f5f5f5;
    --text-dark: #27251F;
    --text-light: #ffffff;
    --muted: #a0a0a0;
    --border: #444;

    /* Semantic Colors - Amarillo como acento principal */
    --accent: var(--primary-yellow);
    --accent-hover: #e6b329;
    --highlight: var(--primary-red);
    --success: var(--secondary-3);
    --warning: var(--primary-yellow);
    --error: var(--primary-red);

    /* Typography */
    --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Sizes */
    --header-height: 80px;
    --container-width: 1200px;
    --container-padding: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

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

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

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

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

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

a:hover {
    color: var(--accent-hover);
}

ul,
ol {
    list-style: none;
}

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

input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 1rem;
    background: var(--primary-dark);
    color: var(--text-light);
    z-index: 10000;
    border-radius: var(--radius-md);
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 3px solid var(--highlight);
    outline-offset: 2px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--accent);
}

.text-highlight {
    color: var(--highlight);
}

.text-muted {
    color: var(--muted);
}

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

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--muted);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--text-dark);
}

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

.btn-highlight:hover {
    background: #e6b329;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo-text,
.header.scrolled .nav-link {
    color: var(--text);
}

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
    background: var(--text);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--text-light);
    transition: color var(--transition-normal);
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-tagline {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--highlight);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: width var(--transition-normal);
}

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

.nav-link.active {
    color: var(--highlight);
}

.nav-cta {
    background: var(--accent);
    color: var(--text-light) !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: var(--radius-md);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--accent-hover);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary-dark);
        padding: 6rem 2rem 2rem;
        transition: right var(--transition-normal);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        color: var(--text-light);
    }

    .nav-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

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

    .header.scrolled .nav-link {
        color: var(--text-light);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-dark);
    overflow: hidden;
}

/* Hero Slider */
.hero-slider .slider-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slider .slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(39, 37, 31, 0.6), rgba(39, 37, 31, 0.85));
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 199, 44, 0.2);
    border: 2px solid var(--accent);
    border-radius: var(--radius-full);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-nav:hover {
    background: var(--accent);
    color: var(--text-dark);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--accent);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot:hover {
    background: rgba(255, 199, 44, 0.5);
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Hero Content (overlaid on slider) */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 199, 44, 0.2);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--accent);
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    opacity: 0.7;
    z-index: 10;
    animation: bounce 2s infinite;
}

/* Mobile Slider Adjustments */
@media (max-width: 768px) {
    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 1rem;
    }

    .slider-next {
        right: 1rem;
    }

    .slider-dots {
        bottom: 5rem;
    }
}

@keyframes bounce {

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* ===== FEATURED DISHES ===== */
.featured {
    background: var(--bg-alt);
}

.dish-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.dish-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), #4a4740);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.dish-image .dish-placeholder {
    font-size: 4rem;
}

.dish-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dish-tag {
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.dish-tag.highlight {
    background: var(--highlight);
    color: var(--primary-dark);
}

.dish-content {
    padding: 1.5rem;
}

.dish-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.dish-content p {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.dish-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-dark), #4a4740);
}

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

.about-image .placeholder-icon {
    font-size: 6rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--highlight);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.about-image-badge span:first-child {
    font-size: 2rem;
    line-height: 1;
}

.about-image-badge span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(218, 41, 28, 0.1);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--primary-dark);
    color: var(--text-light);
}

.testimonials .section-header h2 {
    color: var(--text-light);
}

.testimonials .section-header h2::after {
    background: var(--highlight);
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-quote::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--highlight);
    line-height: 0;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--secondary-2));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-info h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info .date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.stars {
    margin-bottom: 1rem;
}

.star {
    color: var(--muted);
    font-size: 1.25rem;
}

.star.filled {
    color: var(--highlight);
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--accent) 0%, #b82318 100%);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta .btn-secondary {
    border-color: var(--text-light);
}

.cta .btn-secondary:hover {
    background: var(--text-light);
    color: var(--accent);
}

/* ===== LOCATION SECTION ===== */
.location-grid {
    display: grid;
    gap: 2rem;
}

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

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-alt);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: rgba(218, 41, 28, 0.1);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-item h4 {
    margin-bottom: 0.25rem;
}

.location-item p {
    color: var(--muted);
    margin: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #3d3a32 100%);
    padding: calc(var(--header-height) + 3rem) 0 3rem;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== MENU FILTER ===== */
.menu-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--bg-alt);
    color: var(--text);
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--text-light);
}

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

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-alt);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(39, 37, 31, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.gallery-overlay svg {
    width: 40px;
    height: 40px;
    color: var(--text-light);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 3rem;
    padding: 1rem;
    transition: color var(--transition-fast);
}

.lightbox-nav:hover {
    color: var(--highlight);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    gap: 3rem;
}

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

.contact-form {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group label .required {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(218, 41, 28, 0.1);
}

.form-control::placeholder {
    color: var(--muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--text-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card h4 {
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--muted);
    margin: 0;
}

.contact-card a {
    color: var(--accent);
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-message.success {
    background: rgba(0, 140, 21, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    background: rgba(218, 41, 28, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--highlight));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: var(--radius-full);
    border: 3px solid var(--bg);
    transform: translateX(-50%);
}

.timeline-date {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--muted);
}

/* ===== VALUES ===== */
.values-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--secondary-2));
    color: var(--text-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.value-card h3 {
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--muted);
    margin: 0;
}

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.blog-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), #4a4740);
    position: relative;
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.blog-content h3 a {
    color: var(--text);
    transition: color var(--transition-fast);
}

.blog-content h3 a:hover {
    color: var(--accent);
}

.blog-content p {
    color: var(--muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.blog-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link svg {
    transition: transform var(--transition-fast);
}

.blog-link:hover svg {
    transform: translateX(4px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: var(--text-light);
}

.footer-title {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--highlight);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.footer-hours .day {
    color: rgba(255, 255, 255, 0.7);
}

.footer-hours .hours {
    color: var(--highlight);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-credits {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8125rem;
}

/* ===== UTILITIES ===== */
.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}