/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    overflow-x: hidden;
    background-color: #1a1a1a;
}

/* Background Section */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
    /* Increased brightness and vibance */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: Very dark at bottom for buttons, strictly limited to bottom area */
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 20%,
            rgba(0, 0, 0, 0) 45%);
}

/* Main Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    padding: 2rem;
    box-sizing: border-box;
}

/* Header & Logo */
.logo-section {
    text-align: center;
    margin-top: 2rem;
    /* Added slightly more margin */
}

.logo {
    max-width: 350px;
    /* Increased size */
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    /* Stronger shadow for contrast */
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Center Content (Title/Info) */
/* Center Content (Title/Info) */
.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    /* Removed large card background to show cows */
    /* Subtle radial gradient to help text pop without hard edges */
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    padding: 2rem;
    /* Reduced padding */

    /* Layout */
    margin: auto;
    max-width: 1000px;
    width: 90%;
}

.main-title {
    font-size: 5rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    /* Very strong shadow to separate from background */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

/* Event Details Styling */
.event-details {
    margin-top: 1.5rem;
    text-align: center;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 1);
    animation: fadeInUp 1s ease-out;
}

.date {
    font-size: 2.2rem;
    /* Large and bold */
    font-weight: 800;
    letter-spacing: 3px;
    margin: 0.5rem 0;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.venue {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
}

.location {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.3rem 0;
    letter-spacing: 1px;
    color: #eee;
}

.timing {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    /* subtle dark pill for contrast */
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Action Buttons */
.bottom-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    /* More space from bottom */
    flex-wrap: wrap;
    z-index: 10;
}

.action-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    text-align: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.primary-btn {
    background: linear-gradient(135deg, #e31e24, #e31e24);
    border: none;
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.3);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #e31e24, #e31e24);
    box-shadow: 0 15px 30px rgba(255, 75, 43, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
    color: #fff;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid #444;
    background: #2a2a2a;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff4b2b;
    box-shadow: 0 0 0 2px rgba(255, 75, 43, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .bottom-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer Styles */
/* Footer Styles */
/* Footer Styles */
/* Contact Modal Styles */
.contact-content {
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.modal-title {
    color: #ED1C24 !important;
    /* Force Red */
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.office-title {
    color: #ED1C24;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ddd;
}

/* Contact Grid Layout */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 500px;
    margin: 0 auto;
    /* Center the block itself */
}

.info-row {
    display: flex;
    justify-content: center;
    /* Center the row content */
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1rem;
}

.label {
    color: #ED1C24;
    font-weight: 700;
    text-align: right;
    min-width: 80px;
    /* fixed width for alignment */
    /* Ensure labels align to the right of this box */
    display: inline-block;
}

.value {
    color: #fff;
    text-align: left;
    flex: 1;
    max-width: 320px;
    /* Reduce width to keep it centered visually */
}

.email-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.email-stack a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.email-stack a:hover {
    text-decoration: underline;
    color: #ED1C24;
}