/* ==========================================
   1. ESTILOS GENERALES Y RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
    overflow-x: hidden;
}

/* Espaciado uniforme para todas las secciones */
section {
    padding: 80px 20px;
}

/* ==========================================
   2. HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Hover del menú del header en dorado exacto (#B18E54) */
.header a:hover, 
.navbar a:hover, 
nav a:hover, 
.nav-links a:hover {
    color: #B18E54 !important;
}

/* ==========================================
   3. HERO SECTION
   ========================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url('images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    color: #B18E54 !important;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 25px 0;
}

.hero-title-img {
    max-width: 650px;
    width: 90%;
    height: auto;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInWelcome 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

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

.hero-cta-text {
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Botones principales con bordes redondeados */
.btn-concept {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 35px !important;
}

.btn-concept:hover {
    background-color: #ffffff;
    color: #0f0f0f;
}

/* ==========================================
   4. CARDS SECTION (MENU)
   ========================================== */
.menu-section {
    padding: 80px 50px;
    background-color: #141414;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-card {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.burger-img {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent), url('images/burger-card.png') center/cover;
}

.dessert-img {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent), url('images/dessert-card.png') center/cover;
}

.explore-btn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.explore-btn:hover {
    transform: translateX(5px);
    color: #B18E54;
}

/* ==========================================
   5. ABOUT SECTION
   ========================================== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.about-text-col {
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #0f0f0f;
}

.section-tag {
    color: #B18E54;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-text-col h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text-col p {
    color: #aaaaaa;
    line-height: 1.6;
}

.about-img-col {
    background: url('images/about-store.png') center/cover;
}

/* ==========================================
   6. FEATURES BAR (Iconos con títulos blancos)
   ========================================== */
.features-section {
    padding: 50px 50px;
    background-color: #181818;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

/* Forzar los títulos h4 de los iconos en BLANCO de forma estricta */
section.features-section .feature-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.feature-item p {
    font-size: 0.85rem;
    color: #888888;
    line-height: 1.5;
}

/* ==========================================
   7. LOCATION SECTION
   ========================================== */
.location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.location-info {
    padding: 80px;
    background-color: #0f0f0f;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.address, .hours {
    color: #aaaaaa;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.map-btn, .get-directions, .visit-section a {
    display: inline-block;
    margin-top: 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid #B18E54 !important;
    padding-bottom: 5px;
    width: fit-content;
}

.map-box {
    width: 100%;
    min-height: 350px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) contrast(120%);
}

/* ==========================================
   8. FOOTER Y REDES SOCIALES
   ========================================== */
.footer {
    background-color: #080808;
    padding: 60px 50px 30px 50px;
    text-align: center;
    border-top: 1px solid #222222;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.footer-cols {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer h4,
.footer-col h4 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #B18E54 !important;
}

.footer-col p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.footer-bottom {
    font-size: 0.75rem;
    color: #555555;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
}

.contact-socials {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-socials .social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.contact-socials .social-item:hover {
    opacity: 0.8;
}

.contact-socials .social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ==========================================
   9. ELEMENTOS DORADOS ESPECÍFICOS (Find Us, Our Story, etc.)
   ========================================== */
.find-us,
.our-story,
.section-subtitle,
.find-us span, 
.section-subtitle {
    color: #B18E54 !important;
}

/* ==========================================
   10. RESPONSIVE PARA MÓVILES
   ========================================== */
@media (max-width: 768px) {
    .header { padding: 15px 20px; }
    .nav { display: none; }
    .about-section, .location-section { grid-template-columns: 1fr; }
    .about-text-col, .location-info { padding: 40px 20px; }
    .about-img-col { min-height: 300px; }
}
/* Estructura interna de las tarjetas para alinear el logo y el botón */
.menu-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Mantiene el contenido abajo */
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea a la izquierda (o cámbialo a center si prefieres centrado) */
    gap: 15px; /* Espacio entre el logo y el botón */
}

/* Tamaño y estilo para los logos SVG en las tarjetas */
.card-logo {
    width: 140px; /* Ajusta este valor si quieres el logo más grande o pequeño */
    height: auto;
    object-fit: contain;
}
/* Imagen de fondo del Hero para pantallas grandes (Computadora) por defecto */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url('images/hero-bg.png') no-repeat center center/cover;
}
/* ======================================================
   DIAGRAMACIÓN HERO PARA MÓVILES (Boceto Exacto)
   ====================================================== */
@media (max-width: 768px) {
    
    /* 1. Contenedor principal alineado arriba */
    .hero {
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Alinea todo desde arriba hacia abajo */
        align-items: center !important;
        padding: 85px 20px 30px 20px !important; /* Espacio superior para que el header no lo tape */
        box-sizing: border-box !important;
        background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)), url('images/hero-bg-mobile.jpg') no-repeat center center/cover !important;
    }

    /* 2. Subtítulo bien arriba */
    .hero-subtitle {
        display: block !important;
        text-align: center !important;
        line-height: 1.4 !important;
        letter-spacing: 2px !important;
        margin-bottom: 5px !important;
        order: 1 !important;
    }

    /* 3. Título "Welcome to Haven" justo debajo del subtítulo (arriba del todo) */
    .hero-title-container {
        margin: 0 0 15px 0 !important;
        order: 2 !important;
    }

    .hero-title-img {
        max-width: 240px !important;
        width: 100% !important;
    }

    /* 4. EL TRUCO: Este margen automático empuja los botones y el texto inferior 
       hacia abajo, dejando el espacio del medio limpio para la foto */
    .hero-cta-text {
        display: block !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        letter-spacing: 1.5px !important;
        color: #ffffff !important;
        margin-top: auto !important; /* Empuja este bloque hacia la parte baja de la pantalla */
        margin-bottom: 15px !important;
        order: 3 !important;
    }

    /* 5. Botones abajo del todo */
    .hero-buttons {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        order: 4 !important;
        margin-bottom: 0 !important;
    }

    .hero-buttons .btn-concept {
        width: 70% !important;
        max-width: 250px !important;
        text-align: center !important;
        background-color: transparent !important;
        border: 2px solid #ffffff !important;
        color: #ffffff !important;
        border-radius: 35px !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
    }
}
