/* ASP Custom Enhancements (Lucide Icons, Modal, Lightbox & Slider Smoothness) */

/* 1. Lucide Icons Alignment */
svg.lucide {
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
}

/* 2. Responsive Helpers */
@media (max-width: 760px) {
    .desktop-only {
        display: none !important;
    }
}

/* 3. Smooth Header Shadow on Scroll */
.header {
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

/* 4. Trailer Load Options Buttons */
.load-options > button {
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.load-options > button:hover:not(.selected) {
    background: #f0e9d6 !important;
    border-color: #baa474 !important;
    transform: translateY(-1px);
}
.load-options > button.selected {
    background: var(--gold, #e6be69) !important;
    border-color: #bfa04e !important;
    color: #123c2f !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(190, 150, 60, 0.25) !important;
}

/* 5. Smooth Trailer Fill Transition */
.trailer-fill {
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 6. Item Grid Selection */
.item-grid button {
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.item-grid button:hover:not(.selected) {
    background: #ecefe3;
    transform: translateY(-1px);
}
.item-grid button.selected {
    border-color: var(--gold, #e6be69) !important;
    background: #fdfaf3 !important;
    box-shadow: 0 4px 14px rgba(230, 190, 105, 0.25) !important;
}
.item-grid button.selected h3 {
    color: #123c2f;
}

/* 7. FAQ Accordion Animation */
.faq-grid summary svg {
    transition: transform 0.25s ease;
}
.faq-grid details[open] summary svg {
    transform: rotate(45deg);
}

/* 8. Text Action Buttons Hover Polish */
.text-action {
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.text-action:hover {
    color: #0c291f;
    border-color: #0c291f;
    transform: translateX(2px);
}

/* 9. Booking Modal Popup */
.asp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(12, 41, 31, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.asp-modal-dialog {
    position: relative;
    background: #faf7ef;
    border: 2px solid #e6be69;
    border-radius: 18px;
    width: 100%;
    max-width: 520px;
    padding: 30px 26px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    color: #1a352b;
    font-family: "DM Sans", Arial, sans-serif;
    animation: modalSlideIn 0.25s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.asp-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #657067;
    cursor: pointer;
    transition: color 0.2s;
}

.asp-modal-close:hover {
    color: #123c2f;
}

.asp-modal-badge {
    display: inline-block;
    background: #e6be69;
    color: #0c291f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.asp-modal-title {
    margin: 0 0 6px 0;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 25px;
    color: #123c2f;
}

.asp-modal-sub {
    margin: 0 0 18px 0;
    font-size: 13px;
    color: #657067;
    line-height: 1.4;
}

.asp-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asp-form-row {
    display: flex;
    gap: 10px;
}

.asp-form-row .asp-form-group {
    flex: 1;
}

.asp-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.asp-form-group label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #234f3e;
}

.asp-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #dcded1;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    color: #1a352b;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.asp-input:focus {
    border-color: #123c2f;
    box-shadow: 0 0 0 3px rgba(18, 60, 47, 0.12);
}

.asp-textarea {
    min-height: 65px;
    resize: vertical;
}

.asp-form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

/* 10. Lightbox Overlay */
.asp-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: zoom-out;
    padding: 24px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.asp-lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid #e6be69;
}

.asp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}
.asp-lightbox-close:hover {
    transform: scale(1.15);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
