/* ========================================= */
/*      TELEPHOTO LENSES HERO STYLES        */
/* ========================================= */

/* Telephoto Lens Hero Section */
.lens-category-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.98) 0%, 
        rgba(26, 26, 26, 0.95) 25%, 
        rgba(42, 26, 26, 0.98) 50%, 
        rgba(15, 15, 35, 0.95) 75%, 
        rgba(15, 15, 35, 0.98) 100%
    );
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Hero Background Effects */
.lens-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateZ(0);
}

.lens-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.4), transparent),
        radial-gradient(1px 1px at 80% 70%, rgba(255, 140, 0, 0.3), transparent),
        radial-gradient(1px 1px at 40% 20%, rgba(255, 165, 0, 0.35), transparent),
        radial-gradient(2px 2px at 90% 90%, rgba(255, 215, 0, 0.25), transparent);
    background-repeat: repeat;
    background-size: 260px 200px, 320px 240px, 240px 180px, 360px 270px;
    animation: telephotozParticlesFlow 35s linear infinite;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    opacity: 0.4;
}

.lens-hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, transparent 0%, rgba(255, 215, 0, 0.18) 100%),
        radial-gradient(ellipse at 80% 20%, transparent 0%, rgba(255, 140, 0, 0.15) 100%),
        radial-gradient(ellipse at 40% 40%, transparent 0%, rgba(255, 165, 0, 0.12) 100%);
    animation: telephotoGradientPulse 24s ease-in-out infinite;
}

/* Hero Content */
.lens-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    transform: translateZ(0);
}

.hero-text-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Lens Category Badge */
.lens-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.lens-category-badge:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3);
}

.badge-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.badge-text {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Title */
.lens-category-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
    /* Performance optimization */
    will-change: transform, opacity;
}

.hero-title-main {
    display: block;
    color: #ffffff;
    margin-bottom: 0.1em;
    font-weight: 800;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffb347 15%,
        #ff8c00 30%, 
        #ffa500 45%,
        #ffb347 60%, 
        #ffd700 80%, 
        #ffed4a 100%
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: telephotoGradientShift 14s ease-in-out infinite;
    font-weight: 900;
    position: relative;
}

/* Hero Subtitle */
.lens-category-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Quick Specs */
.lens-quick-specs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.quick-spec {
    text-align: center;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 15px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.quick-spec:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.spec-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    color: #ffb347;
    font-weight: 700;
}

/* Hero CTA Buttons */
.hero-cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta-primary,
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    /* Performance optimization */
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.hero-cta-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ff8c00 100%);
    color: #1a1a2e;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border: 2px solid transparent;
}

.hero-cta-primary:hover {
    background: linear-gradient(135deg, #ffed4a 0%, #ffc947 50%, #ff9500 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    text-decoration: none;
    color: #1a1a2e;
}

.hero-cta-secondary {
    background: rgba(255, 215, 0, 0.12);
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta-secondary:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.7);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.15);
    text-decoration: none;
    color: white;
}

.hero-cta-primary .cta-arrow,
.hero-cta-secondary .cta-arrow {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-cta-primary:hover .cta-arrow,
.hero-cta-secondary:hover .cta-arrow {
    transform: translateX(5px);
}

/* Hero Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    transform: translateZ(0);
}

.floating-lens {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: floatTelephotoLens 30s infinite ease-in-out;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.4));
    /* Performance optimization */
    will-change: transform;
    transform: translateZ(0);
}

/* Professional Floating Positions */
.floating-1 { top: 16%; left: 8%; animation-delay: 0s; animation-duration: 34s; }
.floating-2 { top: 26%; right: 14%; animation-delay: 5s; animation-duration: 38s; }
.floating-3 { top: 52%; left: 6%; animation-delay: 10s; animation-duration: 36s; }
.floating-4 { top: 72%; right: 10%; animation-delay: 15s; animation-duration: 32s; }
.floating-5 { bottom: 32%; left: 12%; animation-delay: 20s; animation-duration: 35s; }
.floating-6 { bottom: 22%; right: 16%; animation-delay: 25s; animation-duration: 33s; }
.floating-7 { top: 82%; left: 18%; animation-delay: 30s; animation-duration: 37s; }
.floating-8 { top: 42%; right: 22%; animation-delay: 35s; animation-duration: 39s; }

/* Animations */
@keyframes telephotoGradientShift {
    0%, 100% { background-position: 0% 50%; }
    20% { background-position: 80% 20%; }
    40% { background-position: 100% 80%; }
    60% { background-position: 20% 100%; }
    80% { background-position: 0% 60%; }
}

@keyframes telephotozParticlesFlow {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-40px) translateX(25px) rotate(90deg); }
    50% { transform: translateY(-80px) translateX(-15px) rotate(180deg); }
    75% { transform: translateY(-40px) translateX(30px) rotate(270deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

@keyframes telephotoGradientPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes floatTelephotoLens {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.08;
    }
    25% { 
        transform: translateY(-45px) translateX(25px) rotate(18deg) scale(1.5);
        opacity: 0.18;
    }
    50% { 
        transform: translateY(-35px) translateX(-22px) rotate(-12deg) scale(0.6);
        opacity: 0.14;
    }
    75% { 
        transform: translateY(-50px) translateX(18px) rotate(25deg) scale(1.3);
        opacity: 0.24;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .lens-category-hero { min-height: 85vh; padding: 80px 0; }
    .lens-hero-content { padding: 0 30px; }
    .lens-quick-specs { gap: 20px; }
    .floating-lens { font-size: 1.3rem; opacity: 0.08; }
}

@media (max-width: 768px) {
    .lens-category-hero { 
        min-height: 80vh; 
        padding: 60px 0;
        margin-left: calc(-50vw + 50%);
    }
    
    .lens-hero-content { padding: 0 25px; }
    
    .lens-quick-specs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .quick-spec {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-cta-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .floating-lens { display: none; }
}

@media (max-width: 480px) {
    .lens-category-hero { 
        min-height: 75vh; 
        padding: 40px 0;
    }
    
    .lens-hero-content { padding: 0 20px; }
    .lens-category-subtitle { margin-bottom: 2.5rem; }
    .hero-cta-primary, .hero-cta-secondary { 
        padding: 12px 24px; 
        font-size: 0.9rem;
        max-width: 260px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .lens-hero-particles,
    .floating-lens,
    .lens-hero-gradient,
    .hero-title-accent {
        animation: none;
    }
    
    .hero-title-accent {
        background: linear-gradient(135deg, #ffd700, #ffb347);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-cta-primary:hover,
    .hero-cta-secondary:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .lens-category-hero {
        background: white;
        color: black;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .lens-hero-particles,
    .floating-lens {
        display: none;
    }
}
