/**
 * Main Stylesheet - Travel Agency CMS
 * Colors:
 * - Primary: #0A2540 (dark blue)
 * - Secondary: #E6F0FA (light blue)
 * - Accent: #0066CC (blue)
 * - Text: #333333
 * - Background: #FFFFFF
 */

/* ========================================
   CSS Reset & Base Styles
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

:root {
    /* Primary palette provided by user */
    --light-sea-green: #07beb8ff;
    --strong-cyan: #3dccc7ff;
    --pearl-aqua: #68d8d6ff;
    --icy-aqua: #9ceaefff;
    --icy-aqua-2: #c4fff9ff;

    /* Derived colors */
    --bg-white: #ffffff;
    --text-default: #223344;
    --accent: var(--strong-cyan);
    --muted: #6b7a80;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-default);
    background-color: var(--bg-white);
}

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

a {
    color: #0A2540;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0066CC;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: #0A2540;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   Layout
======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent) 80%, black 20%);
    border-color: color-mix(in srgb, var(--accent) 80%, black 20%);
    color: white;
}

.btn-secondary {
    background-color: var(--strong-cyan);
    color: white;
    border-color: var(--strong-cyan);
}

.btn-secondary:hover {
    background-color: color-mix(in srgb, var(--strong-cyan) 80%, black 20%);
    border-color: color-mix(in srgb, var(--strong-cyan) 80%, black 20%);
    color: white;
}

.btn-wa {
    background-color: #25d366;
    color: white;
    border-color: #25d366;
}

.btn-wa:hover {
    background-color: #1ebe5d;
    border-color: #1ebe5d;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #0A2540;
    border-color: #0A2540;
}

.btn-outline:hover {
    background-color: #0A2540;
    color: white;
}

.btn-white {
    background-color: white;
    color: #0A2540;
    border-color: white;
}

.btn-white:hover {
    background-color: #E6F0FA;
    color: #0A2540;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: #0A2540;
}

/* ========================================
   Header
======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A2540;
}

.logo:hover {
    color: #0A2540;
}

.logo-img {
    height: 28px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-img {
        height: 32px;
    }
}

.logo-icon {
    font-size: 1.5rem;
}

.main-nav {
    display: none;
}

@media (min-width: 992px) {
    .main-nav {
        display: block;
    }
    
    .main-nav ul {
        display: flex;
        gap: 30px;
    }
    
    .main-nav a {
        font-weight: 500;
        padding: 8px 0;
        position: relative;
    }
    
    .main-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: width 0.3s ease;
    }
    
    .main-nav a:hover::after,
    .main-nav a.active::after {
        width: 100%;
    }
    
    .main-nav a.active {
        color: var(--accent);
    }
}

.header-cta {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--pearl-aqua);
    border-radius: 8px;
    font-weight: 600;
    color: #0A2540;
}

.header-cta:hover {
    background: var(--strong-cyan);
    color: white;
}

@media (min-width: 992px) {
    .header-cta {
        display: flex;
    }
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #0A2540;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    padding: 30px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1.25rem;
    font-weight: 600;
    background: #E6F0FA;
    border-radius: 8px;
}

.mobile-menu nav a:hover {
    background: #0A2540;
    color: white;
}

.mobile-cta {
    display: block;
    margin-top: 30px;
    padding: 20px;
    background: #FF8A00;
    color: white;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 8px;
}

@media (min-width: 992px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pearl-aqua) 0%, var(--icy-aqua-2) 100%);
}

@media (min-width: 768px) {
    .hero {
        min-height: 600px;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('/assets/pic/hero.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-overlay
{
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgb(0 0 0 / 30%) 0%, rgba(156, 234, 239, 0.2) 100%);
}

.hero h1,
.hero .hero-subtitle {
    color: #fff;
    text-align: center;
}

.hero .hero-cta .btn-primary {
    background: var(--light-sea-green);
    color: white;
    border-color: var(--light-sea-green);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

@media (min-width: 576px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   Page Header
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--pearl-aqua) 0%, var(--icy-aqua-2) 100%);
    padding: 60px 0;
    text-align: center;
    color: #0A2540;
}

.page-header h1 {
    color: #0A2540;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    color: #0A2540;
    margin: 0;
}

/* ========================================
   Section Headers
======================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   Tours Grid & Cards
======================================== */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 576px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tour-card-link {
    display: block;
    color: inherit;
}

