/* General Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    margin: 0 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--warning-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9) 0%, rgba(102, 126, 234, 0.85) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-in 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 1s ease-in 0.8s both;
}

.animate-fade-in-delay-5 {
    animation: fadeIn 1s ease-in 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown Timer */
.countdown-timer {
    margin: 2rem 0;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Section Styles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

/* Program Cards */
.program-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-icon {
    margin-bottom: 1.5rem;
}

/* Page Header */
.page-header {
    padding: 100px 0 50px;
    margin-top: 56px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.timeline-time {
    width: 150px;
    flex-shrink: 0;
    padding-right: 30px;
    text-align: right;
}

.time-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-left: 30px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 25px;
    width: 15px;
    height: 15px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

/* Package Selection */
.package-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-option:hover {
    border-color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.05);
}

.package-option .form-check-input:checked ~ .form-check-label {
    color: var(--primary-color);
}

/* Footer */
footer {
    margin-top: 80px;
}

footer a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .timeline::before {
        left: 50px;
    }
    
    .timeline-time {
        width: 100px;
        padding-right: 20px;
    }
    
    .timeline-content {
        margin-left: 20px;
    }
    
    .time-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Cards */
.card {
    border-radius: 15px;
    overflow: hidden;
}

/* Utilities */
.shadow-lg {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

/* Banner Image Styles */
.card-img-top.rounded {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.card-img-top.rounded:hover {
    transform: scale(1.02);
}

/* Event Description Card */
.card.shadow-sm.border-0.p-4 {
    background: #ffffff;
    border-radius: 15px;
}

.card.shadow-sm.border-0.p-4 p.lead {
    font-size: 1.1rem;
    color: #495057;
}

.card.shadow-sm.border-0.p-4 h3 {
    color: #212529;
    font-size: 1.75rem;
    line-height: 1.4;
}

/* Two Column Layout */
.row.mb-5 .col-lg-6 {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .row.mb-5 .col-lg-6 {
        margin-bottom: 0;
    }
}

/* Banner Card Styling */
.card.shadow-lg.border-0.h-100 img {
    border-radius: 15px;
}

.card.shadow-lg.border-0.h-100 {
    border-radius: 15px;
    overflow: hidden;
}

/* Flyer/Banner Image - Full Display without Crop */
.card.shadow-lg.border-0.h-100 img.rounded.p-2 {
    object-fit: contain !important;
    max-width: 100%;
    max-height: 480px;
    height: auto;
    width: auto;
    margin: auto;
}

/* Video Sambutan / Greetings Section */
.greeting-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.greeting-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
    color: #764ba2;
}

.play-button i {
    margin-left: 3px; /* Adjust play icon position */
}

.greeting-info {
    padding: 20px;
    text-align: center;
}

.greeting-info h5 {
    color: #212529;
    font-size: 1.1rem;
}

.greeting-info p {
    font-size: 0.9rem;
}

/* Responsive adjustments for greetings */
@media (max-width: 768px) {
    .greeting-card {
        margin-bottom: 20px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}
