/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Custom Colors */
:root {
    --bhc-red: #850f0f;
    --bhc-green: rgba(12, 157, 34, 0.97);
    --bhc-footer: rgba(30, 30, 30, 1);
    --bhc-light-red: rgba(133, 15, 15, 0.8);
    --bhc-light-blue: #e0f2fe;
}

/* Navigation */
.navbar {
    background: var(--bhc-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logos {
    display: flex;
    gap: 8px;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bhc-red);
    font-weight: bold;
    font-size: 10px;
}

.brand-text h1 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.brand-text h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    background: var(--bhc-green);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.login-btn:hover {
    background: rgba(12, 157, 34, 0.8);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.hamburger:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: rotate(90deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: var(--bhc-red);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding: 24px;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.3s ease, padding-left 0.3s ease;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.mobile-login-btn {
    background: var(--bhc-green);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.mobile-login-btn:hover {
    background: rgba(12, 157, 34, 0.8);
    transform: translateY(-1px);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: var(--bhc-footer);
    color: white;
    margin-top: 80px;

}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
        width: 100%;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.office-hours {
    margin-top: 24px;
}

.office-hours h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* log in and register form css */
/* Popup background */
.popup-container {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Popup box */
.form-popup {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);          
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Close button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: white;        
    font-weight: bold;
    z-index: 1000;
    transition: color 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Form styling */
.form-box h2 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.form-box p {
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.form-box p a {
    color: white;       
    font-weight: bold; 
    text-decoration: underline; 
    transition: color 0.3s ease;
}

.form-box p a:hover {
    color: #ffcccc; 
}

.form-box input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-box input:focus {
    outline: none;
    border-color: var(--bhc-green);
    box-shadow: 0 0 0 2px rgba(12, 157, 34, 0.2);
}

.form-box button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #d40000;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.form-box button:hover {
    background: #b30000;
    transform: translateY(-1px);
}

.hidden {
    display: none;
}

/*-------------------------------------------- CONTACT SECTION --------------------------------------------*/

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto; /* Changed to auto for better centering */
    padding: 40px 20px;
    margin-bottom: 60px;
    gap: 40px; /* Added gap for better spacing */
}

.form-section {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.form-section h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.form-section p {
    color: #666;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--bhc-red);
    box-shadow: 0 0 0 2px rgba(133, 15, 15, 0.1);
}

textarea {
    resize: none;
    height: 120px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
    accent-color: var(--bhc-red); /* Modern checkbox styling */
}

.checkbox label {
    line-height: 1;
    cursor: pointer;
}

.send-btn:disabled {
    background-color: #d75757;
    cursor: not-allowed;
    opacity: .6;
}

.send-btn {
    background-color: #bd1111;
    color: #fff;
    padding: 12px 20px;
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.send-btn:hover:not(:disabled) {
    background-color: #e21414;
    transform: translateY(-1px);
}

/* Image placeholder */
.image-section {
    flex: 1;
    min-width: 300px;
    min-height: 300px;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-section img {
    width: 120px;
    height: auto;
    opacity: 1;
}

/* ----------------------------------------INFORMATION SECTION - RED LINE -------------------------------------------------------*/

/* Bottom Info Section */
.info-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #8b0000;
    color: rgb(253, 253, 253);
    padding: 30px 20px;
    justify-content: center; /* Center content */
    gap: 40px; /* Added gap for spacing */
}

.info-box {
    flex: 1;
    min-width: 250px; /* Increased min-width for better readability */
    max-width: 350px; /* Added max-width to prevent over-stretching */
    text-align: center; /* Center text for better look */
    background-color: #8b0000;
}

.info-box h3 {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.info-box p {
    font-size: 0.9rem;
    margin: 10px 0;
    line-height: 1.5;
}

.info-box a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-box a:hover {
    text-decoration: underline;
    color: var(--bhc-light-blue);
}

/* -------------------------------------------------------LOCATION CONTAINER------------------------------------------ */

/* Location Section Responsive Fix */
.location-container {
    max-width: 1200px; /* Increased max-width for consistency */
    margin: 40px auto;
    margin-top: 70px;
    padding: 0 20px;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* Make map and info equal height on large screens */
.location-info, 
.map-placeholder {
    flex: 1;
    min-width: 280px;
}

/* Map placeholder scaling */
.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(114, 112, 112);
    opacity: 100%;
    width: 100%;
    height: auto;
    min-height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.map-placeholder img {
    max-width: 100%;
    height: auto;
    opacity: 1;
    transition: transform 0.3s ease;
}

.map-placeholder:hover img {
    transform: scale(1.02);
}

/*---------------------------------- PRIVACY BOX --INFORMATION ABOUT THE PRIVACY----------------------------------*/

/* Privacy box responsive */
.privacy-box {
    border: 1px solid #ccc;
    padding: 20px; /* Increased padding */
    margin: 40px auto; /* Centered with auto margins */
    max-width: 1200px; /* Consistent with other sections */
    font-size: 0.95rem;
    color: #333;
    background: #fafafa;
    line-height: 1.5; /* Improved line height */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .desktop-nav,
    .nav-right .login-btn {
        display: none;
    }
    
    .brand-text {
        display: none;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .video-placeholder {
        padding: 30px 20px;
    }
    
    .video-placeholder h3 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .featured-event img {
        height: 250px;
    }
    
    .featured-content {
        padding: 24px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Contact responsive */
    .contact-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 30px;
    }

    .form-section {
        padding-right: 0;
        order: 2; 
    }}