/* Laravel-facing extensions for the original ITD Holiday theme. */
.nav-menu a {
    white-space: nowrap;
}

.nav-menu a[aria-current="page"],
.nav-menu a.active {
    color: var(--primary);
}

.footer-admin-link {
    color: rgba(255, 255, 255, .58);
    font-size: .85rem;
}

.footer-admin-link:hover {
    color: #fff;
}

.site-flash-wrap {
    position: relative;
    z-index: 20;
}

.site-flash {
    margin: 18px 0 0;
    padding: 15px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.site-flash > i {
    margin-top: 2px;
    font-size: 1.1rem;
}

.site-flash button {
    margin-left: auto;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
}

.site-flash-success {
    color: #126347;
    border-color: #b8e6d6;
    background: #effbf6;
}

.site-flash-error {
    color: #8f2e32;
    border-color: #f2c2c5;
    background: #fff4f4;
}

.site-flash.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
    transition: .25s ease;
}

.card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .8);
    font-size: .78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.destination-content small {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: .72rem;
    backdrop-filter: blur(7px);
}

.destination-card > a {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.destination-card > a > img {
    z-index: -2;
}

.destination-card > a::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 28%, rgba(4, 31, 50, .9));
}

.filter-shell {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.filter-shell .form-label {
    margin-bottom: 6px;
    color: var(--secondary-dark);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.filter-summary {
    color: var(--muted);
    font-size: .92rem;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-pill {
    padding: 9px 16px;
    color: var(--secondary);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 750;
    transition: .2s ease;
}

.filter-pill:hover,
.filter-pill.active {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

.empty-state {
    padding: 72px 24px;
    text-align: center;
    background: var(--light);
    border: 1px dashed #bdd5e2;
    border-radius: var(--radius);
}

.empty-state > span {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    font-size: 2rem;
}

.empty-state h2 {
    margin-bottom: 8px;
    color: var(--secondary-dark);
    font-size: 1.5rem;
    font-weight: 900;
}

.empty-state p {
    max-width: 540px;
    margin: 0 auto;
    color: var(--muted);
}

.pagination {
    margin: 36px 0 0;
    justify-content: center;
    gap: 7px;
}

.pagination .page-link {
    min-width: 43px;
    min-height: 43px;
    display: grid;
    place-items: center;
    color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 12px !important;
}

.pagination .active > .page-link {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

.pagination .disabled > .page-link {
    color: #9bb0be;
    background: var(--light);
}

.content-prose {
    color: #455e70;
    font-size: 1.04rem;
}

.content-prose h2,
.content-prose h3,
.content-prose h4 {
    margin-top: 1.55em;
    margin-bottom: .55em;
    color: var(--secondary-dark);
    font-weight: 900;
}

.content-prose h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.content-prose h3 {
    font-size: 1.4rem;
}

.content-prose p,
.content-prose ul,
.content-prose ol {
    margin-bottom: 1.2em;
}

.content-prose img {
    margin: 28px 0;
    border-radius: 20px;
}

.content-prose blockquote {
    margin: 30px 0;
    padding: 22px 25px;
    color: var(--secondary-dark);
    background: var(--light);
    border-left: 5px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dynamic-detail-hero {
    position: relative;
    isolation: isolate;
    background: var(--secondary-dark);
}

.dynamic-detail-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(3, 29, 48, .94), rgba(3, 29, 48, .14));
}

.detail-hero-background {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    inset: 0;
    object-fit: cover;
}

.detail-meta span {
    padding: 8px 13px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.detail-price {
    color: var(--secondary-dark);
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.detail-price small {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 0;
}

.event-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: .3s ease;
}

.event-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.event-card-media {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.event-card:hover .event-card-media img {
    transform: scale(1.06);
}

.event-date-badge {
    min-width: 64px;
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 9px 12px;
    color: var(--secondary-dark);
    background: #fff;
    border-radius: 14px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.event-date-badge strong,
.event-date-badge span {
    display: block;
    line-height: 1;
}

.event-date-badge strong {
    font-size: 1.45rem;
    font-weight: 950;
}

.event-date-badge span {
    margin-top: 4px;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-card-body {
    padding: 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.event-card-body h2,
.event-card-body h3 {
    margin: 10px 0;
    color: var(--secondary-dark);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.3;
}

.event-card-body p {
    color: var(--muted);
}

.event-card-body .event-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 850;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    color: var(--muted);
    font-size: .82rem;
}

.meta-row i {
    color: var(--primary);
}

.gallery-caption {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 16px;
    left: 18px;
    color: #fff;
    font-weight: 850;
    opacity: 0;
    transform: translateY(8px);
    transition: .3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus .gallery-caption {
    opacity: 1;
    transform: none;
}

.faq-category-title {
    margin: 35px 0 16px;
    color: var(--secondary-dark);
    font-size: 1.2rem;
    font-weight: 900;
}

.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
}

.form-helper {
    color: var(--muted);
    font-size: .8rem;
}

.contact-sidebar {
    display: grid;
    gap: 16px;
}

.contact-sidebar .contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-sidebar .contact-card i {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    margin: 0;
    background: #eaf6fc;
    border-radius: 16px;
}

.contact-sidebar .contact-card h3 {
    margin-top: 0;
}

.page-cover {
    width: 100%;
    max-height: 540px;
    margin-bottom: 38px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
}

.home-stat-card {
    height: 100%;
    padding: 25px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
}

.home-stat-card strong {
    display: block;
    color: var(--secondary-dark);
    font-size: 2.3rem;
    font-weight: 950;
}

.home-stat-card span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
}

.hero-search-form .trip-field {
    min-width: 0;
}

.hero-search-form select,
.hero-search-form input {
    width: 100%;
}

@media (max-width: 1199.98px) {
    .nav-menu a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: .88rem;
    }

    .nav-actions .btn-brand {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .nav-menu a {
        font-size: 1rem;
    }

    html.motion-ready .nav-actions[data-animate-load] {
        opacity: 1;
        transform: none;
    }

    html:not(.nav-ready) .menu-toggle {
        display: grid;
    }

    .site-flash {
        margin-top: 12px;
    }
}

@media (max-width: 575.98px) {
    .contact-form,
    .detail-box,
    .filter-shell {
        padding: 22px 18px;
    }

    .content-prose {
        font-size: 1rem;
    }

    .pagination {
        gap: 3px;
    }

    .pagination .page-link {
        min-width: 38px;
        min-height: 38px;
    }
}
