/* event_planner.css - Updated CSS with section background containers */

/* Apply border-box globally */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

/* General Styles (consistent with previous forms) */
body {
    background-color: #f9f9f9;
    color: #333;
    font-family: 'Work Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

.section-padding {
    padding: 60px 0;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #29363e;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.button {
    display: inline-block;
    background-color: #feca16;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #29363e;
}

#consultation.button {
    transition: color 0.3s ease; ;
}

#consultation.button:hover {
    background-color: #fff;
    /* color: #29363e; */
    color: #feca16;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust hero image height as needed */
    overflow: hidden; /* Clip image to container */
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers container, may crop */
    object-position: center; /* Center the image within the container */
    display: block; /* Prevent extra space below image */
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    width: 100%; /* Ensure content spans full width of hero */
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}


/* About Services Section Styles - Background Container Added */
.about-services-section {
    background-color: #f0f0f0; /* Light grey background for About Services */
    box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.1), /* Top subtle shadow */
                inset 0 -5px 5px -5px rgba(0,0,0,0.1); /* Bottom subtle shadow */
}

.about-services-section .services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    text-align: center;
    margin-top: 30px;
}

.about-services-section .services-list li {
    background-color: #fff;
    padding: 30px 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Add transitions for transform and box-shadow */
}

.about-services-section .services-list li:hover {
    transform: translateY(-5px); /* Move list item up slightly on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Increase shadow intensity on hover */
}

.about-services-section .services-list li i {
    font-size: 30px;
    color: #feca16;
    margin-bottom: 15px;
    display: block;
}


/* Previous Events Section Styles - Background Container Added */
.previous-events-section {
    background-color: #e8e8e8; /* Slightly darker grey for Previous Events */
    box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.1), /* Top subtle shadow */
                inset 0 -5px 5px -5px rgba(0,0,0,0.1); /* Bottom subtle shadow */
}

.previous-events-section .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 30px;
}

.previous-events-section .event-item {
    text-align: center;
}


.previous-events-section .event-image-container {
    width: 100%;
    height: 200px; /* Fixed height for event images */
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid #feca16; /* Add thin yellow border */
    transition: transform 0.3s ease; /* Add transition for smooth hover effect */
}

.previous-events-section .event-image-container:hover {
    transform: scale(1.05); /* Slightly scale up on hover */
    /* Optional: If you want the border to also appear thicker on hover, you can add: */
    /* border-width: 3px; */
}

.previous-events-section .event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover container, may crop */
    object-position: center top; /* Center image horizontally, align top vertically */
    display: block; /* Prevent extra space below image */
}


.previous-events-section .event-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
}


/* Equipment Rental Section Styles - Background Container Added */
.equipment-rental-section {
    background-color: #f9f9f9; /* Back to very light grey for Equipment Rental */
    box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.1), /* Top subtle shadow */
                inset 0 -5px 5px -5px rgba(0,0,0,0.1); /* Bottom subtle shadow */
}

.equipment-rental-section .equipment-list {
    list-style: disc; /* Use disc bullet points */
    padding-left: 20px;
    margin-top: 20px;
}

.equipment-rental-section .equipment-list li {
    margin-bottom: 10px;
}


/* Event Request Form Section Styles - Background Container Added */
.event-request-section {
    background: linear-gradient(to bottom, #ffffff 14%, #feca16 212%);
        box-shadow: 0 0 20px rgba(0,0,0,0.15); /* More prominent shadow for form section */
    border-top: 1px solid #e5e5e5; /* Add a top border to visually separate it more */
}

/* Form Page Container Styles - NEW CSS ADDED HERE */
.form-page-container {
    background-color: #fff; /* White background for the form "page" */
    border: 1px solid #e5e5e5; /* Light grey border */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 30px; /* Padding inside the form container */
    border-radius: 1px; /* Optional: Rounded corners for a softer page look */
    margin-top: 20px; /* Add some top margin to separate from section title */
    margin-bottom: 20px; /* Add some bottom margin */
    border-radius: 8px;
}

.event-request-section .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsive columns */
    gap: 30px;
}

.event-request-section .form-column {
    /* Styles for form columns if needed */
    width: 100%;
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: inline-block;
    margin-bottom: 5px;
    color: #49545b;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #bdbdbd;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Arimo', sans-serif;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
    width: 100%;
}


.radio-group {
    display: grid;
    align-content: start;
    grid-template-columns: 0fr 1fr;
}

.radio-group label {
    margin-left: 5px;
    margin-bottom: 0;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    margin-bottom: 5px;
}


.checkbox-group {
    padding: 5px 0;
}

.checkbox-group label {
    margin-left: 5px;
    font-weight: normal;
}


.terms-group {
    margin-top: 30px;
    text-align: center;
}

.terms-group label {
    color: #777;
}

.terms-group a {
    color: #feca16;
    text-decoration: none;
}

.terms-group a:hover {
    text-decoration: underline;
}


/* Contact Section (Footer) Styles - Adjusted for Depth */
.contact-section {
    background-color: #29363e;
    color: #fff;
    text-align: center;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.3); /* Add shadow to top of footer for depth */
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-section .contact-info {
    margin-top: 20px;
}

.contact-section .contact-info a {
    color: #feca16;
    text-decoration: none;
}

.contact-section .contact-info a:hover {
    text-decoration: underline;
}



/* Submit Button Styles */
.submit-button {
    display: block; /* Ensure it's a block-level element */
    margin-left: auto;  /* Add auto left margin */
    margin-right: auto; /* Add auto right margin */
    text-align: center; /* Optional: Center text within the button if needed */
    background-color: #feca16; /* Yellow submit button */
    color: #fff; /* White text for button */
    padding: 12px 25px;
    border: none;
    border-radius: 0; /* Sharp corners */
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #29363e; /* Dark blue on hover */
}


/* Responsive Adjustments (adjust breakpoints as needed) */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .previous-events-section .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .event-request-section .form-grid {
        display: inline;
        gap: 30px;
    }
}