/* ==========================================================================
   1. VARIABLES & THEME
   ========================================================================== */
:root {
    /* Brand Colors (Agoda Inspired) */
    --agoda-blue: #5392f9;
    --agoda-blue-dark: #00008B;
    --agoda-red: #ff0058;
    --agoda-red-dark: #8B0000;
    --agoda-pink: #ff567d;
    /* From styles.css */
    --brand-turquoise: #1ABC9C;

    /* Text Colors */
    --text-dark: #2a2a2e;
    --text-grey: #696969;
    --text-light-grey: #757575;

    /* UI Elements */
    --bg-light: #f5f7fa;
    --border-color: #dfe1e5;
    --shadow-default: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* From styles.css */
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* From styles.css */
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);
    /* From styles.css */
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    margin: 0 0 15px 0;
    font-weight: 700;
}

/* ==========================================================================
   3. GLOBAL LAYOUT (Header, Footer, Container)
   ========================================================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 80vh;
}

.main-footer {
    background-color: #fff;
    color: var(--text-dark);
    padding: 40px 20px 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* ==========================================================================
   4. UI COMPONENTS (Buttons, Forms, Badges)
   ========================================================================== */
/* --- Buttons --- */
.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    border: none;
    text-align: center;
}

.btn-primary {
    background: DarkTurquoise;
    color: white;
}

.btn-primary:hover {
    background: #008B8B;
}

.create-btn {
    background-color: white;
    color: DarkTurquoise;
    border: 1px solid DarkTurquoise;
}

.create-btn:hover {
    background-color: #f0f7ff;
}

.signin-btn {
    color: DarkTurquoise;
    background: transparent;
    border: none;
}

.btn-outline:hover,
.signin-btn:hover {
    background: #f0f7ff;
}

.btn-text {
    color: var(--text-dark);
    background: transparent;
    border: none;
}

.btn-text:hover {
    color: var(--agoda-blue);
    background-color: #f0f7ff;
}

/* --- Forms --- */
input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus {
    border-color: var(--agoda-blue);
    outline: none;
}

/* --- Badges --- */

.best-seller-badge,
.date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--agoda-red);
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
}

.package-card .badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d93025 !important;
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
    border: 1px solid #d93025;
    /* Optional: reinforce the color */
}

/* ==========================================================================
   5. FEATURE COMPONENTS
   ========================================================================== */
/* --- Hero Section (From styles.css) --- */
.hero-wrapper,
.hero-section {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: var(--brand-turquoise);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 20px;
}

/* --- Page Title --- */
.page-title {
    color: rgba(0, 0, 0, 0.75);
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

/* --- Search Box (From styles.css) --- */
.search-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto 20px auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    gap: 10px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
}

