/* Base Typography & Layout */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--off-white);
    line-height: 1.7;
    font-weight: 400;
    background: linear-gradient(180deg, #2A5279 0%, #3E4152 55%, #2A5279 100%);
}

main {
    min-height: calc(100vh - 80px); /* Adjust based on header height */
}

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

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

.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

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

/* Grid Utilities */
.grid {
    display: grid;
    gap: 30px;
}

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

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

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Sections */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Hero */
.hero-wrapper {
    width: 100%;
}

.hero-sub {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-sub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-sub.hero-full {
    min-height: 90vh;
}

.hero-content-sub {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content-sub h1 {
    font-size: 52px;
    font-weight: 800;
    max-width: 90vw;
    margin: 0 auto;
    color: #FFFFFF;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-content-sub p {
    font-size: 20px;
    color: white;
    opacity: 0.9;
    margin-top: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.subtitle {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Buttons */
.btn,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #3A7CFF 0%, #2DEBFF 100%);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(58, 124, 255, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 35px rgba(58, 124, 255, 0.7),
        0 0 55px rgba(45, 235, 255, 0.4);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Cards & Surfaces */
.card,
.feature-box,
.process-step,
.yacht-card {
    background: rgba(10, 14, 35, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(58, 124, 255, 0.15);
    overflow: hidden;
    position: relative;
}

.card-img {
    aspect-ratio: 9 / 5;
    max-height: 500px;
    overflow: hidden;
    width: 100%;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card:hover .card-img img,
.yacht-card:hover .card-img img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.card-tag,
.yacht-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(58, 124, 255, 0.15);
    border: 1px solid rgba(58, 124, 255, 0.5);
    color: #3A7CFF;
}

.feature-bullets {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #A8B0C8;
    font-size: 14px;
}

/* Booking Steps */
.booking-steps-wrapper {
    position: relative;
}

.booking-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.booking-steps-line {
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(58, 124, 255, 0.4), rgba(45, 235, 255, 0.2));
    z-index: 0;
}

.booking-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.booking-step-indicator {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 0, #ffffff, #3A7CFF);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(58, 124, 255, 0.7);
}

.booking-step-indicator span {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.booking-step-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.booking-step-desc {
    font-size: 14px;
    color: #A8B0C8;
}

@media (max-width: 900px) {
    .booking-steps {
        grid-template-columns: 1fr 1fr;
    }

    .booking-steps-line {
        display: none;
    }
}

@media (max-width: 600px) {
    .booking-steps {
        grid-template-columns: 1fr;
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 14px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
}

.gallery-item.large {
    grid-row: span 2;
    grid-column: span 2;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 150px;
    }
}

/* Map Section */
.map-wrapper {
    margin-top: 20px;
}

/* Old grid layout removed — see "Leaflet Map Styles" below */


/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: rgba(10, 14, 35, 0.85);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.accordion-header {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
}

.accordion-icon {
    transition: transform 0.25s ease;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 20px 18px;
    color: #A8B0C8;
    font-size: 14px;
    display: none;
}

.accordion-item.open .accordion-body {
    display: block;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.contact-item {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #3A7CFF 0%, #2DEBFF 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-item.line {
    background: linear-gradient(135deg, #00c200 0%, #46e25b 100%);
}

.contact-item.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #0CCB4C 100%);
}

.contact-item:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Simple Header & Footer placeholders (filled by JS) */
header.site-header,
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #2A3F5F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    background: #233551;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
}

.logo {
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* Logo image in header — invert to white on navy background */
#main-header .logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* ── Portfolio Grid ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-hidden {
    display: none;
}

.portfolio-expanded .portfolio-hidden {
    display: block;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .portfolio-item {
        border-radius: 8px;
    }
}

/* ── Expanded Destination Card ── */
.dest-expanded-card {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(18, 22, 48, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(58, 124, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dest-expanded-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(58, 124, 255, 0.15);
}

.dest-expanded-img {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
}

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

.dest-expanded-card:hover .dest-expanded-img img {
    transform: scale(1.05);
}

.dest-expanded-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dest-expanded-title {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 8px 0 12px;
}

.dest-expanded-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ── Stats Counter ── */
.stats-counter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(18, 22, 48, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(58, 124, 255, 0.15);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #3A7CFF, #2DEBFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    display: inline-block;
}

.stat-plus {
    font-size: 32px;
    font-weight: 700;
    color: #3A7CFF;
    display: inline-block;
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Responsive: Expanded Card & Stats */
@media (max-width: 768px) {
    .dest-expanded-card {
        flex-direction: column;
    }
    .dest-expanded-img {
        flex: none;
        max-width: 100%;
        height: 250px;
    }
    .dest-expanded-content {
        padding: 24px;
    }
    .dest-expanded-title {
        font-size: 22px;
    }
    .stats-counter {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .stats-counter {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-item {
        padding: 20px 12px;
    }
    .stat-number {
        font-size: 28px;
    }
}

/* Logo image in footer — invert to white on dark background */
footer .logo-img,
.site-footer .logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 13px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFFFFF;
}

footer.site-footer,
footer {
    padding: 50px 20px 30px;
    border-top: none;
    margin-top: 60px;
    color: #E0E6ED;
    position: relative;
}

/* Dark overlay for readability on the background image */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 20, 40, 0.80) 0%, rgba(10, 20, 40, 0.88) 100%);
    z-index: 0;
}

/* Ensure all direct children sit above the overlay */
footer > * {
    position: relative;
    z-index: 1;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col-title,
footer h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF !important;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #FFFFFF;
}

.footer-col ul a,
footer a {
    color: #FFFFFF;
    transition: color 0.2s ease;
}

.footer-col ul a:hover,
footer a:hover {
    color: #FFFFFF;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #FFFFFF;
    font-size: 14px;
}

.footer-contact-info i {
    width: 20px;
    color: #3A7CFF;
    font-size: 16px;
}

footer .logo {
    color: #FFFFFF;
}

footer p {
    color: #FFFFFF;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
}

.footer-bottom a {
    color: #FFFFFF;
}

.footer-bottom a:hover {
    color: #FFFFFF;
}

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

:root {
    /* Primary Palette (Ocean Escape) */
    --electric-blue: #318AA8; /* teal-blue accent */
    --deep-navy: #2A5279;     /* main background blue */
    --ocean-blue: #3E4152;    /* deep slate for header/footer */
    --sky-blue: #D6DDE0;      /* light neutral */
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-gray: #E2E8F0;
    --mid-gray: #64748B;
    --dark-gray: #1E293B;
    
    /* Accent */
    --cyan-glow: #06B6D4;
    --silver: #CBD5E1;
    
    /* Text Colors */
    --text-muted: #475569;
    --text-dark: #1E293B;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #318AA8 0%, #2A5279 100%);
    --gradient-hero: linear-gradient(135deg, rgba(42, 82, 121, 0.95) 0%, rgba(49, 138, 168, 0.9) 100%);
    --gradient-card: linear-gradient(135deg, rgba(49, 138, 168, 0.15) 0%, rgba(62, 65, 82, 0.08) 100%);
    --gradient-bg: linear-gradient(180deg, #2A5279 0%, #3E4152 55%, #2A5279 100%);
    
    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
    --glow-blue: 0 0 20px rgba(0, 102, 255, 0.3), 0 0 40px rgba(0, 102, 255, 0.2);
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
    
    /* Spacing */
    --section-padding: 100px;
    --card-padding: 40px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-heading: 'Outfit', 'Kanit', sans-serif;
    --font-body: 'Kanit', 'Inter', sans-serif;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

/* Glow Effects */
.glow-blue {
    box-shadow: var(--glow-blue), var(--shadow-lg);
}

.glow-cyan {
    box-shadow: var(--glow-cyan), var(--shadow-lg);
}

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

/* Removed duplicate body definition */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #3B82F6;
    letter-spacing: -0.02em;
}

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

ul { list-style: none; }

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

/* Typography */
.section-title { 
    font-size: 48px; 
    text-align: center; 
    margin-bottom: 20px; 
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #3B82F6;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 24px auto 0;
    border-radius: 2px;
}

.subtitle { 
    color: var(--cyan-glow); 
    font-size: 12px; 
    margin-bottom: 16px; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    font-weight: 600; 
    text-align: center;
}

/* Grid System */
.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 40px; 
}

.grid { 
    display: grid; 
    gap: 32px; 
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons - Tech Luxury */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary { 
    background: var(--gradient-primary);
    color: var(--white); 
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--cyan-glow) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover { 
    transform: translateY(-4px);
    box-shadow: var(--glow-blue);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline { 
    border: 2px solid var(--electric-blue); 
    color: var(--electric-blue); 
    background: transparent;
}

.btn-outline:hover { 
    background: var(--electric-blue); 
    color: var(--white);
    box-shadow: var(--glow-blue);
}

/* Hero Component - Tech Luxury */
.hero-wrapper { margin-bottom: 0px; }

.hero-sub { 
    height: 60vh; 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden;
}

.hero-sub.hero-full { height: 100vh; }

.hero-sub::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: transparent;
    /* Removed dark blue overlay to show hero image clearly */
}

.hero-content-sub {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content-sub h1 { 
    color: #FFFFFF; 
    font-size: 72px; 
    margin-bottom: 24px; 
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.hero-content-sub p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #D6DDE0;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Card Component - Tech Luxury Glassmorphism */
.card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #1976D2;
    transition: var(--transition-base);
    box-shadow: 0 8px 20px rgba(26, 93, 255, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Cards with images (Yacht cards) */
.card:has(.card-img) {
    background: #FFFFFF;
    border: 1px solid #1976D2;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(26, 93, 255, 0.08);
}

/* Override for overlay cards - no background, no border */
.card.card-overlay {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: block;
}

.card.card-overlay::before {
    display: none !important;
    content: none !important;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Hide ::before for overlay cards */
.card-overlay::before {
    display: none !important;
}

/* Cards without card-img (text-only cards like reviews) */
.card:not(:has(.card-img)) {
    background: #1E40AF;
    border: 1.5px solid #172554;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3), 0 0 15px rgba(30, 64, 175, 0.2);
}

.card:not(:has(.card-img)):hover {
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.5), 0 0 30px rgba(30, 64, 175, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: #1E3A8A;
}

.card:not(:has(.card-img)) h3,
.card:not(:has(.card-img)) h4,
.card:not(:has(.card-img)) h5 {
    color: #FFFFFF !important;
}

.card:not(:has(.card-img)) p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 12px 28px rgba(26, 93, 255, 0.12);
    border-color: #1976D2;
}

.card:hover::before {
    opacity: 1;
}

.card-img { 
    aspect-ratio: 9 / 5;
    max-height: 500px;
    position: relative; 
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.8) 100%);
    opacity: 0.6;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-body { 
    padding: 32px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Card body for cards with images - but not overlay cards */
.card:has(.card-img):not(.card-overlay) .card-body {
    background: #FFFFFF;
}

.card-tag { 
    font-size: 11px; 
    font-weight: 700; 
    text-transform: uppercase; 
    color: #3B82F6; 
    margin-bottom: 16px; 
    display: inline-block;
    letter-spacing: 2px;
    background: rgba(59, 130, 246, 0.15); 
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Tag pill for cards with images */
.card:has(.card-img) .card-tag {
    background: #2A5279;
    color: #1976D2;
    border: 1px solid #1976D2;
}

.card-meta i {
    color: var(--electric-blue);
    margin-right: 6px;
}

.card-title { 
    font-size: 24px; 
    margin-bottom: 16px; 
    color: #3B82F6;
    line-height: 1.3;
    font-weight: 600;
}

/* Title for cards with images */
.card:has(.card-img) .card-title {
    color: #1976D2;
}

/* Subtitle for cards with images */
.card:has(.card-img) .card-body p {
    color: #5F7EB5;
}

/* Button for cards with images */
.card:has(.card-img) .btn-primary {
    background: #1A5DFF;
    border: none;
}

.card:has(.card-img) .btn-primary:hover {
    background: #0F4ACC;
}

/* Hover effect for cards with images */
.card:has(.card-img):hover {
    box-shadow: 0 12px 28px rgba(26, 93, 255, 0.12);
    transform: translateY(-8px);
}

.card-price { 
    font-weight: 700; 
    font-size: 28px; 
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-meta { 
    display: flex; 
    gap: 20px; 
    color: var(--light-gray); 
    font-size: 14px; 
    margin-bottom: 24px; 
}

.card .btn-primary {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
}

/* Header & Footer Styles (For partials) */
#main-header { 
    position: fixed !important; 
    top: 12px !important; 
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 36px));
    z-index: 9999 !important; 
    padding: 12px 24px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: background 0.3s ease;
    /* Glassmorphism header */
    background: rgba(46, 64, 87, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

#main-header.scrolled {
    background: rgba(46, 64, 87, 0.8);
}
.logo { 
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 32px;
    width: auto;
    display: block;
}
footer .logo-img {
    height: 120px;
}
.nav-links { 
    display: flex; 
    gap: 20px; 
    flex-shrink: 1;
    min-width: 0;
}
.nav-links a { 
    font-size: 13px; 
    font-weight: 500; 
    color: rgba(255, 255, 255, 0.85); 
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { 
    color: #ffffff;
}

.lang-switcher { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    background: transparent; 
    padding: 6px 18px; 
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}
.lang-btn { 
    background: none; 
    border: none; 
    color: rgba(255, 255, 255, 0.75); 
    font-size: 11px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: color 0.3s ease; 
}
.lang-btn.active { 
    color: #ffffff; 
}

/* Header Action Area */
#main-header > div:last-child {
    flex-shrink: 0;
}
#main-header .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Utilities */
.section-padding { 
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding); 
}

.bg-light { 
    background: rgba(30, 58, 138, 0.05);
}

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

/* ── Language Flag Toggle ── */
.lang-flag-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.lang-flag-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.lang-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* ── Mobile Menu Button (hidden on desktop) ── */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 10001;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ── Mobile Menu Overlay ── */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}
.mobile-menu-overlay.open {
    display: block;
    background: rgba(0, 0, 0, 0.45);
}
.mobile-menu-panel {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    width: min(1200px, calc(100% - 32px));
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding: 24px 24px 28px;
    border-radius: 20px;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.25s ease;
    z-index: 10001;
}
.mobile-menu-overlay.open .mobile-menu-panel {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
}
.mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    padding: 13px 16px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s, transform 0.3s, opacity 0.3s;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-10px);
}
.mobile-menu-overlay.open .mobile-nav a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-overlay.open .mobile-nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(5) { transition-delay: 0.24s; }
.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.mobile-menu-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-content-sub h1 { font-size: 40px; }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    #main-header { 
        padding: 10px 16px; 
        width: calc(100% - 32px);
        top: 8px;
        border-radius: 999px;
    }
    #main-header .logo-img {
        height: 24px;
    }
    .nav-links { display: none; }
    #main-header .btn-primary { display: none; }
    .mobile-menu-btn {
        display: flex;
    }
}

/* ── Yacht Detail Page - Mobile ── */
@media (max-width: 768px) {
    .yacht-hero {
        height: 50vh !important;
        padding-bottom: 40px !important;
    }
    .yacht-title {
        padding: 0 20px !important;
    }
    .yacht-title h1 {
        font-size: 28px !important;
        margin-bottom: 10px !important;
    }
    .yacht-title p {
        font-size: 14px !important;
    }
    .specs-bar {
        flex-wrap: wrap !important;
        padding: 20px !important;
        gap: 16px;
        margin-top: -30px !important;
        border-radius: 16px !important;
    }
    .spec-item {
        flex: 0 0 calc(50% - 8px) !important;
        border-right: none !important;
        padding: 10px 0;
    }
    .spec-value {
        font-size: 15px !important;
    }
    .spec-label {
        font-size: 12px !important;
    }
    /* Override inline 2fr 1fr grid to single column */
    .container > .grid-3[style*="2fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-top: 40px !important;
    }
    .sticky-book {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        padding: 24px !important;
        border-radius: 16px !important;
    }
    .amenities-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .amenity-item {
        font-size: 13px !important;
        gap: 10px !important;
    }
    .gallery-featured {
        max-width: 100% !important;
    }
    .gallery-thumbs-wrapper {
        max-width: 100% !important;
    }
    .gallery-main {
        height: 220px !important;
        border-radius: 12px !important;
    }
    .gallery-thumb {
        width: 80px !important;
        height: 55px !important;
    }
    .gallery-lightbox {
        padding: 16px !important;
    }
    .lightbox-nav {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
    .lightbox-prev { left: 8px !important; }
    .lightbox-next { right: 8px !important; }
    .lightbox-close {
        top: 12px !important;
        right: 12px !important;
        width: 40px !important;
        height: 40px !important;
    }
}
/* Why Choose Us & Features - Tech Luxury */
.feature-box { 
    text-align: center; 
    padding: 36px 32px; 
    transition: var(--transition-base); 
    border-radius: var(--radius-lg); 
    background: #1E40AF;
    border: 1.5px solid #172554;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3), 0 0 15px rgba(30, 64, 175, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover { 
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.5), 0 0 30px rgba(30, 64, 175, 0.3); 
    transform: translateY(-12px); 
    border-color: rgba(255, 255, 255, 0.5);
    background: #1E3A8A;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-icon { 
    width: 80px; 
    height: 80px; 
    background: rgba(255, 255, 255, 0.15); 
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 20px; 
    color: #FFFFFF; 
    font-size: 36px; 
    transition: var(--transition-base);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.feature-box:hover .feature-icon {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

.feature-box p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.feature-title { 
    font-size: 22px; 
    margin-bottom: 16px; 
    font-family: var(--font-heading);
    font-weight: 600;
    color: #FFFFFF;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    color: rgba(226, 232, 240, 0.9);
    font-size: 14px;
    display: grid;
    gap: 4px;
}

.feature-bullets li::before {
    content: "•";
    margin-right: 6px;
}

/* How It Works - Process Steps - Tech Luxury */
.process-step { 
    position: relative; 
    text-align: center; 
    padding: 30px; 
    background: #1E40AF;
    border: 1.5px solid #172554;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3), 0 0 15px rgba(30, 64, 175, 0.2);
    transition: var(--transition-base);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.5), 0 0 30px rgba(30, 64, 175, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: #1E3A8A;
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
    font-family: var(--font-heading);
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

.step-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: 600;
}

.step-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.process-step p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.process-step h3 {
    color: #FFFFFF !important;
}

/* Add-ons Cards */
/* Add-ons Cards - Tech Luxury */
.addon-card {
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(0, 102, 255, 0.4);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(0, 102, 255, 0.15);
    text-align: center;
    height: 100%;
}

.addon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.5), 0 0 30px rgba(30, 64, 175, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: #1E3A8A;
}

.addon-card i {
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 25px;
    display: block;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.addon-card h4 {
    margin-bottom: 12px;
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #FFFFFF;
}

.addon-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Route Map Section */
.map-wrapper { 
    background: transparent; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: none; 
    border: none; 
    position: relative; 
}
.map-label { 
    position: absolute; 
    background: var(--white); 
    padding: 12px 25px; 
    border-radius: 0; 
    font-weight: 700; 
    font-size: 11px; 
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-sm); 
    color: var(--primary-gold); 
    pointer-events: none; 
}

/* Video & Gallery */
.video-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    border-radius: 4px; 
    box-shadow: var(--shadow-md); 
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 250px); gap: 24px; }
.gallery-item { border-radius: 4px; overflow: hidden; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm); }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }

