:root {
    --color-teal: #00a98f;
    --color-teal-dark: #078875;
    --color-ink: #090a12;
    --color-muted: #737983;
    --color-soft: #e5f6f2;
    --color-panel: #dff3ef;
    --shadow-soft: 0 14px 35px rgba(13, 45, 49, 0.12);
}

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    color: var(--color-ink);
    background: #ffffff;
    font-family: "Roboto Condensed", "Trebuchet MS", Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

.container,
.header-inner {
    width: min(100% - 48px, 1000px);
    margin-inline: auto;
}

.site-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--color-teal);
    padding: 8px 16px;
    color: #fff;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-title {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: #fff;
}

.site-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-brand .custom-logo {
    height: auto;
    max-height: 24px;  /* small logo */
    width: auto;
    max-width: 24px;
    object-fit: contain;
}

.site-title {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 150px;
}

.brand-mark {
    position: relative;
    width: 31px;
    height: 42px;
}

.brand-case {
    position: absolute;
    inset: 5px 7px 0 0;
    border: 5px solid var(--color-teal);
    border-radius: 5px;
}

.brand-case::before {
    content: "";
    position: absolute;
    top: -11px;
    left: 5px;
    width: 9px;
    height: 7px;
    border: 3px solid var(--color-teal);
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.brand-shield {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 23px;
    background: var(--color-ink);
    clip-path: polygon(50% 0, 100% 14%, 88% 76%, 50% 100%, 12% 76%, 0 14%);
}

.brand-shield::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.brand-name {
    display: block;
    color: var(--color-teal);
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 0.9;
}

.brand-sub {
    display: block;
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

/* Custom logo support (uploaded via Admin > Customize > Site Identity) */
.custom-logo-link {
    text-decoration: none;
}
.custom-logo {
    display: block;
    height: auto;
    max-height: 42px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    font-family: "Roboto Condensed", "Trebuchet MS", Arial, sans-serif;
    line-height: 1.2;
    -webkit-overflow-scrolling: touch;
    /* Allow horizontal swipe on narrow mobile screens */
}

.nav-list a {
    white-space: nowrap;
}

/* 
  Icons from admin data: 
  In Appearance > Menus, edit each menu item, enable "CSS Classes" in Screen Options, 
  add class like "icon-home", "icon-payment", etc. to the menu item.
  Then icons will appear before the text.
*/
.nav-list .icon-home a::before { content: "🏠 "; margin-right: 6px; }
.nav-list .icon-payment a::before { content: "💳 "; margin-right: 6px; }
.nav-list .icon-policy a::before { content: "📜 "; margin-right: 6px; }
.nav-list .icon-faq a::before { content: "❓ "; margin-right: 6px; }

/* Fallback if no class - small space */
.nav-list a::before {
    margin-right: 4px;
}

/* Menu icons */
.nav-list li:nth-child(1) a::before { content: "🏠 "; }
.nav-list li:nth-child(2) a::before { content: "💳 "; }
.nav-list li:nth-child(3) a::before { content: "📜 "; }
.nav-list li:nth-child(4) a::before { content: "❓ "; }

.nav-list a {
    display: inline-flex;
    align-items: center;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    color: #ffffff;
}

.nav-list .is-active,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current_page_item > a,
.nav-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Hamburger icon (mobile menu toggle) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: #fff;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Close button for full-screen menu */
.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 22px;
}

.icon-search {
    position: relative;
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.icon-search::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 10px;
    height: 10px;
    border: 3px solid #000000;
    border-radius: 50%;
}

.icon-search::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 4px;
    width: 9px;
    height: 3px;
    border-radius: 3px;
    background: #000000;
    transform: rotate(45deg);
}

