html {
  box-sizing: border-box;
  scroll-behavior: smooth; /* Optional: enables smooth scroll for all #hash links too */
  /* Adjust this value to the height of your sticky header when the hamburger is active,
     or the height of your #pageHeader if it remains visible and sticky.
     Example: if your #pageHeader is 60px tall and sticky: */
  scroll-padding-top: 60px; /* Or more, e.g., 70px to add a little buffer */
}


}/* --- Global Reset & Box Sizing --- */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* --- General Base Styles --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    background-color: #f9f9f9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- Helper Class for Centering Content --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: #333;
    margin-top: 0;
}
h1 { font-size: 2.5rem; margin-bottom: 0.75em; color: #3ad978;}
h2 { font-size: 2rem; margin-bottom: 1em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5em; }

/* --- Header & Navigation (#pageHeader) --- */
#pageHeader {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
.logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #0056b3;
    text-decoration: none;
}
.nav-links a {
    margin-left: 20px;
    font-size: 1em;
    color: #333;
    font-weight: 500;
}
.nav-links a:hover {
    color: #007bff;
}

/* --- Hero Section --- */
.hero-section {
    background: url('images/tourist.png') no-repeat center center/cover;
    color: white;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    min-height: 880px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-content-main { /* This is the div that hides with hamburger logic */
    position: relative;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.4s ease, visibility 0s linear 0s, transform 0.4s ease;
}
.hero-content-main h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.hero-content-main p {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
.search-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}
.search-bar input[type="text"] {
    padding: 12px 15px;
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.search-bar input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.search-bar button {
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-left: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}
.search-bar button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* --- Hamburger Menu Modifications CSS --- */
.hero-content-main.hidden-by-scroll {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-30px);
    transition-delay: 0s, 0.4s, 0s;
}
.sticky-hamburger-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1031;
    background-color: rgba(0, 86, 179, 0.85);
    color: white;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateX(-60px);
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s, transform 0.3s ease-in-out;
}
.sticky-hamburger-button.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateX(0);
    transition-delay: 0s, 0s, 0s;
}
.sticky-hamburger-button span {
    display: block;
    width: 22px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 1px;
}
.sticky-hamburger-button.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sticky-hamburger-button.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.sticky-hamburger-button.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.expandable-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(44, 62, 80, 0.97); z-index: 1030;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.expandable-menu-overlay.active { opacity: 1; visibility: visible; transition-delay: 0s; }
.expandable-menu-content {
    position: relative; color: white; text-align: center;
    padding: 40px 20px; max-width: 500px; width: 90%;
}
.expandable-menu-content h2 { font-size: 2.2em; margin-bottom: 35px; color: #ecf0f1; }
.close-menu-button {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    color: white; font-size: 2.8em; cursor: pointer; line-height: 1; padding: 5px;
}
.search-bar-menu { margin-bottom: 30px; }
.search-bar-menu input[type="text"] {
    background-color: rgba(255,255,255,0.15); color: white; border-color: #7f8c8d;
}
.search-bar-menu input[type="text"]::placeholder { color: #bdc3c7; }
.search-bar-menu input[type="text"]:focus {
    border-color: #3498db; box-shadow: 0 0 0 0.2rem rgba(52,152,219,.35);
}
.search-bar-menu button { background-color: #3498db; border-color: #3498db; }
.search-bar-menu button:hover { background-color: #2980b9; border-color: #2980b9; }
.menu-nav-links a {
    display: block; color: #ecf0f1; font-size: 1.5em; padding: 12px 0;
    text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; font-weight: 300;
}
.menu-nav-links a:hover { color: #3498db; transform: translateX(5px); }
/* --- END OF Hamburger Menu Modifications CSS --- */

/* --- Main Content Sections (Boxed Content) --- */
.main-content-wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
}
.main-content-wrapper .content-section,
.main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section), /* If a non-slider blog section exists */
.main-content-wrapper .stay-updated {
    margin-bottom: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}
.main-content-wrapper .content-section:first-child,
.main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section):first-child {
    padding-top: 40px;
}
.main-content-wrapper .content-section h2,
.main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section) h2,
.main-content-wrapper .stay-updated h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
    display: inline-block;
}

