*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --red: #ef4444;
    --dark: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --lighter: #f1f5f9;
    --border: #e2e8f0;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}
#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-scene {
    text-align: center;
}
.loader-road {
    width: 260px;
    height: 120px;
    position: relative;
    margin: 0 auto 30px;
}
.loader-tuktuk {
    position: absolute;
    bottom: 20px;
    left: 0;
    animation: tuktukDrive 2s ease-in-out infinite;
    font-size: 3.5rem;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    z-index: 2;
}
@keyframes tuktukDrive {
    0% {
        left: -10%;
        transform: translateY(0);
    }
    25% {
        transform: translateY(-4px);
    }
    50% {
        left: 50%;
        transform: translateX(-50%) translateY(0);
    }
    75% {
        transform: translateY(-3px);
    }
    100% {
        left: 110%;
        transform: translateY(0);
    }
}
.loader-road-line {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #cbd5e1 0px,
        #cbd5e1 15px,
        transparent 15px,
        transparent 25px
    );
    border-radius: 2px;
}
.loader-palm {
    position: absolute;
    bottom: 20px;
    font-size: 2.5rem;
    opacity: 0.4;
}
.loader-palm:nth-child(3) {
    left: 10%;
}
.loader-palm:nth-child(4) {
    right: 5%;
}
.loader-cloud {
    position: absolute;
    top: 0;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: cloudFloat 4s ease-in-out infinite;
}
.loader-cloud:nth-child(5) {
    left: 15%;
}
.loader-cloud:nth-child(6) {
    right: 10%;
    top: 10px;
    font-size: 1.2rem;
    animation-delay: 1.5s;
}
@keyframes cloudFloat {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);
    }
}
.loader-brand {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #1e293b;
    margin-bottom: 8px;
}
.loader-brand span {
    color: #22c55e;
}
.loader-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 20px;
}
.loader-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.loader-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    animation: dotBounce 1.2s ease-in-out infinite;
}
.loader-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: #0ea5e9;
}
.loader-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: #f59e0b;
}
@keyframes dotBounce {
    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
button {
    cursor: pointer;
    border: none;
    font-family: "Inter", sans-serif;
}
ul {
    list-style: none;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.section {
    padding: 80px 0;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}
.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
}
.btn-outline {
    border: 2px solid var(--border);
    color: var(--dark);
    background: var(--white);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-glass {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
}
.badge-deal {
    background: var(--red);
    color: var(--white);
}
.badge-local {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--dark);
}
.nav-logo span {
    color: var(--primary);
}
.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray);
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.nav-btn .count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--red);
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
}

.switch-btn {
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(14, 165, 233, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}
.switch-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}
.lang-btn {
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--light);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.lang-btn:hover {
    border-color: var(--primary);
}
.lang-btn i {
    font-size: 0.7rem;
    color: var(--gray);
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: none;
    z-index: 100;
    min-width: 160px;
}
.lang-dropdown.show {
    display: block;
}
.lang-option {
    padding: 10px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    color: var(--dark);
}
.lang-option:hover {
    background: var(--light);
}
.lang-option.active {
    background: rgba(34, 197, 94, 0.08);
    color: var(--primary);
    font-weight: 600;
}
.lang-option span:first-child {
    font-size: 1.1rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--light);
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark);
    border: 1px solid var(--border);
}

/* MAP HERO */
.map-hero {
    padding: 90px 0 40px;
    background: linear-gradient(180deg, #f0fdf4 0%, var(--white) 100%);
    min-height: 100vh;
}
.map-hero-header {
    text-align: center;
    margin-bottom: 30px;
}
.map-hero-header h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 8px;
}
.map-hero-header h1 span {
    color: var(--primary);
}
.map-hero-header p {
    color: var(--gray);
    font-size: 1rem;
}

