/* Visual Enhancements for GorillaCon Website */

/* Enhanced Variables (keeping black theme) */
:root {
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    --gradient-gold-radial: radial-gradient(circle at top right, #FFD700, #DAA520);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

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

/* Enhanced Typography with Fluid Sizing */
h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

h2 {
    font-size: clamp(2rem, 4vw + 0.5rem, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw + 0.25rem, 2rem);
}

p {
    line-height: 1.8;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

/* Enhanced Button Styles */
.btn-primary, .cta-button {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.btn-primary::before, .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before, .cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Glassmorphism Cards */
.service-card, .feature, .testimonial {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Enhanced Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}


/* Feature Grid Enhancement */
.features-grid {
    position: relative;
}

.feature {
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.feature::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-gold);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
    filter: blur(10px);
}

.feature:hover::before {
    opacity: 0.5;
}

.feature:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
}

/* Navbar Enhancement */
header {
    background: #000000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-menu a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Testimonial Cards Enhancement */
.testimonial {
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 100px;
    color: rgba(255, 215, 0, 0.1);
    font-family: serif;
}

/* Gallery Enhancement */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Footer Enhancement */
footer {
    background: #000000;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Grid Animations */
.services-grid .service-card,
.features-grid .feature,
.gallery-grid .gallery-item {
    transition-delay: calc(var(--item-index, 0) * 0.1s);
}

.services-grid .service-card:nth-child(1) { --item-index: 0; }
.services-grid .service-card:nth-child(2) { --item-index: 1; }
.services-grid .service-card:nth-child(3) { --item-index: 2; }
.services-grid .service-card:nth-child(4) { --item-index: 3; }
.services-grid .service-card:nth-child(5) { --item-index: 4; }

/* Loading Animation Enhancement */
.loading-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.loading-progress {
    background: var(--gradient-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Form Enhancement */
input, select, textarea {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Mobile Menu Enhancement */
.nav-menu.active {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
}

/* Particle Enhancement */
.particle {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Calculator Section Enhancement */
.calculator-cta {
    background: var(--gold) !important;
    position: relative;
    overflow: hidden;
}

/* Trust Badge Animation */
.trust-badge a {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature {
        padding: 2rem;
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
}

/* Print Styles */
@media print {
    .loading-screen,
    .particles,
    .cursor,
    .cursor-trail,
    .mobile-menu-toggle {
        display: none !important;
    }
}