.tour-card-link:hover {
    color: inherit;
}

.tour-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tour-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #FF8A00;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
}

.tour-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0A2540;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tour-card-content {
    padding: 20px;
}

.tour-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.tour-destination,
.tour-duration {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.tour-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-more {
    display: inline-block;
    margin-top: 10px;
    color: #0066CC;
    font-weight: 600;
}

/* ========================================
   Tour Detail
======================================== */
.tour-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .tour-hero {
        min-height: 500px;
    }
}

.tour-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.3) 100%);
}

.tour-hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    color: white;
}

.tour-hero h1 {
    color: white;
    margin-bottom: 15px;
}

.tour-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    font-size: 1.1rem;
}

.tour-hero-price {
    font-weight: 700;
    color: #0066CC;
}

/* Simple header without hero image */
.tour-header-simple {
    background: linear-gradient(135deg, #0A2540 0%, #1a4a7a 100%);
    padding: 100px 0 40px;
    color: white;
}

.tour-header-simple .breadcrumb {
    margin-bottom: 20px;
}

.tour-header-simple .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.tour-header-simple .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.tour-header-simple h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tour-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.tour-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .tour-detail-grid {
        grid-template-columns: 1fr 350px;
    }
}

.tour-content {
    min-width: 0;
}

/* Clearfix for wrapped images */
.tour-content::after {
    content: "";
    display: table;
    clear: both;
}

.tour-sidebar {
    order: -1;
}

@media (min-width: 992px) {
    .tour-sidebar {
        order: 0;
    }
}

.sidebar-box {
    background: #E6F0FA;
    border-radius: 12px;
    padding: 30px;
}

.sidebar-box.sticky {
    position: sticky;
    top: 100px;
}

.sidebar-box h3 {
    margin-bottom: 20px;
}

.sidebar-price {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(10, 37, 64, 0.1);
}

.sidebar-price .label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.sidebar-price .price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0066CC;
}

.sidebar-price .note {
    font-size: 0.85rem;
    color: #666;
}

.sidebar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sidebar-info .icon {
    font-size: 1.25rem;
}

.sidebar-cta {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* ========================================
   Blog Grid & Cards
======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 576px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    display: block;
    color: inherit;
}

.blog-card-link:hover {
    color: inherit;
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-content {
    padding: 20px;
}

.blog-card-content time {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.blog-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-card-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Blog List */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-list-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-list-link {
    display: grid;
    grid-template-columns: 1fr;
    color: inherit;
}

@media (min-width: 768px) {
    .blog-list-link {
        grid-template-columns: 300px 1fr;
    }
}

.blog-list-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

@media (min-width: 768px) {
    .blog-list-image {
        aspect-ratio: auto;
        height: 100%;
    }
}

.blog-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-content {
    padding: 25px;
}

.blog-list-content time {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.blog-list-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-list-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #0066CC;
    font-weight: 600;
}

/* ========================================
   Blog Post
======================================== */
.post-header {
    background: linear-gradient(135deg, var(--light-sea-green) 0%, var(--strong-cyan) 100%);
    padding: 60px 0;
    color: white;
}

.post-header h1 {
    color: white;
    margin-bottom: 15px;
}

.post-header .breadcrumb a,
.post-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.85);
}

.post-header .breadcrumb a:hover {
    color: white;
}

.post-meta {
    color: rgba(255, 255, 255, 0.9);
}

.post-hero {
    margin-top: -30px;
}

.post-hero img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Hero image sizes */
.post-hero.hero-size-medium img {
    width: 50%;
    min-width: 300px;
}