.book-button,
.search-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    border: 0;
    border-radius: 5px;
    background: var(--color-teal);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.book-button {
    min-width: 108px;
    padding: 0 18px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 459px;
    padding: 70px 0 0;
    background:
        radial-gradient(circle at 5% 75%, rgba(0, 169, 143, 0.08) 0 36px, transparent 37px),
        linear-gradient(90deg, #ffffff 0 58%, var(--color-panel) 58% 100%);
}

.hero-bg-text {
    position: absolute;
    left: 0;
    top: 118px;
    color: rgba(7, 136, 117, 0.04);
    font-size: clamp(58px, 11vw, 118px);
    font-weight: 900;
    letter-spacing: 0;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(360px, 1fr) 96px;
    align-items: center;
    gap: 24px;
}

.hero-copy {
    padding-top: 18px;
}

.hero-copy h1 {
    max-width: 500px;
    margin: 0 0 8px;
    font-size: clamp(28px, 4.2vw, 43px);
    line-height: 1.17;
    font-weight: 900;
}

.hero-copy p {
    max-width: 455px;
    margin: 0;
    color: #7c828d;
    font-size: 13px;
}

.social-list {
    display: flex;
    gap: 10px;
    margin-top: 56px;
}

.social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.social-list a:nth-child(2) {
    background: var(--color-teal);
}

.hero-visual {
    padding-top: 0;
}

.hero-panel {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    overflow: hidden;
    background:
        radial-gradient(circle at 53% 48%, rgba(255, 255, 255, 0.16), transparent 35%),
        #10b9c7;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 74px 54px auto;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(1px);
}

.hero-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    mix-blend-mode: multiply;
}

.map-card {
    position: relative;
    z-index: 2;
    width: min(47%, 235px);
    aspect-ratio: 1.34;
    margin-top: 92px;
    background: #f4f8f6;
    clip-path: polygon(0 0, 32% 12%, 62% 4%, 100% 18%, 90% 100%, 58% 86%, 31% 96%, 8% 78%);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
    transform: rotate(13deg);
}

.map-card span {
    position: absolute;
    border-radius: 999px;
    background: rgba(0, 169, 143, 0.55);
}

.map-card span:nth-child(1) {
    width: 72px;
    height: 38px;
    left: 38px;
    top: 33px;
}

.map-card span:nth-child(2) {
    width: 58px;
    height: 52px;
    right: 42px;
    top: 45px;
}

.map-card span:nth-child(3) {
    width: 22px;
    height: 22px;
    left: 110px;
    bottom: 40px;
}

.map-card span:nth-child(4) {
    width: 41px;
    height: 18px;
    right: 80px;
    bottom: 35px;
}

.suitcase {
    position: absolute;
    z-index: 3;
    right: 80px;
    bottom: 72px;
    width: 104px;
    height: 128px;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(#ef933b 0 42%, #1767a8 42% 100%);
    box-shadow: 0 9px 0 rgba(0, 0, 0, 0.13);
}

.suitcase::before {
    content: "";
    position: absolute;
    left: 36px;
    top: -28px;
    width: 34px;
    height: 32px;
    border: 6px solid #506f86;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.suitcase::after {
    content: "";
    position: absolute;
    left: -134px;
    top: 8px;
    width: 128px;
    height: 30px;
    border-radius: 50% 50% 45% 45%;
    background: #ffffff;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.14);
    transform: rotate(13deg);
}

.hero-stats {
    display: grid;
    gap: 30px;
    justify-items: start;
    align-self: center;
}

.stat-item {
    display: grid;
    gap: 2px;
}

.stat-item strong {
    font-size: 16px;
    line-height: 1;
}

.stat-item span:last-child {
    color: #525a60;
    font-size: 12px;
}

.stat-icon {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    color: var(--color-teal);
}

.stat-icon--plane::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 34px;
    height: 8px;
    border-radius: 50% 10% 10% 50%;
    background: currentColor;
    transform: rotate(14deg);
}

.stat-icon--plane::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 1px;
    width: 9px;
    height: 31px;
    border-radius: 4px;
    background: currentColor;
    transform: rotate(-24deg);
}

.stat-icon--globe {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.stat-icon--globe::before,
.stat-icon--globe::after {
    content: "";
    position: absolute;
    background: currentColor;
}

.stat-icon--globe::before {
    left: 5px;
    right: 5px;
    top: 14px;
    height: 2px;
}

.stat-icon--globe::after {
    left: 14px;
    top: 2px;
    width: 2px;
    height: 26px;
}

.stat-icon--user::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: currentColor;
}

.stat-icon--user::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 0;
    width: 28px;
    height: 15px;
    border-radius: 12px 12px 4px 4px;
    background: currentColor;
}

.search-panel {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 91px;
    gap: 12px;
    width: min(100% - 48px, 1022px);
    min-height: 68px;
    margin: 0 auto;
    padding: 17px 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transform: translateY(1px);
}

.search-panel input {
    width: 100%;
    min-width: 0;
    height: 31px;
    border: 0;
    border-radius: 5px;
    background: #f6f7fb;
    padding: 0 11px;
    color: #1c222b;
    outline: 0;
}