/* Search Bar */
.map-search-wrap {
    max-width: 560px;
    margin: 0 auto 30px;
    position: relative;
}
.map-search {
    display: flex;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.map-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 25px rgba(34, 197, 94, 0.15);
}
.map-search input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--dark);
    background: transparent;
    font-family: inherit;
}
.map-search input::placeholder {
    color: #94a3b8;
}
.map-search button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.map-search button:hover {
    filter: brightness(1.1);
}
.search-clear {
    position: absolute;
    right: 110px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    color: var(--gray);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.search-clear.show {
    display: flex;
}

@media (max-width: 768px) {
    .map-search-wrap {
        margin-bottom: 20px;
    }
    .map-search input {
        padding: 12px 18px;
        font-size: 0.88rem;
    }
    .map-search button {
        padding: 12px 18px;
        font-size: 0.82rem;
    }
    .map-search button span {
        display: none;
    }
    .search-clear {
        right: 70px;
    }
}

/* Places Modal (shared by province click + search) */
.places-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 30px 16px;
}
.places-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.places-modal {
    background: var(--white);
    border-radius: 20px;
    width: 700px;
    max-width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.pm-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 22px 24px;
    color: var(--white);
    border-radius: 20px 20px 0 0;
    position: relative;
    flex-shrink: 0;
}
.pm-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
    padding-right: 40px;
}
.pm-header p {
    font-size: 0.82rem;
    opacity: 0.85;
}
.pm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
}
.pm-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Category tabs */
.pm-cats {
    display: flex;
    gap: 6px;
    padding: 12px 20px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
    background: var(--light);
    flex-shrink: 0;
}
.pm-cats::-webkit-scrollbar {
    height: 0;
}
.pm-cat-btn {
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.73rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.pm-cat-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pm-cat-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Scrollable content */
.pm-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.pm-body::-webkit-scrollbar {
    width: 6px;
}
.pm-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

/* Category group in search mode */
.pm-cat-group {
    margin-bottom: 20px;
}
.pm-cat-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    padding: 8px 14px;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pm-cat-group-title .cnt {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 500;
}

/* Place card inside modal */
.pm-place {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.pm-place:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
    transform: translateY(-1px);
}
.pm-place-img {
    width: 80px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.pm-place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pm-place-info {
    flex: 1;
}
.pm-place-info .pm-type {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.pm-place-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}
.pm-place-info p {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.4;
}
.pm-place-info .pm-meta {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    font-size: 0.7rem;
    color: var(--gray);
}
.pm-place-info .pm-meta i {
    color: var(--primary);
}
.pm-place-info .pm-prov {
    font-size: 0.65rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 3px;
}

.pm-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}
.pm-empty i {
    font-size: 2.5rem;
    color: var(--border);
    margin-bottom: 12px;
    display: block;
}

@media (max-width: 768px) {
    .places-modal {
        max-height: 95vh;
        border-radius: 16px;
    }
    .pm-header {
        padding: 18px 20px;
        border-radius: 16px 16px 0 0;
    }
    .pm-header h2 {
        font-size: 1.1rem;
    }
    .pm-body {
        padding: 12px 14px;
    }
    .pm-place-img {
        width: 65px;
        height: 55px;
    }
}


.map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* SVG Map */
.map-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}
.map-container svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.1));
}
.map-container svg path {
    fill: #d1fae5;
    stroke: var(--white);
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s;
}
.map-container svg path:hover {
    fill: #86efac;
    transform-origin: center;
}
.map-container svg path.active {
    fill: var(--primary);
}
/* Province labels */
.prov-label {
    position: absolute;
    pointer-events: none;
    font-size: 0.65rem;
    font-weight: 700;
    color: #065f46;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

/* Default prompt */
.map-prompt {
    text-align: center;
    padding: 80px 30px;
    color: var(--gray);
}
.map-prompt i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 16px;
}
.map-prompt h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.map-prompt p {
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .map-layout {
        grid-template-columns: 1fr;
    }
    .map-container {
        max-width: 320px;
    }
    .map-hero-header h1 {
        font-size: 1.6rem;
    }
    .prov-panel {
        max-height: 60vh;
    }
}
@media (max-width: 480px) {
    .map-container {
        max-width: 260px;
    }
    .map-hero {
        padding: 80px 0 30px;
    }
}

