/* ============================================
   HOME SECTION - ELISAY CODE
   Estilos para la sección de inicio/hero
   ============================================ */

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    background: var(--bg-color);
    position: relative;
    padding-top: 12rem;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ========== Home Content ========== */
.home-content {
    max-width: 60rem;
    z-index: var(--z-normal);
}

.home-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
    animation-delay: 0.2s;
}

.home-content h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    margin-bottom: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.multiple-text{
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--main-color);
    animation: colorCycle 20s linear infinite;
    -webkit-animation: colorCycle 20s linear infinite;
}

@keyframes colorCycle {
    0%   { color: var(--main-color); }
    25%  { color: #FFD700; } /* dorado */
    50%  { color: #FF6B6B; } /* coral/rojo suave */
    75%  { color: var(--accent-color); } /* cian */
    100% { color: var(--main-color); }
}

@-webkit-keyframes colorCycle {
    0%   { color: var(--main-color); }
    25%  { color: #FFD700; }
    50%  { color: #FF6B6B; }
    75%  { color: var(--accent-color); }
    100% { color: var(--main-color); }
}

.home-content p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.home-content p strong {
    color: var(--main-color);
}

/* ========== Social Media ========== */
.social-media {
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: var(--radius-full);
    font-size: 2.2rem;
    color: var(--main-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-media a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    transition: var(--transition-normal);
    z-index: var(--z-back);
}

.social-media a:hover::before {
    top: 0;
}

.social-media a:hover {
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

/* ========== Button Group ========== */
.btn-group {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: var(--main-color);
    color: var(--bg-color);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-xl);
    border: 2px solid var(--main-color);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn:hover {
    background: transparent;
    color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25D366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ========== Home Image ========== */
.home-img {
    position: relative;
    z-index: var(--z-normal);
}

.home-img img {
    max-width: 35vw;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.3));
    animation: float 3s ease-in-out infinite;
}

/* ========== Float Animation ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========== Responsive Home ========== */
@media (max-width: 991px) {
    .home {
        flex-direction: column-reverse;
        gap: 3rem;
        padding-top: 12rem;
    }
    
    .home-img img {
        max-width: 60vw;
    }
    
    .home-content {
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .btn-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .home-content h1 {
        font-size: 4.5rem;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 450px) {
    .home-img img {
        max-width: 80vw;
    }
    
    .social-media {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .home-content h1 {
        font-size: 3.5rem;
    }
    
    .home-content h3 {
        font-size: 2.4rem;
    }
}
