/* Main CSS for Joe Villa Cool Website */

/* Custom Properties */
:root {
    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --primary-pink: #ec4899;
    --accent-gold: #f59e0b;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --bg-black: #000000;
    --bg-gray-900: #111827;
    --border-white-20: rgba(255, 255, 255, 0.2);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.main-headline, .secondary-headline {
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.section-title {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Styles */
.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-black) 0%, var(--bg-gray-900) 100%);
}

/* Simple Avatar Container */
.avatar-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
    object-fit: cover;
    object-position: center;
}

.avatar-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.8);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-blue);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
}

.cta-btn.secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
}

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

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-blue);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    transform: rotate(45deg);
}

/* Stats Section */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-white-20);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.stat-description {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Features Section */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-white-20);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: var(--bg-gray-900);
    border-top: 1px solid var(--border-white-20);
}

/* Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    }
    to {
        text-shadow: 0 0 50px rgba(59, 130, 246, 0.8), 0 0 70px rgba(59, 130, 246, 0.6);
    }
}



@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 80px rgba(59, 130, 246, 0.8);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-headline {
        font-size: 3rem !important;
    }
    
    .secondary-headline {
        font-size: 2.5rem !important;
    }
    
    .avatar-container {
        width: 200px;
        height: 200px;
    }
    
    .avatar-image {
        width: 150px;
        height: 150px;
        object-fit: cover;
        object-position: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hide navigation links and desktop nav on mobile */
    .nav-link {
        display: none !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

/* Ensure navigation links are visible on desktop */
@media (min-width: 769px) {
    .nav-link {
        display: inline-block !important;
    }
}

@media (max-width: 480px) {
    .main-headline {
        font-size: 2.5rem !important;
    }
    
    .secondary-headline {
        font-size: 2rem !important;
    }
    
    .avatar-container {
        width: 150px;
        height: 150px;
    }
    
    .avatar-image {
        width: 100px;
        height: 100px;
        object-fit: cover;
        object-position: center;
    }
}

/* Utility Classes */
/* Note: Tailwind CSS handles .hidden class automatically */

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}
