/* === EVENT FORM PAGE STYLES === */

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* ==============================
   HERO / HEADER IMAGE SECTION
============================== */
.promoteEventPicture {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.promote-your-event {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
}

.promoteEventPicture-title {
    position: absolute;
    bottom: 90px;
    left: 130px;
    color: #FEDD3C;
    text-shadow: 1px 1px 3.8px #808080;
    font-family: Inter, sans-serif;
    font-size: 96px;
    font-weight: 500;
    margin: 0;
    z-index: 2;
}

/* ==============================
   FORM SECTION
============================== */
.form-econtainer {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 700px;
    margin: 60px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 100px;
}

/* Scoped button styling */
.form-econtainer .ebutton {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-econtainer .ebutton:hover {
    background-color: #0056b3;
}

.note {
    font-size: 0.9em;
    color: #555;
    margin-top: 15px;
    line-height: 1.5;
}

/* Prevent header button conflicts */
header button {
    all: unset;
    cursor: pointer;
}

/* ==============================
   RESPONSIVENESS
============================== */

/* Tablet View */
@media (max-width: 1024px) {
    .promoteEventPicture-title {
        font-size: 72px;
        left: 80px;
        bottom: 70px;
    }

    .form-econtainer {
        width: 90%;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .promoteEventPicture {
        height: 300px;
    }

    .promoteEventPicture-title {
        font-size: 48px;
        left: 40px;
        bottom: 50px;
    }

    .form-econtainer {
        width: 90%;
        padding: 25px;
    }

    input,
    select,
    textarea {
        font-size: 0.95em;
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    .promoteEventPicture {
        height: 220px;
    }

    .promoteEventPicture-title {
        font-size: 32px;
        left: 20px;
        bottom: 40px;
    }

    .form-econtainer {
        width: 90%;
        padding: 20px;
    }

    .form-econtainer .ebutton {
        width: 100%;
        font-size: 0.9em;
    }

    label {
        font-size: 0.9em;
    }

    input,
    select,
    textarea {
        font-size: 0.9em;
    }
}