/* FAQ Accordion */
.accordion { max-width: 900px; margin: 0 auto; }
.accordion-item { 
    background: #1E40AF;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
    border: 1px solid #172554;
    overflow: hidden;
    transition: var(--transition);
}
.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
}
.accordion-header { 
    padding: 25px 35px; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-weight: 500; 
    font-size: 20px; 
    color: #FFFFFF; 
    transition: var(--transition); 
    font-family: var(--font-heading);
}
.accordion-icon { 
    font-size: 14px;
    color: #FFFFFF;
    transition: var(--transition); 
}
.accordion-body { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    color: rgba(255, 255, 255, 0.9); 
    line-height: 1.8; 
    padding: 0 35px;
    font-size: 15px;
}
.accordion-item.active {
    border-color: rgba(255, 255, 255, 0.5);
}
.accordion-item.active .accordion-header {
    color: #FFFFFF;
}
.accordion-item.active .accordion-icon { 
    transform: rotate(180deg); 
}
.accordion-item.active .accordion-body { 
    padding-bottom: 35px; 
    max-height: 500px; 
}

/* Blog */
.pattaya-intro {
    align-items: center;
    margin-bottom: 80px;
    gap: 60px;
}

.pattaya-intro-media {
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-lg);
}

.pattaya-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pattaya-intro-content h2 {
    font-size: 40px;
    margin-bottom: 18px;
    color: #FFFFFF;
}

