@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500&display=swap');

:root {
    --primary: #007B7A; /* Vibrant Teal */
    --primary-light: #20B2AA; /* Light Sea Green */
    --primary-dark: #004D40; /* Very Dark Teal */
    --bg-cream: #F8F7F2; /* Warmer, softer cream */
    --text-dark: #1F2933; /* Soft Black */
    --text-light: #616E7C; /* Soft Gray */
    --text-white: #FFFFFF;
    
    /* Splash color */
    --splash: rgba(32, 178, 170, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar */
header {
    background: transparent;
    position: absolute; 
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    background: transparent;
    position: fixed;
    padding: 1.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--text-white);
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 123, 122, 0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 123, 122, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

nav .logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -1px;
    transition: color 0.3s ease;
    animation: fadeInDown 0.8s ease forwards;
    white-space: nowrap;
}

header:not(.scrolled) nav .logo {
    color: var(--primary-dark);
}

/* Hamburger Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled .nav-toggle span {
    background-color: var(--primary-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
    background-color: var(--primary-dark) !important;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: var(--primary-dark) !important;
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 77, 64, 0.4);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li {
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}
nav ul li:nth-child(1) { animation-delay: 0.1s; }
nav ul li:nth-child(2) { animation-delay: 0.2s; }
nav ul li:nth-child(3) { animation-delay: 0.3s; }
nav ul li:nth-child(4) { animation-delay: 0.4s; }
nav ul li:nth-child(5) { animation-delay: 0.5s; }

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

header:not(.scrolled) nav ul li a {
    color: var(--text-dark);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    transform: scaleX(1);
}

header:not(.scrolled) nav ul li a::after {
    background: var(--primary);
}

/* --- Mega Menu Styles --- */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chevron {
    transition: transform 0.3s ease;
}

.has-dropdown:hover .chevron,
.has-dropdown.mobile-active .chevron {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 130%; /* slightly below to allow hover area */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 123, 122, 0.12);
    box-shadow: 0 24px 48px rgba(0, 77, 64, 0.18), 0 4px 16px rgba(0, 123, 122, 0.08);
    border-radius: 24px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    min-width: 650px;
    color: #1F2933;
}

/* Create an invisible bridge so hover doesn't break */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 30px;
}

@media (min-width: 1025px) {
    .has-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

/* Grid Layout for Mega Menu */
.mega-grid {
    display: flex;
    gap: 3rem;
}

.mega-group {
    flex: 1;
}

.mega-group-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #005F5F;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(0, 123, 122, 0.15);
}

.mega-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mega-link-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: #1F2933;
    font-weight: 500;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Reset the underline effect for mega links */
.mega-link-item::after {
    display: none !important;
}

.mega-link-item:hover {
    background: var(--splash);
    transform: translateX(5px);
}

