/* See The Cool Page - Clean & Modern Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #000000 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-section .main-headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
    margin-bottom: 1.5rem;
}

.hero-section .tagline {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: #e5e7eb;
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-hint {
    color: #60a5fa;
    font-size: 1.125rem;
    font-weight: 600;
    animation: bounce 2s infinite;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Gallery Section */
.gallery-section {
    background: #000000;
    position: relative;
}

/* Image Section */
.image-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 90vh; /* Increased from 80vh to give more vertical space */
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    background: #111827;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to show full image */
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 100%;
    max-width: 100%;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.9) 100%
    );
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Orbitron', monospace;
    color: #60a5fa;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-description {
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hover Effects */
.image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.8);
}

.image-container:hover .image-overlay {
    transform: translateY(0);
    opacity: 1;
}

.image-container:hover .gallery-image {
    transform: scale(1.05);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(96, 165, 250, 0.2);
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #111827 0%, #000000 100%);
    position: relative;
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%2360a5fa" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Enhanced Button Styles */
.cta-btn.primary {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn.primary:hover .btn-glow {
    left: 100%;
}

/* Footer */
.footer-section {
    background: #111827;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-container {
        height: 85vh; /* Adjusted for mobile while keeping full image visible */
        margin: 0 0.5rem;
        border-radius: 16px;
    }
    
    .image-title {
        font-size: 1.5rem;
    }
    
    .image-description {
        font-size: 1rem;
    }
    
    .image-overlay {
        padding: 2rem 1rem 1rem;
    }
    
    .hero-section .main-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-section .tagline {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 80vh; /* Further adjusted for small mobile screens */
        border-radius: 12px;
    }
    
    .image-title {
        font-size: 1.25rem;
    }
    
    .image-description {
        font-size: 0.875rem;
    }
    
    .image-section {
        padding: 1rem 0.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .image-overlay {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(
            transparent 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.95) 100%
        );
    }
    
    .image-title,
    .image-description {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gallery-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .scroll-hint,
    .image-container,
    .image-overlay,
    .gallery-image {
        animation: none;
        transition: none;
    }
}

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

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .image-section {
        min-height: 80vh;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-btn.primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Performance Optimizations */
.image-container,
.gallery-image,
.image-overlay {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Smooth entrance animations for sections */
.image-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced depth effect */
.image-section:nth-child(odd) {
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.03), transparent);
}

.image-section:nth-child(even) {
    background: linear-gradient(-45deg, rgba(167, 139, 250, 0.03), transparent);
}