/* BEAUTIFUL PLACES */
.beautiful-section {
    background: var(--white);
    padding: 60px 0 70px;
}
.beautiful-header {
    text-align: center;
    margin-bottom: 36px;
}
.beautiful-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.beautiful-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.beautiful-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 14px;
}
/* First item spans 2 rows */
.beautiful-grid .bp-card:nth-child(1) {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
/* 5th item spans 2 columns */
.beautiful-grid .bp-card:nth-child(5) {
    grid-column: 2 / 4;
}

.bp-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}
.bp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.bp-card:hover img {
    transform: scale(1.08);
}
.bp-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0) 55%
    );
    transition: background 0.3s;
}
.bp-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.1) 60%
    );
}
.bp-card-info {
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    z-index: 2;
    color: var(--white);
}
.bp-card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.bp-card-info p {
    font-size: 0.75rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
}
.bp-card-info .bp-tag {
    position: absolute;
    top: -100%;
    right: 0;
    /* We'll position this at top of card instead */
}
.bp-card .bp-top-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.bp-card .bp-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 3px;
}
.bp-card .bp-rating i {
    color: #fbbf24;
    font-size: 0.6rem;
}

/* Scroll row for more places */
.beautiful-scroll-wrap {
    margin-top: 20px;
}
.beautiful-scroll-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.beautiful-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}
.beautiful-scroll::-webkit-scrollbar {
    height: 4px;
}
.beautiful-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
.bs-card {
    flex-shrink: 0;
    width: 200px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
}
.bs-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.4s;
}
.bs-card:hover img {
    transform: scale(1.08);
}
.bs-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
}
.bs-card-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    color: var(--white);
}
.bs-card-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.bs-card-info p {
    font-size: 0.65rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .beautiful-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 200px);
    }
    .beautiful-grid .bp-card:nth-child(5) {
        grid-column: auto;
    }
}
@media (max-width: 768px) {
    .beautiful-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }
    .beautiful-grid .bp-card:nth-child(1) {
        grid-row: auto;
    }
    .beautiful-grid .bp-card:nth-child(5) {
        grid-column: auto;
    }
    .beautiful-header h2 {
        font-size: 1.5rem;
    }
    .bs-card {
        width: 170px;
    }
    .bs-card img {
        height: 120px;
    }
}
@media (max-width: 480px) {
    .beautiful-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 160px);
        gap: 10px;
    }
}

/* REGISTERED ESTABLISHMENTS */
.reg-section {
    background: var(--light);
    padding: 60px 0 70px;
}
.reg-header {
    text-align: center;
    margin-bottom: 16px;
}
.reg-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.reg-header p {
    color: var(--gray);
    font-size: 0.92rem;
}

/* Filter tabs */
.reg-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.reg-filter {
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.reg-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.reg-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Grid */
.reg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Card */
.reg-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.reg-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.12);
    transform: translateY(-4px);
}
.reg-card-img {
    height: 170px;
    overflow: hidden;
    position: relative;
}
.reg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.reg-card:hover .reg-card-img img {
    transform: scale(1.06);
}
.reg-card-img .reg-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.reg-card-img .reg-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 3px;
}
.reg-card-img .reg-rating i {
    color: #fbbf24;
    font-size: 0.6rem;
}
.reg-card-body {
    padding: 14px 16px;
}
.reg-card-body h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.reg-card-body .reg-loc {
    font-size: 0.75rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.reg-card-body .reg-loc i {
    color: var(--primary);
    font-size: 0.65rem;
}
.reg-card-body .reg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.reg-card-body .reg-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 50px;
    background: var(--light);
    color: var(--gray);
    border: 1px solid var(--border);
}
.reg-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
}
.reg-card-footer .reg-price {
    font-family: "Poppins";
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}
.reg-card-footer .reg-price span {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 400;
}
.reg-card-footer .reg-view {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.reg-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}
.reg-empty i {
    font-size: 2rem;
    color: var(--border);
    margin-bottom: 10px;
    display: block;
}

/* Load more */
.reg-load-more {
    text-align: center;
    margin-top: 24px;
}
.reg-load-btn {
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
}
.reg-load-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .reg-header h2 {
        font-size: 1.5rem;
    }
    .reg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .reg-card-img {
        height: 140px;
    }
    .reg-filters {
        gap: 6px;
    }
    .reg-filter {
        padding: 7px 12px;
        font-size: 0.72rem;
    }
}
@media (max-width: 480px) {
    .reg-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .reg-section {
        padding: 40px 0 50px;
    }
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.footer-brand h3 span {
    color: var(--primary);
}
.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
}

/* CART SIDEBAR */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}
.cart-sidebar.open {
    right: 0;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}