.mega-icon {
    background: rgba(0, 123, 122, 0.1);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mega-icon svg {
    width: 24px;
    height: 24px;
}

.mega-link-item:hover .mega-icon {
    background: var(--primary);
    color: var(--text-white);
}

.mega-text h5 {
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: #003D36;
    font-weight: 700;
}

.mega-text p {
    font-size: 0.85rem;
    color: #4A5568;
    line-height: 1.4;
    margin: 0;
}

/* Reviews Mega Menu Layout */
.mega-reviews {
    display: flex;
    gap: 3rem;
    min-width: 700px;
}

.review-stats {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding-right: 2rem;
}

.rating-circle {
    width: 100px;
    height: 100px;
    background: var(--splash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    border: 4px solid var(--primary-light);
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.rating-max {
    font-size: 1rem;
    opacity: 0.6;
    margin-top: 10px;
}

.rating-details .stars {
    color: #FFB800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.sentiment-bar {
    width: 100%;
    height: 8px;
    background: #FF5252;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    margin-bottom: 0.5rem;
}

.good-bar {
    height: 100%;
    background: #4CAF50;
}
.bad-bar {
    height: 100%;
    background: #FF5252;
}

.sentiment-text {
    font-size: 0.8rem;
    font-weight: 600;
}
.good-text { color: #4CAF50; }
.bad-text { color: #FF5252; }

.recent-reviews {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    display: flex;
    gap: 15px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.review-content h6 {
    font-size: 1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-stars {
    color: #FFB800;
    font-size: 0.85rem;
}

.review-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.5;
}

.btn-all-reviews {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    align-self: flex-start;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-all-reviews:hover {
    border-bottom-color: var(--primary);
    transform: translateX(5px);
}


/* --- Mega Menu Compact Styles --- */
.mega-menu.compact {
    min-width: 600px; /* Reduced width */
    padding: 1.5rem 1.8rem;
    background: #ffffff;
}

.mega-compact-grid {
    display: flex;
    gap: 2rem;
}

.mega-links-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-link-item-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2D3748;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 7px 10px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.mega-link-item-compact span {
    color: #2D3748;
    transition: color 0.25s ease;
}

.mega-link-item-compact:hover {
    background: rgba(0, 123, 122, 0.08);
    transform: translateX(4px);
    color: #005F5F;
}

.mega-link-item-compact:hover span {
    color: #005F5F;
    font-weight: 600;
}

.mega-link-item-compact::after {
    display: none !important;
}

.mega-icon-compact {
    color: #007B7A;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 123, 122, 0.1);
    border-radius: 6px;
    padding: 4px;
    transition: background 0.25s ease, color 0.25s ease;
}
.mega-icon-compact svg {
    width: 100%;
    height: 100%;
}
.mega-link-item-compact:hover .mega-icon-compact {
    background: #007B7A;
    color: #ffffff;
}

/* Compact Testimonial Block */
.testimonial-block {
    flex: 1;
    border-left: 1px solid rgba(0,0,0,0.05);
    padding-left: 2rem;
}

.testi-stats-container {
    margin-bottom: 1rem;
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.rating-circle-sm {
    width: 60px;
    height: 60px;
    background: var(--splash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    border: 3px solid var(--primary-light);
}

.rating-number-sm {
    font-size: 1.5rem;
    font-weight: 700;
}

.rating-max-sm {
    font-size: 0.7rem;
    opacity: 0.6;
}

.testi-info-sm {
    display: flex;
    flex-direction: column;
}

.stars-sm {
    color: #FFB800;
    font-size: 1rem;
    letter-spacing: 1px;
}
.testi-info-sm span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.sentiment-bar-sm {
    width: 100%;
    height: 6px;
    background: #FF5252;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
}

.recent-reviews-sm {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.review-item-sm {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}
.review-item-sm h6 {
    font-size: 0.85rem;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
}
.review-item-sm .review-stars {
    color: #FFB800;
}
.review-item-sm p {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Buttons and Form */
.btn-beri-ulasan {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}
.btn-beri-ulasan:hover {
    background: var(--primary-dark);
}

.testi-form-container {
    margin-top: 10px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testi-form-container input[type="text"],
.testi-form-container textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-family: inherit;
}

.testi-form-container input[type="text"]:focus,
.testi-form-container textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.star-rating-input {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-input {
    display: flex;
    flex-direction: row-reverse; /* For CSS trick */
    justify-content: flex-end;
}

.stars-input input {
    display: none;
}

.stars-input label {
    font-size: 1.2rem;
    color: #ccc;
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.2s;
}

.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label {
    color: #FFB800;
}

.testi-form-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel {
    background: #eee;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}
.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    flex: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Use a beautiful, bright coastal image */
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

/* Add a beautiful gradient overlay to make text pop while keeping the image vibrant */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 77, 64, 0.85) 0%, rgba(0, 77, 64, 0.4) 50%, rgba(0, 77, 64, 0.1) 100%);
    z-index: 1;
}

/* Elegant soft fade at the bottom to blend into the next section perfectly */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 250px;
    background: linear-gradient(to bottom, rgba(248, 247, 242, 0) 0%, var(--bg-cream) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    position: relative;
    z-index: 20; /* Ensure text and button are always on top of the mask */
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hero-text-box {
    max-width: 650px;
    background: transparent;
}

.section-dash {
    width: 40px;
    height: 4px;
    background-color: var(--primary-light);
    margin-bottom: 2rem;
    border-radius: 2px;
}
.hero .section-dash {
    background-color: var(--text-white);
}

.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-white);
    letter-spacing: -1.5px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 500px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--text-white);
    color: var(--primary-dark);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-primary .icon-circle {
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: var(--primary-light);
    color: var(--text-white);
}
.btn-primary:hover .icon-circle {
    background: var(--text-white);
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Sections - Left Right Asymmetrical Layout */
.section-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Abstract organic background blobs */
.splat-bg {
    position: absolute;
    width: 700px;
    height: 700px;
    background: var(--splash);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    max-width: 100vw;
}
.splat-1 { top: 5%; left: -250px; }
.splat-2 { bottom: 5%; right: -250px; background: rgba(0, 77, 64, 0.08); }

.split-layout {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: clamp(2rem, 3.5vw, 4rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.content-left {
    position: sticky;
    top: 130px;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.content-right {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-right: 45px;
    padding-left: 10px;
}

.content-left h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--primary-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

.content-left p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
}

/* Items Grid (Responsive Cards Layout) */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem 2rem;
    margin-top: 2rem;
    width: 100%;
}

.item-block {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 123, 122, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: flex-start !important; /* Force left alignment in grid */
}
.item-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 123, 122, 0.15);
}

.item-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
}

.item-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,77,64,0.15), transparent);
    pointer-events: none;
}

.item-block img {
    width: 100%;
    height: 240px; /* Standard card image height */
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.item-block:hover img {
    transform: scale(1.08);
}

/* Override right-align styling for grid cards */
.item-block.align-right .item-title {
    justify-content: flex-start;
}
.item-block.align-right .item-desc {
    text-align: left;
}

.item-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-top: 0.5rem;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

.item-title span {
    font-size: 0.85rem !important;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 0 !important;
    vertical-align: middle;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    display: inline-block;
}

.item-desc {
    color: var(--text-light);
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Swiper Carousel Styles */
.swiper-container {
    width: 100%;
    padding: 30px 0 70px;
    position: relative;
}

.swiper-slide {
    width: 320px !important;
    height: 400px !important;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.9);
}

.swiper-button-next, .swiper-button-prev {
    display: none !important;
}
.swiper-pagination {
    bottom: 15px !important;
}
.swiper-pagination-bullet {
    background: var(--primary-light);
    opacity: 0.5;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary) !important;
    width: 26px !important;
    border-radius: 10px !important;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(0, 123, 122, 0.3);
    z-index: 2;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.swiper-slide-active:hover img {
    transform: scale(1.08);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--bg-cream);
    padding: 6rem 5% 3rem;
    margin-top: 6rem;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
    margin-bottom: 3rem;
}
.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -2px;
}
.footer-info {
    display: flex;
    gap: 4rem;
}
.footer-info-col h4 {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.footer-info-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}
.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* Chatbot UI - Themed to match */
.chatbot-toggler {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 123, 122, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.chatbot-toggler:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--primary-dark);
}

.chatbot-window {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 380px;
    height: 550px;
    background: var(--text-white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}
.chatbot-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #F9FAFB;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.message {
    max-width: 85%;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.message.bot {
    background: var(--text-white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.message.user {
    background: var(--primary);
    color: var(--text-white);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 123, 122, 0.2);
}

.chat-footer {
    padding: 15px;
    background: var(--text-white);
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
}
.chat-footer input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #F0F4F8;
    border-radius: 10px;
    outline: none;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}
.chat-footer input:focus {
    border-color: var(--primary-light);
}
.chat-footer button {
    background: var(--primary);
    color: var(--text-white);
    border: none;
    width: 45px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}
.chat-footer button:hover {
    background: var(--primary-dark);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .split-layout {
        grid-template-columns: 36% 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 1.25rem 0;
    }
    
    nav {
        padding: 0 5%;
    }

    header.scrolled nav {
        max-width: 92%;
        padding: 0.75rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        box-shadow: -10px 0 30px rgba(0, 77, 64, 0.15);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 2rem;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        opacity: 1 !important;
        animation: none !important;
    }

    nav ul li a,
    header:not(.scrolled) nav ul li a {
        color: var(--primary-dark);
        font-size: 1.25rem;
    }

    header:not(.scrolled) nav ul li a::after {
        background: var(--primary);
    }

    /* Mobile Mega Menu */
    nav ul {
        overflow-y: auto;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 5rem;
    }

    nav ul li {
        width: 100%;
    }

    .mega-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 123, 122, 0.05);
        border-radius: 12px;
        padding: 0.75rem;
        margin-top: 8px;
        min-width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .has-dropdown.mobile-active .mega-menu {
        display: block;
    }

    .mega-link-item-compact {
        color: #1F2933;
        font-size: 0.95rem;
        padding: 8px 10px;
    }
    .mega-link-item-compact span {
        color: #1F2933;
    }
    .mega-icon-compact {
        background: rgba(0, 123, 122, 0.12);
        color: #007B7A;
    }
    .mega-group-title {
        color: #005F5F;
        font-size: 0.72rem;
        margin-bottom: 0.75rem;
    }

    .mega-grid, .mega-reviews {
        flex-direction: column;
        gap: 2rem;
        min-width: 100%;
    }

    .review-stats {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

    .mega-group-title {
        margin-bottom: 1rem;
    }

    .has-dropdown:hover .mega-menu {
        /* Disable hover on mobile */
        transform: none;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-left {
        width: 100%;
        position: relative;
        top: 0;
    }

    .content-right {
        width: 100%;
    }

    .items-grid {
        margin-top: 2rem;
        gap: 3.5rem;
    }

    .item-block.align-right {
        align-items: flex-start;
    }

    .item-block.align-right .item-title {
        justify-content: flex-start;
    }

    .item-block.align-right .item-desc {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section-wrapper {
        padding: 4.5rem 5%;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 2.2rem;
    }

    .item-img-wrapper {
        width: 100%;
        max-width: 500px;
    }

    .item-block img {
        height: 320px;
    }

    .item-title {
        font-size: 1.8rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logo {
        font-size: 2.8rem;
    }

    #dyn-map-container iframe {
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .btn-primary {
        padding: 13px 26px;
        font-size: 0.95rem;
    }

    .item-block img {
        height: 260px;
    }

    .swiper-slide {
        width: 270px !important;
        height: 340px !important;
    }

    /* Chatbot Responsive */
    .chatbot-toggler {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .chatbot-window {
        bottom: 85px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: 100%;
        height: 65vh;
        max-height: 500px;
    }
}

/* ==========================================================================
   ZIG-ZAG ALTERNATING LAYOUT (PROFIL & SEJARAH) - STORYTELLING
   ========================================================================== */

/* Header Nav - Pill */
header.scrolled nav,
nav {
    border-radius: 50px !important;
}

/* Background Splats */
.splat-3 {
    top: 45%; right: 15%; width: 500px; height: 500px;
    background: rgba(32, 178, 170, 0.08);
    border-radius: 50%; filter: blur(90px); position: absolute; z-index: -1;
}

.zigzag-profil-section {
    position: relative;
    padding: 4rem 5% 6rem 5%;
    overflow: hidden;
}

.zigzag-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem; /* Spacing between rows */
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Reverse row for zig-zag effect */
.zigzag-row.reverse-row {
    direction: rtl; /* Easy way to flip columns visually */
}
.zigzag-row.reverse-row > * {
    direction: ltr; /* Reset text direction inside */
}

/* Columns */
.zigzag-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zigzag-text-col {
    padding: 1rem;
}

/* ---------------------------------------------------
   FRAMES FOR IMAGES
   --------------------------------------------------- */
.zigzag-frame {
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 123, 122, 0.12);
    border: 12px solid var(--text-white);
    border-radius: 40px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.zigzag-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px rgba(0, 123, 122, 0.22);
}

.zigzag-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}
.zigzag-frame:hover img {
    transform: scale(1.05);
}

.frame-glass-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,77,64,0.6), transparent);
    pointer-events: none;
}

/* Specific Frame Shapes */
.circle-frame {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    margin: 0 auto;
    border-width: 8px;
    background: var(--bg-cream);
}
.portrait-frame {
    width: 100%;
    height: 500px;
    border-radius: 40px; /* Pill/rounded shape */
}
.landscape-frame {
    width: 100%;
    height: 380px;
}

/* ---------------------------------------------------
   TEXT & CONTENT ELEMENTS
   --------------------------------------------------- */
.story-tag-header {
    background: rgba(32, 178, 170, 0.12);
    color: var(--primary-dark);
    padding: 8px 22px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.creative-sejarah-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.2;
    letter-spacing: -1px;
}

.verified-badge {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 8px 20px rgba(0, 77, 64, 0.25);
}

.manager-title-text {
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 5px;
}

.manager-name-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.manager-quote-box {
    padding: 1.5rem;
    border-radius: 0 20px 20px 0;
    margin: 1.5rem 0;
}

.story-icon {
    font-size: 1.8rem;
    background: #ffffff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 123, 122, 0.12);
}

.quick-tag {
    font-size: 0.85rem;
    background: #ffffff;
    border: 1px solid rgba(0, 123, 122, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--primary-dark);
    font-weight: 600;
    display: inline-block;
}

.banner-floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.badge-dot {
    width: 12px; height: 12px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px var(--primary);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(32, 178, 170, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(32, 178, 170, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(32, 178, 170, 0); }
}

/* ---------------------------------------------------
   INTERACTIVE BUTTONS
   --------------------------------------------------- */
.sejarah-actions {
    display: flex;
    align-items: center;
}

.profil-chatbot-btn {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 25px rgba(0, 77, 64, 0.25);
    transition: all 0.35s ease;
}
.profil-chatbot-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 77, 64, 0.35);
}

.btn-discover-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: #ffffff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 123, 122, 0.1);
}
.btn-discover-more:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    color: var(--primary);
}
.btn-discover-more .arrow-icon {
    transition: transform 0.3s ease;
}
.btn-discover-more:hover .arrow-icon {
    transform: translateX(5px);
}