.post-hero.hero-size-large img {
    width: 75%;
}

.post-hero.hero-size-full img {
    width: 100%;
}

/* Hero image alignment */
.post-hero.hero-align-left img {
    margin-right: auto;
}

.post-hero.hero-align-center img {
    margin-left: auto;
    margin-right: auto;
}

.post-hero.hero-align-right img {
    margin-left: auto;
}

.post-content {
    padding: 40px 0 60px;
}

/* ========================================
   Content Blocks
======================================== */
.block-heading {
    margin-top: 40px;
    margin-bottom: 20px;
}

.block-heading:first-child {
    margin-top: 0;
}

.block-text {
    margin-bottom: 20px;
    line-height: 1.8;
}

.block-text a {
    color: #0A2540;
    font-weight: 600;
    text-decoration: underline;
}

.block-text a:hover {
    color: #0066CC;
}

.block-image {
    margin: 20px 0;
}

.block-image img {
    border-radius: 8px;
    display: block;
    max-width: 100%;
}

/* Image Sizes */
.block-image.img-size-small {
    width: 25%;
    min-width: 150px;
}

.block-image.img-size-medium {
    width: 50%;
    min-width: 200px;
}

.block-image.img-size-large {
    width: 75%;
}

.block-image.img-size-full {
    width: 100%;
}

.block-image.img-size-small img,
.block-image.img-size-medium img,
.block-image.img-size-large img,
.block-image.img-size-full img {
    width: 100%;
}

/* Image Alignment */
.block-image.img-align-left {
    margin-right: auto;
    margin-left: 0;
}

.block-image.img-align-center {
    margin-left: auto;
    margin-right: auto;
}

.block-image.img-align-right {
    margin-left: auto;
    margin-right: 0;
}

/* Text Wrap */
.block-image.img-wrap.img-align-left {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    margin-top: 5px;
    margin-left: 0;
}

.block-image.img-wrap.img-align-right {
    float: right;
    margin-left: 25px;
    margin-bottom: 15px;
    margin-top: 5px;
    margin-right: 0;
}

/* Clear floats */
.block-text {
    /* Allow text to flow around floated images */
}

.block-heading {
    clear: both;
}

.block-image:not(.img-wrap) {
    clear: both;
}

/* Clearfix for content */
.article-content::after,
.tour-content::after {
    content: "";
    display: table;
    clear: both;
}

.block-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.block-list {
    margin: 20px 0;
    padding-left: 25px;
}

.block-list li {
    margin-bottom: 10px;
    position: relative;
}

ul.block-list {
    list-style: disc;
}

ol.block-list {
    list-style: decimal;
}

.block-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

@media (min-width: 768px) {
    .block-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item img {
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ========================================
   About Section
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 400px;
    }
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #E6F0FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066CC;
    font-weight: bold;
    flex-shrink: 0;
}

.feature h4 {
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.about-image {
    display: none;
}

@media (min-width: 992px) {
    .about-image {
        display: block;
    }
}

.image-placeholder {
    background: #E6F0FA;
    border-radius: 12px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    margin: 30px 0;
}

@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-box {
    background: #E6F0FA;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.feature-box .feature-icon {
    font-size: 2rem;
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
}

.feature-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* About page – scattered images */
.about-pic {
    border-radius: 16px;
    overflow: hidden;
    display: block;
    margin: 40px 0;
}

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

.about-pic:hover img {
    transform: scale(1.03);
}

/* Full-width banner */
.about-pic--wide {
    height: 380px;
}

/* Right-aligned, partial width */
.about-pic--right {
    height: 380px; /* changed height since it will be full width */
}

@media (min-width: 700px) {
    .about-pic--right {
        max-width: 60%;
        margin-left: auto;
        margin-right: 0;
    }
}

/* Left-aligned, partial width */
.about-pic--left {
    height: 270px;
}

/* Centered inset */
.about-pic--inset {
    height: 320px;
}

@media (min-width: 700px) {
    .about-pic--right {
        /* User requested 2nd image width 100% on PC */
        max-width: 100%;
        height: 480px; /* increased to look better across 100% width */
        margin-left: 0;
        margin-right: 0;
    }
}

.about-pics-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 700px) {
    .about-pics-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 30px;
        margin: 40px 0;
    }
    
    .about-pics-row .about-pic {
        margin: 0; /* Clear default block margin so flex grid spacing takes over */
    }

    .about-pics-row .about-pic--left {
        flex-grow: 1;
        max-width: none;
        height: 480px; /* match the 4th pic or custom */
    }
    
    .about-pics-row .about-pic--inset {
        flex-shrink: 0;
        width: 400px;
        height: 480px;
        max-width: none;
        margin: 0;
    }
}

