/* =========================================================
   GUNACAB DIRECTORY — GUNA HOTELS
   MASTER PAGE CSS
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --gc-orange: #f97316;
    --gc-blue: #2563eb;
    --gc-dark: #102033;
    --gc-text: #4b5b70;
    --gc-muted: #718096;
    --gc-bg: #f7f9fc;
    --gc-white: #ffffff;
    --gc-border: #e5edf6;

    --gc-shadow: 0 10px 30px rgba(16, 32, 51, 0.08);
    --gc-shadow-hover: 0 16px 38px rgba(16, 32, 51, 0.12);

    --gc-radius: 18px;
    --gc-container: 1180px;

    /* Header space:
       Festival ticker + main header */
    --gc-header-offset: 100px;
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "DM Sans", sans-serif;

    color: var(--gc-dark);
    background: var(--gc-white);

    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}


/* =========================================================
   3. COMMON CONTAINER
   ========================================================= */

.hotel-container {
    width: min(calc(100% - 40px), var(--gc-container));
    margin-inline: auto;
}


/* =========================================================
   4. BREADCRUMB
   ========================================================= */

.hotel-breadcrumb {
    background: var(--gc-white);
    border-bottom: 1px solid var(--gc-border);
}

.hotel-breadcrumb .hotel-container {
    min-height: 52px;

    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 14px;
    color: var(--gc-muted);
}

.hotel-breadcrumb a {
    color: var(--gc-blue);
    font-weight: 600;
}

.hotel-breadcrumb i {
    color: #9aa7b6;
    font-size: 9px;
}

.hotel-breadcrumb span {
    color: var(--gc-dark);
    font-weight: 600;
}


/* =========================================================
   5. HERO
   ========================================================= */

.hotel-hero {
    position: relative;
    overflow: visible;

    background:
        linear-gradient(100deg,
            rgba(16, 32, 51, 0.96),
            rgba(16, 32, 51, 0.78));
}

.hotel-hero .hotel-container {
    min-height: 350px;
}

.hotel-hero-content {
    padding: 35px 0 40px;
}

.hotel-hero-content {
    width: 100%;
    max-width: 780px;

    padding: 58px 0 64px;
}

.hotel-location {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 14px;

    color: #dbeafe;

    font-size: 14px;
    font-weight: 700;
}

.hotel-location i {
    color: var(--gc-orange);
}

.hotel-hero h1 {
    margin: 0;

    color: var(--gc-white);

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;

    letter-spacing: -1.5px;

    font-weight: 800;
}

