/* Variables de colores y tipografías */
:root {
    --primary-color: white;
    --secondary-color: #333;
    --accent-color: rgba(0, 0, 0, 0.053);
    --button-bg-hover: white;
    --button-text-hover: black;
    --font-family-primary: 'Arial', sans-serif;
    --font-family-secondary: 'Playfair Display', serif;
    --font-size-h1: 3rem;
    --font-size-h2: 2rem;
    --font-size-p: 1.2rem;
}

/* Reset de márgenes y padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    color: var(--primary-color);
    margin: 0;
    padding: 0;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.logo h1 {
    font-family: var(--font-family-secondary);
    font-size: 40px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    font-family: var(--font-family-secondary);
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1rem;
}

/* BOTONES */
.shop-now a, .btn-contact, .mensaje-exito button {
    text-decoration: none;
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 20px;
    color: var(--secondary-color);
    margin-top: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
   
}

.shop-now a:hover, .btn-contact:hover, .mensaje-exito button:hover {
    background-color: var(--button-bg-hover);
    color: var(--button-text-hover);
    transform: scale(1.05);
}



/* HERO SECTION */
.hero-section {
    background: url('imagenes/FONDO-F1.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
}

.content {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    text-align: center;
}

.content h1, .acerca-de h1, .parrafo-izquierda h1 {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-h1);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.content p, .acerca-de p, .parrafo-izquierda p, .parrafo-derecha p {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-p);
    max-width: 600px;margin: 0 auto;
}

/* ACERCA DE */
.acerca-de {
    height: 100vh;
    padding: 50px 20px;
    background-color: #86837f;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.linea-vertical {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    background-color: rgb(53, 51, 51);
}

.linea-vertical.superior {
    top: 0;
    height: 20%;
}

.linea-vertical.inferior {
    bottom: 0;
    height: 20%;
}

/* FORMULARIO DE CONTACTO */
.formulario-contacto {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: white;
    padding: 30px;
    border-radius: 15px;
    width: 50%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.formulario-contacto h2 {
    font-family: Playfair, regular;
    font-size: 1.8rem;
    color: rgb(181, 163, 142);
    text-align: center;
    margin-top: 0;
}

.formulario-contacto input, .formulario-contacto textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffffff;
    color: #333;
    font-size: 1rem;
}

.formulario-contacto button {
    background-color: #998754;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
}

/* OVERLAY FORM */
.overlay-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(142, 110, 65, 0.5);
    z-index: 99;
}

/* MENSAJE DE ÉXITO */
.mensaje-exito {
    color: rgb(158, 136, 100);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 1.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* TERCERA SECCIÓN */
.tercera-seccion {
    background-color: #2c2927;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contenido {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.parrafo-izquierda, .parrafo-derecha {
    width: 40%;
}

.parrafo-derecha {
    font-family: var(--font-family-secondary);
    font-style: italic;
    text-align: right;
}

.cargo {
    font-weight: bold;
}

/* Navegación en pantallas grandes */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.nav-links {
    list-style: none;
    display: flex;
    transition: all 0.3s ease-in-out;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    font-family: var(--font-family-secondary);
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Estilo del botón de menú para móviles */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
}

/* Mostrar el botón de menú en pantallas pequeñas */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Ocultar menú por defecto */
        width: 100%;
        text-align: center;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 10px 0;
    }
}
.nav-links li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    list-style: none;
    padding: 10px 0;
}

.submenu li {
    padding: 10px 20px;
}

.nav-links li:hover .submenu {
    display: block;
}

/* CUARTA SECCIÓN */
.cuarta-seccion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 20px;
    color: var(--secondary-color);
    background-color: var(--primary-color);
}

.cuarta-seccion .texto-izquierda {
    width: 50%;
    padding: 20px;
}

.cuarta-seccion h2 {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-h2);
    color: var(--secondary-color);
    margin-bottom: 100px;
}

.cuarta-seccion p {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-p);
    color: var(--secondary-color);
    line-height: 1.5;
}

.cuadrados-derecha {
    width: 45%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cuadrado {
    width: 250px;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cuadrado:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.cuadrado span {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para texto */
    color: white;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    position: absolute;
    bottom: 10px;
    width: 100%;
}
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-contenido p {
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.5;
}

/* Formulario de Suscripción */
.suscripcion-formulario {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px auto;
    max-width: 600px;
}

.suscripcion-formulario input[type="text"],
.suscripcion-formulario input[type="email"] {
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: none;
    color: #fff;
    font-size: 1em;
}

.suscripcion-formulario button {
    grid-column: span 2;
    padding: 10px 30px;
    color: #fff;
    background: none;
    border: 1px solid #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
}

.suscripcion-formulario button:hover {
    background-color: #555;
}

/* Iconos de redes sociales */
.footer-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.redes-sociales a {
    margin: 0 10px;
    display: inline-block;
}

.redes-sociales img {
    width: 30px;
    height: 24px;
    size: 3Opx;
}

/* Logo y flecha de subir */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-logo p {
    font-size: 1.5em;
    font-weight: bold;
}

.subir img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .suscripcion-formulario {
        grid-template-columns: 1fr;
    }
    
    .footer-extra {
        flex-direction: column;
        gap: 20px;
    }
}

.submenu {
    display: none;
}

/* Estilo cuando el submenú está activo */
.submenu.active {
    display: block;
}