/* 🚀 JAMBI EVENT TIX - OPTIMIZED CRITICAL CSS */

/* === CRITICAL ABOVE-THE-FOLD STYLES === */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* CSS Variables for Consistency */
:root {
    --primary-color: #007BFF;
    --secondary-color: #6C757D;
    --accent-color: #FF6B35;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    --dark-color: #343A40;
    --light-color: #F8F9FA;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Header Optimization */
.top-header {
    background: var(--dark-color);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #e9ecef;
}

.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

/* Hero Section Critical Styles */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Navigation Critical Styles */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Button Critical Styles */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

/* Container Critical Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Display utilities for immediate visibility */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.text-center { text-align: center !important; }
.text-white { color: white !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.py-5 { padding: 3rem 0 !important; }

/* Loading State Critical */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* WhatsApp Float - Critical for CTA */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

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

/* Responsive Critical Styles */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .hero-banner {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* === END CRITICAL CSS === */