@import "../../components/style.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F5EFE0;
    font-family: var(--font-family-base, sans-serif);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Header - Menú Superior (Actualizado con la Paleta Oficial del Manual)
   ========================================================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--header-bg, #008a85) !important; /* 🎨 Cambiado al Jade Oficial (#008a85) */
    position: fixed !important;
    transform: none !important;
    top: 0 !important;
    width: 100%;
    height: 80px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid #005f5c !important; /* Borde sutil a juego con el Jade */
}

.main-header .nav-link, 
.main-header a {
    color: #f5efe0 !important;
    font-weight: 600 !important;
    transition: color 0.2s ease;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: var(--honey-gold, #f9ec00) !important; /* 🎨 Cambiado al Amarillo Oficial (#f9ec00) */
}

.main-header .logo, 
.main-header .brand-name {
    color: #1A0F07 !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
}

/* ==========================================================================
   Estructura Principal
   ========================================================================== */
.locacion-main {
    margin-top: 80px; 
    flex: 1;
    display: flex;
    width: 100%;
}

.info-col {
    position: relative; 
    overflow: hidden;  
    
    width: 35%;
    min-width: 400px;
    background-image: url("/images/Texturelabs_Grunge_265L.jpg");
    background-color: #78e8fa;
    background-blend-mode: multiply;
    background-size: 300px auto; 
    background-repeat: repeat;  

    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.05);
    z-index: 5;
}

.icon-cafestival-loc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2.2);    
    
    width: 100%;
    max-width: 600px;
    height: auto;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    z-index: 1; 
    pointer-events: none; 
    opacity: 0.15;     
}

.icon-cafestival-loc img {
    width: 100%;
    height: auto;
    display: block;

    position: relative;
    left: -3000px; 
    
    filter: drop-shadow(3000px 0 0 #faf6f0); 
}

.info-title,
.info-text,
.info-detail {
    position: relative;
    z-index: 2; 
}

.info-title {
    font-family: var(--font-family-heading, sans-serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: #2E1810;
    line-height: 1.1;
}

.info-title span {
    color: #faf6f0;
}

.info-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
}

.info-detail {
    margin-top: 10px;
}

.info-detail p {
    font-size: 1rem;
    color: #2E1810;
    margin-bottom: 8px;
}

.info-detail strong {
    color: #faf6f0;
}

.map-col {
    width: 65%;
    height: calc(100vh - 80px); 
    position: relative;
}

.map-col iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   Media Query: Vista Móvil (Menor a 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .locacion-main {
        flex-direction: column;
        height: auto;
    }

    .info-col {
        width: 100%;
        min-width: 100%;
        padding: 40px 24px;
        gap: 20px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    }

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

    .map-col {
        width: 100%;
        height: 450px; /* Evita que el mapa bloquee por completo el scroll táctil del celular */
    }
}