.search-panel button {
    height: 31px;
}

.destinations-section {
    padding: 24px 0 20px;
}

.section-heading {
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 1px;
    font-size: 22px;
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: #7d8289;
    font-size: 16px;
}

.destination-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    margin-top: 14px;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    isolation: isolate;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.destination-card--high {
    height: 250px;
}

.destination-card--mid {
    height: 250px;
    margin-bottom: -40px;
}

.destination-card--low {
    height: 250px;
    margin-bottom: -80px;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(17, 42, 83, 0.42);
}

.destination-card--dark::after {
    background: rgba(7, 18, 46, 0.68);
}

.destination-overlay {
    position: absolute;
    z-index: 2;
    left: 14px;
    right: 14px;
    top: 50%;
    display: grid;
    justify-items: center;
    gap: 8px;
    transform: translateY(-50%);
    text-align: center;
}

.destination-overlay h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
}

.destination-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 5px;
    background: #ffffff;
    color: #161a21;
    font-size: 12px;
}

.destination-card:nth-child(3) .destination-overlay span {
    background: var(--color-teal);
    color: #ffffff;
}

.site-footer {
    padding: 40px 20px;
    color: #555;
    text-align: center;
    font-size: 14px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-company {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.footer-address {
    margin-bottom: 6px;
    color: #666;
}

.footer-contact {
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
}

.site-footer a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--color-teal-dark);
    text-decoration: underline;
}

.site-footer p {
    margin: 4px 0;
}

.generic-page {
    padding: 120px 0 60px;
}

.entry {
    max-width: 760px;
}

.page-id-16 .entry,
.entry:has(.dgwpb-search-wrapper) {
    width: 100%;
    max-width: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

@media (max-width: 980px) {
    .site-header {
        position: relative;
        background: transparent;
        padding: 0;
    }

    .header-inner {
        padding: 8px 12px;
        position: relative;
    }

    .mobile-brand {
        /* On mobile: icon + text in the header bar, menu is overlay */
    }

    .site-title {
        font-size: 11px;
    }

    .primary-nav {
        order: 3;
        flex-basis: 100%;
    }

    .nav-list {
        justify-content: flex-start;
        gap: 16px;
        overflow-x: auto;
        padding: 4px 0;
        font-size: 13px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .nav-list a {
        white-space: nowrap;
        padding: 4px 6px;
    }

    .nav-list li a::before {
        margin-right: 10px;
    }

    .generic-page {
        padding-top: 10px !important;
    }

    /* Isolate horizontal scroll to the menu only - prevent whole page from shifting */
    .site-header,
    .header-inner,
    .primary-nav {
        overflow-x: hidden;
    }

    /* Extra isolation for the scrollable menu */
    .nav-list {
        overscroll-behavior-x: contain;
    }

    /* Full-screen mobile menu overlay - base closed state */
    .primary-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--color-teal);
        z-index: 9999;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px 20px 40px;
        overflow-y: auto;
    }

    .menu-open .primary-nav {
        display: flex;
    }

    .menu-open .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        font-size: 22px;
        padding: 0;
        width: 100%;
        max-width: 320px;
    }

    .menu-open .nav-list a {
        padding: 12px 20px;
        font-size: 20px;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-close {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-section {
        padding-top: 30px;
        background: linear-gradient(180deg, #ffffff 0 45%, var(--color-panel) 45% 100%);
    }

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

    .hero-copy {
        padding-top: 0;
    }

    .social-list {
        margin-top: 24px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .destination-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .destination-card,
    .destination-card--mid,
    .destination-card--low {
        height: 250px;
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .container,
    .header-inner,
    .search-panel {
        width: min(100% - 28px, 1000px);
    }

    .header-actions {
        margin-left: auto;
        gap: 12px;
    }

    .book-button {
        min-width: 92px;
    }

    .hero-copy h1 {
        font-size: 30px;
    }

    .hero-panel {
        min-height: 280px;
    }

    .suitcase {
        right: 32px;
        bottom: 64px;
        transform: scale(0.84);
        transform-origin: right bottom;
    }

    .map-card {
        width: 58%;
    }

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

    .search-panel {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .destination-row {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 30px 16px;
        font-size: 13px;
    }

    .footer-company {
        font-size: 14px;
    }
}