/* Values List */
.values-list {
    list-style: none;
}

.values-list li {
    padding: 15px 0;
    border-bottom: 1px solid #E6F0FA;
}

.values-list li:last-child {
    border-bottom: none;
}

/* ========================================
   MUNGO HERO Story Section
======================================== */
.mungo-story-section {
    background: white;
}

.story-content {
    max-width: 1200px;
    margin: 0 auto;
}

.story-title {
    font-size: 2rem;
    color: var(--light-sea-green);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px 0;
    align-items: center;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .story-grid-reverse {
        direction: rtl;
    }
    
    .story-grid-reverse > * {
        direction: ltr;
    }
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.story-image {
    width: 100%;
}

/* Make story image 10% smaller while keeping layout centered */
.story-image .image-placeholder {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .story-grid {
        display: flex;
        flex-direction: column;
    }

    .story-grid--image-first .story-image {
        order: -1;
    }

    .story-image .image-placeholder {
        width: 100%;
    }
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--pearl-aqua) 0%, var(--icy-aqua-2) 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--light-sea-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden; /* ensure inner img is clipped to rounded corners */
}

.image-placeholder:hover {
    transform: translateY(-5px);
}

.image-placeholder p {
    font-size: 1rem;
    color: #0A2540;
    margin-top: 10px;
    font-weight: 600;
}

/* Ensure inserted images fit the placeholder and keep rounded corners */
.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-images-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
}

@media (min-width: 576px) {
    .story-images-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.story-image-small .image-placeholder {
    aspect-ratio: 1;
    font-size: 3rem;
    position: relative;
}

/* Button badge in top-left corner of story images */
.story-image-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-block;
    padding: 10px 22px;
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
    z-index: 2;
    line-height: 1.3;
}

a.story-image-btn:hover {
    background: color-mix(in srgb, var(--accent) 80%, black 20%);
    transform: scale(1.05);
    color: #fff;
}

.story-image-btn--no-link {
    cursor: default;
}

.story-content h4 {
    font-size: 1.5rem;
    color: var(--strong-cyan);
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.story-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.story-content strong {
    color: var(--light-sea-green);
    font-weight: 700;
}

.story-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--pearl-aqua) 0%, var(--icy-aqua-2) 100%);
    border-radius: 16px;
}

.story-cta .cta-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    background: var(--icy-aqua-2);
}

.cta-box {
    background: linear-gradient(135deg, var(--light-sea-green) 0%, var(--strong-cyan) 100%);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    color: white;
}

@media (min-width: 768px) {
    .cta-box {
        padding: 60px 50px;
    }
}

.cta-box h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 576px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ========================================
   Filters
======================================== */
.filters-bar {
    margin-bottom: 30px;
}

.filters-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E6F0FA;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #0066CC;
}

