/* --- START OF FILE styles.css --- */

/* === VARIABLES DE COLOR Y FUENTES === */
:root {
    --bg-cream: #FDFBF5; /* Un fondo crema muy claro y elegante */
    --bg-soft-accent: #F5F1E9; /* Un color ligeramente más oscuro para secciones */
    --text-dark: #4F4A45; /* Un color carbón suave, menos duro que el negro */
    --accent-gold: #C8B590; /* Un dorado más suave y menos brillante */
    --accent-rose: #D4B4B4; /* Un toque femenino de rosa palo */
    --border-color: #EAE3D6;
}

/* === ESTILOS GLOBALES === */
body {
    font-family: 'EB Garamond', serif; 
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.75;
}

/* === TIPOGRAFÍA === */
.font-title { font-family: 'Cormorant Garamond', serif; }
.font-script { font-family: 'Dancing Script', cursive; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 700; }

/* === NUEVA REGLA PARA PÁRRAFOS DE INTRODUCCIÓN === */
#galeria .text-center p,
#contacto .text-center p {
    font-size: 1.35rem;
    line-height: 1.8;
}

/* === COLORES === */
.text-gold { color: var(--accent-gold); }
.bg-gold { background-color: var(--accent-gold); }
.border-gold { border-color: var(--accent-gold); }

/* === HEADER (NUEVO: TRANSPARENTE AL INICIO) === */
#main-header .header-logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#main-header.scrolled {
    background-color: rgba(253, 251, 245, 0.9); /* Fondo crema semitransparente al scrollear */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
#main-header nav a {
    color: #fff; /* Color inicial del texto blanco para el hero */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}
#main-header.scrolled nav a {
    color: var(--text-dark); /* Color oscuro al scrollear */
    text-shadow: none;
}
#main-header .header-logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#main-header .header-logo img {
    height: 5rem;
}

/* === HERO SECTION (PORTADA) === */
#inicio {
    background-image: url('../img/hero-background.jpg');
    background-size: cover;
    background-position: center 30%;
    height: 90vh; /* Un poco más alto para que el header transparente se luzca */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
#inicio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-cream) 0%, rgba(253, 251, 245, 0) 50%);
}
#inicio .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
#inicio h1, #inicio p {
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* === SECCIÓN DE CATÁLOGO / GALERÍA === */
.catalog-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.gallery-item .image-container { aspect-ratio: 3 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%); }
.gallery-item h3 { position: absolute; bottom: 1rem; left: 1rem; font-size: 1.75rem; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }

/* === PAGINACIÓN === */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--border-color); border-radius: 0.5rem; color: var(--text-dark); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.pagination a:hover { background-color: var(--accent-gold); color: #fff; border-color: var(--accent-gold); }
.pagination .current-page { background-color: var(--accent-gold); color: #fff; border-color: var(--accent-gold); font-weight: bold; }

/* === BLOQUES ALTERNADOS (IMAGEN-TEXTO) (NUEVO: ALINEACIÓN SUPERIOR) === */
.alternating-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start; /* Cambio clave: alinea al inicio */
    padding: 5rem 0;
}
.alternating-section .image-container img { width: 100%; height: auto; border-radius: 0.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.alternating-section .text-container { max-width: 500px; }
.alternating-section .text-container h2 { font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; }
/* --- MODIFICACIÓN: Aumentamos el tamaño y añadimos !important --- */
.alternating-section .text-container p { font-size: 1.4rem !important; line-height: 1.8; opacity: 0.8; }
/* Orden para bloques pares (intercalar) */
.alternating-section:nth-child(even) .image-container { grid-area: 1 / 2 / 2 / 3; }
.alternating-section:nth-child(even) .text-container { grid-area: 1 / 1 / 2 / 2; }


/* === BARRA DE CONTACTO MÓVIL (NUEVA) === */
.mobile-contact-bar {
    display: none; /* Oculta por defecto en escritorio */
}

/* === FORMULARIO DE CASTING === */
.form-input { background-color: #fff; border: 1px solid var(--border-color); color: var(--text-dark); width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(200, 181, 144, 0.3); }
.form-input::placeholder { color: #aaa; }

/* === FOOTER === */
footer { background-color: var(--bg-soft-accent); border-top: 1px solid var(--border-color); color: var(--text-dark); }
footer h3 { color: var(--text-dark); }
footer a { color: var(--text-dark); transition: color 0.2s; }
footer a:hover { color: var(--accent-gold); }

/* === RESPONSIVIDAD === */
@media (max-width: 768px) {
    body { font-size: 1.1rem; padding-bottom: 70px; /* Espacio para la barra fija y ajuste de fuente base en móvil */ }
    .alternating-section { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
    .alternating-section .image-container,
    .alternating-section:nth-child(even) .image-container { grid-area: 1 / 1 / 2 / 2; }
    .alternating-section .text-container,
    .alternating-section:nth-child(even) .text-container { grid-area: 2 / 1 / 3 / 2; }

    /* Mostrar y estilizar la barra de contacto móvil */
    .mobile-contact-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        background-color: var(--bg-cream);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 50;
    }
    .mobile-contact-bar a {
        flex: 1; /* Ocupa el 50% del espacio */
        text-align: center;
        padding: 1rem;
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.2rem;
        font-weight: 700;
        text-decoration: none;
        color: var(--text-dark);
        transition: background-color 0.2s;
    }
    .mobile-contact-bar a:first-child {
        border-right: 1px solid var(--border-color);
    }
    .mobile-contact-bar a.whatsapp {
        color: #25D366;
    }
    .mobile-contact-bar a:hover {
        background-color: var(--bg-soft-accent);
    }
}

/* === Utilidades y otros componentes que no cambian mucho === */
#preloader { background-color: var(--bg-cream); }
#progress-bar { background-color: var(--accent-gold); }
.progress-bar-container { border-color: var(--border-color); background-color: #fff;}
#age-gate { background-color: rgba(253, 251, 245, 0.9); }
#age-gate > div { background-color: #fff; border-color: var(--border-color); }
#age-gate h2, #age-gate p { color: var(--text-dark); }
#enter-btn { background-color: var(--accent-gold); color: #fff; }
#gallery-modal { background-color: rgba(79, 74, 69, 0.9); }
#gallery-modal > div { background-color: var(--bg-cream); }
#gallery-modal h2 { color: var(--accent-gold); }
#gallery-modal, #gallery-modal p, #gallery-modal span, #gallery-modal th, #gallery-modal td { color: var(--text-dark); }
#modal-tarifas-body, #modal-edad, #modal-altura, #modal-medidas, #modal-idiomas, #modal-ocupacion, #modal-hobbies, #modal-servicios { color: var(--text-dark); opacity: 0.8; }
#modal-contactar { background-color: var(--accent-gold); color: #fff; }
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
/* --- END OF FILE styles.css --- */