/* --- VARIABLES GLOBALES --- */
:root {
    --dark-deep: #0a0a0a;
    --dark-card: #161b22;
    --beige: #b8aea0;
    --beige-light: #d3c7b6;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET Y BASE --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    background-color: var(--dark-deep);
    color: var(--white);
    overflow-x: hidden;
}

/* --- NAVBAR (Estilo Lineal Premium) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 90%;
    top: 0;
    z-index: 10000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--beige-light);
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--beige-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- BOTONES REDONDEADOS (Tu estilo favorito) --- */
.btn-login-nav, .cart-toggle-btn, .btn-primary, .btn-add-cart {
    border-radius: 50px !important; /* Redondeado total como en capturas */
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-login-nav {
    background: var(--beige-light);
    color: var(--dark-deep);
    padding: 8px 25px;
    font-size: 13px;
}

.cart-toggle-btn {
    background: transparent;
    border: 1px solid var(--beige-light) !important;
    color: var(--white);
    padding: 8px 20px;
    gap: 8px;
    font-size: 13px;
}

.cart-toggle-btn:hover {
    background: rgba(211, 199, 182, 0.1);
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Corrección de ruta: sube un nivel para entrar a resources */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), 
                url('../resources/hero_food.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 15px 0;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--beige-light);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--beige);
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--beige-light);
    color: var(--dark-deep);
    padding: 16px 40px;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: var(--white);
}

/* --- SECCIÓN HIGHLIGHTS (Cajas con traslape) --- */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: -80px auto 60px; /* Sube las cajas sobre el hero */
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.highlight-item {
    background: var(--dark-card);
    padding: 50px 30px;
    border-radius: 25px; /* Bordes redondeados suaves */
    border: 1px solid rgba(211, 199, 182, 0.1);
    text-align: center;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-10px);
    border-color: var(--beige-light);
}

.highlight-item h3 {
    margin: 15px 0 10px;
    color: var(--beige-light);
    font-family: 'Montserrat', sans-serif;
}

.highlight-item p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* --- SECCIÓN SOBRE NOSOTROS (Asimétrica) --- */
.about-section {
    padding: 100px 8%;
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.about-text h2 span {
    color: var(--beige-light);
}

.about-text p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 30px; /* Imagen redondeada */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* --- CARRITO DROPDOWN --- */
.cart-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 320px;
    background: var(--dark-card);
    border: 1px solid rgba(211, 199, 182, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.cart-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar { width: 90%; padding: 15px 5%; }
    .nav-links { display: none; } /* Ocultar links en móvil para limpieza */
    .hero-content h1 { font-size: 2.5rem; }
    .about-section { gap: 40px; text-align: center; }
}
/* --- FOOTER UNIFICADO --- */
.main-footer {
    background-color: #050505;
    padding: 80px 8% 40px;
    border-top: 1px solid rgba(211, 199, 182, 0.1);
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Distribución asimétrica elegante */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--beige-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-tagline {
    color: #666;
    font-size: 15px;
    margin-top: 10px;
}

/* Enlaces de Navegación */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Redes Sociales */
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.social-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--beige-light);
}

.separator {
    color: #333;
}

/* Parte Inferior */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #444;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Ajuste Móvil */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}