/* Rounded Cards Across All Other Sections (EXCEPT Carousel) */
.item-block,
#peta-lokasi > div,
.footer-info-col {
    border-radius: 35px !important;
}

.item-img-wrapper {
    border-radius: 25px !important;
}

/* EXCEPTION: Carousel (.mySwiper) keeps original slide format */
.mySwiper,
.swiper-container,
.swiper-slide {
    border-radius: 20px !important;
}

/* ---------------------------------------------------
   RESPONSIVENESS FOR ZIG-ZAG
   --------------------------------------------------- */
@media (max-width: 992px) {
    .zigzag-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .zigzag-row.reverse-row {
        direction: ltr; /* Remove zigzag on tablet/mobile */
    }
    .zigzag-image-col {
        order: -1; /* Always show image first on mobile */
    }
    .circle-frame {
        width: 280px; height: 280px;
    }
    .portrait-frame {
        height: 350px;
    }
    .landscape-frame {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .zigzag-container {
        gap: 4rem;
    }
    .creative-sejarah-title {
        font-size: 2rem;
    }
    .circle-frame {
        width: 220px; height: 220px;
    }
}

/* ---------------------------------------------------
   RESPONSIVENESS FOR SIMPLE PROFILE CARD
   --------------------------------------------------- */
.profile-simple-section {
    position: relative;
    z-index: 5;
    /* Adding the background similar to the screenshot if needed, but it already has a background image or color from parent section */
}

.profile-card {
    background: var(--text-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.profile-card-left {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.05);
    min-width: 300px;
}

.profile-card-img-wrap {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--bg-cream);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.profile-card-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.profile-card-title {
    color: var(--text-light);
    font-size: 1rem;
}

.profile-card-right {
    flex: 2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-card-heading {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.profile-card-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
    }
    .profile-card-left {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 2rem;
        min-width: unset;
        width: 100%;
    }
    .profile-card-right {
        padding: 2rem;
    }
}

/* ============================================
   MULTI-PAGE: Komponen Baru
   ============================================ */

/* --- Navbar: Link sebagai tag <a> (bukan hanya <span>) --- */
nav .logo {
    text-decoration: none;
}

/* Active state navbar link */
nav ul li a.active {
    color: var(--primary);
}
nav ul li a.active::after {
    width: 100%;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

/* Nav list item ke-6 (Lokasi Wisata) */
nav ul li:nth-child(6) { animation-delay: 0.6s; }

/* --- Page Hero Banner (untuk semua halaman non-beranda) --- */
/* Menggunakan foto asli Pantai Ujung Suso sebagai background konsisten */
.page-hero-banner {
    position: relative;
    height: 400px;
    background-image: url('../images/hero-pantai.jpg');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

/* Overlay gelap natural untuk foto pantai asli */
.page-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 20, 30, 0.35) 0%,
        rgba(0, 50, 45, 0.30) 40%,
        rgba(0, 30, 30, 0.55) 100%
    );
    z-index: 1;
}

/* Subtle bottom gradient untuk teks lebih terbaca */
.page-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(
        to top,
        rgba(0, 30, 30, 0.60) 0%,
        transparent 100%
    );
    z-index: 1;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* overlay sudah di ::before & ::after - ini placeholder kosong */
    pointer-events: none;
}

