/**
 * SOBIE Conference Main Stylesheet
 * Modern, clean CSS for the SOBIE conference website
 * Organized for performance and maintainability
 */

/* =====================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ===================================== */
:root {
    /* Brand Colors */
    --sobie-primary: #2563eb;
    --sobie-secondary: #1e40af;
    --sobie-accent: #3b82f6;
    --sobie-light: #f8fafc;
    --sobie-dark: #1e293b;
    --sobie-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #06b6d4;
    
    /* Grayscale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;  /* 4px */
    --radius-md: 0.5rem;   /* 8px */
    --radius-lg: 0.75rem;  /* 12px */
    --radius-xl: 1rem;     /* 16px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-family-base: 'Inter', sans-serif;
    --font-size-xs: 0.75rem;   /* 12px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-md: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;   /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem;  /* 36px */
    
    /* Layout */
    --nav-height: 120px;
    --container-max-width: 1200px;
    --content-padding: var(--space-md);
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-modal: 1050;
    --z-toast: 1060;
    --z-tooltip: 1070;
}

/* =====================================
   RESET AND BASE STYLES
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    background: var(--sobie-light) !important;
    color: var(--sobie-dark);
    line-height: 1.6;
    position: relative;
    padding-top: var(--nav-height);
}

/* =====================================
   UTILITY CLASSES
   ===================================== */