.hotel-hero p {
    max-width: 680px;

    margin: 18px 0 28px;

    color: #e5edf6;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   6. DIRECTORY SEARCH
   Hero ke niche + sticky
   ========================================================= */

.hotel-search {
    position: sticky;

    top: var(--gc-header-offset);

    z-index: 900;

    width: 100%;

    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    background: rgba(255, 255, 255, 0.97);

    border-top: 1px solid var(--gc-border);
    border-bottom: 1px solid var(--gc-border);

    box-shadow:
        0 5px 18px rgba(16, 32, 51, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Search input */

.hotel-search input {
    width: min(100%, 720px);

    height: 52px;

    padding: 0 125px 0 46px;

    border: 1px solid #dce5ef;
    border-radius: 14px;

    outline: none;

    background: var(--gc-white);
    color: var(--gc-dark);

    font-size: 15px;

    box-shadow:
        0 5px 18px rgba(16, 32, 51, 0.08);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Search icon */

.hotel-search>i {
    position: absolute;

    left: calc(50% - 330px);

    color: var(--gc-blue);

    font-size: 17px;

    pointer-events: none;
}


/* Placeholder */

.hotel-search input::placeholder {
    color: #8996a7;
}


/* Input focus */

.hotel-search input:focus {
    border-color: var(--gc-blue);

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10),
        0 7px 22px rgba(16, 32, 51, 0.10);
}


/* Search button */

.hotel-search button {
    position: absolute;

    left: calc(50% + 250px);

    height: 42px;
    min-width: 108px;

    padding: 0 20px;

    border: 0;
    border-radius: 10px;

    background: var(--gc-blue);
    color: var(--gc-white);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 12px rgba(37, 99, 235, 0.22);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.hotel-search button:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}


/* =========================================================
   7. COMMON SECTIONS
   ========================================================= */

.hotel-info-section,
.hotel-listing-section,
.areas-section,
.guide-section,
.faq-section {
    padding: 78px 0;
}


/* Section heading */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}

.section-heading.centered {
    display: block;

    max-width: 760px;

    margin: 0 auto 38px;

    text-align: center;
}

.section-eyebrow {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--gc-blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.section-heading h2,
.guide-content h2 {
    margin: 0;

    color: var(--gc-dark);

    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15;

    letter-spacing: -0.7px;
}

.section-heading p {
    margin: 10px 0 0;

    color: var(--gc-text);

    font-size: 16px;
}


/* =========================================================
   8. QUICK INFO
   ========================================================= */

.hotel-info-section {
    padding-top: 34px;
    padding-bottom: 34px;

    background: var(--gc-bg);
}

.hotel-info-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.hotel-info-card {
    min-height: 92px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px 20px;

    background: var(--gc-white);

    border: 1px solid var(--gc-border);
    border-radius: 14px;
}

.info-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #eff6ff;
    color: var(--gc-blue);

    font-size: 19px;
}

.hotel-info-card strong,
.hotel-info-card span {
    display: block;
}

.hotel-info-card strong {
    margin-bottom: 3px;

    color: var(--gc-dark);

    font-size: 15px;
}

.hotel-info-card span {
    color: var(--gc-muted);

    font-size: 13px;
}


/* =========================================================
   9. HOTEL / RESORT LISTING
   ========================================================= */

.hotel-listing-section {
    background: var(--gc-white);
}

.hotel-listing-section+.hotel-listing-section {
    padding-top: 0;
}


/* Listing heading */

.listing-section-heading {
    margin-bottom: 30px;
}

.listing-section-heading h2 {
    margin: 0;

    color: var(--gc-dark);

    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.15;
}

.listing-section-heading p {
    max-width: 700px;

    margin: 9px 0 0;

    color: var(--gc-text);

    font-size: 15px;
}


/* =========================================================
   10. HOTEL GRID
   ========================================================= */

.hotel-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   11. HOTEL / RESORT CARD
   ========================================================= */

.hotel-card {
    height: 100%;

    overflow: hidden;

    background: var(--gc-white);

    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);

    box-shadow: var(--gc-shadow);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.hotel-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--gc-shadow-hover);

    border-color: #d8e3f0;
}

.hotel-card-content {
    height: 100%;
    min-height: 250px;

    display: flex;
    flex-direction: column;

    padding: 24px;
}


/* Card type */

.hotel-card-type {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 9px;

    color: var(--gc-blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
}

.hotel-card-type i {
    font-size: 12px;
}


/* Resort distinction */

.hotel-card-type:has(i.fa-tree) {
    color: var(--gc-orange);
}


/* Card title */

.hotel-card h3 {
    margin: 0 0 11px;

    font-size: 21px;

    line-height: 1.3;
}

.hotel-card h3 a {
    transition: color 0.2s ease;
}

.hotel-card h3 a:hover {
    color: var(--gc-blue);
}


/* Card location */

.hotel-card-location {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    margin-bottom: 12px;

    color: var(--gc-text);

    font-size: 13px;

    line-height: 1.5;
}

.hotel-card-location i {
    flex: 0 0 auto;

    margin-top: 4px;

    color: var(--gc-orange);
}


/* Card description */

.hotel-card p {
    margin: 0 0 20px;

    color: var(--gc-text);

    font-size: 14px;

    line-height: 1.65;
}


/* Card button */

.hotel-card-button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    width: fit-content;

    margin-top: auto;

    color: var(--gc-blue);

    font-size: 14px;
    font-weight: 800;
}

.hotel-card-button i {
    font-size: 11px;

    transition: transform 0.2s ease;
}

.hotel-card-button:hover i {
    transform: translateX(3px);
}


/* Coming soon */

.hotel-coming-soon {
    color: #8a96a5;

    cursor: default;

    font-size: 13px;
}

.hotel-coming-soon:hover {
    color: #8a96a5;
}


/* =========================================================
   12. SEARCH — NO RESULT
   ========================================================= */

