/* Global Styles */
:root {
    --primary-color: #0D5EAF; /* Greek flag blue */
    --secondary-color: #666666; /* Grey */
    --dark-color: #000000; /* Black */
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #0D5EAF; /* Greek flag blue */
    --accent-dark: #202428; /* Dark grey */
}

/* Override Bootstrap dark theme with pure black */
[data-bs-theme=dark] {
    --bs-body-bg: #000000 !important;
    --bs-body-bg-rgb: 0, 0, 0 !important;
    --bs-dark-rgb: 0, 0, 0 !important;
    --bs-secondary-bg: #000000 !important;
    --bs-tertiary-bg: #000000 !important;
    --bs-border-color: #333333 !important;
    --bs-primary: #0D5EAF !important;
    --bs-primary-rgb: 13, 94, 175 !important;
    --bs-btn-color: #ffffff !important;
}

/* Button overrides */
.btn-primary {
    background-color: #0D5EAF !important;
    border-color: #0D5EAF !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(13, 94, 175, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(13, 94, 175, 0.4) !important;
}

.btn-outline-primary {
    color: #0D5EAF !important;
    border-color: #0D5EAF !important;
    border-radius: 30px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
    background-color: #0D5EAF !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
}

.btn-outline-danger {
    color: #0D5EAF !important;
    border-color: #0D5EAF !important;
    border-radius: 30px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-danger:hover {
    background-color: #0D5EAF !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
}

html, body, section, .bg-black, [class*="bg-"] {
    background-color: #000000 !important;
    color: #ffffff;
}

/* Greek-inspired decorative elements */
.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0D5EAF 33%, #ffffff 33%, #ffffff 66%, #0D5EAF 66%);
}

.hero-section {
    position: relative;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #0D5EAF 20%, #ffffff 20%, #ffffff 40%, #0D5EAF 40%, #0D5EAF 60%, #ffffff 60%, #ffffff 80%, #0D5EAF 80%);
    z-index: 10;
}

body {
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow-x: hidden;
    background-color: #000000;
}

/* Section Styles */
section {
    padding: 80px 0;
    background-color: #000000;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 2rem;
    display: block;
}

/* Navigation Styles */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 5px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #0D5EAF 33%, #ffffff 33%, #ffffff 66%, #0D5EAF 66%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    transform: scaleX(1);
}

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light-color);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.video-foreground,
.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    min-height: 56.25vw; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none; /* Makes video non-interactive */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* 35% opacity black */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.date-badge {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    max-width: 90%;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(13, 94, 175, 0.3);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.hero-buttons .btn {
    width: 150px;
    height: 45px;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
    border-radius: 4px;
    margin: 0;
}

/* Countdown Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px auto;
}

.countdown-item {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 12px;
    min-width: 90px;
    width: 90px;
    backdrop-filter: blur(5px);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(13, 94, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.countdown-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #0D5EAF 33%, #ffffff 33%, #ffffff 66%, #0D5EAF 66%);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* About Event Section */
.event-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 12px;
    min-width: 100px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(13, 94, 175, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(13, 94, 175, 0.3);
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #0D5EAF 33%, #ffffff 33%, #ffffff 66%, #0D5EAF 66%);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.event-highlights {
    background-color: var(--dark-color);
    border: none;
    border-radius: 8px;
}

.event-highlights .card-title {
    font-weight: 600;
    color: white;
}

.event-highlights .list-group-item {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.highlight-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Event Features Section */
.event-features {
    max-width: 700px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-check {
    flex-shrink: 0;
    margin-right: 1rem;
    padding-top: 0.25rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.feature-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Benefits Section */
.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: none;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(13, 94, 175, 0.15);
    border-top: 3px solid var(--primary-color);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Packages Section */
.package-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: none;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
}

.package-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #0D5EAF 33%, #ffffff 33%, #ffffff 66%, #0D5EAF 66%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(13, 94, 175, 0.25);
}

.package-card:hover:before {
    opacity: 1;
}

.featured-package {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(13, 94, 175, 0.3);
    border: 2px solid var(--primary-color);
    position: relative;
    background-color: rgba(13, 94, 175, 0.1);
}

.featured-package:before {
    opacity: 1;
}

.featured-package:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-title {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.package-price {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 5px;
    color: var(--primary-color);
}

.package-features {
    margin: 1.5rem 0;
}

.package-features li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.package-features li:last-child {
    border-bottom: none;
}

.custom-package {
    background-color: var(--dark-color);
    color: var(--light-color);
}

/* Previous Sponsors Section */
.sponsors-grid {
    margin-bottom: 3rem;
}

.sponsor-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.sponsor-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.sponsor-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sponsor-name {
    font-weight: 600;
}

.testimonial-card {
    border-radius: 8px;
    overflow: hidden;
    border: none;
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.5;
}

/* Contact Form Section */
.contact-form {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(13, 94, 175, 0.2);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0D5EAF 20%, #ffffff 20%, #ffffff 40%, #0D5EAF 40%, #0D5EAF 60%, #ffffff 60%, #ffffff 80%, #0D5EAF 80%);
}

.form-control, .form-select {
    padding: 14px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(13, 94, 175, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(13, 94, 175, 0.5);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Styles */
.footer {
    background-color: #000000;
    color: #666666;
    position: relative;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0D5EAF 20%, #ffffff 20%, #ffffff 40%, #0D5EAF 40%, #0D5EAF 60%, #ffffff 60%, #ffffff 80%, #0D5EAF 80%);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(13, 94, 175, 0.3);
    border-radius: 50%;
    color: var(--light-color);
    margin: 0 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(13, 94, 175, 0.8) 0%, rgba(13, 94, 175, 0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.social-icons a:hover {
    background-color: rgba(13, 94, 175, 0.2);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(13, 94, 175, 0.4);
}

.social-icons a:hover:before {
    opacity: 0.2;
    transform: scale(1.5);
}

.social-icons a i {
    position: relative;
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .featured-package {
        transform: scale(1);
    }
    
    .featured-package:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
        height: auto;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 8px;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .date-badge {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .benefit-icon, .sponsor-icon {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 40px 0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    
    .countdown-container {
        gap: 4px;
        margin: 20px auto !important;
    }
    
    .countdown-item {
        min-width: 60px;
        width: 60px;
        padding: 8px 5px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .date-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
        margin: 0.5rem auto 1.5rem !important;
        width: auto;
        display: table;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        margin: 0.25rem;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        width: 150px;
    }
}
