/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
}

header {
    padding: 1rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

footer {
    padding: 1rem;
    background-color: transparent;
    color: #fff;
    border: none;
    box-shadow: none;
}

footer p {
    margin: 0;
}

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

.footer-links a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Add container padding to match other sections */
footer p {
    padding-left: 2rem;  /* Match container padding */
}

/* Navbar Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1030;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
}

.navbar-brand {
    font-family: 'HerrVonMuellerhoff', Arial, sans-serif;
    color: #fff !important;
    font-size: 3rem;
    line-height: 1;    /* Reduce line height */
    padding-top: 0;    /* Adjust top padding */
    padding-bottom: 0; /* Adjust bottom padding */
    margin-bottom: 0;  /* Remove bottom margin */
}

.navbar-brand:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 1rem;
    position: relative;
    color: #fff !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #007bff;
    left: 0;
    bottom: -2px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Mobile navbar adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }

    /* Social media container in mobile view */
    .navbar-nav:last-child {
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Add separators between social icons */
    .navbar-nav:last-child .nav-item:not(:last-child)::after {
        content: '|';
        color: rgba(255,255,255,0.3);
        margin: 0 0.5rem;
        display: inline-block;
    }

    .navbar-nav .nav-item .social-link {
        padding: 0.5rem 0.25rem !important;
        display: inline-block;
    }
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Section Styles */
section {
    scroll-margin-top: 70px; /* Accounts for sticky navbar when scrolling to anchors */
}

.bg-light {
    background-color: #111 !important;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

/* Form Styles */
.form-control {
    background-color: #111;
    border-color: #333;
    color: #fff;
}

.form-control:focus {
    background-color: #222;
    border-color: #007bff;
    color: #fff;
}

.form-label {
    color: #fff;
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.5rem 2rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Swiper Styles */
.hero-swiper {
    width: 100%;
    height: auto; /* Remove fixed height */
    max-height: calc(100vh - 76px); /* Maximum height */
    margin-top: -16px;
}

.swiper-slide {
    text-align: center;
    background: #000;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Change from cover to contain */
    object-position: center;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* Swiper pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Fade effect */
.swiper-fade .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}

.swiper-fade .swiper-slide-active {
    opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-swiper {
        height: auto;
        max-height: 50vh;
    }
    
    .swiper-slide {
        aspect-ratio: 4/3; /* Slightly different ratio for mobile */
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        padding: 20px;
    }
}
/* Text colors */
h2 {
    color: #fff;
}

.lead {
    color: #ccc;
}

/* Custom Font */
@font-face {
    font-family: 'HerrVonMuellerhoff';
    src: url('/assets/fonts/HerrVonMuellerhoff-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Also ensure the navbar doesn't show border on collapse */
.navbar-collapse {
    border: none;
}

/* Modal Styles */
.modal-content {
    background-color: #111;
    color: #fff;
}

.modal-header {
    border-bottom: 1px solid #333;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-title {
    color: #fff;
}

.modal h6 {
    color: #007bff;
    margin-top: 1.5rem;
}

.modal h6:first-child {
    margin-top: 0;
}

.modal p {
    color: #ccc;
}

/* Footer Styles */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;  /* Match Bootstrap container padding */
    width: 100%;
}

.footer-left p {
    color: #666;
    padding-left: 0;  /* Remove the previous padding */
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;  /* Space between elements */
}

.footer-links a {
    color: #666;  /* Darker color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.footer-links .separator {
    color: #666;  /* Same color as links */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Event Cards Styling */
.event-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.event-card {
    background-color: #111;
    border-color: #333 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #fff;
}

.event-card-link:hover .event-card {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.5)!important;
    background-color: #1a1a1a;
}

.event-date .date-day {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.event-date .date-month {
    color: #007bff;
    font-weight: 600;
    font-size: 0.9rem;
}

.event-date .date-year {
    color: #fff;
}

.event-date {
    border-color: #333 !important;
}

.event-title {
    color: #fff;
    font-weight: 600;
}

.location {
    color: #999;
    font-size: 0.95rem;
}

.event-time {
    background-color: #007bff !important;
}

.btn-outline-primary {
    border-width: 2px;
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
}

.event-date .date-year.small.text-muted {
    color: #fff !important;
}

/* Toggle Switch Styling */
.form-check-input {
    background-color: #333;
    border-color: #666;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    color: #fff;
    user-select: none;
}

/* Past Events Styling */
.past-event .event-card {
    opacity: 0.7;
}

.past-event .event-time {
    background-color: #666 !important;
}

/* Social Media Links */
.navbar-nav .nav-item .social-link {
    padding: 0 0.25rem !important;  /* Reduce horizontal padding */
}

.navbar-nav .nav-item .social-link i {
    font-size: 1.5rem !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    color: #fff !important;
}

.navbar-nav .nav-item .social-link:hover i {
    opacity: 1;
}

/* For mobile view */
@media (max-width: 991px) {
    .navbar-nav .nav-item .social-link {
        padding: 0.5rem 0.25rem !important;
    }
}

/* Hide underline effect for social links */
.navbar-nav .social-link::after {
    display: none;
}

/* Downloads Modal Styling */
.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-item {
    border-bottom: 1px solid #333;
    padding-bottom: 1.5rem;
}

.download-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.download-item h6 {
    color: #007bff;
    margin-bottom: 1rem;
}

.download-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-links .btn {
    min-width: 120px;
}

/* Ensure icons in buttons are aligned */
.download-links .btn i {
    width: 16px;
    text-align: center;
}

/* About Section Image */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-top: 0;  /* Remove negative margin */
}

.about-image-wrapper img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

/* Adjust mobile margin */
@media (max-width: 991px) {
    .about-image-wrapper {
        margin-top: 2rem;
    }
}