/* --- Variables Globales y Reset --- */
:root {
    --color-blue: #0A2342;  /* Azul marino oscuro y elegante */
    --color-yellow: #F0B849; /* Amarillo/Dorado */
    --color-pink: #D98B9A;   /* Rosa pálido */
    --color-white: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-light: #F0F0F0;
    --font-serif: "Times New Roman", Times, serif; /* Fuente elegante del sistema */
    --font-sans: Arial, Helvetica, sans-serif;    /* Fuente legible del sistema */
    --color-logo-primary: #E9BF2D; /* Azul marino para el logo */
    --color-logo-secondary: #216B90; /* Dorado para detalles del logo*/
    --color-logo-tertiary: #F47E7E; /* Azul claro para detalles del logo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- 1. Barra Superior --- */
.top-bar {
    background-color: var(--color-blue);
    color: var(--color-text-light);
    padding: 8px 50px;
    display: flex;
    justify-content: flex-end;
}

.top-bar nav ul {
    display: flex;
    gap: 20px;
}

.top-bar nav a {
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.top-bar nav a:hover {
    color: var(--color-yellow);
}

/* --- 2. Encabezado Principal --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid #eee;
}

.logo h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-blue);
    margin: 0;
    letter-spacing: 1px;
}

.logo p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-pink);
}

/* --- 3. Sección Hero Principal --- */
.hero {
    position: relative;
    padding: 40px 50px;
    background-color: #fcfcfc;
    overflow: hidden; /* Para contener las líneas */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 500px; /* Altura de la sección */
}

.hero-text {
    z-index: 2; /* Texto por encima de la imagen */
    flex-basis: 40%;
}

.hero-text h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

.hero-image-placeholder {
    flex-basis: 55%;
    height: 100%;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    font-size: 1.2rem;
    z-index: 1;
}

/* --- 3b. Formas Geométricas (CSS) --- */
.geometric-shapes {
    position: absolute;
    right: 25%; /* Posicionado para superponerse a la imagen */
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    transition: transform 0.2s ease-out; /* Para el efecto JS */
}

.shape {
    width: 95px;
    height: 95px;
    position: absolute;
    opacity: 0.8;
    /* Usamos clip-path para crear los rombos/diamantes */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shape-1 {
    background-color: var(--color-blue);
    transform: translate(0, -30px);
}
.shape-2 {
    background-color: var(--color-yellow);
    transform: translate(-40px, 30px);
}
.shape-3 {
    background-color: var(--color-pink);
    transform: translate(40px, 30px);
}

/* --- 3c. Líneas de Acento --- */
.accent-lines {
    position: absolute;
    bottom: 0;
    left: 50px; /* Alineado con el padding */
    width: 40%;
    height: 15px;
}
.line {
    position: absolute;
    bottom: 0;
    height: 8px;
}
.line-yellow {
    background-color: var(--color-yellow);
    width: 100%;
    z-index: 2;
}
.line-pink {
    background-color: var(--color-pink);
    width: 60%;
    z-index: 1;
    bottom: -5px; /* Ligeramente más abajo */
}


/* --- 4. Sección de Características --- */
.features {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 60px 50px;
}

.feature-item {
    text-align: center;
}

.feature-icon-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 4px solid var(--color-yellow);
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    font-weight: bold;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: normal;
}

.fotossss {
   /* width: 450px;*/
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* --- 5. Banner CTA --- */
.cta-banner {
    padding: 40px 50px;
    text-align: center;
    border-top: 10px solid var(--color-blue);
}

.cta-banner h2 {
    font-family: var(--font-serif);
    color: var(--color-blue);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

/* --- 6. Pie de Página --- */
footer {
    background-color: var(--color-blue);
    color: var(--color-text-light);
    text-align: center;
    padding: 40px 50px;
}


.BotonR {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.3s ease;

}


.BotonR img  {
    background-color: var(--color-white);
    width: 50px; 
    height: auto;
    border-radius: 10px;
    gap: 20px;
    transition: .5s;
}

.BotonR img:hover {
    transform: scale(1.1);
}
footer p {
    font-size: 0.9rem;
}




/***************************************************************/
/***************************************************************/
/***************************************************************/
/***************************************************************/



 /* --- Configuración Global y Tema (Adaptado a Atelier Couture) --- */
        :root {
            /* Paleta de Atelier Couture */
            --color-blue: #0A2342;
            --color-yellow: #F0B849;
            --color-pink: #D98B9A;
            --color-white: #FFFFFF;
            --color-text-dark: #333333;
            --color-text-light-gray: #777;

            /* Fuentes de Atelier Couture */
            --font-serif: "Times New Roman", Times, serif;
            --font-sans: Arial, Helvetica, sans-serif;

            /* Transición original (es buena, la conservamos) */
            --transicion-suave: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            /* Adaptado */
            font-family: var(--font-sans);
            background-color: var(--color-white);
            color: var(--color-text-dark);
            line-height: 1.6;
        }

        /* --- Encabezado (Adaptado) --- */
        .header {
            padding: 40px 20px;
            text-align: center;
        }

        .header h1 {
            /* Adaptado */
            font-family: var(--font-serif);
            font-size: 2.5rem;
            font-weight: normal; /* Más elegante que '300' */
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--color-blue);
        }

        .header p {
            /* Adaptado */
            font-size: 1.1rem;
            font-weight: normal;
            color: var(--color-text-light-gray);
        }

        /* --- Galería de Fotos (Adaptada) --- */
        .gallery-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 15px;
            padding: 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            aspect-ratio: 4 / 5;
            border-radius: 8px;
            /* Adaptado */
            background-color: #f0f0f0; /* Color de fondo claro para carga */
            border: 1px solid #eee; /* Borde sutil */
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: var(--transicion-suave);
        }

        /* --- Personalidad: Efecto Hover (Adaptado) --- */
        .gallery-item .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Adaptado: Usamos el azul de la marca con transparencia */
            background-color: rgba(10, 35, 66, 0.85); /* --color-blue con opacidad */
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: var(--transicion-suave);
            
            /* Ícono '+' */
            color: white;
            font-size: 2rem;
            font-weight: bold;
        }

        .gallery-item .overlay::after {
            content: '+';
            transform: scale(1.5);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.08);
        }

        .gallery-item:hover .overlay {
            opacity: 1;
        }
        
        .gallery-item:hover .overlay::after {
            transform: scale(2.5);
        }


        /* --- Modal (Lightbox) (Adaptado) --- */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Adaptado: Fondo azul oscuro en lugar de negro puro */
            background-color: rgba(10, 35, 66, 0.95); /* --color-blue con alta opacidad */
            
            display: flex;
            justify-content: center;
            align-items: center;

            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease-in-out;
        }
        
        /* Estado activo del modal (Sin cambios) */
        .modal.active {
            display: flex;
            opacity: 1;
            pointer-events: all;
        }

        .modal-content {
            max-width: 90vw;
            max-height: 90vh;
            display: block;
            transform: scale(0.8);
            transition: var(--transicion-suave);
        }
        
        .modal.active .modal-content {
            transform: scale(1);
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 35px;
            color: var(--color-white); /* Color blanco */
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            /* Adaptado: Añadimos color a la transición */
            transition: transform 0.3s ease, color 0.3s ease;
        }
        
        .close-modal:hover {
            /* Adaptado: Usamos el rosa como acento */
            transform: scale(1.2) rotate(90deg);
            color: var(--color-pink);
        }


