/**
 * ==============================================
 * TENDENCIAS 0341 - Landing Page Styles
 * Estilos específicos para la página institucional
 * ==============================================
 */

/* ==========================================
   HERO LANDING SECTION
   ========================================== */
.hero-landing {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
}

.hero-background {
    position: absolute;
    top: 150;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/store/fachada-noche.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    margin-top: 250px;
}

.hero-logo-wrapper {
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.hero-logo-main {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.gold-highlight {
    color: #D4AF37;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #E8D7A8;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-cta {
    margin-bottom: 80px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: linear-gradient(135deg, #D4AF37 0%, #8B7355 100%);
    color: #000000;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #E8D7A8 0%, #D4AF37 100%);
}

.btn-primary-large svg {
    transition: transform 0.3s ease;
}

.btn-primary-large:hover svg {
    transform: translateX(5px);
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #D4AF37;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #D4AF37 0%, transparent 100%);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ==========================================
   CONTENT SECTIONS - Base Structure
   ========================================== */
.content-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
    color: #FFFFFF;
}

.section-light {
    background: #FFFFFF;
    color: #000000;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-row-reverse {
    direction: rtl;
}

.content-row-reverse > * {
    direction: ltr;
}

/* ==========================================
   IMAGE SECTIONS WITH HOVER EFFECTS
   ========================================== */
.content-image {
    position: relative;
    width: 100%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 700px;
    display: block;
    object-fit: contain;
    object-position: center;
    opacity: 0.7;
    filter: brightness(0.85) grayscale(0.2);
    transition: opacity 0.6s ease, filter 0.6s ease, transform 0.7s ease;
}

/* HOVER EFFECT 1 - ZOOM + OVERLAY DORADO */
/* Note: Transform (zoom) is handled by JavaScript to combine with mouse movement */
.hover-effect-zoom:hover img {
    opacity: 1;
    filter: brightness(1) grayscale(0);
}

.image-overlay-gold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(139, 115, 85, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hover-effect-zoom:hover .image-overlay-gold,
.hover-effect-glow:hover .image-overlay-gold {
    opacity: 1;
}

/* HOVER EFFECT 2 - GLOW DORADO */
/* Note: Transform (zoom) is handled by JavaScript to combine with mouse movement */
.hover-effect-glow:hover img {
    opacity: 1;
    filter: brightness(1) grayscale(0);
}

.image-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #D4AF37, #E8D7A8, #D4AF37, #8B7355);
    background-size: 300% 300%;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.6s ease;
    z-index: -1;
    animation: glowRotate 3s ease-in-out infinite;
}

@keyframes glowRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hover-effect-glow:hover .image-glow {
    opacity: 0.8;
}

/* HOVER EFFECT 3 - PARALLAX (se activa con scroll) */
.hover-effect-parallax {
    transform-style: preserve-3d;
}

/* ==========================================
   TEXT CONTENT SECTIONS
   ========================================== */
.content-text {
    padding: 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #D4AF37;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section-dark .section-title {
    color: #FFFFFF;
}

.section-light .section-title {
    color: #000000;
}

.gold-text {
    color: #D4AF37;
    font-weight: 600;
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ==========================================
   FEATURE LISTS
   ========================================== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    opacity: 0.95;
}

.feature-item svg {
    flex-shrink: 0;
    color: #D4AF37;
}

/* ==========================================
   STATS ROW (para mostrar números)
   ========================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary,
.btn-outline-gold,
.btn-outline-white,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #8B7355 100%);
    color: #000000;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.btn-outline-white:hover {
    background: #FFFFFF;
    color: #000000;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   CTA FINAL SECTION
   ========================================== */
.cta-final {
    background: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #E8D7A8;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .content-row {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .content-row-reverse {
        direction: ltr;
    }
    
    .image-wrapper {
        min-height: 400px;
    }
    
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-landing {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px;
    }
    
    .hero-logo-wrapper {
        display: none;
    }
    
    .hero-logo-main {
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 40px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary-large {
        padding: 18px 35px;
        font-size: 1rem;
    }
    
    .content-section {
        padding: 80px 0;
    }
    
    .content-row {
        gap: 50px;
        padding: 0 20px;
    }
    
    .image-wrapper {
        min-height: 350px;
    }
    
    .image-wrapper img {
        opacity: 1;
        filter: brightness(1) grayscale(0);
    }
    
    .content-text {
        padding: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons a {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer responsive fixes */
    .footer-container,
    .newsletter-container,
    .footer-content {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }
    
    .newsletter-form,
    .newsletter-input,
    .newsletter-button {
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .newsletter-form {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .newsletter-input {
        width: 100% !important;
    }
    
    .newsletter-button {
        width: 100% !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-logo-main {
        max-width: 240px;
    }
    
    .image-wrapper {
        min-height: 300px;
        border-radius: 15px;
    }
    
    .btn-primary-large {
        padding: 15px 30px;
        font-size: 0.95rem;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Remove default animations on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
