/* --- Single Verhuur Page Styles --- */

/* --- Gravity Forms Styling in Booking Card --- */

/* Verberg de standaard Gravity Forms header/footer ruimte als die stoort */
.booking-card .gform_wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Velden Container */
.booking-card .gform_fields {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Zorg dat Datum Start en Datum Eind naast elkaar staan */
/* In GF editor: Geef deze velden de CSS Class 'gf_left_half' en 'gf_right_half' */
.booking-card .gform_wrapper .gfield.gf_left_half,
.booking-card .gform_wrapper .gfield.gf_right_half {
    grid-column: span 1;
    margin-right: 0 !important; /* Reset GF styling */
    width: 100% !important;
}

/* Als je ze niet via classes doet, kun je ook forceren met grid (optioneel):
   .booking-card .gform_fields { grid-template-columns: 1fr 1fr; } 
   Maar let op: dan wordt ELK veld 50% breed.
*/

/* Labels (Startdatum / Einddatum) */
.booking-card .gfield_label {
    font-size: 0.75rem !important;
    text-transform: uppercase;
    color: #9CA3AF;
    font-weight: 700 !important;
    margin-bottom: 0.25rem !important;
    display: block;
}

/* Inputs (Datumvelden etc) */
.booking-card input[type="text"],
.booking-card input[type="date"],
.booking-card input[type="email"],
.booking-card select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    background-color: #fff;
}

/* De Knop (Direct Aanvragen) */
.booking-card .gform_footer {
    margin-top: 1rem !important;
    padding: 0 !important;
}

.booking-card .gform_button {
    display: block;
    width: 100%;
    background-color: #FACC15; /* Jouw zwart */
    color: #111127;
    font-weight: 700;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.booking-card .gform_button:hover {
    background-color: #111127; /* Jouw geel */
    color: white;
}

/* Foutmeldingen styling (voor validatie) */
.booking-card .gfield_error input {
    border-color: #ef4444;
}
.booking-card .validation_message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.site-content .ast-container {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding: 0px;
}


:root {
    --al-yellow: #FFCC00;
    --al-black: #000000;
    --al-dark: #1A1A1A;
    --al-gray-light: #F5F5F5;
    --al-gray-border: #E5E7EB;
    --al-text-main: #1F2937;
    --al-text-muted: #6B7280;
}

/* Layout Containers */
.single-rental-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem; /* px-8 */
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--al-text-main);
}

/* --- Section 1: Main Product Detail --- */
.product-main-section {
    padding: 3rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 7fr 5fr; /* col-span-7 / col-span-5 */
    }
}

/* Images Left */
.main-image-wrapper {
    width: 100%;
    height: 500px;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--al-gray-border);
    position: relative;
    margin-bottom: 1rem;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pop-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--al-yellow);
    color: var(--al-black);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-thumb {
    height: 8rem; /* h-32 */
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--al-gray-border);
    cursor: pointer;
    transition: border-color 0.2s;
}

.gallery-thumb:hover {
    border-color: var(--al-yellow);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Text */
.product-description {
    margin-top: 2rem;
}

.product-description h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--al-black);
}

.product-description p {
    color: var(--al-text-muted);
    line-height: 1.625;
    margin-bottom: 1rem;
}

/* Sidebar Right */
.product-sidebar {
    // position: sticky;
    // top: 6rem; /* sticky top-24 */
}

.product-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800;
    color: var(--al-black);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.product-subtitle {
    color: var(--al-text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Key Specs Icons */
.specs-box {
    background-color: #F9FAFB; /* gray-50 */
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--al-gray-border);
    margin-bottom: 2rem;
}

.specs-box h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--al-gray-border);
    padding-bottom: 0.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
}

.spec-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 204, 0, 0.2); /* yellow/20 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--al-black);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.spec-text span.label {
    display: block;
    font-size: 0.75rem;
    color: var(--al-text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.spec-text span.value {
    font-weight: 700;
    color: var(--al-black);
}

/* Booking Card */
.booking-card {
    background-color: var(--al-black);
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.booking-glow {
    position: absolute;
    right: -2.5rem;
    top: -2.5rem;
    width: 10rem;
    height: 10rem;
    background-color: var(--al-yellow);
    border-radius: 9999px;
    opacity: 0.1;
    filter: blur(40px);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #374151; /* gray-700 */
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.price-main {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--al-yellow);
}

.price-small {
    font-size: 0.875rem;
    color: #9CA3AF; /* gray-400 */
}

.booking-form input {
    width: 100%;
    background-color: #1F2937; /* gray-800 */
    border: 1px solid #374151;
    border-radius: 0.25rem;
    padding: 0.5rem;
    color: white;
    margin-top: 0.25rem;
}

.btn-book {
    width: 100%;
    background-color: var(--al-yellow);
    color: var(--al-black);
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.25rem;
    font-size: 1.125rem;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-book:hover {
    background-color: #e6b800;
}

/* Downloads */
.download-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--al-gray-border);
    border-radius: 0.5rem;
    text-decoration: none;
    margin-top: 0.75rem;
    transition: background-color 0.2s;
}

.download-link:hover {
    background-color: #F9FAFB;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #374151;
}

/* --- Section 2: Technical Table --- */
.tech-specs-section {
    background-color: #F9FAFB;
    padding: 4rem 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-left: 8px solid var(--al-yellow);
    padding-left: 1rem;
    color: var(--al-black);
}

.tech-table {
    width: 100%;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-collapse: collapse;
}

.tech-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--al-gray-light);
}

.tech-table tr:last-child td {
    border-bottom: none;
}

.tech-label {
    font-weight: 600;
    color: #4B5563;
    width: 33%;
}

.tech-value {
    color: #1F2937;
}

/* --- Section 3: Related Products --- */
.related-section {
    padding: 4rem 0;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.link-arrow {
    font-weight: 700;
    color: var(--al-black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.link-arrow:hover {
    color: var(--al-yellow);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-card {
    background-color: white;
    border: 1px solid var(--al-gray-border);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.related-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-img-box {
    height: 14rem; /* h-56 */
    position: relative;
    overflow: hidden;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .card-img-box img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--al-black);
}

.related-card:hover .card-title {
    color: #dcb000; /* donkerder geel */
}

.card-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--al-text-muted);
    margin-bottom: 1rem;
}

.card-specs i {
    color: var(--al-yellow);
}

.card-footer {
    border-top: 1px solid var(--al-gray-light);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--al-black);
}

.btn-arrow-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: var(--al-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    border: none;
    transition: background-color 0.2s;
}

.related-card:hover .btn-arrow-circle {
    background-color: var(--al-yellow);
    color: var(--al-black);
}

/* --- Section 4: Services Banner --- */
.services-banner {
    position: relative;
    background-color: var(--al-yellow);
    padding: 5rem 0;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .banner-content {
        grid-template-columns: 1fr 1fr;
    }
}

.banner-text h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--al-black);
    margin-bottom: 1rem;
}

.banner-text p {
    color: rgba(0,0,0,0.8);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-black {
    display: inline-block;
    background-color: var(--al-black);
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background-color 0.2s;
}

.btn-black:hover {
    background-color: #333;
}

.banner-icon-box {
    display: none;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .banner-icon-box { display: flex; }
}

.rotate-box {
    width: 16rem;
    height: 16rem;
    border: 4px solid var(--al-black);
    padding: 1rem;
    transform: rotate(3deg);
}

.inner-box {
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}