/* --- CONFIGURACIÓN BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #3a1112;
    color: #fff;
    line-height: 1.6;
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh; /* altura mínima para móviles cortos */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;

    position: relative;
    overflow: hidden;

    /* Imagen de fondo + gradiente oscuro */
    background-image: 
        radial-gradient(circle, rgba(58,17,18,0.7) 0%, rgba(26,8,9,0.95) 100%), 
        url('people-happy-standing-glamour-light.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* Animación lenta de fondo */
    animation: bgSlowMove 30s ease-in-out infinite alternate;
}

/* Animación de fondo lento (efecto escenario vivo) */
@keyframes bgSlowMove {
    0% { background-position: center top; }
    100% { background-position: center bottom; }
}

/* Overlay tenue para que el contenido destaque */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Contenido del hero (logo, título, descripción, botón) */
.hero-content {
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 1;
    animation: heroFadeUp 1.2s ease-out forwards;
}

/* Pequeño halo o glow detrás del contenido */
.hero-content::after {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    z-index: -1;
}

/* Línea dorada superior */
.hero-line-top {
    position: absolute;
    top: 10px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, #ffd700, rgba(255,215,0,0));
    z-index: 0;
}

/* Línea dorada inferior */
.hero-line-bottom {
    position: absolute;
    bottom: 10px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, rgba(255,215,0,0), #ffd700);
    z-index: 0;
}

/* --- LOGO --- */
.logo-container {
    margin-bottom: 30px;
}

.main-logo {
    width: 100%;
    max-width: 340px;           /* tamaño máximo en escritorio */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;

    /* sombra sutil para destacar sobre fondo oscuro */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));

    /* animación suave al pasar el ratón */
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: logoPulse 3s ease-in-out infinite;
}

.main-logo:hover {
    transform: scale(1.05);  /* ligero agrandamiento */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)); /* brillo más intenso */
}

/* --- AJUSTES PARA MÓVIL --- */
@media (max-width: 768px) {
    .main-logo {
        max-width: 240px;  /* más compacto en pantallas pequeñas */
        margin-bottom: 20px;
    }
}


/* --- TEXTOS --- */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow:
        0 8px 25px rgba(0,0,0,0.4),
        0 0 8px rgba(255,215,0,0.2); /* brillo dorado */
}

.description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    padding: 0 10%;
}

/* --- BOTÓN (CTA) --- */
.cta-button {
    display: inline-block;
    padding: 22px 55px;
    background-color: #ffffff;
    color: #3a1112;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 3px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    text-transform: uppercase;
    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.35),
        inset 0 0 0 rgba(255,255,255,0);

    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: #ffffff;

    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.55),
        inset 0 0 0 rgba(255,255,255,0);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.4),
        inset 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: 0; /* ocupa todo el botón */
    border-radius: 50px;
    background: radial-gradient(circle at center, rgba(255,215,0,0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1; /* detrás del texto */
}

.cta-button:hover::before {
    opacity: 1;
}

/* --- CONTACTO --- */
.footer-info {
    margin-top: 50px;
    padding-top: 30px;

    display: flex;
    flex-direction: column;
    gap: 8px; /* espacio entre elementos */

    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
    opacity: 0.85;

    text-align: center;
}

.contact-item {
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #ffd700; /* dorado sutil */
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* crece un 5% */
    }
    100% {
        transform: scale(1);
    }
}

/* ==========================================
   AJUSTES PARA MÓVIL (Pantallas < 768px)
   ========================================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem; /* Título más pequeño para que no se corte */
        letter-spacing: 2px;
    }

    .main-logo {
        max-width: 200px; /* Logo más manejable en móvil */
    }

    .description {
        font-size: 1rem;
        padding: 0 5%;
        margin-bottom: 30px;
    }

    .cta-button {
        width: 100%; /* El botón ocupa todo el ancho para facilitar el clic */
        padding: 18px 20px;
        font-size: 1rem;
    }

    .footer-info {
        font-size: 0.75rem;
    }
    
    .footer-info {
    font-size: 0.75rem;      /* texto más pequeño */
    padding-top: 20px;        /* menos espacio superior */
}

.contact-item {
    font-size: 0.75rem;       /* texto más compacto */
}
}