/* Kelas lama page-hero-photo: override ke foto pantai asli */
.page-hero-photo {
    background-image: url('../images/hero-pantai.jpg') !important;
    background-position: center 55% !important;
}
.page-hero-photo-overlay {
    /* overlay sudah ditangani ::before */
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.page-hero-content .section-dash {
    background: rgba(255,255,255,0.75);
    box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

.page-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
    line-height: 1.15;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.page-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 540px;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* --- Hero Scroll Hint --- */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 50px; }
    50% { opacity: 0.4; height: 30px; }
}

/* --- Spoiler Sections (Beranda) --- */
.spoiler-section {
    padding: 5rem 0;
}

.spoiler-alt {
    background: linear-gradient(to bottom, #f2fbfb, var(--bg-cream));
}

.spoiler-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.spoiler-badge {
    display: inline-block;
    background: var(--splash);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0,123,122,0.2);
}

.spoiler-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.spoiler-header-row h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
}

/* CTA Link */
.spoiler-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}
.spoiler-cta:hover {
    color: var(--primary-dark);
    gap: 12px;
}
.spoiler-cta span {
    transition: transform 0.3s ease;
}
.spoiler-cta:hover span {
    transform: translateX(4px);
}

/* Profil Spoiler Grid */
.spoiler-profil-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3.5rem;
    align-items: center;
}