/* --- Items Grid (Attractions, Gems, etc. within .main-content-wrapper) --- */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}
.item-card {
    background-color: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
    overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column;
}
.item-card:hover { transform: translateY(-5px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.item-card img { width: 100%; height: 200px; object-fit: cover; }
.item-card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.item-card-content h3 { font-size: 1.3rem; margin-top: 0; margin-bottom: 10px; color: #0056b3; }
.item-card-content p { font-size: 0.95rem; margin-bottom: 0; color: #555; line-height: 1.5; flex-grow: 1; }

/* --- Section for Full-Width Slider --- */
.full-width-slider-section {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px; /* Reduced this as pagination container has its own padding */
    margin-bottom: 50px;
}
.full-width-slider-section > .container { /* For the H2 heading */
    text-align: center;
    margin-bottom: 0;
}
.full-width-slider-section > .container > h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
    display: inline-block;
}

/* === BLOG POST SLIDER STYLES (FOR FULL-WIDTH SECTION, MULTI-ITEM DESKTOP) === */
.blog-slider-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 20px 0 0 0;
    overflow: hidden; /* Important for clipping slides */
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}
.blog-slider-track {
    display: flex;
    /* Transition managed by JS */
}
.blog-slide {
    box-sizing: border-box;
    padding: 0 10px; /* Gutter between slides */
    min-width: 100%; /* Default for mobile (single item view) */
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.blog-slide .blog-post-summary {
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-slide .slide-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    margin-bottom: 15px;
}
.blog-slide .slide-image-container img {
  width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* ADD THIS LINE - Aligns the top of the image with the top of its box */
    display: block;
}
.blog-slide .slide-content-container {
    text-align: left; flex-grow: 1; display: flex; flex-direction: column;
}
.blog-slide .slide-content-container h3 {
    font-size: 1.2rem; margin-top: 0; margin-bottom: 8px; line-height: 1.3;
}
.blog-slide .slide-content-container .post-meta-slider {
    font-size: 0.75rem; color: #777; margin-bottom: 10px;
}
.blog-slide .slide-content-container p {
    font-size: 0.85rem; margin-bottom: 15px; min-height: 4.2em; line-height: 1.4; flex-grow: 1; color: #555;
}
.blog-slide .read-more {
    display: inline-block; margin-top: auto; color: #007bff; text-decoration: none;
    font-weight: bold; padding: 6px 12px; font-size: 0.8rem; border: 1px solid #007bff;
    border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; align-self: flex-start;
}
.blog-slide .read-more:hover { background-color: #007bff; color: #fff; }

.slider-arrow {
    position: absolute !important; /* Force absolute positioning */
    /* Vertical centering based on image area height */
    /* Default for desktop (image height 200px, slide padding 20px) */
    top: calc(20px + 100px) !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important; /* For vertical text align if using text arrows */
    text-align: center !important;
    background-color: rgba(0, 0, 0, 0.5) !important; /* More visible for debugging */
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 100 !important; /* Ensure it's above other slide content */
    opacity: 0.7 !important; /* Default opacity */
    pointer-events: auto !important; /* Make sure it's clickable */
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
    user-select: none !important; /* Prevent text selection */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3); /* Add a little shadow */
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
    opacity: 1 !important;
}

.prev-arrow {
    left: 15px !important; /* Position from left */
    right: auto !important; /* Ensure 'right' doesn't interfere */
}

.next-arrow {
    right: 15px !important; /* Position from right */
    left: auto !important; /* Ensure 'left' doesn't interfere */
}

/* Arrow adjustments for desktop view in full-width slider */
@media (min-width: 768px) {
    .full-width-slider-section .prev-arrow {
        left: 25px !important; /* Slightly more inset */
    }
    .full-width-slider-section .next-arrow {
        right: 25px !important;
    }
    /* Vertical centering for arrows on desktop based on the defined image height in slider */
    /* (Assuming image height is 200px in .blog-slide .slide-image-container and .blog-slide .blog-post-summary has 20px top padding) */
    .full-width-slider-section .slider-arrow {
        top: calc(20px + 100px) !important; /* 20px slide padding + half of 200px image */
    }
}

/* Arrow adjustments for mobile view based on different image height */
@media (max-width: 767px) {
    .full-width-slider-section .slider-arrow {
        /* Assuming mobile image height for slider is 250px from your CSS, and slide padding 20px */
        top: calc(20px + 125px) !important; /* 20px slide padding + half of 250px image */
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 1.6rem !important;
    }
    .full-width-slider-section .prev-arrow { left: 10px !important; }
    .full-width-slider-section .next-arrow { right: 10px !important; }
}
.blog-slider-container:hover .slider-arrow { opacity: 0.7; pointer-events: auto; }
.slider-arrow:hover { background-color: rgba(0,0,0,0.7); opacity: 1; }
.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

.slider-pagination-container {
    text-align: center; padding-top: 25px; padding-bottom: 10px; width: 100%;
}
.slider-pagination {} /* No specific styles needed if centered by parent */
.slider-dot {
    display: inline-block; width: 12px; height: 12px; background-color: #ccc;
    border-radius: 50%; margin: 0 6px; cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.slider-dot.active { background-color: #007bff; transform: scale(1.2); }

/* Desktop: Multi-item view for full-width slider */
@media (min-width: 768px) {
    .full-width-slider-section .blog-slide {
        min-width: calc(100% / 3); flex: 0 0 calc(100% / 3);
        opacity: 0.65; transform: scale(0.88);
    }
    .full-width-slider-section .blog-slide.active-slide {
        opacity: 1; transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
    .full-width-slider-section .blog-slide.neighbor-slide { /* Optional for smoother visual */
         opacity: 0.8; transform: scale(0.92);
    }
    .full-width-slider-section .blog-slide .blog-post-summary { max-width: 350px; }
    .full-width-slider-section .slider-arrow { top: calc(20px + 100px); }
    .full-width-slider-section .prev-arrow { left: 30px; }
    .full-width-slider-section .next-arrow { right: 30px; }
}

/* Mobile view: Single item slider styling in full-width section */
@media (max-width: 767px) {
    .full-width-slider-section .blog-slide {
        min-width: 100%; padding: 0 5px; opacity: 1; transform: scale(1);
    }
    .full-width-slider-section .blog-slide .blog-post-summary { max-width: 90%; margin: 0 auto; }
    .full-width-slider-section .blog-slide .slide-image-container { height: 250px; }
    .full-width-slider-section .slider-arrow {
        top: calc(20px + (250px / 2)); width: 38px; height: 38px; line-height: 38px; font-size: 1.6rem;
        left: 10px; right: 10px; opacity: 0.7; pointer-events: auto;
    }
    .full-width-slider-section .slider-pagination-container { padding-top: 15px; }
    .full-width-slider-section .slider-dot { width: 10px; height: 10px; margin: 0 4px;}
}
/* === END OF BLOG POST SLIDER STYLES === */

/* --- Stay Updated Section (within .main-content-wrapper) --- */
.stay-updated {
    background-color: #e9ecef; padding-top: 40px; padding-bottom: 40px; border-radius: 8px;
}
/* ... other .stay-updated styles ... */
.stay-updated p { max-width: 500px; margin-left: auto; margin-right: auto; margin-bottom: 20px; }
.stay-updated form { margin-top: 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.stay-updated input[type="email"] {
    padding: 12px 15px; width: 100%; max-width: 320px; border: 1px solid #ced4da;
    border-radius: 4px; font-size: 1rem; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.stay-updated input[type="email"]:focus {
    outline: none; border-color: #80bdff; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.stay-updated button {
    padding: 12px 25px; background-color: #28a745; color: white; border: 1px solid #28a745;
    border-radius: 4px; cursor: pointer; font-size: 1rem; transition: background-color 0.2s ease;
}
.stay-updated button:hover { background-color: #1e7e34; border-color: #1e7e34; }


/* --- Footer --- */
footer {
    background-color: #343a40; color: #adb5bd; text-align: center;
    padding-top: 40px; padding-bottom: 40px; margin-top: 40px;
}
footer .container p { margin-bottom: 10px; font-size: 0.9rem; }
footer a { color: #82cfff; }
footer a:hover { color: #fff; text-decoration: underline; }
.social-media-icons { margin: 15px 0; }
.social-media-icons img { width: 30px; margin: 0 10px; opacity: 0.8; transition: opacity 0.2s ease; }
.social-media-icons img:hover { opacity: 1; }

/* --- GENERAL Media Queries (for non-slider content, ensure they target appropriately) --- */
@media (max-width: 991.98px) {
    /* Styles for .hero-content-main if hamburger is active */
    #pageHeader .hero-content-main h1 { font-size: 2.4rem; }
    #pageHeader .hero-content-main p { font-size: 1.1rem; }

    /* Styles for boxed content */
    .main-content-wrapper .content-section h2,
    .main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section) h2,
    .main-content-wrapper .stay-updated h2 { font-size: 1.9rem; }
    .main-content-wrapper .item-card-content h3 { font-size: 1.2rem; }
}
@media (max-width: 767.98px) {
    #pageHeader .top-nav { flex-direction: column; align-items: center; }
    #pageHeader .logo { margin-bottom: 15px; }
    #pageHeader .nav-links a { margin: 0 10px; }
    #pageHeader .hero-content-main h1 { font-size: 2rem; }
    #pageHeader .hero-content-main p { font-size: 1rem; }
    #pageHeader .search-bar { flex-direction: column; gap: 10px; max-width: 90%;}
    #pageHeader .search-bar input[type="text"], #pageHeader .search-bar button { width: 100%; border-radius: 4px; }

    .main-content-wrapper .items-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
    .main-content-wrapper .item-card img { height: 180px; }
    .main-content-wrapper .item-card-content { padding: 15px; }
    .main-content-wrapper .content-section h2,
    .main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section) h2,
    .main-content-wrapper .stay-updated h2 { font-size: 1.7rem; margin-bottom: 30px; }
    .main-content-wrapper .stay-updated input[type="email"] { max-width: none; }
    .main-content-wrapper .stay-updated button { width: auto; min-width:150px; }
}
@media (max-width: 575.98px) {
    body { font-size: 15px; }
    .container { width: 95%; padding-left: 10px; padding-right: 10px;} /* More edge space for general containers */
    .hero-section { padding-top: 40px; padding-bottom: 40px; min-height: 280px; }
    #pageHeader .hero-content-main h1 { font-size: 1.8rem; }
    #pageHeader .hero-content-main p { font-size: 0.9rem; max-width: 95%; }

    .main-content-wrapper .items-grid { grid-template-columns: 1fr; gap: 20px; }
    .main-content-wrapper .item-card img { height: 200px; }

    .main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section) .blog-post-summary h3 { font-size: 1.5rem; }
    .main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section) .blog-post-summary { padding: 20px; }

    .main-content-wrapper .content-section h2,
    .main-content-wrapper .latest-blog-post-section:not(.full-width-slider-section) h2,
    .main-content-wrapper .stay-updated h2 { font-size: 1.6rem; }

    footer { padding-top: 30px; padding-bottom: 30px; }
    footer .container p { font-size: 0.85rem; }

    /* Hamburger adjustments */
    .sticky-hamburger-button { top: 15px; left: 15px; width: 40px; height: 40px; }
    .sticky-hamburger-button span { width: 20px; height: 2px; }
    .sticky-hamburger-button.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .sticky-hamburger-button.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .expandable-menu-content h2 { font-size: 1.8em; }
    .menu-nav-links a { font-size: 1.3em; }
}

/* Utility class for screen readers only accessibility */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}