/* equipment_rental.css */

/* 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;
}

.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: #feca16;
}


/* Hero Section Styles */
.hero-section {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 400px; /* Adjusted height for equipment page hero */
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
}

.hero-content h1 {
    font-size: 32px; /* Adjusted hero title size */
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 16px; /* Adjusted hero paragraph size */
    margin-bottom: 30px;
    line-height: 1.6;
}


/* Equipment Range Section Styles */
.equipment-range-section .equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    gap: 60px;
    margin-top: 30px;
    justify-content: center;
}

.equipment-range-section .equipment-category {
    text-align: center;
}

.equipment-range-section .equipment-image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height for equipment images */
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid #feca16; /* Optional border for equipment images */
    border-radius: 11px;
    background-color: #ffffff00;
    /* padding: 5px; */
    transition: box-shadow 0.3s ease;
}

.equipment-range-section .equipment-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.equipment-range-section .equipment-image-container p {
    position: absolute;
    padding:20px;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    margin: 0;
}

.equipment-range-section .equipment-image-container:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.equipment-range-section .equipment-image-container:hover img {
    filter: blur(2px) brightness(60%);
    transform: scale(1.05);
}

.equipment-range-section .equipment-image-container:hover p {
    opacity: 1;
    transform: translateY(0);
}

.equipment-range-section .equipment-category h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
}


/* Pricing & Bundles Section Styles */
.pricing-bundles-section .pricing-table,
.pricing-bundles-section .equipment-bundles {
    margin-bottom: 40px;
}

.pricing-bundles-section .pricing-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 2px solid #e5e5e5; /* Thicker border for table outline */
}

.pricing-bundles-section h3 {
    font-size: 24px;
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.pricing-bundles-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.pricing-bundles-section th, .pricing-bundles-section td {
    border: 1px solid #e5e5e5;
    padding: 10px;
    text-align: left;
}

.pricing-bundles-section th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.pricing-bundles-section tbody tr:hover { /* Hover effect for table rows */
    background-color: rgba(254, 202, 22, 0.3); /* Yellow highlight on hover (adjust opacity as needed) */
}

/* .pricing-bundles-section .equipment-bundles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
} */

.pricing-bundles-section .equipment-bundles {
    display: flex; /* Use flexbox for horizontal layout */
    flex-direction: row; /* Arrange bundles in a row */
    justify-content: center; /* Center bundles horizontally */
    gap: 20px; /* Spacing between bundles */
    margin-top: 30px; /* Add margin above bundles */
    text-align: center; /* Center text within bundles */
}


/* .pricing-bundles-section .bundle-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 300px; 
} */

.pricing-bundles-section .bundle-item {
    background-color: #fff;
    padding: 20px; /* Keep existing padding and adjust if needed */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 300px;
    display: flex; /* Enable Flexbox on bundle-item */
    flex-direction: column; /* Arrange items in a column */
    cursor: pointer;
    border: 2px solid #feca16;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.bundle-item {
  border: 2px solid #feca16;
  padding: 10px;
  border-radius: 6px; /* optional, for visual polish */
  margin-bottom: 10px; /* optional, spacing between items */
}

.bundle-item:hover {
    border: 2px solid #feca16;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bundle-item.active-bundle {
    border: 2px solid #feca16;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.pricing-bundles-section .bundle-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center; /* Center bundle titles */
}

.pricing-bundles-section .bundle-item p:nth-of-type(1) { /* Target the first <p> in bundle-item */
    text-align: center; /* Center the first paragraph (description) */
    margin: auto 0; /* Add auto margins top and bottom to center vertically in available space */
}

.pricing-bundles-section .bundle-item .bundle-price {
    margin-top: 10px; /* Push the price paragraph to the bottom */
    text-align: center; /* Keep price centered */
}

.pricing-bundles-section .bundle-price {
    font-weight: bold;
    margin-top: 10px;
    color: #feca16;
    text-align: center; /* Center price text */
}

/* Rental Request Form Section Styles */
.rental-request-section .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px; /* Spacing between columns */
}

.rental-request-section .form-column {
    width: 100%; /* Ensure columns take full width of their grid cell */
}

.rental-request-section .form-group {
    margin-bottom: 20px;
}

.rental-request-section .form-group label {
    margin: 0px;
    color: #49545b;
    font-weight: 600;
}

.rental-request-section .form-group input[type="text"],
.rental-request-section .form-group input[type="email"],
.rental-request-section .form-group input[type="tel"],
.rental-request-section .form-group input[type="date"],
.rental-request-section .form-group input[type="number"],
.rental-request-section .form-group select,
.rental-request-section .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #bdbdbd;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Arimo', sans-serif;
}

.rental-request-section .form-group input[type="number"] {
    width: 10%;
    align-self: flex-end;
    border: none;
    background: none;
}

.rental-request-section .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;
    padding-right: 30px;
}

.rental-request-section .checkbox-group {
    padding: 5px 0;
}

.rental-request-section .checkbox-group .equipment-item {
    display: flex; /* Use flexbox for inline alignment of checkbox, label, and input */
    align-items: center; /* Vertically align items */
    margin-bottom: 8px; /* Spacing between equipment items */
    justify-content: space-between; /* Distribute space to push quantity input to right */
}