.search-btn {
    background: DarkTurquoise;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Cards --- */
.package-card,
.activity-card,
.contact-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card.active-card,
.activity-card:hover {
    border-color: var(--agoda-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.card-img-container,
.card-image-wrapper {
    height: 250px;
    margin: -20px -20px 15px -20px;
    position: relative;
    overflow: hidden;
    overflow: hidden;
}

.card-img-container img,
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Details (Ratings, Specs) */
.card-title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.star-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.star-rating i {
    margin-right: 2px;
    font-size: 0.9em;
}

.text-gold {
    color: #febb02;
}

.text-muted {
    color: #d3d3d3;
}

.review-count {
    color: var(--text-grey);
    font-size: 0.85em;
    margin-left: 5px;
    font-weight: 400;
}

.card-desc {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.package-options h4 {
    font-size: 0.85em;
    text-transform: uppercase;
    color: var(--text-grey);
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
}

.features-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
    align-items: center;
}

.features-list .pax {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-list .pax i {
    color: var(--agoda-blue);
    width: 16px;
    text-align: center;
}

/* Price Section in cards */
.price-section {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

/* Note: some cards use grid (Redang), some flex. Keeping flexibility */

.price-label {
    font-size: 0.75em;
    color: var(--text-grey);
    display: block;
    margin-bottom: 2px;
}

.price-final,
.price-amount {
    font-size: 1.2em;
    font-weight: 700;
    color: #d93025;
    line-height: 1;
}

.btn-details,
.btn-select {
    background: DarkTurquoise;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.2em;
    /* Increased font size */
    cursor: pointer;
    transition: var(--transition);
    display: block;
    width: 100%;
    /* Widen button */
    margin-top: 10px;
    text-align: center;
}

.btn-details:hover,
.btn-select:hover {
    background: #008B8B;
    /* DarkCyan */
}


/* --- Scrollers --- */
.date-scroller-container {
    overflow-x: auto;
    padding: 10px 0;
}

.date-scroller-container::-webkit-scrollbar {
    display: none;
}

.date-scroller {
    display: flex;
    gap: 12px;
}

.date-card {
    min-width: 80px;
    height: 100px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
}

.date-card.active {
    border: 2px solid var(--agoda-blue);
    background: #eef6ff;
}

/* --- Gallery (Barisan Gambar) --- */
.barisan-gambar {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none;
}

.barisan-gambar::-webkit-scrollbar {
    display: none;
}

.kotak-gambar {
    flex: 0 0 auto;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.kotak-gambar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kotak-gambar:hover {
    transform: scale(1.05);
    z-index: 2;
}

/* ==========================================================================
   6. PAGE SPECIFIC: KAPAS & ISLAND DAY TRIPS (Layouts)
   ========================================================================== */
.kapas-page-body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #2a2a2e;
    background-color: #f5f7fa;
}

/* --- Kapas Header --- */
.kapas-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.company-name {
    font-size: 1.5em;
    font-weight: 700;
    color: DarkTurquoise;
    letter-spacing: -0.5px;
}

/* --- Sidebar & Filter --- */
.sidebar {
    background: transparent;
}

.filter-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-box h3 {
    font-size: 0.9em;
    margin-bottom: 15px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #555;
}

.map-box {
    width: 100%;
    height: 150px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-image: url('https://via.placeholder.com/300x150?text=Map+View');
    background-size: cover;
    color: #333;
    font-weight: bold;
    border: 1px solid #ccc;
}

/* ==========================================================================
   7. PAGE SPECIFIC: BOOKING PAGES (.kapas-booking-page)
   ========================================================================== */
.kapas-booking-page {
    background-color: #f7f7f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2a2a2e;
    font-size: 14px;
    line-height: 1.5;
}

.kapas-booking-page * {
    box-sizing: border-box;
}

/* --- Scoped Header --- */
.kapas-booking-page header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
}

.kapas-booking-page .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.kapas-booking-page .company-name {
    font-size: 1.5em;
    font-weight: 800;
    color: #000;
    font-family: 'Georgia', serif;
}

.kapas-booking-page .auth-links .btn {
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    margin-left: 10px;
}

.kapas-booking-page .create-btn {
    background-color: white;
    color: #5392f9;
    border: 1px solid #5392f9;
}

.kapas-booking-page .signin-btn {
    color: #5392f9;
    border: none;
    background: transparent;
}

/* --- Layout --- */
.kapas-booking-page .container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* --- Cards --- */
.kapas-booking-page .card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.kapas-booking-page h2 {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- Forms --- */
.kapas-booking-page .form-group {
    margin-bottom: 20px;
}

.kapas-booking-page .form-row {
    display: flex;
    gap: 20px;
}

.kapas-booking-page .form-row .form-group {
    flex: 1;
}

.kapas-booking-page label {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 5px;
    color: #2a2a2e;
}

.kapas-booking-page label.required::after {
    content: " *";
    color: #e12d2d;
}

.kapas-booking-page input[type="text"],
.kapas-booking-page input[type="email"],
.kapas-booking-page input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.kapas-booking-page input:focus {
    border-color: #5392f9;
    outline: none;
}

.kapas-booking-page .info-box {
    background-color: #eef3fb;
    border: 1px solid #cce0f5;
    padding: 15px;
    border-radius: 4px;
    font-size: 13px;
    color: #2a2a2e;
    margin-bottom: 20px;
}

/* --- Payment Actions --- */
.kapas-booking-page .payment-btn {
    background-color: DarkTurquoise;
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(83, 146, 249, 0.2);
}

.kapas-booking-page .payment-btn:hover {
    background-color: #148f77;
    /* Darker turquoise for hover */
}

.kapas-booking-page .terms-text {
    font-size: 12px;
    color: #757575;
    margin-top: 15px;
    text-align: center;
}

/* --- Summary Panel (Right Column) --- */
.kapas-booking-page .sticky-summary {
    position: sticky;
    top: 90px;
}

.kapas-booking-page .summary-header {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.kapas-booking-page .summary-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #eee;
}

.kapas-booking-page .summary-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

.kapas-booking-page .summary-subtitle {
    color: #757575;
    font-size: 12px;
    margin-top: 4px;
}

.kapas-booking-page .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.kapas-booking-page .detail-label {
    color: #757575;
}

.kapas-booking-page .detail-value {
    font-weight: 600;
    text-align: right;
}

.kapas-booking-page .price-section {
    background-color: #f9f9f9;
    margin: 15px -24px -24px -24px;
    padding: 20px 24px;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.kapas-booking-page .price-original {
    text-decoration: line-through;
    color: #e12d2d;
    font-size: 12px;
    text-align: right;
    display: block;
}

.kapas-booking-page .price-total {
    color: #2a2a2e;
    font-size: 20px;
    font-weight: 800;
    text-align: right;
    display: block;
}

.kapas-booking-page .price-note {
    font-size: 11px;
    color: #757575;
    text-align: right;
    display: block;
}

.kapas-booking-page .features-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.kapas-booking-page .features-list li {
    font-size: 12px;
    color: #2a8138;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.kapas-booking-page .features-list li::before {
    content: "✓";
    margin-right: 5px;
    font-weight: bold;
}

.kapas-booking-page footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border-top: 1px solid #eee;
    color: #757575;
}

/* ==========================================================================
   8. PAGE SPECIFIC: SNORKELING ACTIVITIES (Accordions etc)
   ========================================================================== */
.snorkeling-page .accordion-wrapper {
    background-color: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
}

.snorkeling-page .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
}

.snorkeling-page .accordion-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.snorkeling-page .arrow-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #666;
}

.snorkeling-page .accordion-header.active .arrow-icon {
    transform: rotate(180deg);
}

.snorkeling-page .accordion-content {
    padding-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Booking Grid (Date Picker Mock) */
.snorkeling-page .booking-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.snorkeling-page .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    font-size: 12px;
}

.snorkeling-page .cal-grid span {
    padding: 5px;
    cursor: pointer;
}

.snorkeling-page .cal-grid span.date-selected {
    background-color: var(--agoda-blue);
    color: white;
    border-radius: 4px;
}


/* ==========================================================================
   9. GLOBAL RESPONSIVE RULES
   ========================================================================== */
@media (max-width: 768px) {

    /* Global Header/Footer */
    .main-header {
        position: relative;
        /* Prevent tall mobile nav from sticking and covering hero */
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    /* Force Navbar Buttons to Wrap Gracefully on Mobile */
    .auth-nav {
        width: 100%;
    }

    .auth-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .auth-links .btn {
        margin: 0 !important;
        width: 100%;
        text-align: center;
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* Explicitly reorder buttons as per user request */
    .nav-item-signin {
        order: 1;
    }

    .nav-item-list {
        order: 2;
    }

    .nav-item-create {
        order: 3;
    }

    .nav-item-about {
        order: 4;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* Cards */
    .package-card,
    .activity-card {
        flex-direction: column;
        height: auto;
    }

    .card-img-container {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .card-action {
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: auto;
    }

    .btn-select {
        width: auto;
        margin-top: 0;
    }

    .card-desc {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    /* Booking Page Specific */
    .kapas-booking-page .container {
        grid-template-columns: 1fr;
    }

    .kapas-booking-page .right-col {
        order: -1;
    }

    .kapas-booking-page header {
        padding: 15px 20px;
    }

    /* Hero */
    .hero-wrapper,
    .hero-section {
        height: 400px;
    }
}

/* User Requested Kapas Layout Refactor */
/* === 3. MAIN LAYOUT (Sidebar + Results) === */
.main-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
}

/* Sidebar Styles */
.sidebar {
    background: transparent;
}

.filter-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-box h3 {
    font-size: 0.9em;
    margin-bottom: 15px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #555;
}

.map-box {
    width: 100%;
    height: 150px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-image: url('https://via.placeholder.com/300x150?text=Map+View');
    background-size: cover;
    color: #333;
    font-weight: bold;
    border: 1px solid #ccc;
}

/* === ISLAND GRID LAYOUT === */
.island-activities-grid {
    /* "Smaller size" - constrained width */
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Force "Image on Left" (Horizontal) for ActivityCard inside this grid */
.island-activities-grid .activity-card {
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
    height: auto !important;
    /* Allow card to expand */
    min-height: 370px !important;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.island-activities-grid .activity-card .card-image-wrapper {
    width: 300px !important;
    min-width: 300px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;

    /* FLEX STRATEGY FOR HEIGHT FILL */
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: auto !important;
    /* Let flex stretch handle it */
    min-height: 100% !important;
    /* Ensure it's at least parent height */
}

.island-activities-grid .activity-card .card-image {
    width: 100% !important;
    height: 100% !important;
    /* Fill wrapper */
    object-fit: cover !important;
    display: block !important;
    flex-grow: 1 !important;
    /* Grow to fill space */
    position: static !important;
    /* Reset absolute */
    min-height: 100% !important;
    /* Double safety */
}

.island-activities-grid .activity-card .card-content {
    flex: 1;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    /* Prevent spillover */
}

/* Limit Features List to ensure button shows */
.island-activities-grid .activity-card ul,
.island-activities-grid .activity-card .features-list {
    display: block;
    height: auto;
    /* Removed max-height so it shows all features */
    margin-bottom: 10px;
    font-size: 0.85em;
    /* Make text slightly smaller */
    padding-left: 20px;
    /* Ensure bullets are visible */
}

/* Badge Style - Match Price Color */
/* Badge Style - Match Price Color */
.activity-card .badge-top {
    position: absolute;
    top: 0;
    left: 0;
    background: #d93025;
    /* Red like price */
    color: white;
    padding: 5px 15px;
    font-size: 0.8em;
    font-weight: bold;
    border-bottom-right-radius: 12px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ensure title doesn't take too much space */
.island-activities-grid .activity-card .card-title {
    font-size: 1.1em;
    margin-bottom: 5px;
    /* Allow title to wrap naturally */
    display: block;
    overflow: visible;
    /* Keep title visible */
}

.island-activities-grid .activity-card .price-section {
    margin-top: auto;
    /* Push to bottom */
    padding-top: 10px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    /* Never shrink price/button */
}

/* === SMARTPHONE / TABLET RESPONSIVE FIXES (APP-LIKE FEEL) === */
@media (max-width: 850px) {

    /* 1. Reset Global Container Layouts */
    .main-container {
        grid-template-columns: 1fr;
        padding: 10px;
        margin: 10px auto;
    }

    /* 2. Fix Giant Empty Hero Background */
    .hero-wrapper,
    .hero-section,
    .home-hero-section {
        height: auto !important;
        min-height: 250px !important;
        padding: 40px 15px !important;
    }

    .search-container {
        width: 100%;
        margin: 0;
        flex-direction: column;
        /* Stack input and CTA nicely */
    }

    .search-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* 3. Cards into Stacked Columns */
    .island-activities-grid .activity-card,
    .package-card {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
        /* Tighter gap */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        border: none !important;
        /* Cleaner app look */
    }

    /* 4. Images - Ensure they respect the column */
    .island-activities-grid .activity-card .card-image-wrapper,
    .card-img-container {
        width: 100% !important;
        min-width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        border-radius: 12px 12px 0 0 !important;
        margin: 0 !important;
    }

    .island-activities-grid .activity-card .card-image {
        position: static !important;
        min-height: auto !important;
        width: 100% !important;
        height: 100% !important;
        flex-grow: 0 !important;
    }

    /* 5. Tighter Content Paddings */
    .island-activities-grid .activity-card .card-content,
    .card-content {
        padding: 15px !important;
    }

    .island-activities-grid .activity-card .card-title {
        font-size: 1.15em !important;
        line-height: 1.3 !important;
    }
}

/* Results Styles */
.results-header {
    margin-bottom: 15px;
}

.results-header h1 {
    font-size: 1.4em;
    margin: 0;
    color: #2a2a2e;
}

/* === CARD DESIGN (UNIFORM SIZE) === */
.package-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 0;
    /* Ensures image touches edges */
    transition: box-shadow 0.2s;
    position: relative;

    /* PENTING: Menetapkan tinggi tetap supaya semua kad sama saiz */
    height: 350px;
}

.package-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-img-container {
    width: 300px;
    /* Lebar tetap untuk gambar */
    min-width: 300px;
    height: 100%;
    /* Penuhi ketinggian kad */
    position: relative;
    margin: 0;
    /* Reset sebarang margin */
}

.card-img-container img {
    /* Pastikan tiada gap bawah imej inline */
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Pastikan gambar tak herot */
}



.card-content {
    flex: 1;
    padding: 20px 30px;
    /* Lebhkan padding sisi untuk jarak dari gambar */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Tolak content atas dan features ke bawah */
    overflow: hidden;
    /* Sembunyikan content berlebihan */
}

.card-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #2a2a2e;
    margin: 0 0 5px 0;

    /* allow wrapping */
    white-space: normal;
    overflow: visible;
}

.rating-stars {
    color: #ffc700;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;

    /* PENTING: Limit text kepada 3 baris sahaja */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    /* Tolak features ke bahagian bawah content area */
}

.feature-tag {
    font-size: 0.75em;
    color: #555;
    background: #f5f7fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.feature-tag i {
    color: #5392f9;
}

/* Right Side of Card (Price) */
.card-action {
    border-left: 1px solid #f0f0f0;
    width: 220px;
    min-width: 220px;
    height: 100%;
    /* Penuhi ketinggian kad */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centerkan harga secara vertikal */
    align-items: flex-end;
    text-align: right;
    background: #fcfcfc;
}

.price-label {
    font-size: 0.75em;
    color: #757575;
}

.price-final {
    font-size: 1.6em;
    font-weight: 700;
    color: #ff567d;
}

.btn-select {
    background-color: DarkTurquoise;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
}

.btn-select:hover {
    background-color: #427ecf;
}

/* Badge for Top Pick */
.badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff567d;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    z-index: 10;
}

/* Info Section (Clean Box) */
.info-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-top: 30px;
}

.info-box h2 {
    font-size: 1.3em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-list dt {
    font-weight: 600;
    margin-top: 15px;
    color: #2a2a2e;
}

.info-list dd {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}


input[type='checkbox'] {
    width: auto;
    margin-bottom: 0;
    margin-right: 10px;
}

/* ==========================================================================
   8. PAGE SPECIFIC: PRIVATE BOAT PACKAGE (Extracted Inline Styles)
   ========================================================================== */

/* --- Accordion --- */
.accordion-section {
    background-color: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
}

.accordion-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.arrow-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #666;
}

.arrow-icon.rotated {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.accordion-content.open {
    display: block;
}

/* --- Calendar Widget --- */
.fake-calendar {
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.cal-header {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.cal-nav-btn {
    cursor: pointer;
    padding: 0 5px;
    user-select: none;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    font-size: 11px;
    text-align: center;
}

.cal-day-label {
    font-weight: 600;
    color: #555;
    padding-bottom: 3px;
}

.cal-date-cell {
    padding: 6px 0;
    cursor: pointer;
    border-radius: 4px;
    background-color: transparent;
    color: #333;
    transition: background-color 0.2s;
    font-weight: normal;
}

.cal-date-cell.selected {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

/* --- Package Card --- */
.package-card-container {
    background-color: white;
    border: 1px solid #dfe1e5;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
    max-width: 600px;
    /* Standardized Width */
    margin: 0 auto 15px;
    width: 100%;
    max-height: 120px;
    /* Closed state */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, border 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card-container.is-open {
    border: 2px solid #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    max-height: none;
    /* Open state */
    min-height: 400px;
    overflow: visible;
}

.card-row {
    display: flex;
    justify-content: space-between;
}

.top-row {
    align-items: flex-start;
    margin-bottom: 15px;
}

.bottom-row {
    align-items: flex-end;
}

.pkg-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.details-link {
    font-size: 11px;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 10px;
}

.pkg-desc {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: -2px;
}

.pkg-price-group {
    color: #d93025;
    font-weight: 700;
    line-height: 1;
}

.currency {
    font-size: 12px;
    vertical-align: top;
    margin-right: 2px;
}

.amount {
    font-size: 24px;
}

.choose-btn {
    background-color: transparent;
    color: DarkTurquoise;
    border: 1px solid DarkTurquoise;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

/* --- Booking View --- */
.booking-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0 20px;
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.section-label {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.min-pax-label {
    font-size: 11px;
    color: #666;
    margin-top: -5px;
}

.counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.counter-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.round-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #007bff;
    background: white;
    color: #007bff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.booking-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.final-price {
    font-size: 20px;
    font-weight: 700;
    color: #d93025;
}

.next-step-btn {
    background-color: DarkTurquoise;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* --- Page Specific --- */
.private-boat-page {
    background-color: #f5f7fa;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.page-center-title {
    text-align: center;
    margin: 20px 0;
}

.booked-count {
    text-align: center;
    color: #696969;
}

.gallery-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
}

.gallery-item {
    flex: 0 0 auto;
    width: 280px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.gallery-item-fluid {
    flex: 1;
    min-width: 200px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.at-a-glance-title {
    color: #000;
    font-size: 2em;
    margin-top: 30px;
}

.glance-text {
    color: #696969;
}

.quote-text {
    color: #696969;
    font-style: italic;
}

.anchor-links-container {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.anchor-link {
    color: #007bff;
    text-decoration: none;
}

.package-options-section {
    margin-top: 40px;
}

.package-options-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.admission-ticket-label {
    color: teal;
    font-size: 1em;
    margin-bottom: 20px;
}

/* --- Ticket Page Container (Single Column) --- */
.ticket-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: block;
    /* Ensure block layout */
}

/* ==========================================================================
   8. PAGE SPECIFIC: HOME (From Home.jsx)
   ========================================================================== */
.home-container {
    font-family: 'Poppins', sans-serif;
    color: #2a2a2e;
    background-color: #f9f9f9;
    min-height: 100vh;
}

.home-hero-section {
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.home-hero-content {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px 50px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
}

.home-hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

.home-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.home-section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
    font-weight: 600;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.home-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.home-image-container {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.home-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-card:hover .home-image {
    transform: scale(1.05);
}

.home-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.home-location-tag {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.home-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #2a2a2e;
    font-weight: 600;
}

.home-card-desc {
    color: #696969;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.home-tag-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.home-tag-link {
    background-color: #eef4ff;
    color: #5392f9;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s;
}

.home-tag-link:hover {
    background-color: #dbeafe;
}

.home-button {
    display: block;
    text-align: center;
    background-color: DarkTurquoise;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.home-button:hover {
    background-color: #008B8B;
}

/* ==========================================================================
   8. PAGE SPECIFIC: CONTOH (Property Listing)
   ========================================================================== */
.custom-padding-margin-area {
    padding: 16px 24px;
    /* Tight Padding */
    margin: 4px auto;
    /* Minimal Margin */
    width: 100%;
    max-width: 1000px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 10;
}

.property-card {
    padding: 12px 16px;
    /* Tight Padding */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}

.property-card:hover {
    background-color: #f9fafb;
}

.btn-back {
    padding: 8px 40px;
    border: 1px solid #60a5fa;
    /* blue-400 */
    color: #3b82f6;
    /* blue-500 */
    font-weight: 600;
    border-radius: 9999px;
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-back:hover {
    background-color: #eff6ff;
    /* blue-50 */
}

.btn-next {
    padding: 8px 48px;
    background-color: #2563eb;
    /* blue-600 */
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-next:hover {
    background-color: #1d4ed8;
    /* blue-700 */
}

.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid #e5e7eb;
    /* Horizontal line */
    padding: 16px;
    z-index: 100;
}

.bottom-action-bar-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   8. PAGE SPECIFIC: PARTNER ONE PACKAGE DETAIL
   ========================================================================== */
.partner-page-wrapper {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f7f9;
    min-height: 100vh;
}

/* Header */
.partner-page-wrapper .navbar-custom {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.partner-page-wrapper .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partner-page-wrapper .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.2rem;
}

.partner-page-wrapper .logo-section img {
    width: 30px;
}

/* Layout Utama */
.partner-page-wrapper .main-layout {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

/* Sidebar Navigasi */
.partner-page-wrapper .sidebar {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.partner-page-wrapper .nav-item {
    padding: 12px 15px;
    border-left: 3px solid transparent;
    color: #666;
    cursor: pointer;
    font-size: 0.95rem;
}

.partner-page-wrapper .nav-item.active {
    border-left-color: #5392f9;
    color: #5392f9;
    font-weight: 600;
    background-color: #f0f5ff;
}

.partner-page-wrapper .nav-header {
    padding: 15px 15px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-page-wrapper .nav-item.completed {
    color: #28a745;
}

.partner-page-wrapper .nav-item.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Area Konten */
.partner-page-wrapper .content-area {
    flex: 3;
}

.partner-page-wrapper .card-custom {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.partner-page-wrapper h1.title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #2a2a2e;
}

.partner-page-wrapper .subtitle {
    color: #666;
    margin-bottom: 30px;
}

/* Form Grid */
.partner-page-wrapper .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.partner-page-wrapper .input-group {
    margin-bottom: 20px;
}

.partner-page-wrapper .input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.partner-page-wrapper .input-group input,
.partner-page-wrapper .input-group select,
.partner-page-wrapper .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.partner-page-wrapper .input-group input:focus {
    border-color: #5392f9;
}

.partner-page-wrapper .row-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.partner-page-wrapper .w-50 {
    width: 50%;
}

/* Peta */
.partner-page-wrapper .map-box {
    background: #e5e3df url('https://via.placeholder.com/600x400?text=Location+Map') center/cover;
    height: 300px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 1px solid #ddd;
}

.partner-page-wrapper .map-pin-tip {
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #5392f9;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.partner-page-wrapper .map-note {
    font-size: 0.75rem;
    color: #999;
    margin-top: 10px;
}

/* Tombol */
.partner-page-wrapper .footer-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.partner-page-wrapper .btn-primary {
    background: #5392f9;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.partner-page-wrapper .btn-secondary {
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.partner-page-wrapper .btn-primary:hover {
    background: #367af6;
}

.partner-page-wrapper .btn-secondary:hover {
    background: #f8f8f8;
}

/* Responsif */
@media (max-width: 992px) {
    .partner-page-wrapper .form-grid {
        grid-template-columns: 1fr;
    }

    .partner-page-wrapper .sidebar {
        display: none;
    }
}

/* ==========================================================================
   9. PAGE SPECIFIC: PARTNER EQUIPMENT & SERVICE
   ========================================================================== */
:root {
    --pe-bg-gray: #f8f9fa;
    --pe-border: #e2e2e2;
    --pe-success: #28a745;
}

.partner-equipment-wrapper {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--pe-bg-gray);
    color: #2a2a2e;
    line-height: 1.5;
    min-height: 100vh;
}

.partner-equipment-wrapper header {
    background: #ffffff;
    border-bottom: 1px solid var(--pe-border);
    padding: 12px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.partner-equipment-wrapper .header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partner-equipment-wrapper .logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.partner-equipment-wrapper .logo-area img {
    width: 28px;
}

.partner-equipment-wrapper .logo-area .pipe {
    color: #ddd;
    font-weight: normal;
}

.partner-equipment-wrapper .container {
    max-width: 1100px;
    margin: 30px auto;
    display: flex;
    gap: 24px;
    padding: 0 20px;
}

.partner-equipment-wrapper .sidebar {
    width: 260px;
    flex-shrink: 0;
}

.partner-equipment-wrapper .nav-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--pe-border);
    overflow: hidden;
}

.partner-equipment-wrapper .step {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    border-left: 4px solid transparent;
}

.partner-equipment-wrapper .step.done {
    color: var(--pe-success);
}

.partner-equipment-wrapper .step.active {
    color: #5392f9;
    font-weight: 600;
    background: #f0f5ff;
    border-left-color: #5392f9;
}

.partner-equipment-wrapper .nav-header {
    padding: 15px 20px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-equipment-wrapper .step.locked {
    color: #ccc;
    cursor: not-allowed;
}

.partner-equipment-wrapper .main-content {
    flex-grow: 1;
}

.partner-equipment-wrapper .content-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid var(--pe-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.partner-equipment-wrapper h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #333;
}

.partner-equipment-wrapper .subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.partner-equipment-wrapper hr {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 30px;
}

.partner-equipment-wrapper .section-box {
    margin-bottom: 40px;
}

.partner-equipment-wrapper .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #2a2a2e;
}

.partner-equipment-wrapper .section-title i {
    color: #5392f9;
    width: 20px;
    text-align: center;
}

.partner-equipment-wrapper .grid-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.partner-equipment-wrapper .option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.partner-equipment-wrapper .option-item:hover {
    color: #5392f9;
}

.partner-equipment-wrapper .option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5392f9;
}

.partner-equipment-wrapper .footer-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-bottom: 60px;
}

.partner-equipment-wrapper .btn {
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.2s;
}

.partner-equipment-wrapper .btn-back {
    background: #fff;
    border: 1px solid #ccc;
    color: #666;
}

.partner-equipment-wrapper .btn-next {
    background: #5392f9;
    border: none;
    color: #fff;
}

.partner-equipment-wrapper .btn-next:hover {
    background: #367af6;
    box-shadow: 0 4px 8px rgba(83, 146, 249, 0.3);
}

.partner-equipment-wrapper .btn-back:hover {
    background: #f8f8f8;
}

@media (max-width: 850px) {
    .partner-equipment-wrapper .container {
        flex-direction: column;
    }

    .partner-equipment-wrapper .sidebar {
        display: none;
    }

    .partner-equipment-wrapper .grid-options {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
 PREMIUM CHECKOUT PAGE (UniversalContactDetails)
========================================================================== */
.premium-checkout-page {
    background-color: #f7f9fc;
    min-height: 100vh;
    padding: 40px 20px;
    font-family: 'Inter', 'Poppins', sans-serif;
    color: #1e293b;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.back-button {
    background: none;
    border: none;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 0;
    transition: color 0.2s;
}

.back-button:hover {
    color: #2563eb;
}

.checkout-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 20px;
}

.card-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #0f172a;
}

.card-header .subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 32px 0;
}

/* Premium Form Inputs with Floating Labels */
.premium-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.premium-form .input-group {
    position: relative;
    flex: 1;
    margin-bottom: 24px;
}

.premium-form .form-row .input-group {
    margin-bottom: 0;
}

.premium-form input,
select.premium-select {
    width: 100%;
    padding: 24px 16px 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
    background-color: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0f172a;
    box-sizing: border-box;
}

.premium-form input:focus,
select.premium-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.premium-form input:hover:not(:focus),
select.premium-select:hover:not(:focus) {
    border-color: #94a3b8;
}

.premium-form label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-form input:focus~label,
.premium-form input:not(:placeholder-shown)~label {
    top: 14px;
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 500;
}

.premium-form input:not(:focus):not(:placeholder-shown)~label {
    color: #64748b;
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.premium-form input:focus~.input-icon {
    color: #3b82f6;
}

.phone-row .code-group {
    flex: 0 0 100px;
}

/* Country Dropdown */
.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    max-height: 300px;
    overflow-y: auto;
    animation: dropdownActive 0.2s ease-out;
}

@keyframes dropdownActive {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.country-item:hover {
    background-color: #f1f5f9;
}

.country-item .flag {
    font-size: 1.2rem;
}

.country-item .name {
    flex: 1;
    font-size: 0.95rem;
    color: #1e293b;
}

.country-item .dial-code {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Arrival Section */
.arrival-section {
    margin: 32px 0;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.arrival-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-select-wrapper {
    position: relative;
}

.premium-select {
    padding: 16px !important;
    appearance: none;
    cursor: pointer;
    font-weight: 500;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.badge {
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.text-green {
    color: #10b981;
}

.text-blue {
    color: #3b82f6;
}

.text-red {
    color: #ef4444;
}

/* Submit Button */
.btn-continue {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.terms-agreement {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 20px;
}

.terms-agreement a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

/* Sticky Summary Card */
.checkout-sidebar .sticky {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.summary-cover {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.summary-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.location-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.summary-body {
    padding: 24px;
}

.package-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #0f172a;
    line-height: 1.3;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 4px;
    width: 24px;
    text-align: center;
}

.detail-item .label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 2px;
}

.detail-item .value {
    font-weight: 600;
    color: #1e293b;
}

.spots-included,
.inclusions {
    margin-bottom: 20px;
}

.spots-included h4,
.inclusions h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spots-included p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    margin: 0;
    border: 1px solid #e2e8f0;
}

.inclusions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inclusions li {
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.inclusions i {
    margin-top: 3px;
}

.price-breakdown {
    background: #f8fafc;
    margin: 24px -24px -24px -24px;
    padding: 24px;
    border-top: 1px dashed #cbd5e1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-row.crossed-out {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.price-row.total {
    margin-top: 16px;
    margin-bottom: 0;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.1rem;
    align-items: flex-start;
}

.total-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-amount .currency {
    font-size: 1rem;
    color: #ef4444;
    margin-right: 4px;
}

.total-amount .amount {
    font-size: 1.75rem;
    color: #ef4444;
    line-height: 1;
}

.total-amount .taxes {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 400;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        order: -1;
    }

    .premium-checkout-page {
        padding: 20px 10px;
    }

    .checkout-card {
        padding: 24px;
    }

    .premium-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .phone-row {
        flex-direction: row !important;
        gap: 12px !important;
    }
}
/* ==========================================================================
   HOME PAGE STYLES (Refactored from inline)
   ========================================================================== */

/* Wall of Fame Scroll Section */
.wof-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 0 20px 20px;
    scrollbar-width: thin;
    scrollbar-color: #00ffff rgba(255,255,255,0.1);
}
.wof-scroll-container::-webkit-scrollbar {
    height: 6px;
}
.wof-scroll-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
@media (max-width: 768px) {
    .wof-scroll-container {
        flex-direction: column;
        overflow-x: hidden;
    }
    .wof-island-group {
        min-width: 100%;
        flex: auto;
        margin-bottom: 20px;
    }
    .wof-card:hover {
        transform: translateY(-2px);
    }
}
.wof-scroll-container::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 10px;
}
.wof-island-group {
    display: flex;
    flex-direction: column;
    min-width: 380px;
    flex: 1;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}
.wof-island-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.wof-island-name {
    color: #00ffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
.wof-update-tag {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
}
.wof-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s;
}
.wof-card:hover {
    background: rgba(0, 255, 255, 0.08);
    transform: translateX(5px);
}
.wof-rank-badge {
    width: 24px;
    height: 24px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.wof-user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00ced1 0%, #1e90ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}
.wof-user-details {
    flex: 1;
}
.wof-user-name {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}
.wof-user-trips {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    margin: 0;
}
.wof-user-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
}
.title-1 { background: rgba(255, 215, 0, 0.1); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.2); }
.title-2 { background: rgba(0, 255, 255, 0.1); color: #00ffff; border: 1px solid rgba(0, 255, 255, 0.2); }
.title-3 { background: rgba(205, 127, 50, 0.1); color: #cd7f32; border: 1px solid rgba(205, 127, 50, 0.2); }

/* Share functionality styles */
.wof-share-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.wof-share-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    color: #00ffff;
    transform: translateY(-2px);
}
.wof-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.wof-modal {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 255, 0.1);
    animation: slideUp 0.3s ease;
}
.wof-modal-title {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.wof-share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.wof-share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.wof-share-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    transform: scale(1.05);
}
.share-icon {
    font-size: 1.5rem;
}
.share-label {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
}
.close-modal-btn {
    margin-top: 25px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes flashPulse {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4); }
}

/* Micro-animations for AWE emotion */
.home-card-awe {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.home-card-awe:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,255,255,0.15), 0 0 20px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}
.home-card-awe:hover .home-image {
    transform: scale(1.15) rotate(1deg); /* Subtle dramatic zoom */
    filter: brightness(1.1) contrast(1.1); /* Make colors pop */
}
.btn-awe-copy {
    transition: all 0.3s !important;
    background: linear-gradient(45deg, #0ea5e9, #2563eb) !important;
    border: none !important;
}
.btn-awe-copy:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
    letter-spacing: 1px;
    background: linear-gradient(45deg, #2563eb, #0ea5e9) !important;
}

/* --- Inline Styles Conversion --- */

/* Environmental Trigger Banner */
.home-trigger-banner {
    background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 50;
    position: relative;
}
.home-trigger-btn {
    background: white;
    color: #ef4444;
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}
.home-trigger-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    position: absolute;
    right: 15px;
}

/* FOMO Live Booking Toast */
.home-booking-toast {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #ef4444;
    animation: slideUp 0.5s ease-out;
    max-width: 300px;
}
.home-toast-icon {
    background: #f87171;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-toast-details {
    flex: 1;
    padding-right: 15px;
}
.home-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1rem;
}

/* Search Container Wrapper */
.home-search-wrapper {
    margin-top: 30px;
}

/* Content Wrapper */
.home-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Practical Value: Live Weather Widget */
.home-weather-widget-container {
    margin-bottom: 50px;
}
.home-weather-inner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    gap: 20px;
}
.weather-icon-container {
    background: #0ea5e9;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(14,165,233,0.4);
    flex-shrink: 0;
}
.weather-text-header {
    margin: 0;
    font-size: 1.2rem;
    color: #38bdf8;
    font-weight: bold;
}
.weather-text-sub {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #94a3b8;
}
.weather-info-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.weather-info-item {
    text-align: center;
}
@media (max-width: 991px) {
    .weather-desktop-only {
        display: none;
    }
}
.weather-info-label {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.weather-info-value {
    margin: 5px 0 0 0;
    font-weight: bold;
    font-size: 1.1rem;
}
.weather-info-value-calm { color: #22c55e; }
.weather-info-value-high { color: #38bdf8; }

.weather-verdict-badge {
    display: inline-block;
    margin-top: 5px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid rgba(34,197,94,0.4);
}
.weather-share-btn-cta {
    background: #0ea5e9;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(14,165,233,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}
.weather-share-btn-cta:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

/* Wall of Fame Header */
.home-wof-header {
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}
.home-wof-title {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}
.home-wof-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 5px 0 20px;
}
.home-wof-share-wrapper {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   ISLAND PAGES UTILITY CLASSES (Refactored from inline)
   ========================================================================== */
.island-page-loading {
    text-align: center;
    padding: 100px;
    font-size: 1.1rem;
    color: #64748b;
    background: white;
    margin: 20px;
    border-radius: 12px;
}
.island-page-error {
    text-align: center;
    padding: 100px;
    color: #ef4444;
    background: #fef2f2;
    margin: 20px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}
.sidebar-map-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: white;
    height: 250px;
    border-radius: 12px;
}

.search-results-page {
    padding-top: 100px;
    min-height: 80vh;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 20px 0;
    color: #64748b;
    border: 1px dashed #cbd5e1;
}

/* Adjust backup mobile number font size for mobile devices */
@media (max-width: 768px) {
    .premium-form label[for="backup_mobile_number"] {
        font-size: 0.8rem;
    }
    .premium-form input:focus~label[for="backup_mobile_number"],
    .premium-form input:not(:placeholder-shown)~label[for="backup_mobile_number"] {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .premium-form label[for="backup_mobile_number"] {
        font-size: 0.75rem;
    }
    .premium-form input:focus~label[for="backup_mobile_number"],
    .premium-form input:not(:placeholder-shown)~label[for="backup_mobile_number"] {
        font-size: 0.6rem;
    }
}

/* Adjust home titles font size and spacing for mobile devices */
@media (max-width: 768px) {
    .home-hero-title {
        font-size: 1.8rem;
    }
    .home-section-title, .home-wof-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .home-hero-title {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .home-section-title {
        font-size: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    gap: 20px;
}
.weather-icon-container {
    background: #0ea5e9;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(14,165,233,0.4);
    flex-shrink: 0;
}
.weather-text-header {
    margin: 0;
    font-size: 1.2rem;
    color: #38bdf8;
    font-weight: bold;
}
.weather-text-sub {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #94a3b8;
}
.weather-info-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.weather-info-item {
    text-align: center;
}
@media (max-width: 991px) {
    .weather-desktop-only {
        display: none;
    }
}
.weather-info-label {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.weather-info-value {
    margin: 5px 0 0 0;
    font-weight: bold;
    font-size: 1.1rem;
}
.weather-info-value-calm { color: #22c55e; }
.weather-info-value-high { color: #38bdf8; }

.weather-verdict-badge {
    display: inline-block;
    margin-top: 5px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid rgba(34,197,94,0.4);
}
.weather-share-btn-cta {
    background: #0ea5e9;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(14,165,233,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}
.weather-share-btn-cta:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

/* Wall of Fame Header */
.home-wof-header {
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}
.home-wof-title {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}
.home-wof-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 5px 0 20px;
}
.home-wof-share-wrapper {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   ISLAND PAGES UTILITY CLASSES (Refactored from inline)
   ========================================================================== */
.island-page-loading {
    text-align: center;
    padding: 100px;
    font-size: 1.1rem;
    color: #64748b;
    background: white;
    margin: 20px;
    border-radius: 12px;
}
.island-page-error {
    text-align: center;
    padding: 100px;
    color: #ef4444;
    background: #fef2f2;
    margin: 20px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}
.sidebar-map-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: white;
    height: 250px;
    border-radius: 12px;
}

.search-results-page {
    padding-top: 100px;
    min-height: 80vh;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 20px 0;
    color: #64748b;
    border: 1px dashed #cbd5e1;
}

/* Adjust backup mobile number font size for mobile devices */
@media (max-width: 768px) {
    .premium-form label[for="backup_mobile_number"] {
        font-size: 0.8rem;
    }
    .premium-form input:focus~label[for="backup_mobile_number"],
    .premium-form input:not(:placeholder-shown)~label[for="backup_mobile_number"] {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .premium-form label[for="backup_mobile_number"] {
        font-size: 0.75rem;
    }
    .premium-form input:focus~label[for="backup_mobile_number"],
    .premium-form input:not(:placeholder-shown)~label[for="backup_mobile_number"] {
        font-size: 0.6rem;
    }
}

/* Adjust home titles font size and spacing for mobile devices */
@media (max-width: 768px) {
    .home-hero-title {
        font-size: 1.8rem;
    }
    .home-section-title, .home-wof-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .home-hero-title {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .home-section-title {
        font-size: 1rem;
        margin-bottom: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .home-wof-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Ultra-Compact & Professional Card alignment for mobile */
    .home-grid {
        grid-template-columns: 1fr;
        gap: 10px; /* Reduced gap between cards */
    }
    
    .package-card,
    .activity-card,
    .home-card {
        padding: 10px !important; /* Tighter internal padding */
        margin-bottom: 10px !important; /* Tighter external margin */
        border-radius: 8px !important; /* Slightly sharper, more professional corners */
        border: 1px solid #e2e8f0; /* Crisp thin border */
        box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Very subtle professional shadow */
    }
    
    .card-img-container,
    .card-image-wrapper,
    .home-image-container {
        height: 160px !important; /* Proportional compact height */
        margin: -10px -10px 10px -10px !important; /* Pull image exactly to edge of 10px padding */
        border-radius: 8px 8px 0 0 !important;
        overflow: hidden;
    }

    /* Tighten content spacing inside the cards */
    .card-content {
        padding: 0 !important;
    }
    
    .card-title, .home-card-title {
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
        line-height: 1.2 !important;
    }
    
    .star-rating {
        margin-bottom: 6px !important;
        font-size: 0.8rem;
    }
    
    .features-list {
        margin-bottom: 8px !important;
        gap: 4px !important;
    }
    
    .features-list li {
        padding: 2px 0 !important;
        font-size: 0.8rem !important;
    }
    
    .price-section {
        margin-top: 8px !important;
        padding-top: 8px !important;
    }
    
    .btn-awe-primary, .btn-awe-copy, .btn-awe-outline {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
}
