@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #CE1126;
    /* Boston Pizza Red-ish */
    --secondary-color: #002855;
    /* Deep Blue */
    --accent-color: #FFD700;
    /* Gold/Yellow */
    --text-color: #333;
    --bg-light: #f4f4f4;
    --bg-dark: #121212;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    background-color: var(--bg-dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
}

.navbar-brand img {
    height: 60px;
    /* Adjust as needed */
    width: auto !important;
    object-fit: contain;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    /* Removed fixed height here, controlled in body.php or specific pages if needed */
    height: 90vh;
    /* Default fallback */
    background-color: var(--bg-dark);
    /* Default to dark, image handled locally or via specific class */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-custom {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background-color: #a50e1e;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(206, 17, 38, 0.4);
}

/* Auth Cards (Login/Recover) */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../multimedia/bar5.jpg') no-repeat center center/cover;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    animation: zoomIn 0.5s ease;
}

.auth-card h2 {
    color: var(--secondary-color);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.form-control {
    border-radius: 5px;
    padding: 12px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(206, 17, 38, 0.1);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #CE1126, 0 0 40px #CE1126;
    }

    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6;
    }
}

/* Global padding for fixed navbar */
body {
    padding-top: 100px;
    /* Adjust based on navbar height */
}

/* Mobile Visibility Utilities */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .navbar-brand img {
        height: 50px;
        /* Slightly smaller on mobile */
    }

    body {
        padding-top: 80px;
    }
}

/* Events Page Styling */
.events-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    height: 100%;
    /* Important for equal height columns */
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.event-img-wrapper {
    /* Removed fixed height constraint or made it flexible */
    width: 100%;
    position: relative;
    background-color: #f8f9fa;
    /* Light background for transparent images */
}

.event-img-wrapper img {
    width: 100%;
    height: auto;
    /* Allow natural height to show full image */
    display: block;
    object-fit: contain;
    /* Ensure full image is visible */
    transition: transform 0.5s ease;
}

.event-card:hover .event-img-wrapper img {
    transform: scale(1.02);
    /* Subtle zoom */
}

.event-date-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.event-content {
    padding: 1.5rem;
    flex-grow: 1;
    /* Pushes content to fill space */
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.event-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Takes available space to push button down */
}