.cart-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--gray);
    font-size: 1.1rem;
    transition: all 0.3s;
}
.cart-close:hover {
    background: #fee2e2;
    color: var(--red);
}
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border);
}
.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info {
    flex: 1;
}
.cart-item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}
.cart-item-info p {
    font-size: 0.8rem;
    color: var(--gray);
}
.cart-item-info .price {
    color: var(--primary);
    font-weight: 700;
    margin-top: 4px;
}
.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fee2e2;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.8rem;
    transition: all 0.3s;
    align-self: center;
}
.cart-item-remove:hover {
    background: var(--red);
    color: var(--white);
}
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.cart-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: var(--border);
}
.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--light);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}
.cart-total span:last-child {
    color: var(--primary);
    font-family: "Poppins";
}
.checkout-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}
.checkout-btn:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* TOAST */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    box-shadow: var(--shadow-lg);
    animation:
        slideInRight 0.4s ease,
        slideOutRight 0.4s ease 2.6s forwards;
}
.toast .toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.toast .toast-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
}
.toast .toast-icon.info {
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary);
}
.toast .toast-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
}
.toast .toast-msg {
    font-size: 0.9rem;
    color: var(--dark);
}
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    border: none;
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

/* RESPONSIVE */
/* ============ RESPONSIVE ============ */
@media (max-width: 1280px) {
    .container {
        max-width: 100%;
        padding: 0 24px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hotels-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .flash-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        z-index: 999;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        color: #fff;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links a:hover {
        color: var(--primary);
    }
    .nav-toggle {
        display: flex;
    }
    .navbar {
        padding: 10px 0;
    }
    .nav-logo h1 {
        font-size: 1.3rem;
    }
    .nav-logo .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .switch-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .switch-btn span:last-child {
        display: none;
    }
    .nav-btn {
        width: 38px;
        height: 38px;
    }
    #authBtn {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
    }

    /* Map Hero */
    .map-hero {
        padding: 80px 0 30px;
        min-height: auto;
    }
    .map-hero-header h1 {
        font-size: 1.5rem;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.92rem;
        margin-bottom: 2rem;
    }
    .container {
        padding: 0 16px;
    }

    /* Flash Deals */
    .flash-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .flash-timer {
        margin-top: 12px;
    }
    .flash-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .deal-card-img {
        height: 170px;
    }
    .deal-card-body h3 {
        font-size: 1rem;
    }

    /* Hotels */
    .hotels-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hotel-card-img {
        height: 180px;
    }

    /* Vehicles */
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .vehicle-card-img {
        height: 130px;
        padding: 12px;
    }
    .vehicle-card-body h3 {
        font-size: 0.88rem;
    }
    .vehicle-card-body .specs {
        gap: 8px;
    }
    .vehicle-card-body .spec {
        font-size: 0.65rem;
    }

    /* Experiences */
    .exp-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .exp-card-img {
        height: 170px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Cart */
    .cart-sidebar {
        width: 100%;
        max-width: 100vw;
    }
    .toast {
        min-width: auto;
        max-width: calc(100vw - 40px);
    }
    .toast .toast-msg {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.3rem;
    }
    .section-subtitle {
        font-size: 0.82rem;
    }
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    .deal-card-body {
        padding: 14px;
    }
    .deal-card-body h3 {
        font-size: 0.95rem;
    }
    .deal-card-body p {
        font-size: 0.8rem;
    }
    .deal-price .new {
        font-size: 1.1rem;
    }
    .hotel-card-body h3 {
        font-size: 0.95rem;
    }

    /* Loader */
    .loader-road {
        width: 200px;
        height: 100px;
    }
    .loader-tuktuk {
        font-size: 2.5rem;
    }
    .loader-brand {
        font-size: 1.6rem;
    }
    .loader-palm {
        font-size: 2rem;
    }
}

/* Placeholder Avatar එක සඳහා CSS */
.pm-place-shortname-avatar {
    width: 60px; /* ඔබට අවශ්‍ය ප්‍රමාණය */
    height: 60px;
    border-radius: 50%; /* රවුමක් කිරීමට */
    background-color: #4CAF50; /* කොළ පැහැති පසුබිමක් (ඔබට කැමති වර්ණයක්) */
    color: white; /* අකුරු වර්ණය */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0; /* ප්‍රමාණය වෙනස් නොවන පරිදි */
    margin-right: 15px; /* තොරතුරු වලින් පරතරයක් */
}

