/* AOCN 2026 Custom Styles */

:root {
    --primary-color: #1e88e5;
    --primary-dark: #0d47a1;
    --secondary-color: #7b1fa2;
    --accent-purple: #a855f7;
    --accent-cyan: #00bcd4;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #1a237e;
    --light-color: #f5f5f5;
}

/* Global Styles */ 
body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
} 

/* Hero Section Typography - Global */
.hero-title { 
    font-weight: 700 !important; /* Lebih tipis dari 900 */
    color: #00bcd4;
    line-height: 1;
}

.hero-title-large {
    font-size: 5rem; /* AOCN XX - lebih besar */
    display: block;
}

.hero-title-small {
    font-size: 4.6rem; /* KONAS XI - lebih kecil */
    display: block;
    font-weight: 700; /* OPSIONAL: bisa dibuat lebih tipis juga */
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
}

.hero-theme-box {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
}

.hero-date-box {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500 !important;
}

.hero-location {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #0d47a1, #7b1fa2, #00bcd4) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1a237e, #0d47a1) !important;
}

/* Hero Section */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    
}

.card-dates {
    border: 2px solid #00bcd4;
    background: rgba(30, 136, 229, 0.1);
    transition: all 0.3s ease;
}

.card-dates:hover {
    border-color: #a855f7;
    transform: translateY(-8px);
}

.section-gradient-bg {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Badge */
.badge {
    padding: 0.5em 1em;
    border-radius: 0.5rem;
}

/* Tables */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead {
    background-color: var(--primary-color);
    color: white;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Price Display */
.price-display {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.price-savings {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    gap: 1rem;
}

.schedule-session {
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schedule-session.addon {
    border-left-color: var(--warning-color);
}

/* Dashboard Stats */
.stat-card {
    border-left: 4px solid var(--primary-color);
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* QR Code Display */
.qr-code-container {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Badge Preview */
.badge-preview {
    border: 2px solid #ddd;
    border-radius: 1rem;
    padding: 2rem;
    background-color: white;
}

/* Conflict Warning */
.conflict-warning {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .price-display {
        font-size: 1.5rem;
    }

    .stat-card .stat-value {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .no-print {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1e88e5 0%, #7b1fa2 50%, #00bcd4 100%);
}

/* Brain Icon Animation */
.brain-icon {
    font-size: 100px;
    color: #a855f7;
    animation: float 3s ease-in-out infinite;
}

/* Sponsor Logo */
.sponsor-logo {
    width: 20%;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #1e88e5, #7b1fa2, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ============================================
   TOP HEADER & OVERLAP MENU STYLES
   ============================================ */

/* Top Header Bar */
.top-header-bar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Overlap Container for Circle Menu */
.overlap-container {
    margin-top: -60px; /* Nilai negatif untuk overlap */
    position: relative;
    z-index: 10;
}

/* Circle Menu Item */
.circle-menu-item {
    width: 100px;
    height: 100px;
    background-color: var(--bs-body-bg, #fff); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-size: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 3px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.circle-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Circle Link Text */
.circle-link-text {
    font-weight: 600;
    text-align: center;
    display: block;
    color: inherit;
}

/* ============================================
   HERO SECTION DESKTOP LAYOUT
   ============================================ */

/* Desktop Only - Hero Section Adjustments */
@media (min-width: 992px) {
    /* Logo positioning - aligned with AOCN text */
    .logo-row {
        margin-bottom: 0 !important;
        position: relative;
        left: 10px;
    }
    
    .sponsor-logo-header {
        width: 80px !important;
        height: 80px !important;
        object-fit: contain;
    }
    
    /* Hero Title */
    .hero-title {
 
        line-height: 1;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Theme box */
    .hero-theme-box {
        background: rgba(0,188,212,0.2);
        padding: 15px 20px;
        border-radius: 15px;
        margin: 1rem 0;
        border-left: 4px solid #00bcd4;
        border-right: 4px solid #a855f7;
        font-size: 0.95rem;
    }
    
    /* Date box */
    .hero-date-box {
        background: linear-gradient(90deg, #00bcd4, #1e88e5);
        padding: 10px 24px;
        border-radius: 30px;
        text-align: center;
        margin: 15px 0;
        font-size: 0.95rem;
        display: inline-block;
    }
    
    .hero-location {
        font-weight: bold;
        font-size: 0.95rem;
        margin-top: 1rem;
    }
    
    /* Brain Icon Alignment */
    .brain-icon {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 0;
        margin-top: -20px;
    }
    
    .brain-icon img {
        width: 280px !important;
        height: auto;
    }
    

    /* Desktop Only - Circular Images Container - Right Side */
    .circular-images-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        position: relative;
        padding-top: 0;
        margin-top: -40px;
    }
    
    .circular-img {
        border: 9px solid #00bcd4;
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }
    
    .circular-img-top {
        width: 150px;  /* UBAH dari 140px - lebih kecil */
        height: 150px; /* UBAH dari 140px - lebih kecil */
        margin-bottom: -67px; /* UBAH dari -20px - overlap lebih dalam */
        z-index: 2;
        position: relative;
        margin-left: 72px; /* TAMBAHKAN - geser ke kiri sedikit */
 
    }
    
    .circular-img-middle {
        width: 200px !important; 
        height: 200px !important;
        margin-left: 0px; /* UBAH dari 40px - geser lebih ke kanan */
        z-index: 1;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        position: relative;
    }
    
    .circular-img-bottom {
        width: 115px;  /* UBAH dari 140px - lebih kecil */
        height: 115px; /* UBAH dari 140px - lebih kecil */
        margin-top: -30px; /* UBAH dari -20px - overlap lebih dalam */
        z-index: 2;
        position: relative;
        margin-left: 37px; /* TAMBAHKAN - geser ke kiri sedikit */
    }
  
}

/* Mobile - Keep original style */
@media (max-width: 991px) {
    .hero-title {
        font-size: 4rem;
        font-weight: 900;
        color: #00bcd4;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-theme-box {
        background: rgba(0,188,212,0.2);
        padding: 20px;
        border-radius: 15px;
        margin: 1.5rem 0;
        border-left: 4px solid #00bcd4;
        border-right: 4px solid #a855f7;
    }
    
    .hero-date-box {
        background: linear-gradient(90deg, #00bcd4, #1e88e5);
        padding: 12px 28px;
        border-radius: 30px;
        text-align: center;
        margin: 20px 0;
    }
    
    .hero-location {
        font-weight: bold;
    }
    
    .brain-icon img {
        width: 45%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .sponsor-logo-header {
        max-width: 15%;
    }
    
    .logo-row {
        justify-content: center !important;
        margin-bottom: 2rem !important;
    }
    
    .circular-images-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .circular-img {
        width: 160px;
        height: 160px;
        border: 6px solid #00bcd4;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 1rem;
    }
}

/* Hero Buttons */
.btn-hero-primary {
    background: white;
    color: #1e88e5;
    border-radius: 30px;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    margin: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-outline {
    border: 2px solid white;
    color: white;
    border-radius: 30px;
    padding: 10px 28px;
    text-decoration: none;
    font-weight: 700;
    margin: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #e3f2fd;
    color: #1e88e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateY(-2px);
}