/* Custom Redesigned Stylesheet - Padel & Tenis (Theme 6) */

/* Global Prevent Horizontal Scroll Safeguard */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.section-hero {
    position: relative;
    min-height: 800px;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden !important;
}

/* Glowing Court Lines Background overlay */
.court-glowing-lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.court-baseline {
    position: absolute;
    bottom: 15%;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(163, 230, 53, 0.2);
    box-shadow: 0 0 10px rgba(163, 230, 53, 0.4);
}

.court-serviceline {
    position: absolute;
    top: 45%;
    left: 15%;
    right: 15%;
    height: 1px;
    background: rgba(163, 230, 53, 0.15);
    box-shadow: 0 0 8px rgba(163, 230, 53, 0.3);
}

.court-centerline {
    position: absolute;
    top: 45%;
    bottom: 15%;
    left: 50%;
    width: 1px;
    background: rgba(163, 230, 53, 0.15);
    box-shadow: 0 0 8px rgba(163, 230, 53, 0.3);
}

/* Floating Neon Tennis Ball particles */
.neon-tennis-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.tennis-particle {
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 30% 30%, #eab308 0%, #ca8a04 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.7), inset -2px -2px 6px rgba(0, 0, 0, 0.4);
    opacity: 0.6;
    animation: floatParticle 10s ease-in-out infinite;
}

.tennis-particle.p1 { top: 20%; left: 10%; animation-duration: 12s; }
.tennis-particle.p2 { top: 65%; left: 25%; animation-duration: 8s; animation-delay: -2s; width: 18px; height: 18px; }
.tennis-particle.p3 { top: 15%; right: 20%; animation-duration: 15s; animation-delay: -4s; }
.tennis-particle.p4 { top: 80%; right: 15%; animation-duration: 9s; animation-delay: -1s; width: 30px; height: 30px; }

@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) translateX(20px) rotate(180deg); opacity: 0.8; }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Box Content Modern Split Grid */
.box-content-modern {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .box-content-modern {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Left Column: Vertical Badge and brand text */
.hero-left-badge-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

@media (max-width: 991px) {
    .hero-left-badge-col {
        display: none;
    }
}

.vertical-neon-dock {
    display: flex;
    align-items: center;
    gap: 10px;
    transform: rotate(-90deg) translateY(-40px);
    white-space: nowrap;
    border: 1px solid rgba(163, 230, 53, 0.4);
    background: rgba(15, 42, 58, 0.8);
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.2);
}

.vertical-neon-dock .dock-dot {
    width: 6px;
    height: 6px;
    background: #bef264;
    border-radius: 50%;
    box-shadow: 0 0 8px #bef264;
}

.vertical-neon-dock .dock-badge-text {
    font-size: 11px;
    font-weight: 850;
    color: #bef264;
    letter-spacing: 2px;
}

.hero-vertical-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 60px;
}

.hero-vertical-brand span {
    font-size: 24px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    cursor: default;
}

.hero-vertical-brand:hover span {
    color: #bef264;
    text-shadow: 0 0 15px rgba(163, 230, 53, 0.8);
}

/* Right Column: Glassmorphic Console Card */
.hero-right-console-col {
    width: 100%;
}

.hero-glass-console {
    background: rgba(15, 42, 58, 0.4) !important;
    border: 1px solid rgba(163, 230, 53, 0.15) !important;
    border-radius: 40px;
    padding: 60px 55px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    transition: all 0.5s ease;
}

.hero-glass-console:hover {
    border-color: rgba(163, 230, 53, 0.35);
    box-shadow: 0 35px 80px rgba(132, 204, 22, 0.25);
    transform: translateY(-5px);
}

.badge-cyan-neon {
    background: rgba(163, 230, 53, 0.15) !important;
    border: 1px solid rgba(163, 230, 53, 0.4) !important;
    color: #bef264 !important;
    padding: 8px 18px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 20px;
    margin-bottom: 25px;
}

.title-modern {
    font-size: clamp(34px, 5.2vw, 68px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -2px !important;
    color: #ffffff;
    margin-bottom: 20px !important;
    text-shadow: 0 10px 30px rgba(15, 42, 58, 0.95);
    background: linear-gradient(135deg, #ffffff 0%, #f7fee7 40%, #bef264 80%, #a3e635 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.subtitle-modern {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #bef264 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px !important;
    margin-bottom: 20px !important;
    text-shadow: 0 0 10px rgba(163, 230, 53, 0.4);
}

.description-modern {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.8 !important;
    margin-bottom: 35px !important;
    max-width: 650px;
    text-shadow: 0 2px 8px rgba(15, 42, 58, 0.8);
}

/* Modern Hero Button */
.modern-hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 58px;
    border-radius: 29px;
    background: linear-gradient(135deg, #65a30d, #84cc16);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(132, 204, 22, 0.35);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.modern-hero-btn span {
    position: relative;
    z-index: 2;
}

.btn-glow-layer {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.modern-hero-btn:hover {
    background: linear-gradient(135deg, #4d7c0f, #65a30d);
    box-shadow: 0 8px 30px rgba(132, 204, 22, 0.6);
    transform: translateY(-3px);
}

.modern-hero-btn:hover .btn-glow-layer {
    opacity: 1;
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.9; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

/* Responsiveness overrides */
@media (max-width: 991px) {
    .section-hero {
        height: auto !important;
        min-height: 100vh !important;
        padding: 120px 0 80px 0 !important;
        display: flex !important;
        align-items: center !important;
        overflow: hidden !important;
    }
    
    .section-hero .text-bg {
        display: none !important;
    }
    
    .box-content-modern {
        padding: 0 16px !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hero-left-badge-col {
        display: none !important;
    }
    
    .hero-glass-console {
        padding: 45px 35px !important;
        border-radius: 28px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .tennis-particle {
        opacity: 0.25 !important; /* Dim particles for readability */
    }
}

@media (max-width: 767px) {
    .section-hero {
        padding: 100px 0 60px 0 !important;
    }
    
    .hero-glass-console {
        padding: 35px 24px !important;
        border-radius: 24px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .title-modern {
        font-size: 32px !important;
        line-height: 1.15 !important;
        letter-spacing: -1px !important;
        margin-bottom: 15px !important;
    }
    
    .subtitle-modern {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .description-modern {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }
    
    .modern-hero-btn {
        min-width: 100% !important; /* Full width button on small devices */
        height: 52px !important;
    }
    
    .badge-cyan-neon {
        padding: 6px 14px !important;
        font-size: 11px !important;
        margin-bottom: 20px !important;
    }
    
    .tennis-particle {
        display: none !important; /* Hide particles on mobile to avoid overlapping */
    }
}
