/*!
Theme Name: LOLAS-ROCKAWAY
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Tema personalizado con Bootstrap 5 y Código Puro.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lolas-rockaway
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   WORDPRESS CORE CLASSES (No Borrar)
   Estas clases son generadas automáticamente por el editor de WordPress.
   ========================================================================== */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}


/* =========================================
   1. FUENTES (Google Fonts: Poppins)
   Importamos pesos: 300 (Ligero), 400 (Normal), 600 (Semi-Negrita) y 700 (Negrita)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* =========================================
   2. VARIABLES GLOBALES (:root)
   Aquí definimos la "personalidad" del sitio.
   ========================================= */
:root {
    /* --- PALETA DE COLORES (Tu Marca) --- */
    --color-primary: #3b85ff;       /* Azul Brillante (Para botones y llamadas a la acción) */
    --color-secondary: #0b110df0;     /* Negro Profundo (Para fondos elegantes y pie de página) */
    --color-tertiary: #cddfff;      /* Azul Hielo (Para fondos sutiles o hover) */
    --color-white: #ffffff;         /* Blanco Puro (Para textos sobre fondo oscuro y tarjetas) */

    /* --- COLORES SEMÁNTICOS (Uso en la web) --- */
    --bg-body: #ffffff;             /* Fondo general de la web */
    --bg-dark: var(--color-secondary);
    --bg-light: #f8f9fa;            /* Un gris muy suave para romper el blanco puro */
    
    --text-main: #1a1a1a;           /* Gris muy oscuro para lectura cómoda (mejor que negro puro) */
    --text-light: #7a7a7a;          /* Gris suave para subtítulos */
    --text-inverse: var(--color-white); /* Texto sobre fondos oscuros */

    --accent: var(--color-primary); /* Color de énfasis */

    /* --- TIPOGRAFÍA --- */
    --font-main: 'Poppins', sans-serif;
    
    /* --- ESPACIADO Y BORDES (Para el toque elegante) --- */
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;       /* Bordes redondeados modernos */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05); /* Sombra suave de lujo */
}

/* =========================================
   3. ESTILOS BASE (Aplicando la elegancia)
   ========================================= */

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.7; /* Más espacio entre líneas da más elegancia */
    -webkit-font-smoothing: antialiased; /* Texto más nítido */
}

/* Títulos elegantes */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-secondary); /* Los títulos usan tu color oscuro, no negro */
    letter-spacing: -0.5px; /* Un toque moderno */
}

/* Enlaces */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

/* =========================================
   4. CLASES DE UTILIDAD PERSONALIZADAS
   Úsalas en tu HTML junto con Bootstrap
   ========================================= */

/* Botón Principal (Azul elegante) */
.lolas-btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px; /* Botón píldora (muy moderno) */
    font-weight: 600;
    border: 2px solid var(--color-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.lolas-btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* Botón Secundario (Borde blanco o transparente) */
.lolas-btn-outline {
    background-color: transparent;
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--color-white);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.lolas-btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

/* Títulos de Sección (Con la línea azul debajo) */
.lolas-section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.lolas-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 15px auto 0; /* Centrado */
}




/* =========================================
   FLOATING QUICK ACTION MENU (CON MÁS SEPARACIÓN Y ANCHO EN TABLET)
   ========================================= */

.lolas-floating-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    
    opacity: 1;
    pointer-events: auto; 
    transform: translateX(-50%) translateY(0); 
    
    background: rgba(10, 10, 10, 0.45); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    
    border-radius: 8px; 
    display: flex;
    align-items: center;
    padding: 0 60px; 
    height: 70px; 
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home .lolas-floating-dock,
.front-page .lolas-floating-dock {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(15px);
}

.lolas-floating-dock.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* --- ICONOS Y ENLACES --- */
.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff !important; 
    text-decoration: none !important;
    width: 140px; 
    height: 100%;
}

.dock-item i {
    font-size: 1.6rem; 
    margin-bottom: 0; 
    padding-bottom: 0;
    line-height: 1; 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* EFECTO HOVER: Movimiento sutil hacia arriba */
.dock-item:hover i {
    transform: translateY(-4px) scale(1.1); 
    color: #ffffff !important; 
}

/* EFECTO CLIC/TÁCTIL: Se hunde al presionar */
.dock-item:active i {
    transform: translateY(2px) scale(0.95);
    transition: transform 0.1s ease; 
}

/* --- TEXTO SIEMPRE VISIBLE --- */
.dock-text {
    font-size: 0.85rem; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important; 
    /* 🔥 SEPARACIÓN AUMENTADA PARA ESCRITORIO 🔥 */
    margin-top: 7px; 
    line-height: 1; 
    white-space: nowrap;
}

/* --- DIVISORES VERTICALES --- */
.dock-divider {
    width: 1px;
    height: 25px; 
    background-color: rgba(255, 255, 255, 0.15);
    margin: 0 15px;
}

/* --- RESPONSIVE FIX --- */

/* 🔥 AJUSTE PARA TABLETS 🔥 */
@media (max-width: 991px) {
    .lolas-floating-dock {
        min-width: auto !important;
        /* Hacemos el menú más largo de ancho en tablet */
        width: 85%; 
        max-width: 600px;
        padding: 0 20px;
    }
    
    .dock-item {
        /* Distribuimos los 3 iconos en el nuevo espacio parejo */
        width: 33.33%; 
    }
}

/* 🔥 AJUSTE PARA CELULARES (Cambiado de 768 a 767px para que no afecte al iPad) 🔥 */
@media (max-width: 767px) {
    .lolas-floating-dock {
        min-width: unset !important; 
        width: 90% !important; 
        max-width: 350px; 
        
        left: 50% !important;
        transform: translateX(-50%) translateY(0);
        
        bottom: 25px !important; 
        height: 65px !important; 
        border-radius: 8px; 
        padding: 0 5px !important;
    }

    .home .lolas-floating-dock,
    .front-page .lolas-floating-dock {
        transform: translateX(-50%) translateY(15px);
    }
    
    .lolas-floating-dock.is-visible {
        transform: translateX(-50%) translateY(0) !important;
    }

    .dock-item {
        width: 33.33%; 
    }

    .dock-item i {
        font-size: 1.3rem; 
    }

    .dock-text {
        font-size: 0.7rem; 
        /* 🔥 SEPARACIÓN AUMENTADA PARA MÓVIL 🔥 */
        margin-top: 6px;
        letter-spacing: 0.5px;
    }

    .dock-divider {
        height: 20px;
        margin: 0; 
    }
}