.pattaya-intro-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.7;
}

.pattaya-intro-text {
    color: #D6DDE0;
    margin-bottom: 24px;
}

.pattaya-intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
}

.pattaya-intro-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #D6DDE0;
}

.pattaya-intro-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .pattaya-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .pattaya-intro-media {
        height: 260px;
    }
}

/* Phuket Intro */
.phuket-intro {
    align-items: center;
    margin-bottom: 80px;
}

.phuket-intro-heading {
    font-size: 36px;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.phuket-intro-text {
    color: #D6DDE0;
    margin-bottom: 20px;
}

.phuket-intro-list {
    color: #D6DDE0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.phuket-intro-media {
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
}

.phuket-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .phuket-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phuket-intro-media {
        height: 260px;
    }

    .phuket-intro-heading {
        font-size: 28px;
    }

    .phuket-intro-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .phuket-intro {
        margin-bottom: 40px;
    }

    .phuket-intro-media {
        height: 200px;
        border-radius: 16px;
    }

    .phuket-intro-heading {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .phuket-intro-text {
        font-size: 13px;
    }
}

.blog-date { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; display: block; }

/* Blog Listing - Main Journal Page */
.blog-grid-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.blog-card-main {
    background: #020617;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.7);
    box-shadow:
        0 24px 80px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(37, 99, 235, 0.4);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.blog-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-main:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-body {
    padding: 26px 26px 14px;
}

.blog-card-title {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #E5E7EB;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: #9CA3AF;
}

.blog-card-footer {
    margin-top: auto;
    padding: 18px 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.6), transparent 55%),
                radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.5), transparent 60%),
                linear-gradient(90deg, #1D4ED8 0%, #22C55E 100%);
}

