@charset "utf-8";

/* =======================================================
   SECCIÓN HERO (PRINCIPAL)
   ======================================================= */
.hero-section {
    position: relative;
    min-height: 100vh; /* Cambiado de height a min-height */
    width: 100%;
    margin-top: 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Color de respaldo y fondo */
    
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(26,15,10,0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 20px 20px 20px;
    width: 100%;
    max-width: 1200px;
}

/* =======================================================
   LOGO CENTRAL (CORREGIDO)
   ======================================================= */
.hero-logo-central {
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Para que no corte el logo */
    width: auto;
    height: auto;
}

.hero-logo-central img {
    max-width: 320px; /* Tamaño un poco más grande para escritorio */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

/* =======================================================
   TEXTOS Y TÍTULOS
   ======================================================= */
.hero-title {
    font-family: "Jost", sans-serif;
  	font-optical-sizing: auto;
  	font-weight: 400;
  	font-style: normal;
    font-size: 5rem;
    letter-spacing: 15px;
    margin-bottom: 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: #ffffff;
    font-weight: 300;
    margin-top: 10px;
    text-transform: uppercase;
}

.hero-line {
    width: 60px;
    height: 2px;
    background-color: #d4af37;
    margin: 25px auto;
}

.hero-tagline {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #cccccc;
}

/* =======================================================
   BOTONES
   ======================================================= */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.btn-hero {
    padding: 15px 35px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all 0.4s ease;
    display: inline-block;
    text-transform: uppercase;
}

.btn-gold {
    background-color: #d4af37;
    color: #1a0f0a;
}

.btn-gold:hover {
    background-color: #f1c40f;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #1a0f0a;
    transform: translateY(-3px);
}

/* Flecha de scroll */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #d4af37;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 5;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* =======================================================
   RESPONSIVE (MÓVILES Y TABLETS)
   ======================================================= */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px;
    }

    .hero-logo-central img {
        max-width: 220px; /* Logo más pequeño en móvil */
    }

    .hero-title { 
        font-size: 2.8rem; 
        letter-spacing: 5px; 
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .hero-buttons { 
        flex-direction: column; 
        align-items: center; 
        gap: 15px;
    }

    .btn-hero { 
        width: 100%; 
        max-width: 280px; 
    }
}

/* Ajuste fino para móviles muy pequeños */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
    }
}
/* =======================================================
   REAJUSTE PARA EVITAR SOLAPAMIENTO EN MÓVIL
   ======================================================= */
@media (max-width: 768px) {
    /* 1. Aumentamos el padding inferior del contenido para que nunca toque la flecha */
    .hero-content {
        padding-bottom: 80px; /* Espacio de seguridad */
    }

    /* 2. Ajustamos la posición de la flecha */
    .scroll-down {
        bottom: 15px; /* La subimos un poco más o la mantenemos fija */
        font-size: 1.5rem; /* La hacemos un pelín más pequeña para que no abulte tanto */
    }
}

/* 3. OPCIONAL: Si el móvil es muy pequeño y el contenido es muy alto, 
      es mejor ocultar la flecha para priorizar la legibilidad de los botones */
@media (max-height: 650px) and (max-width: 480px) {
    .scroll-down {
        display: none;
    }
}