.rental-request-section .checkbox-group label {
    margin-bottom: 0;
    margin-left: 5px;
    font-weight: normal;
    order: 0; /* Ensure labels are visually before quantity inputs in flexbox order */
    text-align: left; /* Ensure label text is left-aligned */
    flex-grow: 1; /* Allow label to take available space */
}

/* .rental-request-section .checkbox-group input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 3px;
    order: 0;
} */

.rental-request-section .checkbox-group input[type="checkbox" i] {
    background-color: initial;
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    margin: 3px 3px 3px 4px;
    padding: initial;
    border: initial;
}

.rental-request-section .checkbox-group .quantity-input {
    width: 40px; /* Adjusted width for quantity input */
    margin-left: 5px; /* Reduced spacing from label */
    padding: 5px;
    border: 1px solid #bdbdbd;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Arimo', sans-serif;
    text-align: center;
    margin-right: 0; /* Removed margin-right */
    margin-left: auto; /* Push quantity inputs to the right */
    order: 1; /* Ensure quantity inputs are visually after labels in flexbox order */
}

/* "Other" Equipment Item Spacing */
.rental-request-section .checkbox-group .other-item {
    margin-top: 15px; /* Add space above "Other" item */
}

.rental-request-section .checkbox-group .other-item label {
    margin-left: 5px; /* Spacing between checkbox and "Other:" label */
}

.rental-request-section .checkbox-group .other-item input[type="text"] {
    margin-left: 10px; /* Spacing between "Other:" label and text input */
    width: auto; /* Adjust to content width */
    min-width: 150px; /* Minimum width for "Other" input */
    display: inline-block; /* Keep inline */
}


.rental-request-section .radio-group {
    display: grid;
    align-content: start;
    grid-template-columns: 0fr 1fr;
}

.rental-request-section .radio-group input[type=radio]{
    margin: 0;
}

.rental-request-section .radio-group label {
    margin-left: 5px;
    font-weight: normal;
}

.rental-request-section .terms-group {
    margin-top: 30px;
    text-align: center;
}

.rental-request-section .terms-group label {
    color: #777;
    display: inline-block;
    color: #777;
    vertical-align: top;
}

.rental-request-section .terms-group a {
    color: #feca16;
    text-decoration: none;
}

.rental-request-section .terms-group a:hover {
    text-decoration: underline;
}

.rental-request-section .terms-group input[type="checkbox"] {
    vertical-align: top; /* **Make sure this line is present and spelled correctly** */
    margin-right: 3px;
}


/* Contact Section (Footer) Styles */
.contact-section {
    background-color: #29363e;
    color: #fff;
    text-align: center;
}

.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;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    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;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #29363e;
}

/* Section Background Styles (copied and modified from event_planner.css) */
.equipment-range-section {
    background-color: #f0f0f0; /* Light grey background for Equipment Range */
    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 */
}

.pricing-bundles-section {
    background-color: #e8e8e8; /* Slightly darker grey for Pricing & Bundles */
    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 */
}

.rental-request-section {
    background: linear-gradient(to bottom, #ffffff 14%, #feca16 212%); /* White background for Rental Request Form */
    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 (copied from event_planner.css and applied to .rental-request-section .container) */
.rental-request-section .container { /* Targeting container within rental-request-section */
    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: 5px; /* 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 */
}

/* Ensure the header within the form container is styled appropriately (optional, adjust as needed) */
.rental-request-section .container h2 { /* Targeting h2 inside form-page-container */
    text-align: left; /* Example: Align header text to the left within the form page */
    margin-bottom: 20px; /* Adjust margin below header within form page */
    margin-top: 0; /* Reset top margin if needed */
}

@media (max-width: 1400px) {
    .equipment-range-section .equipment-grid {
        display: grid;
        grid-template-columns: repeat(3, 300px);
        gap: 60px;
        margin-top: 30px;
        justify-content: center;
    }
}


@media (max-width: 1200px) {
    .equipment-range-section .equipment-grid {
        display: grid;
        grid-template-columns: repeat(3, 200px);
        gap: 60px;
        margin-top: 30px;
        justify-content: center;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rental-request-section .form-grid {
        display: inline;
        gap: 30px; /* Spacing between columns */
    }
    .container {
        width: 95%;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .equipment-range-section .equipment-grid,
    .pricing-bundles-section .equipment-bundles,
    .rental-request-section .form-grid {
        grid-template-columns: 1fr; /* Single column layout on smaller screens */
    }

    .equipment-range-section .equipment-grid {
        display: grid;
        grid-template-columns: repeat(2, 200px);
        gap: 30px;
        margin-top: 30px;
        justify-content: center;
    }

    .pricing-bundles-section .pricing-table {
        overflow-x: auto; /* Enable horizontal scroll for pricing table if needed */
    }
    .rental-request-section .form-grid {
        grid-template-columns: 1fr; /* Single column layout on smaller screens */
    }
}

@media (max-width: 480px) {
    .equipment-range-section .equipment-grid {
        display: grid;
        grid-template-columns: repeat(2, 150px);
        gap: 30px;
        margin-top: 30px;
        justify-content: center;
    }

    .pricing-bundles-section .equipment-bundles {
        flex-direction: column; /* Stack bundles vertically on very small screens */
        align-items: center; /* Center bundles horizontally */
    }
}