.spoiler-profil-img {
    position: relative;
    text-align: center;
}
.spoiler-profil-img img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-light);
    box-shadow: 0 12px 40px rgba(0,123,122,0.2);
}
.spoiler-img-badge {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}
.spoiler-profil-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
.spoiler-profil-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* Fasilitas Spoiler Grid */
.spoiler-fac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.spoiler-fac-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,123,122,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spoiler-fac-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,123,122,0.15);
}
.spoiler-fac-img {
    height: 180px;
    overflow: hidden;
}
.spoiler-fac-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.spoiler-fac-card:hover .spoiler-fac-img img {
    transform: scale(1.06);
}
.spoiler-fac-info {
    padding: 1rem 1.2rem;
}
.spoiler-fac-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}
.fac-price-badge {
    display: inline-block;
    font-size: 0.78rem;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

/* Gallery Spoiler Grid */
.spoiler-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 180px);
    gap: 10px;
    border-radius: 16px;
    overflow: hidden;
}
.spoiler-gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}
.gallery-featured {
    grid-row: 1 / 3;
}
.spoiler-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.spoiler-gallery-item:hover img {
    transform: scale(1.07);
}
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.spoiler-gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* Kontak Spoiler */
.spoiler-kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.spoiler-kontak-left h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
.spoiler-kontak-left p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.spoiler-kontak-left .spoiler-cta {
    display: block;
}
.kontak-preview-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.4rem;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0,123,122,0.07);
    border-left: 4px solid var(--primary);
}
.kontak-type {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
}
.kontak-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 2px;
}