.blog-card-date {
    font-size: 13px;
    color: rgba(226, 232, 240, 0.9);
    font-weight: 500;
}

.blog-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    color: #E5E7EB;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.blog-read-btn i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.blog-read-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .blog-grid-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-grid-main {
        grid-template-columns: 1fr;
    }
}

/* Floating Contact Button */
.floating-contact { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.contact-item { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: var(--transition); animation: pulse 2s infinite; }
.contact-item:hover { transform: scale(1.1) translateY(-5px); }
.contact-item.line { background: #00c300; }
.contact-item.whatsapp { background: #25d366; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 195, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 195, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 195, 0, 0); }
}

/* Leaflet Map Styles - Normal Theme */
.map-container {
    display: block;
    width: 100%;
    height: 650px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1.5px solid rgba(0, 102, 255, 0.2);
    background-color: transparent;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Voyage Concierge Panel - Glassmorphism */
.sidebar {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 28px;
    border-radius: var(--radius-lg);
    width: 320px;
    box-shadow: var(--shadow-xl);
    border: 1.5px solid rgba(0, 102, 255, 0.4);
}

.sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    color: #3B82F6;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: -0.3px;
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.location-btn {
    display: block;
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 10px;
    background: rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--light-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.location-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--electric-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.location-btn:hover {
    background: rgba(0, 102, 255, 0.2);
    color: var(--white);
    transform: translateX(4px);
    border-color: rgba(0, 102, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

.location-btn.active {
    background: rgba(0, 102, 255, 0.25);
    color: var(--white);
    font-weight: 600;
    border-color: rgba(0, 102, 255, 0.8);
    transform: translateX(4px);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.location-btn.active::before {
    transform: scaleY(1);
}

.reset-btn {
    display: block;
    text-align: center;
    color: var(--mid-gray);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 600;
}

.reset-btn:hover {
    color: var(--electric-blue);
    letter-spacing: 2.5px;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

/* Leaflet Customization - Tech Luxury Blue Theme */
.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 4px;
}

.leaflet-popup-content {
    margin: 16px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
}

.leaflet-popup-content b {
    color: #3B82F6;
    font-family: var(--font-heading);
    font-size: 16px;
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 7px 1px rgba(0,0,0,0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-top: none;
    border-left: none;
}

.leaflet-container a.leaflet-popup-close-button {
    color: var(--mid-gray);
    font-size: 20px;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
    margin-bottom: 30px !important;
    margin-right: 10px !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.leaflet-control-zoom a {
    background-color: rgba(10, 22, 40, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    color: var(--white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    transition: all 0.3s ease !important;
}

.leaflet-control-zoom a:hover {
    background-color: var(--electric-blue) !important;
    color: white !important;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5) !important;
}

/* Custom Marker - Tech Luxury Blue Pin */
.custom-marker {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--cyan-glow) 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid rgba(255, 255, 255, 0.9);
    width: 28px;
    height: 28px;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6), 0 0 40px rgba(0, 102, 255, 0.3);
    animation: markerDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: -28px;
}

@keyframes markerDrop {
    0% { 
        transform: translateY(-40px) rotate(-45deg) scale(0.5); 
        opacity: 0; 
    }
    60% {
        transform: translateY(5px) rotate(-45deg) scale(1.1);
    }
    100% { 
        transform: translateY(0) rotate(-45deg) scale(1); 
        opacity: 1; 
    }
}


@media (max-width: 768px) {
    .map-container {
        height: auto !important;
        display: flex;
        flex-direction: column;
        background-color: transparent !important;
    }
    .sidebar {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        order: -1;
        margin-bottom: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 0 15px 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .location-btn {
        margin-bottom: 0;
        text-align: center;
        background: rgba(30, 58, 138, 0.4);
        border-color: rgba(59, 130, 246, 0.3);
    }
    .location-btn:hover,
    .location-btn.active {
        background: rgba(59, 130, 246, 0.35);
    }
    .reset-btn {
        grid-column: span 2;
        margin-top: 10px;
    }
    #map {
        position: relative !important;
        height: 300px !important;
        border-radius: 12px;
    }
    .map-wrapper {
        background: transparent !important;
    }
}

/* Yacht Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 13, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999; /* Higher than everything */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 50px;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--primary-purple);
}

.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

@media (max-width: 1100px) {
    .lightbox-prev { left: 10px; background: rgba(0,0,0,0.5); }
    .lightbox-next { right: 10px; background: rgba(0,0,0,0.5); }
    .lightbox-close { right: 10px; top: -70px; }
}

/* Hover effects for interactive images */
.gallery-img, .gallery-item, .yacht-hero {
    cursor: pointer !important;
}

.gallery-img:hover, .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* Global Premium Backgrounds */
.premium-gradient-bg { 
    background: linear-gradient(180deg, #2A5279 0%, #3E4152 55%, #2A5279 100%);
    min-height: 100vh;
}

/* Contact Page - Premium Dark Card Form */
.contact-section {
    padding-top: 80px;
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 56px;
    align-items: stretch;
}

.contact-title {
    font-size: 36px;
    margin-bottom: 32px;
    color: #FFFFFF;
}

.contact-info {
    color: #D6DDE0;
}

.contact-info-content h3 {
    color: #FFFFFF;
}

.contact-info-content p {
    color: #D6DDE0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    align-items: center;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E0ECFF;
    color: #1D4ED8;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.contact-info-content h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #FFFFFF;
}

.contact-info-content p {
    margin: 0;
    font-size: 14px;
    color: #D6DDE0;
}

.contact-card {
    padding: 40px 40px 32px;
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background:
        radial-gradient(140% 180% at 0% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
        radial-gradient(120% 160% at 100% 0%, rgba(56, 189, 248, 0.18) 0%, transparent 60%),
        linear-gradient(145deg, #020617 0%, #020617 45%, #020617 100%);
    box-shadow:
        0 40px 100px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(15, 23, 42, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.5) 0%, transparent 50%);
    opacity: 0.7;
    pointer-events: none;
}

.contact-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-row {
    display: grid;
    gap: 18px;
}

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

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
    background: rgba(15, 23, 42, 0.9);
    color: #E5E7EB;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

.contact-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9CA3AF 50%), linear-gradient(135deg, #9CA3AF 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-color: #60A5FA;
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.6), 0 0 0 10px rgba(37, 99, 235, 0.25);
    background: rgba(15, 23, 42, 0.95);
}

.contact-textarea {
    border-radius: 18px;
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    background: linear-gradient(90deg, #3B82F6 0%, #06B6D4 50%, #22C55E 100%);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
}

.contact-submit:hover {
    box-shadow: 0 22px 60px rgba(37, 99, 235, 0.8);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-card {
        padding: 32px 24px 24px;
        border-radius: 26px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .contact-title {
        font-size: 28px;
    }

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

    .contact-card {
        margin-top: 10px;
    }
}

/* Professional Blog & Editorial Styles */
.editorial-main { background: linear-gradient(to bottom, #FFFFFF 0%, #F9FAFB 15%, #EBE5FF 100%); padding-bottom: 100px; }
.article-container { max-width: 900px; margin: 0 auto; padding: 100px 20px; position: relative; }
.article-header { text-align: center; margin-bottom: 60px; }
.article-label { color: #3B82F6; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; display: block; margin-bottom: 20px; }
.article-title-lg { font-size: 52px; line-height: 1.1; margin-bottom: 30px; letter-spacing: -1px; }
.article-meta-bar { display: flex; align-items: center; justify-content: center; gap: 30px; color: var(--text-muted); font-size: 15px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 20px 0; margin-bottom: 60px; }
.article-meta-item { display: flex; align-items: center; gap: 8px; }
.article-meta-item i { color: var(--primary-purple); opacity: 0.7; }

.article-content-wrapper { position: relative; }
.article-main-image { border-radius: 32px; overflow: hidden; margin-bottom: 80px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.article-main-image img { width: 100%; height: auto; display: block; }

.article-body-text { font-size: 20px; line-height: 1.9; color: var(--text-dark); max-width: 750px; margin: 0 auto; }
.article-body-text h2 { font-size: 32px; margin: 60px 0 30px; letter-spacing: -0.5px; }
.article-body-text p { margin-bottom: 35px; opacity: 0.9; }

.highlight-box { background: #F9FAFB; border-left: 4px solid var(--primary-purple); padding: 40px; margin: 50px 0; border-radius: 0 24px 24px 0; }
.highlight-box h3 { margin-bottom: 15px; font-size: 22px; }
.highlight-box p { margin-bottom: 0; font-size: 18px; }

.pull-quote { font-size: 28px; font-weight: 700; font-style: italic; color: var(--primary-purple); quotes: "“" "”"; padding: 40px 0; text-align: center; max-width: 600px; margin: 40px auto; position: relative; line-height: 1.4; }
.pull-quote::before { content: open-quote; position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 80px; opacity: 0.1; line-height: 1; }

.article-footer { margin-top: 100px; padding-top: 60px; border-top: 1px solid #eee; }
.article-author { display: flex; align-items: center; gap: 20px; background: #fff; padding: 30px; border-radius: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; margin-bottom: 60px; }
.author-avatar { width: 64px; height: 64px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary-purple); font-weight: 700; }
.author-info h4 { font-size: 18px; margin-bottom: 4px; }
.author-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

@media (max-width: 768px) {
    .article-title-lg { font-size: 36px; }
    .article-meta-bar { flex-direction: column; gap: 10px; align-items: flex-start; padding: 20px; }
    .article-body-text { font-size: 18px; }
}

/* Card with Overlay Text - Text over Image */
.card-overlay {
    position: relative;
    overflow: hidden;
    height: 500px;
    border-radius: 16px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.card-overlay .card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

.card-overlay .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    visibility: visible !important;
}

.card-overlay .card-img::after {
    display: none !important;
}

.card-overlay .card-body {
    position: absolute;
    inset: 0;
    padding: 40px 32px 32px;
    z-index: 3;
    background: none !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.card-overlay .card-body * {
    pointer-events: auto;
}

.card-overlay .card-body h3 {
    color: #FFFFFF;
    font-size: 36px;
    margin-bottom: 16px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9), 0 6px 20px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    line-height: 1.2;
}

.card-overlay .card-body p {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.7);
    margin: 0 0 24px 0;
}

.card-overlay .card-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 3;
    margin: 0;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
}

.card-overlay .btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    align-self: flex-start;
    margin-top: 8px;
}

/* Pattaya Packages - Island Cards */
.island-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.island-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 380px;
}

.island-card-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.island-card:hover .island-card-img {
    transform: scale(1.08);
}

.island-card-overlay {
    position: absolute;
    inset: 0;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.65) 65%, rgba(0, 0, 0, 0.85) 100%);
}

.island-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
    font-size: 12px;
    margin-bottom: 14px;
}

.island-chip-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
    font-size: 11px;
}

.island-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

.island-desc {
    font-size: 14px;
    color: rgba(249, 250, 251, 0.9);
    margin-bottom: 18px;
}

.island-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #e5e7eb;
}

.island-meta i {
    margin-right: 6px;
    color: #34d399;
}

.island-link {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    font-weight: 600;
    color: #bfdbfe;
}

.island-link:hover {
    color: #ffffff;
}

/* Responsive for Island Cards */
@media (max-width: 1200px) {
    .island-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .island-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Island Detail Modal */
.island-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.island-modal {
    background: #020617;
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    flex-direction: row;
}

.island-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #E5E7EB;
    font-size: 20px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease;
}

.island-modal-close:hover {
    background: rgba(30, 64, 175, 0.9);
}

.island-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 500px;
}

.island-modal-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.island-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.island-modal-info {
    padding: 32px 32px 28px;
    overflow-y: auto;
    max-height: 90vh;
}

.island-modal-icon {
    font-size: 32px;
    color: #60A5FA;
    margin-bottom: 20px;
}

.island-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.island-modal-time {
    color: #CBD5F5;
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.island-modal-desc {
    color: #CBD5F5;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.island-modal-activities {
    margin-bottom: 32px;
}

.island-activities-title {
    font-size: 16px;
    font-weight: 600;
    color: #F9FAFB;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.island-activities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-tag {
    background: rgba(96, 165, 250, 0.1);
    color: #93C5FD;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.island-modal-tips {
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.15);
}

.island-tips-title {
    font-size: 14px;
    font-weight: 700;
    color: #60A5FA;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.island-tips-text {
    color: #CBD5F5;
    font-size: 14px;
    line-height: 1.6;
}

.island-modal-btn {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3A7CFF 0%, #2DEBFF 100%);
    color: #FFFFFF;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(58, 124, 255, 0.3);
}

.island-modal-btn:hover {
    box-shadow: 0 8px 30px rgba(58, 124, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .island-modal {
        max-width: 95%;
        max-height: 100vh;
        overflow: hidden;
    }

    .island-modal-content {
        grid-template-columns: 1fr;
    }

    .island-modal-image {
        min-height: 150px;
        max-height: 25vh;
    }

    .island-modal-info {
        padding: 16px;
        overflow: hidden;
    }

    .island-modal-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .island-modal-time {
        margin-bottom: 8px;
    }

    .island-modal-desc {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .island-modal-activities {
        margin-bottom: 10px;
    }

    .island-modal-tips {
        padding: 10px;
        margin-bottom: 10px;
    }

    .island-tips-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .island-modal-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN
   Covers all phone sizes: 320px - 768px
   ============================================ */

/* --- Tablet & Small Laptop (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Hero Section */
    .hero-sub {
        height: 45vh;
        min-height: 280px;
    }

    .hero-content-sub h1 {
        font-size: 36px;
        margin-bottom: 12px;
        line-height: 1.2;
        padding: 0 16px;
        white-space: pre-line;
    }

    .hero-content-sub p {
        font-size: 12px;
        letter-spacing: 2px;
    }

    /* Section Titles */
    .section-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* Container */
    .container {
        padding: 0 28px;
    }

    /* Pattaya Intro Section */
    .pattaya-intro {
        gap: 30px;
        margin-bottom: 50px;
    }

    .pattaya-intro-media {
        height: 280px;
        border-radius: 20px;
        box-shadow: 0 0 30px rgba(58, 124, 255, 0.2);
    }

    .pattaya-intro-content h2 {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .pattaya-intro-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
        color: var(--primary-purple);
        opacity: 0.9;
    }

    .pattaya-intro-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .pattaya-intro-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 500px;
        margin: 0 auto;
        text-align: left;
    }

    .pattaya-intro-item {
        font-size: 13px;
    }

    /* Island Destination Cards */
    .island-card {
        min-height: 300px;
        border-radius: 24px;
    }

    .island-card-img {
        min-height: 300px;
    }

    .island-card-overlay {
        padding: 20px;
    }

    .island-title {
        font-size: 20px;
    }

    .island-desc {
        font-size: 13px;
        margin-bottom: 14px;
    }

    /* Yacht Fleet Cards */
    .card-img {
        height: 220px;
    }

    .card-body {
        padding: 20px;
    }

    .card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .card-meta {
        font-size: 13px;
        margin-bottom: 12px;
    }

    /* Accordion / FAQ */
    .accordion-header {
        padding: 18px 20px;
        font-size: 16px;
    }

    .accordion-body {
        padding: 0 20px;
        font-size: 14px;
    }

    .accordion-item.active .accordion-body {
        padding-bottom: 20px;
    }

    /* Footer */
    .footer-grid {
        gap: 24px;
    }

    footer {
        padding: 30px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Feature Boxes */
    .feature-box {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .feature-title {
        font-size: 18px;
    }

    /* Process Steps */
    .process-step {
        padding: 22px 18px;
    }

    .step-number {
        font-size: 48px;
    }

    .step-title {
        font-size: 18px;
    }

    /* Add-on Cards */
    .addon-card {
        padding: 22px 18px;
    }

    .addon-card i {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .addon-card h4 {
        font-size: 17px;
    }

    /* Contact Section */
    .contact-item {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    /* Map Section - already handled by existing media query */

    /* Buttons */
    .btn,
    .btn-primary,
    .btn-outline {
        padding: 6px 14px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Island Modal */
    .island-modal {
        flex-direction: column;
        overflow: hidden;
    }

    .island-modal-image {
        min-height: 140px;
        max-height: 22vh;
    }

    .island-modal-info {
        max-height: none;
        padding: 14px;
        overflow: hidden;
    }

    .island-modal-desc {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .island-modal-activities {
        margin-bottom: 10px;
    }

    .activity-tag {
        padding: 4px 10px;
        font-size: 11px;
    }

    .island-modal-tips {
        padding: 8px;
        margin-bottom: 8px;
    }

    .island-modal-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Blog */
    .blog-grid-main {
        grid-template-columns: 1fr;
    }
}

/* --- Small Phones (max-width: 480px) --- */
@media (max-width: 480px) {

    /* Hero */
    .hero-sub {
        height: 40vh;
        min-height: 250px;
    }

    .hero-content-sub h1 {
        font-size: 30px;
        padding: 0 12px;
    }

    .hero-content-sub p {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    /* Section Titles */
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .section-title::after {
        width: 60px;
        margin-top: 16px;
    }

    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .container {
        padding: 0 24px;
    }

    /* Pattaya Intro */
    .pattaya-intro {
        margin-bottom: 50px;
        gap: 35px;
    }

    .pattaya-intro-media {
        height: 200px;
        border-radius: 16px;
    }

    .pattaya-intro-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .pattaya-intro-text {
        font-size: 13px;
    }

    .pattaya-intro-item {
        font-size: 12px;
        gap: 8px;
    }

    .pattaya-intro-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    /* Island Cards */
    .island-card-grid {
        gap: 16px;
    }

    .island-card {
        min-height: 260px;
        border-radius: 20px;
    }

    .island-card-img {
        min-height: 260px;
    }

    .island-card-overlay {
        padding: 16px;
    }

    .island-chip {
        padding: 4px 10px;
        font-size: 11px;
        margin-bottom: 10px;
    }

    .island-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .island-desc {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .island-footer {
        font-size: 11px;
    }

    /* Map */
    .map-container {
        height: 400px;
    }

    .sidebar {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0 0 12px 0;
    }

    .sidebar h3 {
        grid-column: span 2;
        font-size: 15px;
        margin-bottom: 8px;
        text-align: center;
    }

    .location-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .reset-btn {
        font-size: 10px;
        margin-top: 6px;
        padding-top: 10px;
    }

    /* Yacht Cards */
    .grid {
        gap: 20px;
    }

    .card-img {
        height: 180px;
    }

    .card-body {
        padding: 16px;
    }

    .card-tag {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .card-meta {
        font-size: 12px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .card-meta span {
        font-size: 12px;
    }

    .card-body p {
        font-size: 13px !important;
        margin-bottom: 16px !important;
    }

    /* Footer */
    footer {
        padding: 24px 16px;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    footer .logo-img {
        height: 80px;
    }

    /* Feature Boxes */
    .feature-box {
        padding: 20px 16px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
        margin-bottom: 14px;
    }

    .feature-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .feature-box p {
        font-size: 13px !important;
    }

    /* Process Steps */
    .process-step {
        padding: 18px 14px;
    }

    .step-number {
        font-size: 40px;
        margin-bottom: 14px;
    }

    .step-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .step-desc {
        font-size: 13px;
    }

    /* Add-on Cards */
    .addon-card {
        padding: 18px 14px;
    }

    .addon-card i {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .addon-card h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .addon-card p {
        font-size: 12px;
    }

    /* Accordion / FAQ */
    .accordion-header {
        padding: 14px 16px;
        font-size: 14px;
    }

    .accordion-body {
        padding: 0 16px;
        font-size: 13px;
    }

    .accordion-item.active .accordion-body {
        padding-bottom: 16px;
    }

    /* Contact */
    .contact-item {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    /* Buttons */
    .btn,
    .btn-primary,
    .btn-outline {
        padding: 6px 12px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    /* Island Modal */
    .island-modal-overlay {
        padding: 10px;
    }

    .island-modal {
        max-width: 100%;
        border-radius: 16px;
    }

    .island-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .island-modal-image {
        min-height: 180px;
        max-height: 30vh;
    }

    .island-modal-info {
        padding: 18px;
        max-height: 60vh;
    }

    .island-modal-icon {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .island-modal-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .island-modal-time {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .island-modal-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .island-activities-title {
        font-size: 14px;
    }

    .activity-tag {
        padding: 5px 10px;
        font-size: 11px;
    }

    .island-tips-title {
        font-size: 12px;
    }

    .island-tips-text {
        font-size: 12px;
    }

    .island-modal-btn {
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 10px;
    }

    /* Blog Grid */
    .blog-grid-main {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --- Extra Small Phones (max-width: 360px) --- */
@media (max-width: 360px) {

    .hero-content-sub h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 20px;
    }

    .pattaya-intro-content h2 {
        font-size: 20px;
    }

    .pattaya-intro-media {
        height: 170px;
    }

    .island-card {
        min-height: 230px;
    }

    .island-card-img {
        min-height: 230px;
    }

    .island-title {
        font-size: 16px;
    }

    .card-title {
        font-size: 16px;
    }

    .map-container {
        height: 350px;
    }

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

    .sidebar h3 {
        grid-column: span 1;
    }

    .reset-btn {
        grid-column: span 1;
    }

    .island-modal-title {
        font-size: 18px;
    }


}
