/* style.css - Estilos para la landing page de Tequila de Piedra */

/* Variables de color y tipografía */
:root {
    --primary-color: #1a1e26; /* Azul pizarra oscuro */
    --secondary-color: #f7f3e8; /* Crema/Off-white */
    --accent-color: #8c715c; /* Tono tierra suave */
    --text-color: #e0e0e0; /* Texto claro para fondo oscuro */
    --dark-text-color: #1a1e26; /* Texto oscuro para fondo claro */
    --main-font: 'Lato', sans-serif;
    --logo-font: 'Cormorant Garamond', serif;
}

/* Reinicio básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilos de encabezado y menú */
header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: var(--logo-font);
    font-weight: 600;
    font-size: 2.5rem;
    color: white;
    letter-spacing: -1px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--accent-color);
}

/* Estilos de la sección Héroe */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Superposición oscura para legibilidad del texto */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h2 {
    font-family: var(--logo-font);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Estilos de la sección "Sobre Nosotros" */
.about {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-col {
    flex: 1;
}

.about-col.content {
    padding-right: 20px;
}

.about-col.image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.section-title-area {
    margin-bottom: 40px;
}

.section-title-area .label {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.section-title-area h3 {
    font-family: var(--logo-font);
    font-size: 3rem;
    line-height: 1.2;
    color: white;
    margin-top: 0;
}

.about-text-content p {
    margin-bottom: 20px;
    font-weight: 300;
}

/* Estilos de la sección "En Construcción" */
.construction-section {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    padding: 80px 0;
    text-align: center;
}

.construction-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.construction-box h4 {
    font-family: var(--logo-font);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.construction-box p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 300;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscription-form input[type="email"] {
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: var(--main-font);
}

.subscription-form button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscription-form button[type="submit"]:hover {
    background-color: var(--accent-color);
}

.success-message {
    color: green;
    margin-top: 20px;
}

.error-message {
    color: red;
    margin-top: 20px;
}

/* Estilos del pie de página (Footer) */
footer {
    padding: 30px 0;
    background-color: #12151c; /* Ligeramente más oscuro que el fondo principal */
    text-align: center;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Media Queries para diseño receptivo */
@media (max-width: 992px) {
    header nav ul {
        display: none; /* Oculta el menú para móviles de manera simple, se puede añadir un menú hamburguesa real */
    }

    .hero h2 {
        font-size: 3rem;
    }

    .about-row {
        flex-direction: column;
        gap: 40px;
    }

    .about-col.content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .section-title-area h3 {
        font-size: 2.5rem;
    }

    .construction-box {
        padding: 40px;
    }

    .construction-box h4 {
        font-size: 2.2rem;
    }
}