/* --- CTA Strip --- */
.cta-strip {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 3.5rem 2rem;
}
.cta-strip-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-strip-inner span {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}
.cta-strip .btn-primary {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}
.cta-strip .btn-primary:hover {
    background: rgba(255,255,255,0.3);
}

/* --- Footer Minimal --- */
.footer-minimal {
    background: var(--primary-dark);
    padding: 2.5rem 2rem;
}
.footer-minimal-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-logo-sm {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    letter-spacing: -0.5px;
}
.footer-minimal p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}
.footer-nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-nav-links a:hover {
    color: rgba(255,255,255,1);
}

/* --- Kontak Page Cards --- */
.kontak-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}
.kontak-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.kontak-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    box-shadow: 0 4px 20px rgba(0,123,122,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary);
}
.kontak-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(0,123,122,0.14);
}
.kontak-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--splash);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.kontak-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kontak-card-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}
.kontak-card-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}
.kontak-info-panel {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(0,123,122,0.1);
    position: sticky;
    top: 120px;
}
.kontak-info-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.2rem;
}
.kontak-info-panel h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}
.kontak-info-panel > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.kontak-chatbot-promo {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--splash);
    border-radius: 14px;
    padding: 1.2rem;
    border: 1px solid rgba(0,123,122,0.15);
}
.chatbot-promo-icon {
    flex-shrink: 0;
    color: var(--primary);
}
.kontak-chatbot-promo strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}
.kontak-chatbot-promo p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

/* --- Lokasi Page --- */
.lokasi-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}
.lokasi-map-col {
    position: sticky;
    top: 120px;
}
.lokasi-map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,123,122,0.14);
    height: 420px;
}
.lokasi-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.map-click-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
}
.lokasi-map-wrapper:hover .map-click-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.4);
}
.map-hover-hint {
    background: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--primary-dark);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.lokasi-map-wrapper:hover .map-hover-hint {
    transform: translateY(0);
}
.lokasi-map-placeholder {
    background: linear-gradient(135deg, #f2fbfb, var(--bg-cream));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(0,123,122,0.25);
}
.map-placeholder-content {
    text-align: center;
}
.map-placeholder-content p {
    color: var(--text-light);
    margin-top: 1rem;
    line-height: 1.7;
}
.lokasi-info-col h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin: 1rem 0 1rem;
}
.lokasi-kontak-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}
.lokasi-kontak-row {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.4rem;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0,123,122,0.07);
}
.lokasi-kontak-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}
.lokasi-kontak-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2px;
}

/* --- Galeri: Masonry Grid --- */
.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}
.masonry-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.masonry-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

/* --- Chatbot: Close Button --- */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.chat-close-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* ============================================
   RESPONSIVE: Halaman Baru
   ============================================ */
