/* ===============================
   IMPORT FONTS
=============================== */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mea+Culpa:wght@400&display=swap');

/* ===============================
   HERO SECTION
=============================== */
.hero {
    position: relative;
    height: 70vh;
    /* Reduced height for a more standard and balanced layout */
    background: url('../../images/home/hero-banner.webp') top center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    /* box-shadow removed as per instruction */
    padding-bottom: 0;
    /* Ensure no extra padding at bottom */
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.492);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    max-width: 1200px; /* Increased for a more cinematic feel */
    padding: 120px 20px 0 20px;
    /* Adjusted padding to maintain centering in reduced hero height */
}

/* Add line under hero content as per image */
.hero-line {
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #C08A00 0%, #5A4100 100%);
    opacity: 1;
    margin: 18px auto 0 auto;
    /* Reduce space above the line */
    border-radius: 2px;
}

.play-button {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    color: #8B0000;
    border-radius: 50%;
    font-size: 24px;
    line-height: 80px;
    text-align: center;
    margin-bottom: 24px;
    /* Reduced from 40px */
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.play-button i {
    margin-left: 3px;
}

h1 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 52px;
    /* Slightly reduced for overall compactness */
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    /* Reduced vertical margin */
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.14;
    /* Tighter lines */
}

/* 
   IMPORTANT: 
   Remove any inline style on the tagline element in your HTML (index.html) for font-size or font-family.
   The .tagline selector below will now always control the font size.
*/
.tagline {
    font-family: 'Mea Culpa', cursive !important;
    font-size: 35px !important;
    /* Reduced from 45px */
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
    line-height: 1.05;
    line-height: 1.1;
    display: block;
}

/* ===============================
   FORM SECTION
=============================== */
.form-section {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    margin: 0 auto;
    max-width: 1300px;
    width: 90%;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border: 3px solid #c08a00;
    /* Gold Border */
}

form {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* Desktop layout */
    gap: 20px;
    align-items: stretch;
}

.form-group {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    font-size: 12px;
    color: #333;
    font-weight: 500;
    border: 1px solid #8B0000;
    /* Dark Red Border */
    border-radius: 4px;
    padding: 8px 10px;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    align-items: center;
}

.form-group:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group label {
    grid-column: 2;
    grid-row: 1;
    display: block;
    text-align: left;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 11px;
    color: #444;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    align-self: end;
}

.icon {
    grid-column: 1;
    grid-row: 2;
    font-size: 22px;
    color: #8B0000;
    align-self: center;
}

.input-box {
    grid-column: 2;
    grid-row: 2;
    background: #F3E5E5;
    /* Light Pinkish Grey Background */
    border-radius: 3px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    min-height: 30px;
}

.form-group input[type="date"],
.form-group select {
    border: none;
    font-size: 11px;
    padding: 0;
    background: transparent;
    color: #666;
    font-weight: 500;
    outline: none;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
}

/* Submit Button */
.submit-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.submit-btn-container button {
    background: #8B0000;
    /* Solid Dark Red */
    border: none;
    color: white;
    font-weight: 500;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    min-height: 55px;
    /* Reduced height */
}

.submit-btn-container button:hover {
    background: #6d0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.submit-btn-container button i {
    font-size: 16px;
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        margin-top: 0;
    }

    h1 {
        font-size: 40px !important;
    }

    .tagline {
        font-size: 26px !important;
    }

    .form-section {
        width: 95%;
        padding: 20px;
        margin: 0 auto;
        position: absolute;
        bottom: -120px;
        /* Push below hero */
        left: 50%;
        transform: translateX(-50%);
    }

    form {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .submit-btn-container {
        grid-column: span 2;
        height: 70px;
    }

    .submit-btn-container button {
        min-height: 70px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 10px;
    }

    h1 {
        font-size: 32px !important;
    }

    .tagline {
        font-size: 22px !important;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 20px;
        line-height: 70px;
        margin-bottom: 30px;
    }

    .form-section {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: -50px auto 20px;
        width: 90%;
    }

    form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .submit-btn-container {
        grid-column: span 1;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 24px !important;
    }

    .tagline {
        font-size: 18px !important;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 18px;
        line-height: 60px;
    }

    .content {
        padding: 0 15px;
    }

    .form-section {
        margin: -30px auto 20px;
        padding: 15px;
    }

    .form-group {
        padding: 10px;
        column-gap: 10px;
    }

    .icon {
        font-size: 24px;
    }

    .submit-btn-container button {
        font-size: 16px;
        min-height: 60px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select {
        font-size: 12px;
    }
}