.directory-search-no-result {
    width: 100%;
    max-width: 650px;

    margin: 30px auto 0;

    padding: 28px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    text-align: center;

    background: var(--gc-bg);

    border: 1px solid var(--gc-border);
    border-radius: 16px;
}

.directory-search-no-result[hidden] {
    display: none !important;
}

.directory-search-no-result:not([hidden]) {
    display: flex;
}

.directory-search-no-result i {
    margin-bottom: 8px;

    color: var(--gc-blue);

    font-size: 22px;
}

.directory-search-no-result strong {
    color: var(--gc-dark);

    font-size: 16px;
    font-weight: 700;
}

.directory-search-no-result span {
    color: var(--gc-muted);

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   13. RESORT SECTION
   ========================================================= */

.resort-listing-section {
    padding-top: 20px;
}

.resort-listing-section .section-eyebrow {
    color: var(--gc-orange);
}


/* =========================================================
   14. POPULAR HOTEL AREAS
   ========================================================= */

.areas-section {
    background: var(--gc-bg);
}

.areas-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.area-card {
    min-width: 0;

    padding: 26px 24px;

    background: var(--gc-white);

    border: 1px solid var(--gc-border);
    border-radius: 16px;

    box-shadow:
        0 6px 20px rgba(16, 32, 51, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.area-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(16, 32, 51, 0.08);

    border-color: #d8e3f0;
}

.area-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin-bottom: 17px;

    border-radius: 12px;

    background: #fff7ed;
    color: var(--gc-orange);

    font-size: 17px;
}

.area-card h3 {
    margin: 0 0 8px;

    color: var(--gc-dark);

    font-size: 19px;
    line-height: 1.3;
}

.area-card p {
    margin: 0 0 10px;

    color: var(--gc-text);

    font-size: 14px;

    line-height: 1.65;
}

.area-best-for {
    display: block;

    color: var(--gc-blue);

    font-size: 12px;

    font-weight: 700;

    line-height: 1.5;
}


/* =========================================================
   15. GUIDE
   ========================================================= */

.guide-section {
    background: var(--gc-white);
}

.guide-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr) minmax(300px, 0.8fr);

    gap: 50px;

    align-items: center;
}

.guide-content>p {
    max-width: 700px;

    margin: 15px 0 25px;

    color: var(--gc-text);

    font-size: 16px;
}

.guide-points {
    display: grid;

    gap: 13px;
}

.guide-points>div {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    color: var(--gc-text);

    font-size: 14px;
}

.guide-points i {
    width: 21px;
    height: 21px;

    flex: 0 0 21px;

    display: grid;
    place-items: center;

    margin-top: 2px;

    border-radius: 50%;

    background: #eff6ff;
    color: var(--gc-blue);

    font-size: 10px;
}


/* =========================================================
   16. GUNACAB GUIDE CARD
   ========================================================= */

.guide-card {
    padding: 32px;

    border-radius: 20px;

    background: var(--gc-dark);
    color: var(--gc-white);

    box-shadow: var(--gc-shadow);
}

.guide-card-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 13px;

    background: rgba(249, 115, 22, 0.15);
    color: var(--gc-orange);

    font-size: 20px;
}

.guide-card>span {
    color: #93c5fd;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.guide-card h3 {
    margin: 9px 0 10px;

    font-size: 24px;

    line-height: 1.25;
}

.guide-card p {
    margin: 0 0 20px;

    color: #dbe4ef;

    font-size: 14px;
}

.guide-card a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--gc-white);

    font-size: 14px;
    font-weight: 800;
}

.guide-card a:hover {
    color: #bfdbfe;
}


/* =========================================================
   17. FAQ
   ========================================================= */

.faq-section {
    background: var(--gc-bg);
}

.faq-list {
    max-width: 850px;

    margin: 0 auto;
}

.faq-list details {
    margin-bottom: 12px;

    overflow: hidden;

    background: var(--gc-white);

    border: 1px solid var(--gc-border);
    border-radius: 14px;
}

.faq-list summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 22px;

    color: var(--gc-dark);

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary i {
    color: var(--gc-blue);

    font-size: 12px;

    transition: transform 0.2s ease;
}

.faq-list details[open] summary i {
    transform: rotate(180deg);
}

