main > .container {
    padding: 70px 15px 20px;
}

main > .container-fluid {
    padding: 70px 0 20px;
}

.footer {
    background-color: #ffffff;
    color: #111111;
    border-top: 1px solid #d9d9d9;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* Tourist landing page styles */
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.navbar-logo {
    height: 40px;
    width: auto;
    display: block;
}

.tourism-page {
    color: #111111;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1rem 2.4rem;
}

.hero-section {
    width: 100vw;
    height: clamp(600px, 50vh, 600px);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    margin: 0 calc(50% - 50vw) 2rem;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-carousel {
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-item {
    position: relative;
}

.hero-carousel .hero-slide-image {
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Subtle Ken Burns while slide is active (duration matches ~carousel interval) */
.hero-carousel .carousel-item.active .hero-slide-image {
    will-change: transform;
    animation: hero-kenburns 5.5s ease-out forwards;
}

@keyframes hero-kenburns {
    from {
        transform: scale(1) translateZ(0);
    }
    to {
        transform: scale(1.07) translateZ(0);
    }
}

/* Lighter scrim so photos stay vivid; stronger only at bottom for headline contrast */
.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(4, 18, 25, 0.28) 0%,
            rgba(12, 26, 14, 0.18) 42%,
            rgba(4, 18, 25, 0.74) 100%
        ),
        linear-gradient(102deg, rgba(4, 18, 25, 0.35) 0%, rgba(12, 26, 14, 0.12) 55%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding: 2.4rem 1.75rem 1.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero-tag,
.hero-overlay h1,
.hero-lead {
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-overlay {
        animation: hero-overlay-enter 0.75s ease-out both;
    }
}

@keyframes hero-overlay-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 100px;
    background: rgba(8, 18, 22, 0.35);
    backdrop-filter: blur(8px);
}

.hero-overlay h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 0.9rem;
    text-shadow:
        0 12px 34px rgba(0, 0, 0, 0.55),
        0 2px 3px rgba(0, 0, 0, 0.55);
}

.hero-lead {
    color: #e9eef0;
    margin-bottom: 1.4rem;
    font-size: 1.08rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.6rem 0.85rem;
    border-radius: 14px;
    background: rgba(8, 18, 22, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions .btn {
    border-radius: 999px;
    font-weight: 600;
}

.hero-metrics {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0.75rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.hero-metric {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(8, 18, 22, 0.62);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.hero-metric-value {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.65),
        0 2px 12px rgba(0, 0, 0, 0.45);
    line-height: 1.25;
}

.hero-metric-label {
    margin-top: 0.2rem;
    font-size: 0.86rem;
    line-height: 1.35;
    font-weight: 500;
    color: #f4f7f8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
    margin-bottom: 1.05rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 3;
    width: 8%;
}

.section-block {
    padding: 1.8rem 0 2.2rem;
}

.section-head {
    margin-bottom: 1.3rem;
}

.section-head h2,
.section-block h2 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.section-head p {
    color: #575757;
}

.tour-card {
    border: 1px solid #e2e7eb;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    background: linear-gradient(180deg, #ffffff, #fbfcfd);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(18, 31, 38, 0.16);
    border-color: #cdd8df;
}

.tour-card img {
    width: 100%;
    height: 218px;
    object-fit: cover;
}

.tour-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 218px);
}

.tour-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
}

.tour-card p {
    color: #4f4f4f;
    margin-bottom: 1rem;
}

.tour-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.tour-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tour-btn {
    border-radius: 999px;
    font-weight: 700;
}

.tour-meta {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0a3f4e;
    background: #e5f4f8;
    border: 1px solid #cde9f2;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    font-weight: 700;
}

.tour-link {
    color: #12343f;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #12343f;
}

.tour-link:hover {
    color: #0b2630;
}

.itinerary-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(17, 29, 35, 0.12);
    box-shadow: 0 22px 60px rgba(13, 28, 34, 0.28);
}

.itinerary-modal-header {
    background: linear-gradient(140deg, #0f1b1f 0%, #10261d 55%, #0d1b24 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.itinerary-modal-header .btn-close {
    filter: invert(1);
    opacity: 0.9;
}

.itinerary-modal-title-wrap {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.itinerary-badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.itinerary-hero {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(17, 29, 35, 0.12);
    box-shadow: 0 14px 32px rgba(17, 29, 35, 0.12);
    margin-bottom: 1rem;
}

.itinerary-hero img {
    width: 100%;
    height: clamp(220px, 30vh, 320px);
    object-fit: cover;
    display: block;
}

.itinerary-summary {
    color: #2a2a2a;
    font-weight: 500;
}

.itinerary-block {
    border: 1px solid #e3eaee;
    border-radius: 14px;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff, #fbfcfd);
    margin-bottom: 1rem;
}

.itinerary-block-title {
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.itinerary-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #343a40;
}

.itinerary-list li {
    margin-bottom: 0.45rem;
}

.itinerary-accordion .accordion-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3eaee;
    margin-bottom: 0.75rem;
}

.itinerary-accordion .accordion-button {
    gap: 0.65rem;
    align-items: center;
    font-weight: 800;
}

.itinerary-accordion .accordion-button:not(.collapsed) {
    color: #0b2630;
    background: #eaf6f9;
}

.itinerary-day-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #0a3f4e;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.itinerary-day-title {
    line-height: 1.25;
}

.itinerary-meta {
    margin: 0.8rem 0 0 0;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0.25rem 0.75rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(10, 63, 78, 0.22);
}

.itinerary-meta dt {
    font-weight: 800;
    color: #0a3f4e;
}

.itinerary-meta dd {
    margin: 0;
    color: #2b2b2b;
}

.itinerary-price-card {
    border: 1px solid #e3eaee;
    border-radius: 14px;
    padding: 0.9rem 0.95rem;
    background: #ffffff;
    height: 100%;
}

.itinerary-price-card h4 {
    font-size: 0.98rem;
    margin-bottom: 0.6rem;
    font-weight: 900;
}

.itinerary-price-card-muted {
    background: #fbfbfb;
}

.itinerary-modal-footer {
    background: #ffffff;
    border-top: 1px solid rgba(17, 29, 35, 0.08);
}

.section-dark {
    background:
        radial-gradient(circle at top right, rgba(120, 180, 146, 0.22), transparent 45%),
        #101a1d;
    color: #ffffff;
    border-radius: 14px;
    padding: 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark .btn-light {
    color: #000000;
    border-radius: 999px;
    font-weight: 600;
}

.rounded-highlight {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.highlight-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.highlight-list li {
    margin-bottom: 0.5rem;
    color: #dfdfdf;
}

.review-card {
    border: 1px solid #dde4e8;
    border-radius: 12px;
    padding: 1.2rem;
    height: 100%;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 29, 35, 0.08);
}

.review-card p {
    color: #2c2c2c;
}

.review-card footer {
    margin-top: 0.8rem;
    font-weight: 700;
    color: #000000;
}

.contact-strip {
    background: linear-gradient(130deg, #f4f7f8, #e9f3f6);
    border: 1px solid #d2e1e8;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: 0 12px 28px rgba(14, 40, 48, 0.08);
}

.contact-list {
    margin: 0;
    padding-left: 1rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
}

.home-gallery-thumb img {
    transition: transform 0.22s ease;
}

.home-gallery-thumb:hover img {
    transform: scale(1.04);
}

.whatsapp-fab {
    position: fixed;
    top: 86px;
    right: 18px;
    z-index: 1060;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
    color: #ffffff;
}

.whatsapp-fab:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.35);
    outline-offset: 4px;
}

.whatsapp-fab-icon {
    display: block;
    width: 28px;
    height: 28px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel.carousel-fade .carousel-item {
        transition-duration: 0.01ms !important;
    }

    .hero-carousel .carousel-item.active .hero-slide-image {
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }

    .hero-overlay {
        animation: none !important;
    }
}

@media (max-width: 767px) {
    .tourism-page {
        padding: 0 0.75rem 2rem;
    }

    .hero-section {
        height: clamp(340px, 50vh, 520px);
        border-radius: 12px;
    }

    .hero-overlay {
        padding: 1.25rem 1rem 1.5rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 12%;
    }

    .tour-card-actions {
        justify-content: flex-start;
    }

    .itinerary-meta {
        grid-template-columns: 1fr;
    }
}