/* -----------------------------------------------------------
   style_home.css - Estilos para Óptica Laser Hawk (Landing y General)
   IMPORTANTE: Respetar tipografías, colores y estética actual.
----------------------------------------------------------- */

/* --- Estilos Globales de header.php --- */

body {
    background-color: #0080FF; /* Azul fondo fallback */
    background-image: url('../images/fondo.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Tipografías base */
body {
    font-family: 'Roboto Condensed', sans-serif; /* Usada como base */
}

h1 {
    font-family: 'Pathway Gothic One', sans-serif;
    text-transform: uppercase;
}

/* Fancybox Custom */
.fancybox-custom .fancybox-skin {
    box-shadow: 0 0 50px #222;
}

/* Clases de utilidad */
.centrado {
    width: 100%;
    background-color: #fff;
    padding: 15px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 6px;
}

/* Recuadros de Fotos/Imágenes */
.picture, .foto {
    overflow: hidden;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 3px 3px 3px #9f9f9f;
}

.picture {
    width: 160px;
    height: 100px;
}

.foto {
    width: 100%;
    height: auto;
}

/* Recuadro de Consultas */
.recuadro-consulta {
    background-color: #FF9F00;
    padding: 14px;
    margin-top: 0px;
    margin-bottom: 10px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    box-shadow: 0px 3px 4px #444;
}

/* --- Estilos Específicos de la Landing (index.php) --- */

.button {
    font-family: 'Abel', sans-serif; /* Tipografía para botones */
    background-color: #0264d2;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 4px;
}

.button:hover, a.button:hover {
    color: white;
    text-decoration: none;
    background-color: #014da3; /* Oscurecemos un poco en hover */
}

/* Contenedor principal de los dos mundos */
.contenedor-mundos {
    margin: 0px auto;
    width: 98%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permitimos que bajen en móviles */
}

/* Cada columna (Oftálmica / Deportiva) */
.columna-mundo {
    width: 33.3333%; /* Ancho original en desktop */
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 20px;
    margin-left: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

#imagen-o, #imagen-p {
    width: 100%;
}

/* -----------------------------------------------------------
   MEDIA QUERIES - Ajustes Responsive Consolidados
----------------------------------------------------------- */

/* Tablets grandes (aprox max-width 1024px) */
@media (max-width: 1024px) {
    .contenedor-mundos {
        display: inline-block; /* Volvemos a bloque para apilar */
    }
    
    .columna-mundo {
        width: 100%;
        float: left;
        margin-right: 0;
        margin-left: 0;
    }
}

/* Ajuste específico para tablets intermedias (max-width 824px) */
@media (max-width: 824px) {
    .columna-mundo {
        width: 44%; /* Ancho intermedio antes de móviles */
        margin-right: 20px;
        margin-left: 20px;
    }
}

/* Tablets pequeñas / Celulares horizontales (max-width 768px) */
@media (max-width: 768px) {
    .navbar-nav.navbar-center {
        position: relative;
        left: 0;
        transform: none;
    }
    
    .logoBrand {
        display: block; /* Mostramos logo Brand en móvil si existe */
    }
    
    .columna-mundo {
        width: 100%;
        float: left;
        margin-right: 0;
        margin-left: 0;
    }
}

/* Ajustes de Header en móviles pequeños (max-width 640px) */
@media (max-width: 640px) {
    .navbar-default {
        top: 7px;
    }
    
    .columna-mundo {
        width: 100%;
        margin-bottom: 10px;
        overflow: hidden;
    }
}

/* Celulares muy pequeños (max-width 568px y 340px) */
@media (max-width: 568px) {
    .columna-mundo {
        width: 100%;
        margin-right: 0px;
        margin-left: 5px; /* Pequeño margen estético */
    }
}