@media (max-width: 768px) {
    .page-hero-banner {
        height: 260px;
        padding-bottom: 2.5rem;
    }
    .page-hero-content h1 { font-size: 1.8rem; }

    .spoiler-profil-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .spoiler-fac-grid {
        grid-template-columns: 1fr 1fr;
    }
    .spoiler-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 140px);
    }
    .gallery-featured {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    .spoiler-kontak-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .kontak-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .kontak-info-panel {
        position: static;
    }
    .lokasi-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .lokasi-map-col {
        position: static;
    }
    .lokasi-map-wrapper {
        height: 300px;
    }
    .cta-strip-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-minimal-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav-links {
        justify-content: center;
    }
    .hero-scroll-hint {
        display: none;
    }
    .gallery-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .spoiler-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .spoiler-fac-grid {
        grid-template-columns: 1fr;
    }
    .gallery-masonry-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   VOICE CHATBOT — Komponen & Animasi
   ============================================================ */

/* Toggler Button */
.chatbot-toggler {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9998;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0, 123, 122, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: fixed;
}
.chatbot-toggler:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 123, 122, 0.5);
}

/* Pulse ring on toggler when AI is speaking */
.chatbot-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
    opacity: 0;
    pointer-events: none;
}
.chatbot-pulse.speaking {
    animation: togglerPulse 1.2s ease-in-out infinite;
}
@keyframes togglerPulse {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.6); }
}

/* ─── Chatbot Window ─────────────────────────────────────── */
.chatbot-window {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 9999;
    width: 380px;
    max-height: 600px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16), 0 4px 20px rgba(0,123,122,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
                opacity 0.35s ease;
}
.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* ─── Header ─────────────────────────────────────────────── */
.chat-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-shrink: 0;
}
.chat-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}
.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}
.chat-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
}
.chat-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    transition: background 0.3s;
}

/* Header Controls */
.chat-header-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.chat-ctrl-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.chat-ctrl-btn:hover  { background: rgba(255,255,255,0.28); }
.chat-ctrl-btn.voice-off { background: rgba(239,68,68,0.3); border-color: rgba(239,68,68,0.5); }

/* Gender Selector */
.voice-gender-group {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.25);
}
.gender-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.gender-btn:hover  { background: rgba(255,255,255,0.2); color: #fff; }
.gender-btn.active { background: rgba(255,255,255,0.3); color: #fff; }

.chat-close-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.85rem;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.chat-close-btn:hover { background: rgba(239,68,68,0.4); }

/* ─── Voice Visualizer ───────────────────────────────────── */
.voice-visualizer {
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: height 0.3s ease;
    flex-shrink: 0;
}
.voice-visualizer.active {
    height: 44px;
}
.voice-bar {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 4px;
}
.voice-visualizer.active .voice-bar {
    animation: barPulse 0.8s ease-in-out infinite;
}
.voice-visualizer.active .voice-bar:nth-child(1) { animation-delay: 0.0s; animation-duration: 0.7s; }
.voice-visualizer.active .voice-bar:nth-child(2) { animation-delay: 0.1s; animation-duration: 0.9s; }
.voice-visualizer.active .voice-bar:nth-child(3) { animation-delay: 0.2s; animation-duration: 0.6s; }
.voice-visualizer.active .voice-bar:nth-child(4) { animation-delay: 0.0s; animation-duration: 1.0s; }
.voice-visualizer.active .voice-bar:nth-child(5) { animation-delay: 0.3s; animation-duration: 0.75s; }
.voice-visualizer.active .voice-bar:nth-child(6) { animation-delay: 0.1s; animation-duration: 0.85s; }
.voice-visualizer.active .voice-bar:nth-child(7) { animation-delay: 0.2s; animation-duration: 0.65s; }

@keyframes barPulse {
    0%, 100% { height: 6px;  opacity: 0.5; }
    50%       { height: 28px; opacity: 1;   }
}

/* ─── Chat Body ──────────────────────────────────────────── */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: #f9fafb;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0,123,122,0.25); border-radius: 4px; }

/* Messages */
.message {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    max-width: 85%;
    animation: msgSlide 0.3s ease;
}
@keyframes msgSlide {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.message.bot {
    align-self: flex-start;
    flex-direction: row;
}
.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.message span {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}
.message.bot span {
    background: #fff;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.message.user span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Per-message speak button */
.msg-speak-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    opacity: 0.4;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.message:hover .msg-speak-btn { opacity: 0.9; }
.msg-speak-btn:hover { transform: scale(1.2); }

/* Typing dots */
.typing-msg span.typing-dots {
    display: inline-flex;
    gap: 5px;
    padding: 0.8rem 1rem;
    background: #fff;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: typingBounce 1s ease-in-out infinite;
    padding: 0;
}
.typing-dots span:nth-child(1) { animation-delay: 0.0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30%            { transform: translateY(-8px); opacity: 1; }
}

/* ─── Chat Footer ────────────────────────────────────────── */
.chat-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    flex-shrink: 0;
}
#chat-input {
    flex: 1;
    border: 1.5px solid rgba(0,123,122,0.2);
    border-radius: 50px;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    background: #f9fafb;
    color: var(--text-dark);
    transition: border-color 0.2s;
}
#chat-input:focus { border-color: var(--primary); background: #fff; }

/* Mic Button */
.chat-mic-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,123,122,0.1);
    border: 1.5px solid rgba(0,123,122,0.25);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.chat-mic-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.chat-mic-btn.listening {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    animation: micPulse 1s ease-in-out infinite;
}
@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50%       { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
}

/* Send Button */
#chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
#chat-send:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,123,122,0.35);
}

