:root {
    /* Paleta extraída de la Imagen 2 */
    --primary-gold: #B68A2E;
    --light-gold: #CC9935;
    --dark-gold: #8f6b1a;

    --bg-black: #000000;
    --bg-dark-gray: #1a1a1a;
    /* Variación para contraste */
    --bg-navy: #033066;

    --text-white: #ffffff;
    --text-gray: #d1d1d1;

    /* Botón solicitado */
    --btn-red: #800D0D;
    --btn-red-hover: #a01111;

    /* Tipografías */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Espaciado */
    --section-padding: 80px 0;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--text-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-white);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--primary-gold);
    background: linear-gradient(to right, var(--light-gold), var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Efecto metálico */
}

.section-padding {
    padding: var(--section-padding);
}

/* Header */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(182, 138, 46, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Barra de Progreso de Scroll */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--light-gold));
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--primary-gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Ajustar según logo real */
    width: auto;
}

.nav-links a {
    color: var(--text-white);
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.btn-nav {
    border: 1px solid var(--primary-gold);
    padding: 8px 20px;
    border-radius: 2px;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    /* Imagen de comida oscura */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax CSS puro */
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 35px;
    margin: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--btn-red);
    color: var(--text-white);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(128, 13, 13, 0.4);
    /* Glow rojo */
}

.btn-primary:hover {
    background-color: var(--btn-red-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(128, 13, 13, 0.6);
}

.btn-outline {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background-color: var(--primary-gold);
    color: var(--bg-black);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(182, 138, 46, 0.4);
}

/* Servicios Grid */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.divider-gold {
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 20px auto;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(182, 138, 46, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(182, 138, 46, 0.2);
}

.icon-gold {
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.link-gold {
    color: var(--primary-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

/* Sección Split (Imagen + Texto) */
.bg-dark-alt {
    background-color: var(--bg-dark-gray);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.image-wrapper {
    flex: 1;
}

.text-content {
    flex: 1;
}

.image-wrapper img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-left: 5px solid var(--primary-gold);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.feature-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
}

/* Footer */
footer {
    background-color: #050505;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.logo-text {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Animaciones y Responsividad */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Animación de entrada suave para hero */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Implementar menú hamburguesa JS aquí si se desea expandir */
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .split-layout {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}