/* ========================================
   Empty State
======================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* ========================================
   Contact Page
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item a {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-note {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0 0;
}

.contact-cta {
    background: #E6F0FA;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.contact-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-cta p {
    color: #666;
    margin-bottom: 15px;
}

.contact-hours h2 {
    margin-bottom: 25px;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 12px 0;
    border-bottom: 1px solid #E6F0FA;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.hours-note {
    margin-top: 25px;
    padding: 20px;
    background: #E6F0FA;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* ========================================
   Breadcrumb
======================================== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: inherit;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.5;
}

/* ========================================
   Error Page
======================================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

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

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #E6F0FA;
    line-height: 1;
}

.error-content h1 {
    margin-bottom: 15px;
}

.error-content p {
    color: #666;
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--pearl-aqua);
    color: #0A2540;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo:hover {
    color: #0A2540;
}

.footer-about p {
    color: rgba(10, 37, 64, 0.7);
    margin: 0;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #0A2540;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(10, 37, 64, 0.7);
}

.footer-links a:hover {
    color: var(--light-sea-green);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    color: rgba(10, 37, 64, 0.7);
}

.footer-contact a {
    color: rgba(10, 37, 64, 0.7);
}

.footer-contact a:hover {
    color: var(--light-sea-green);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(10, 37, 64, 0.15);
    text-align: center;
}

.footer-bottom p {
    color: rgba(10, 37, 64, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links-legal {
    color: rgba(10, 37, 64, 0.8);
    font-size: 1rem;
    margin: 15px 0 20px 0;
    line-height: 1.6;
}

.footer-links-legal a {
    color: #0A2540;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-links-legal a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.footer-links-legal .separator {
    margin: 0 15px;
    opacity: 0.7;
    font-weight: 400;
    color: rgba(10, 37, 64, 0.6);
}

/* ========================================
   Related Section
======================================== */
.related-section {
    background: #E6F0FA;
}

.related-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ========================================
   Content Block
======================================== */
.content-block {
    margin-bottom: 40px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    margin-bottom: 20px;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ========================================
   Utility Classes
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ========================================
   Language Switcher
======================================== */
.lang-switcher {
    display: none;
    align-items: center;
    gap: 4px;
    margin-right: 15px;
}

@media (min-width: 992px) {
    .lang-switcher {
        display: flex;
    }
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0A2540;
    background: #E6F0FA;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #0A2540;
    color: white;
}

.lang-btn.active {
    background: #0066CC;
    color: white;
}

.lang-btn.active:hover {
    background: #0052a3;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E6F0FA;
}

.mobile-lang-switcher .lang-btn {
    width: 50px;
    height: 40px;
    font-size: 0.9rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { padding: 60px 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.gallery-item-wrapper {
    display: flex;
    flex-direction: column;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #000;
    height: 220px;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.gallery-caption {
    padding: 12px 8px;
    background: #f5f5f5;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 0 0 8px 8px;
    line-height: 1.4;
    word-break: break-word;
}

.gallery-empty {
    text-align: center;
    color: #888;
    padding: 60px 0;
    font-size: 1.1rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    color: #ddd;
    margin-top: 12px;
    font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-close { top: 20px; right: 20px; font-size: 1.5rem; }
.lightbox-prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
}

/* ========================================
   Content Pages (Privacy & Cookies)
======================================== */
.content-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f8fa 0%, #ffffff 100%);
    min-height: calc(100vh - 300px);
}

.content-container {
    max-width: 800px;
}

.content-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.content-wrapper h1 {
    color: var(--strong-cyan);
    font-size: 2.2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 15px;
}

.content-wrapper h2 {
    color: var(--strong-cyan);
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-wrapper h3 {
    color: var(--light-sea-green);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-wrapper p {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-wrapper ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-wrapper li {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.content-wrapper a {
    color: var(--light-sea-green);
    text-decoration: none;
    font-weight: 600;
}

.content-wrapper a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
    
    .content-wrapper {
        padding: 25px;
    }
    
    .content-wrapper h1 {
        font-size: 1.8rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.3rem;
    }
}

/* ========================================
   Form Styles
======================================== */
.form-gdpr-note {
    color: rgba(10, 37, 64, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 15px 0;
}

.form-gdpr-note a {
    color: var(--light-sea-green);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.form-gdpr-note a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.form-gdpr-note small {
    font-size: 0.85rem;
    color: rgba(10, 37, 64, 0.6);
}

.form-gdpr-note small a {
    font-weight: 700;
}