/* ─── Listening Overlay ──────────────────────────────────── */
.listening-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
    border-radius: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.listening-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.listening-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    position: relative;
}
.listening-ring::before,
.listening-ring::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    animation: listenPulse 2s ease-in-out infinite;
}
.listening-ring::after {
    inset: -24px;
    animation-delay: 0.4s;
}
@keyframes listenPulse {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.4); }
}
.mic-icon-big {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: micBounce 1s ease-in-out infinite;
}
@keyframes micBounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(1.12); }
}
.listening-overlay p {
    color: rgba(255,255,255,0.9);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 3rem;
}
#stop-listening-btn {
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    border-radius: 50px;
    padding: 0.5rem 1.8rem;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: background 0.2s;
}
#stop-listening-btn:hover { background: rgba(255,255,255,0.35); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 2rem);
        right: 1rem;
        bottom: 5rem;
        max-height: 75vh;
    }
    .chatbot-toggler {
        right: 1rem;
        bottom: 1rem;
    }
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-modal.show {
    display: flex;
    opacity: 1;
}

.image-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.image-modal.show .modal-content {
    transform: scale(1);
}

.image-modal #modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.image-modal .close-modal:hover,
.image-modal .close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .image-modal .modal-content {
        width: 100%;
    }
}

/* Chatbot Tooltip */
.chatbot-tooltip {
    position: fixed;
    bottom: 50px;
    right: 120px;
    background-color: var(--text-white);
    color: var(--primary-dark);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 999;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: bounceTooltip 2s infinite;
    white-space: nowrap;
    border: 1px solid rgba(0, 123, 122, 0.1);
}

.chatbot-tooltip.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
}

.chatbot-tooltip .tooltip-arrow {
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0; 
    height: 0; 
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--text-white);
}

@keyframes bounceTooltip {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .chatbot-tooltip {
        bottom: 20px;
        right: 85px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* --- Interactive Map Styles --- */
.interactive-map-container {
    width: 100%;
    height: 500px;
    background: #E0F2F1;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 77, 64, 0.1);
    border: 3px solid rgba(255,255,255,0.5);
}

.map-svg-base {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.marker-icon-wrapper {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.2s, background 0.2s;
}

.marker-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.map-marker:hover .marker-icon-wrapper {
    transform: scale(1.15);
    background: var(--primary-dark);
}

.marker-pulse {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    z-index: 1;
    animation: markerPulse 2s infinite ease-out;
}

@keyframes markerPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.marker-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.map-marker:hover .marker-label {
    opacity: 1;
}

/* Virtual Tour Modal */
.vt-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 30, 25, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vt-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.vt-modal-card {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.vt-modal-overlay.active .vt-modal-card {
    transform: scale(1) translateY(0);
}

.vt-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    border: none;
    transition: background 0.2s;
}

.vt-modal-close:hover {
    background: rgba(0,0,0,0.8);
}

.vt-modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.vt-modal-body {
    padding: 20px;
}

.vt-modal-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.vt-modal-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vt-modal-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.vt-modal-btn:hover {
    background: var(--primary-dark);
}


/* Language Toggle UI */
.nav-lang-toggle {
    margin-left: 20px;
    display: flex;
    align-items: center;
}
.lang-switch-btn {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.05);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: all 0.3s ease;
    user-select: none;
}
.lang-switch-btn:hover {
    background: rgba(0,0,0,0.1);
}
.lang-switch-btn span {
    opacity: 0.5;
    transition: opacity 0.3s;
}
.lang-switch-btn span.active {
    opacity: 1;
    color: var(--primary-dark);
}
.lang-switch-btn .divider {
    margin: 0 8px;
    opacity: 0.3;
    font-weight: normal;
}
@media (max-width: 1024px) {
    .nav-lang-toggle {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }
}

/* Hide Google Translate Default UI */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
    display: none !important;
}
body {
    top: 0px !important;
}
.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

