/*#region Default*/
/* Basic Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000000;
    color: #f2f2f2;
}

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

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}
/*#endregion Default*/

/*#region Header*/
/* Header & Navigation */
.topnav {
    background-color: #04002500;
    overflow: auto;
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 1%;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
    width: relative;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 768px) {
    .topnav {
        padding-left: 0;
        padding-right: 0;
    }
}

/*#endregion Header*/

/*#region Default Section*/
/* Section Styling */
section {
    padding: 60px 0;
    border-bottom: 0px solid #ddd;
    text-align: center;
}

section:last-child {
    border-bottom: none;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #ffffff;
}

/*#endregion Default Section*/

/*#region Responsive Counter*/
.responsive-counter {}

/* Float four columns side by side */

.responsive-counter-column {
    float: left;
    width: 50%;
    padding: 0 5px;
}

.responsive-counter-row {
    margin: 0 -5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Clear floats after the columns */
.responsive-counter-row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
    .responsive-counter-column {
        width: 50%;
        display: block;
        margin-bottom: 10px;
float: left;
    }
}

/* Style the counter cards */
.responsive-counter-card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 16px;
    text-align: center;
    color: white;
}

.responsive-counter-card-a {
    background-color: #094f88;
    padding-bottom: 50px;
    font-size: 200%;
    border-radius: 30px;
}

.responsive-counter-card-b {
    background-color: #07771f;
    padding-bottom: 50px;
    font-size: 200%;
    border-radius: 30px;
}


.counter-image {
    padding: 20%;
    display: block;
    /* Make the image behave like a block-level element */
    margin-left: auto;
    /* Automatically distribute space to the left */
    margin-right: auto;
    /* Automatically distribute space to the right */
    /* You might also want to set a max-width if the image is very large */
    max-width: 100%;
    /* Ensure it doesn't overflow its parent */
    height: auto;
    /* Maintain aspect ratio */
    padding-bottom: 10px;
}

/*#endregion Responsive Counter*/

/*#region Slideshow*/
/* Slideshow Container */
.slideshow-container {
    max-width: 100%;
    max-height: auto;
    /* Adjust as needed */
    position: relative;
    margin-top: 1%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    /* Important to hide overflowing images during transition */
    background-color: #000000;
    /* Background for when images are loading */
    padding-top: 0px;
}

/* Hide the images by default */
.mySlides {
    display: none;
    text-align: center;
    /* Center image within slide */
    background-color: #000000;
}

.mySlides img {
    width: 100%;
    height: 100%;
    display: block;
    /* Remove extra space below image */
}


/* Caption text */
.mySlides-text {
    font-weight: bold;
    color: #f2f2f2;
    font-size: 2.5em;
    padding: 8px 12px;
    position: absolute;
    bottom: 20%;
    left: 30%;
    width: auto;
    text-align: left;
    /* This centers the text INSIDE the div */
    /* background-color: rgba(0, 0, 0, 0.4); */
    /* Semi-transparent background */
    box-sizing: border-box;
    /* Include padding in width */

    /* left: 20px; */
    /* Moves the left edge of the element to the center of its parent */
    transform: translateX(-50%);
    /* Shifts the element back by half its own width */
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Position the "prev button" to the left */
.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background with a little more opacity */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: .7
    }

    to {
        opacity: 1
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slideshow-container {
        max-width: 100%;
        /* Full width on smaller screens */
    }

    .prev,
    .next {
        font-size: 20px;
        padding: 10px;
        margin-top: -15px;
    }

    .mySlides-text {
        font-size: 1.5em;
        padding: 8px 12px;
        position: absolute;
        bottom: 70px;

        /* --- NEW/MODIFIED FOR CENTERING --- */
        left: 50%;
        /* Moves the left edge of the element to the center of its parent */
        transform: translateX(-50%);
        /* Shifts the element back by half its own width */
    }
}

/*#endregion Slideshow*/

/*#region About*/
.about-section {
    padding: 80px 20px;
    /* Top/bottom padding, side padding */
    background-color: #000000;
    /* White background */
    text-align: center;
    /* Centers the heading if no max-width */
}

.about-content {
    display: flex;
    /* Enables Flexbox layout */
    flex-direction: row;
    /* Arranges children in a row by default */
    align-items: center;
    /* Vertically centers items if they have different heights */
    justify-content: center;
    /* Horizontally centers content if there's extra space */
    max-width: 1000px;
    /* Limit content width for readability */
    margin: 0 auto;
    /* Center the entire about-content div */
    gap: 40px;
    /* Space between the image and text */
    text-align: left;
    font-size: 20px;
}