.faq-list details p {
    margin: 0;

    padding: 0 22px 21px;

    color: var(--gc-text);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   18. CTA
   ========================================================= */

.hotel-cta {
    padding: 55px 0;

    background: var(--gc-dark);
}

.hotel-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.hotel-cta-content>div {
    max-width: 760px;
}

.hotel-cta-content span {
    color: #93c5fd;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.hotel-cta-content h2 {
    margin: 8px 0;

    color: var(--gc-white);

    font-size: clamp(25px, 3vw, 34px);

    line-height: 1.2;
}

.hotel-cta-content p {
    margin: 0;

    color: #cbd5e1;

    font-size: 14px;
}

.hotel-cta-content>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    flex: 0 0 auto;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 10px;

    background: var(--gc-orange);
    color: var(--gc-white);

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.hotel-cta-content>a:hover {
    transform: translateY(-1px);

    opacity: 0.94;
}


/* =========================================================
   19. ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);

    outline-offset: 3px;
}


/* =========================================================
   20. TABLET
   701px — 1000px
   ========================================================= */

@media (max-width: 1000px) {

    .hotel-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .areas-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hotel-info-grid {
        grid-template-columns: 1fr;
    }

    .guide-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


/* =========================================================
   21. MOBILE
   700px and below
   ========================================================= */

@media (max-width: 700px) {

    :root {
        --gc-header-offset: 92px;
    }


    /* Container */

    .hotel-container {
        width: min(calc(100% - 28px), var(--gc-container));
    }


    /* Breadcrumb */

    .hotel-breadcrumb .hotel-container {
        min-height: 46px;

        gap: 8px;

        overflow-x: auto;

        white-space: nowrap;

        font-size: 12px;
    }


    /* Hero */

    .hotel-hero .hotel-container {
        min-height: 390px;
    }

    .hotel-hero-content {
        padding: 45px 0 50px;
    }

    .hotel-hero h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }

    .hotel-hero p {
        margin-top: 14px;

        font-size: 15px;

        line-height: 1.6;
    }


    /* =====================================================
       MOBILE SEARCH
       ===================================================== */

    .hotel-search {
        top: var(--gc-header-offset);

        min-height: 68px;

        padding: 10px 12px;
    }

    .hotel-search input {
        width: 100%;

        height: 48px;

        padding:
            0 88px 0 42px;

        border-radius: 12px;

        font-size: 14px;
    }

    .hotel-search>i {
        left: 27px;

        font-size: 15px;
    }

    .hotel-search button {
        left: auto;
        right: 18px;

        height: 38px;

        min-width: 76px;

        padding: 0 14px;

        border-radius: 9px;

        font-size: 13px;
    }

    .hotel-search button:hover {
        transform: none;
    }


    /* =====================================================
       SECTIONS
       ===================================================== */

    .hotel-info-section,
    .hotel-listing-section,
    .areas-section,
    .guide-section,
    .faq-section {
        padding: 55px 0;
    }

    .resort-listing-section {
        padding-top: 0;
    }


    /* Headings */

    .section-heading {
        margin-bottom: 25px;
    }

    .section-heading h2,
    .guide-content h2,
    .listing-section-heading h2 {
        font-size: 29px;
    }

    .section-heading p,
    .listing-section-heading p {
        font-size: 14px;
    }


    /* Grids */

    .hotel-grid,
    .areas-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    /* Hotel cards */

    .hotel-card-content {
        min-height: 235px;

        padding: 21px;
    }

    .hotel-card h3 {
        font-size: 20px;
    }

    .hotel-card p {
        min-height: auto;
    }


    /* Area cards */

    .area-card {
        padding: 23px 20px;
    }


    /* Guide */

    .guide-card {
        padding: 25px 22px;
    }

    .guide-card h3 {
        font-size: 22px;
    }


    /* FAQ */

    .faq-list summary {
        padding: 18px;

        font-size: 14px;
    }

    .faq-list details p {
        padding: 0 18px 18px;

        font-size: 13px;
    }


    /* CTA */

    .hotel-cta {
        padding: 42px 0;
    }

    .hotel-cta-content {
        align-items: flex-start;

        flex-direction: column;

        gap: 23px;
    }

    .hotel-cta-content h2 {
        font-size: 27px;
    }

    .hotel-cta-content>a {
        width: 100%;
    }

}


/* =========================================================
   END
   ========================================================= */