/* Layout Utilities */
.container-sobie {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.section-padding {
    padding: var(--space-2xl) 0;
}

/* Card Components */
.card-sobie {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.card-sobie-lg {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.modal-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    overflow: hidden;
    animation: slideIn 0.2s ease-out;
}

/* Button Utilities */
.btn-sobie-primary {
    background: var(--sobie-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-sobie-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-sobie-secondary {
    background: transparent;
    color: var(--sobie-primary);
    border: 2px solid var(--sobie-primary);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

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

/* Text Utilities */
.text-gradient {
    background: var(--sobie-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--gray-500) !important;
}

/* Spacing Utilities */
.mt-nav { margin-top: var(--nav-height); }
.pt-nav { padding-top: var(--nav-height); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mb-6 { margin-bottom: var(--space-2xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }
.p-6 { padding: var(--space-2xl); }

/* =====================================
   ACCESSIBILITY
   ===================================== */

/* =====================================
   ACCESSIBILITY
   ===================================== */

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--sobie-primary);
    color: white;
    padding: var(--space-sm);
    text-decoration: none;
    z-index: var(--z-tooltip);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-nav:focus {
    top: 6px;
    outline: 3px solid var(--color-warning);
    outline-offset: 2px;
}

/* Global Focus Styles */
*:focus {
    outline: 2px solid var(--sobie-primary);
    outline-offset: 2px;
}

/* Enhanced Focus for Interactive Elements */
button:focus,
a:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 2px;
}

.nav-button-hover:focus,
.nav-link-hover:focus,
.secondary-nav-item:focus,
.mobile-footer-item:focus,
.back-to-top-btn:focus {
    outline: 3px solid var(--color-warning);
    outline-offset: 2px;
    background-color: rgba(251, 191, 36, 0.1);
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .text-muted {
        color: var(--gray-700) !important;
    }
    
    .card-sobie,
    .card-sobie-lg {
        border: 1px solid var(--gray-300);
    }
}

/* =====================================
   GLOBAL BACKGROUND
   ===================================== */

/* Global Grid Background */
body::before {
    content: '';
    position: fixed;
    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 20 20"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(37,99,235,0.15)" stroke-width="0.8"/></svg>');
    background-size: 20px 20px;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* High Contrast Text for Accessibility */
.text-muted {
    color: #6b7280 !important; /* Improved contrast ratio */
}

@media (prefers-contrast: high) {
    .text-muted {
        color: #374151 !important;
    }
    
    .text-light {
        color: #f9fafb !important;
    }
}

/* Ensure sufficient contrast on gradient backgrounds */
.hero-section .text-light {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Ensure all main content is above global grid */
.top-nav,
.hero-section,
.info-section,
.footer-section,
.mobile-app-footer,
.calendar-section {
    position: relative;
    z-index: 1;
}

/* Make info section semi-transparent to show grid */
.info-section {
    background: rgba(255, 255, 255, 0.85) !important;
}

/* Navigation Styles */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: var(--sobie-gradient);
    backdrop-filter: none;
    border-bottom: none;
    padding: 0.5rem 0;
    min-height: 60px;
}

/* Add grid pattern to nav bar */
.top-nav::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 60 60"><defs><pattern id="nav-grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="0.8"/></pattern></defs><rect width="100" height="100" fill="url(%23nav-grid)"/></svg>');
    background-size: 60px 60px;
    background-position: 0 0;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    height: 100%;
    position: relative;
    z-index: 1;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Logo Styles */
.nav-logo-only {
    width: 80px;
    height: 80px;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    top: 10px;
    z-index: 1041;
    text-decoration: none;
}

.nav-logo-only:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.nav-logo-only:visited,
.nav-logo-only:focus {
    text-decoration: none;
    outline: none;
}

.nav-logo-only img {
    width: 60px;
    height: 60px;
}

.nav-logo-text {
    font-weight: 900;
    color: white !important;
    text-decoration: none;
    font-size: 2.8rem;
    transition: all 0.3s ease;
    letter-spacing: 0.25em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    top: 15px;
    margin-left: -0.5rem;
    z-index: 2;
    /* Match navigation font style */
    font-family: var(--font-family-base);
    text-transform: uppercase;
}

.nav-logo-text:hover {
    transform: scale(1.02);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: white !important;
}

.nav-logo-text:visited,
.nav-logo-text:focus {
    text-decoration: none;
    outline: none;
    color: white !important;
}

        /* Navigation Button Styles */
        .nav-button-hover {
            background: none;
            border: none;
            color: white;
            padding: 0.4rem 0.8rem !important;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            font-weight: 500;
            font-family: 'Inter', sans-serif;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            border-radius: 4px;
            position: relative;
            cursor: pointer;
        }

        .nav-button-hover:hover {
            transform: translateY(-2px);
        }

        .nav-link-hover {
            color: white;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            font-family: 'Inter', sans-serif;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            transition: all 0.3s ease;
            padding: 0.4rem 0.8rem !important;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border-radius: 4px;
            position: relative;
        }

        .nav-link-hover:hover {
            transform: translateY(-2px);
            color: white;
            text-decoration: none;
        }

        /* Mobile Nav Button Styles */
        .mobile-nav-button {
            background: none;
            border: none;
            color: var(--sobie-dark);
            padding: 0.5rem;
            transition: all 0.3s ease;
        }

        .mobile-nav-link {
            color: var(--sobie-dark);
            padding: 0.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }


        }

        .secondary-nav-link {
            color: white;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            font-family: 'Inter', sans-serif;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            transition: all 0.3s ease;
            padding: 0.4rem 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            position: relative;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 4px;
        }

        .secondary-nav-link:hover {
            transform: translateY(-2px);
            color: white;
            text-decoration: none;
        }

        .secondary-nav-button {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            font-family: 'Inter', sans-serif;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            transition: all 0.3s ease;
            padding: 0.4rem 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            position: relative;
            border-radius: 4px;
            cursor: pointer;
        }

        .secondary-nav-button:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border-color: rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        /* Status notification positioning */
        .status-notification {
            z-index: 1050;
            margin-top: 90px;
        }/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a,
.nav-links button {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 4px;
    position: relative;
    background: none;
    border: none;
}

.nav-links button i,
.nav-links a i {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.nav-links button,
.nav-links a {
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.nav-button-hover,
.nav-link-hover {
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 0.4rem 0.6rem !important;
}

.nav-button-hover:hover,
.nav-link-hover:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-button-hover i,
.nav-link-hover i {
    color: #fbbf24;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Active states for navigation */
.nav-button-hover.active,
.nav-link-hover.active {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    border-color: #fbbf24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(251, 191, 36, 0.3);
    transform: translateY(-1px);
}

.nav-button-hover.active i,
.nav-link-hover.active i {
    color: #fbbf24;
    transform: scale(1.1);
}

.nav-button-hover.active span,
.nav-link-hover.active span {
    font-weight: 600;
    color: white;
}

/* Mobile responsive navigation - hide text on small screens */
@media (max-width: 768px) {
    .nav-button-hover span,
    .nav-link-hover span {
        display: none !important;
    }
    
    .nav-button-hover,
    .nav-link-hover {
        padding: 0.5rem;
        min-width: 45px;
        justify-content: center;
    }
    
    .nav-button-hover i,
    .nav-link-hover i {
        font-size: 1.25rem;
    }
}

/* Mobile App-Style Footer */
.mobile-app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(240, 248, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding: 1rem 0;
    z-index: 1050;
    display: block;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    height: 80px;
}

@media (min-width: 992px) {
    .mobile-app-footer {
        display: none !important;
    }
}

.mobile-footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
}

.mobile-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--sobie-dark);
    transition: all 0.3s ease;
    padding: 0.75rem;
    min-width: 70px;
    height: 100%;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
}

.mobile-footer-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.mobile-footer-item span {
    display: block;
    font-size: 0.75rem;
    margin-top: 2px;
    color: var(--sobie-dark);
    font-weight: 500;
}

.mobile-footer-item {
    transition: all 0.3s ease;
}

.mobile-footer-item:hover {
    color: var(--sobie-primary);
    transform: translateY(-3px);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-footer-item:hover i {
    transform: scale(1.1);
}

.mobile-footer-item:hover i {
    transform: scale(1.1);
}

.mobile-footer-item.active {
    color: var(--sobie-primary);
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
}

.mobile-footer-item.active i {
    color: var(--sobie-primary);
    transform: scale(1.1);
}

.mobile-footer-item.active span {
    font-weight: 600;
}

.mobile-footer-disabled {
    background: rgba(108, 117, 125, 0.8) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: not-allowed !important;
    border: 1px solid rgba(108, 117, 125, 0.5) !important;
    border-radius: 6px !important;
    margin: 2px !important;
    opacity: 0.8;
}

.mobile-footer-disabled:hover {
    background: rgba(108, 117, 125, 0.8) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transform: none !important;
}

.mobile-footer-disabled i {
    color: rgba(255, 255, 255, 0.7) !important;
    transform: none !important;
}

.mobile-footer-disabled span {
    background: rgba(108, 117, 125, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Hero Section */
.hero-section {
    background: var(--sobie-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 40px 0;
}

.hero-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 60 60"><defs><pattern id="hero-grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="0.8"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-grid)"/></svg>');
    background-size: 60px 60px;
    background-position: 0 0;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            letter-spacing: -0.02em;
        }

        .hero-title-custom {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            letter-spacing: -0.02em;
        }        .hero-subtitle {
            font-size: 1.5rem;
            font-weight: 300;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .hero-subtitle-small {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            opacity: 0.9;
        }.hero-subtitle-small {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-subtitle-bottom {
    margin-bottom: 0;
}

/* Conference Details */
.conference-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.detail-item i {
    opacity: 0.9;
}

.detail-item-spacing {
    margin-left: 1.5rem;
    display: inline-block;
}

.venue-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.venue-link-icon {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 0.3rem;
    color: white;
}

/* CTA Buttons */
.cta-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 280px;
    margin: 0 auto;
}

.btn-primary-custom-compact {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

.btn-primary-custom-compact:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-custom-compact {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

.btn-outline-custom-compact:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Success/Program Button - Green themed for prominence */
.btn-success-custom-compact {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: 2px solid #4CAF50;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.btn-success-custom-compact:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    border-color: #45a049;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
    text-decoration: none;
}

/* Contact info styling for CTA buttons */
.contact-info-small {
    margin-top: 0.5rem;
    text-align: center;
}

.contact-info-small a {
    text-decoration: underline;
    opacity: 0.9;
}

.contact-info-small a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Closed button container */
.cta-button-container {
    width: 100%;
}

/* Enhanced closed button styling */
.sobie-closed-btn {
    background: linear-gradient(90deg, #6B7280 0%, #4B5563 100%) !important;
    color: #F3F4F6 !important;
    border: 1px solid #4B5563 !important;
    opacity: 0.7 !important;
    cursor: default !important;
    font-weight: 500 !important;
}

.sobie-closed-btn:hover {
    background: linear-gradient(90deg, #6B7280 0%, #4B5563 100%) !important;
    color: #F3F4F6 !important;
    transform: none !important;
    border: 1px solid #4B5563 !important;
    opacity: 0.8 !important;
    text-decoration: none !important;
}

/* Ensure closed buttons maintain disabled appearance */
.sobie-closed-btn:focus,
.sobie-closed-btn:active {
    background: linear-gradient(90deg, #6B7280 0%, #4B5563 100%) !important;
    color: #F3F4F6 !important;
    border: 1px solid #4B5563 !important;
    box-shadow: none !important;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: white;
}

/* Calendar Section */
.calendar-section {
    background: #cbd5e1 !important;
    padding: 3rem 0;
    position: relative;
}

.calendar-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 60 60"><defs><pattern id="calendar-grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.4)" stroke-width="0.8"/></pattern></defs><rect width="100" height="100" fill="url(%23calendar-grid)"/></svg>');
    background-size: 60px 60px;
    background-position: 0 0;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.calendar-section > .container {
    position: relative;
    z-index: 1;
}

.calendar-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.calendar-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.calendar-year-section {
    background: rgba(37, 99, 235, 0.8);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-align: left;
}

.calendar-row {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.calendar-row:hover {
    background-color: #e5e7eb;
}

.calendar-row-light {
    background: #f9fafb;
}

.calendar-row-white {
    background: white;
}

.calendar-row:last-child {
    border-bottom: none;
}

/* Footer Section */
.footer-section {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    color: white;
    padding: 1.5rem 0 1rem;
    text-align: center;
    position: relative;
}

/* Responsive footer padding */
@media (min-width: 992px) {
    .footer-section {
        padding: 1.5rem 0 1rem;
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {
    .footer-section {
        padding-bottom: 5rem; /* Space for mobile footer */
    }
    
    body {
        padding-bottom: 90px; /* Reduced space for mobile navigation */
    }
}

.footer-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 60 60"><defs><pattern id="footer-grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.8"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
    background-size: 60px 60px;
    background-position: 0 0;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    width: 70px;
    height: 70px;
    background: transparent;
    border: 3px solid white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-logo img {
    width: 50px;
    height: 50px;
    /* Remove filter to show original gold colors */
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 4rem 0 2rem;
}

.footer-main {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-section > .container {
    position: relative;
    z-index: 1;
}

.footer-email-btn {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-team-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-link-hover:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-team-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    transform: translateY(20px);
    background: var(--sobie-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2.2rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile positioning to avoid mobile nav */
@media (max-width: 991px) {
    .back-to-top-btn {
        bottom: 110px; /* Above mobile navigation */
        right: 15px;
        width: 50px;
        height: 50px;
    }
}

.back-to-top-btn i {
    font-size: 2.2rem;
    font-weight: 900;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.18));
}

.back-to-top-btn:hover {
    background: var(--sobie-primary);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,99,235,0.25);
    transform: scale(1.08);
}

/* Notification Badge Styles */
.btn-with-badge {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #6c757d !important;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    line-height: 1;
    z-index: 10;
}

/* Mobile footer disabled styling */
.mobile-footer-disabled {
    background-color: #495057 !important;
}

.mobile-footer-disabled span {
    color: white !important;
}

.mobile-footer-disabled i {
    color: white !important;
}

/* Secondary Navigation */
.desktop-secondary-nav {
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.secondary-nav-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.secondary-nav-item {
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
}

.secondary-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Active states for secondary navigation */
.secondary-nav-item.active {
    background: rgba(251, 191, 36, 0.25);
    backdrop-filter: blur(15px);
    border-color: #fbbf24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(251, 191, 36, 0.3);
    transform: translateY(-1px);
    color: white;
}

.secondary-nav-item.active i {
    color: #fbbf24;
    transform: scale(1.1);
}

.secondary-nav-item.active span {
    font-weight: 600;
    color: white;
}

.secondary-nav-item i {
    font-size: 1rem;
}

.secondary-nav-disabled {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: not-allowed !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}

.secondary-nav-disabled:hover {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

.secondary-nav-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Calendar Section Styles */
.calendar-year-header {
    background: rgba(37, 99, 235, 0.8);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-align: left;
}

.calendar-row {
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.calendar-row:hover {
    background: #e5e7eb !important;
}

.calendar-row-alt {
    background: #f9fafb;
}

/* Footer Link Styles */
.footer-link {
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 8px;
}

.footer-link:hover {
    transform: translateY(-2px);
    color: white !important;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    transform: translateY(20px);
    background: var(--sobie-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2.2rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Email copy button smooth transitions */
#copyEmailBtn,
#copyEditorEmailBtn {
    transition: all 0.3s ease;
}

#copyEmailBtn:hover,
#copyEditorEmailBtn:hover {
    opacity: 0.8;
}

#emailBtnText,
#editorEmailText {
    transition: all 0.3s ease;
}

/* =====================================
   ANIMATIONS & KEYFRAMES
   ===================================== */
@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* =====================================
   PERFORMANCE OPTIMIZATIONS
   ===================================== */

/* Resource Preloading Hints */
.preload-critical {
    /* Use with JavaScript to preload critical resources */
    content: 'preload-hint';
}

/* Critical resource priorities */
.critical-resource {
    /* High priority loading */
    loading: eager;
}

/* Lazy loading for non-critical content */
.lazy-resource {
    loading: lazy;
}

/* Content visibility for performance */
.lazy-section {
    content-visibility: auto;
    contain-intrinsic-size: 200px;
}

/* Enable hardware acceleration for animations */
.card-sobie,
.card-sobie-lg,
.modal-card,
.back-to-top-btn,
.btn-sobie-primary,
.btn-sobie-secondary,
.nav-button-hover,
.nav-link-hover,
.registration-type,
.section-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize repaints with will-change */
.btn-sobie-primary:hover,
.btn-sobie-secondary:hover,
.registration-type:hover,
.venue-hover:hover {
    will-change: transform, box-shadow, background-color;
}

/* Critical CSS - Above the fold optimizations */
.hero-section,
.nav-container,
.main-content {
    contain: layout style;
}

/* Optimize font loading */
@font-display: swap;

/* Reduce layout shift */
.loading-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

/* =====================================
   RESPONSIVE OPTIMIZATIONS
   ===================================== */
@media (max-width: 768px) {
    :root {
        --content-padding: var(--space-sm);
        --nav-height: 80px;
    }
    
    .card-sobie,
    .card-sobie-lg {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
    }
    
    .section-padding {
        padding: var(--space-lg) 0;
    }
}