.about-image {
    flex-shrink: 0;
    /* Prevents the image from shrinking too much */
    max-width: 350px;
    /* Control the max width of the image container */
    /* Optional: Add some styling to the image itself */
}

.about-image img {
    max-width: 100%;
    /* Ensures image scales within its container */
    height: auto;
    /* Maintains aspect ratio */
    display: block;
    /* Removes extra space below image */
    border-radius: 8px;
    /* Slightly rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}


.about-content p {
    flex: 1;
    /* Allow paragraph to take remaining space */
    max-width: 600px;
    /* Limit paragraph width */
}

/*#endregion About*/

/*#region TravelMap*/
/* Keep your existing #travel-map-section styling */
#travel-map {
    padding: 20px 0;
    background-color: #000000;
    text-align: center;
    max-width: 2000px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#world-map {
    width: 100%;
    /* Ensure it takes full width of its parent #travel-map-section */
    height: 600px;

    max-width: 2000px;
    /* IMPORTANT: Give it a fixed height or a height relative to viewport */
    /* You can temporarily add a border to visually confirm its size: */
    /* border: 2px solid blue; */
}

#travel-map h2 {
    /* font-size: 2.5em; */
    color: #f2f2f2;
    margin-bottom: 10px;
}

#travel-map p {
    /* font-size: 1.1em; */
    color: #f2f2f2;
    margin-bottom: 30px;
}

/* Optional: Custom Leaflet popup/tooltip styling (adjust as needed) */
.leaflet-popup-content-wrapper,
.leaflet-tooltip {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.9em;
    border-radius: 4px;
    box-shadow: none;
    /* Remove default shadow if desired */
}

.leaflet-popup-tip {
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    #world-map {
        max-height: 350px;
    }
}

/*#endregion TravelMap*/

/*#region Google-my-maps*/
.google-my-maps {
    
    overflow: hidden;
    position: relative;
    padding-bottom: 75%;
    /* Or 56.25% for 16:9, etc. */
    max-width: 1500px;
    /* Set a maximum width for the container */
    margin: 0 auto;
    /* Centers the block element */

    /* max-height: 800px; */
}

.google-my-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* --- NEW --- */
    border: 0;
    /* Moved from inline style */
    /* --- NEW --- */
}



/* @media (min-width: 1433.34px) { */
@media (min-width: 780.34px) {

    /* When screen is wider than approx. 1333px */
    .google-my-maps {
        height: 650px;
        max-width: 1000px;
        /* Force the container's height to exactly 1000px */
        padding-bottom: 0;
        /* Disable the padding-bottom trick when height is fixed */
        /* You can also adjust max-width here if you want the container to stop growing
           at the exact width where the aspect ratio provides the max-height */
        /* max-width: 1333.33px; */
        /* Optional, if you want the aspect ratio to strictly hold up to this point */
    }
}

@media (max-width: 768px) {

    .google-my-maps {
        height: 350px;
        padding-bottom: 0;
    }
}

/*#endregion Google-my-maps*/

/*#region Google-sheets*/
.google-sheets {
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 75%;
    /* Or 56.25% for 16:9, etc. */
    max-width: 1500px;
    /* Set a maximum width for the container */
    margin: 0 auto;
    /* Centers the block element */

    max-height: 800px;
}

.google-sheets iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* --- NEW --- */
    border: 0;
    /* Moved from inline style */
    /* --- NEW --- */
}

/* @media (min-width: 1333.34px) { */
@media (min-width: 780.34px) {

    /* When screen is wider than approx. 1333px */
    .google-sheets {
        height: 800px;
        max-width: 1500px;
        /* Force the container's height to exactly 1000px */
        padding-bottom: 0;
        /* Disable the padding-bottom trick when height is fixed */
        /* You can also adjust max-width here if you want the container to stop growing
           at the exact width where the aspect ratio provides the max-height */
        /* max-width: 1333.33px; */
        /* Optional, if you want the aspect ratio to strictly hold up to this point */
    }
}

@media (max-width: 768px) {
    .google-sheets {
        height: 350px;
        padding-bottom: 0;
    }
}

/*#endregion Google-sheets*/

/* Footer */
footer {
    background: #333;
    color: #f2f2f2;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

footer p {
    margin-bottom: 1em;
}



/* Responsive Adjustments */
@media (max-width: 768px) {

    header h1,
    header nav {
        float: none;
        text-align: center;
    }

    header nav ul {
        padding-top: 10px;
    }

    header li {
        display: block;
        padding: 8px 0;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

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