/* pm-place div එක (flexbox) */
.pm-place.no-img {
    display: flex;
    align-items: center; /* මැදට පෙළගැස්වීම */
}

/* pm-place-img div එක තවදුරටත් අවශ්‍ය නොවන නිසා එය සඟවන්න/ඉවත් කරන්න */
/* හෝ pm-place no-img හරහා පාලනය කරන්න */
.pm-place.no-img .pm-place-img {
    display: none;
}



/* සෙවුම් තීරුව වටපිටාව */
.map-search-wrap {
    max-width: 560px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1000; /* ලැයිස්තුව උඩින් පෙන්වීමට */
}

/* සෙවුම් තීරුව */
.map-search {
    display: flex;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
}

.map-search input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--dark);
    background: transparent;
}

.map-search button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s;
}

/* ප්‍රතිඵල ලැයිස්තුව (Suggestions List) */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px); /* සෙවුම් තීරුවට මඳක් පහළින් */
    left: 0;
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background-color: #f9f9f9;
}

.suggestion-item strong {
    font-size: 0.95rem;
    color: var(--dark);
}

.suggestion-item small {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

/* Clear බොත්තම */
.search-clear {
    position: absolute;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: none;
}

.suggestion-content {
    display: flex;
    align-items: center; /* අයිකනය සහ පෙළ මැදින් පෙළගැසීමට */
}

.text-info {
    display: flex;
    flex-direction: column;
}

.search-clear.show { display: flex; }

/* Responsive වෙනස්කම් */
@media (max-width: 768px) {
    .map-search input { padding: 12px 18px; }
    .map-search button { padding: 12px 20px; }
    .map-search button span { display: none; }
    .search-clear { right: 80px; }
}

/* AGENCY DETAIL PANEL */
.hotel-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 30px 16px;
}
.hotel-panel-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.hotel-panel {
    background: var(--white);
    border-radius: 20px;
    width: 740px;
    max-width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin: auto;
}
.ap-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}
.ap-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Hero Banner */
.ap-hero {
    height: 260px;
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}
.ap-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ap-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
}
.ap-hero-info {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 2;
    color: var(--white);
}
.ap-hero-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.ap-hero-info .ap-loc {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ap-hero-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

/* Body */
.ap-body {
    padding: 24px;
}
.ap-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.ap-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--gray);
}
.ap-meta-item i {
    color: var(--primary);
    width: 16px;
}
.ap-meta-item strong {
    color: var(--dark);
}

.ap-section {
    margin-bottom: 24px;
}
.ap-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ap-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* Services */
.ap-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ap-service {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--dark);
    font-weight: 500;
}
/* Gallery */
.ap-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ap-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
}
.ap-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.ap-gallery-item:hover img {
    transform: scale(1.1);
}
.ap-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}
.ap-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

/* Reviews */
.ap-review {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
}
.ap-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.ap-review-header .name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark);
}
.ap-review-header .country {
    font-size: 0.75rem;
    color: var(--gray);
}
.ap-review p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    font-style: italic;
}

/* Actions */
.ap-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* ඔබේ CSS ගොනුවට මෙය එකතු කරන්න */
.pm-body {
    position: relative;
    height: 400px; /* මෝඩල් එකේ උස */
    overflow-y: auto;
}
#map {
    display: none;
    height: 300px;
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 50px;      /* ඔබේ ලෝගෝ එකේ ප්‍රමාණයට අනුව මෙය වෙනස් කරන්න */
    height: 50px;
    object-fit: contain;
    margin-right: 10px;
}

/* Language Translater */

/* --- Language Translator Styles --- */

/* Google Translate මෙනුවේ මුල් කොටස් සැඟවීම */
.goog-te-gadget-simple {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    padding: 8px 15px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    display: inline-block !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.goog-te-gadget-simple img,
.goog-te-gadget-simple .goog-te-menu-value span:first-child,
.goog-te-gadget-simple .goog-te-menu-value span:last-child {
    display: none !important;
}

/* අපේ අලුත් ලේබලය එකතු කිරීම */
.goog-te-menu-value::after {
    content: "▼ 🌐 භාෂාව තෝරන්න";
    color: #333;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
