/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%; /* Make sure the html and body tags are full height */
    margin: 0; /* Remove default margin */
    display: flex;
    flex-direction: column; /* Organizes the content in a column */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFFFFF; /* White background */
    color: #333333; /* Dark grey for text */
    line-height: 1.6;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

header {
    background-color: #FFFFFF;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-title {
    flex-grow: 1;
    margin-left: 20px; /* Space between the dropdown and the title */
    text-align: center; /* Ensures text alignment is consistent */
    font-size: 24px; /* Example font size, adjust as needed */
    color: #333; /* Dark grey color for better readability */
}
header h1 {
    margin: 0;
    text-align: center;
}
nav.destination{
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    padding: 10px 20px; /* Add padding for visual spacing */
    color: white; /* White text color */

}

nav ul {
    list-style: none;
    text-align: center;
    padding: 0; /* Reset default padding */
    margin: 0; /* Reset default margin */
}

nav ul li {
    display: inline-block; /* Use inline-block for better spacing control */
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #FAD0C9; /* Cherry Blossom Pink */
    padding: 10px; /* Padding to increase clickable area and visual size */
}

nav ul li a:hover {
    color: #E6A4B4; /* Darker Cherry Blossom Pink for hover state */
}


a:hover {
    color: #E6A4B4; /* Darker Cherry Blossom Pink for hover state */
}

main {
    padding: 20px;
    background: #FFFFFF; /* White background for main content area */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

h2, h3 {
    color: #0D3B66; /* Deep Indigo for headings */
}

footer {
    text-align: center;
    padding: 20px;
    background: none; /* Adjust background as necessary */
    color: #FFFFFF;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    margin-top: auto; /* Pushes the footer to the bottom */
}
/* Form styling */
form {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button[type="submit"] {
    background-color: #FAD0C9; /* Cherry Blossom Pink */
    color: #0D3B66; /* Deep Indigo text */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #E6A4B4; /* A darker shade of Cherry Blossom Pink for hover */
}

li {
    position: relative;
    list-style-type: none; /* Optional: removes bullet points */
}

.destinations {
    padding: 10px;
    margin: 5px;
    background-color: #FAD0C9; /* Cherry Blossom Pink */
    transition: background-color 0.3s; /* Smooth transition for background color */
}

.destinations:hover {
    background-color: #E6A4B4; /* A darker shade of Cherry Blossom Pink for hover */
    cursor: default; /* Ensures the cursor doesn't change to a pointer */
}
.popup {
    transition: opacity 0.5s ease-in-out;
    opacity: 0; /* Start invisible */
    display: none;
    position: absolute;
    left: 35%; /* Position to the right of the li */
    top: 0; /* Align with the top of the li */
    width: 65%; /* Adjust width as necessary */
    background-color: white;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}
.destinations:hover .popup {
    display: block;
    opacity: 1; /* Fully visible on hover */
}

.popup-left, .popup-right {
    padding: 10px;
    float: left;
    /*width: 50%;*/
}

.popup-left {
    width: 30%; /* Smaller width for image section */
}

.popup-right {
    width: 70%; /* Larger width for text section */
}

img {
    width: 100%; /* Makes the image fill the container */
}

/* Style the dropdown button */
.dropbtn {
    background-color: transparent; /* Transparent background */
    color: #E6A4B4;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    height: 50px; /* Ensure consistent height */
    width: 50px; /* Square shape for the button */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hamburger Icon Style */
.hamburger-icon div {
    height: 3px;
    width: 25px;
    background-color: #E6A4B4;
    margin: 4px 0;
    transition: 0.4s;
}
.dropdown{
    flex-shrink: 0;
}
/* Base styles for the dropdown */
.dropdown .dropdown-content {
    display: none; /* Hide dropdown content by default */
    position: absolute; /* Positioning relative to the parent */
    background-color: #f9f9f9; /* Background of the dropdown */
    min-width: 160px; /* Minimum width of the dropdown */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Shadow for dropdown */
    z-index: 1; /* Ensure it's above other content */
}

/* Displaying dropdown content on hover */
.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block; /* Keep displaying dropdown when hovering over dropdown content */
}

/* Styling for submenu */
.dropdown-content .submenu {
    display: none; /* Hide submenu by default */
    position: absolute;
    background-color: #f9f9f9; /* Background of the dropdown */
    left: 100%;
    top: 0; /* Align submenu with its parent item */
}

/* Ensure submenu is shown when hovering over the link and the submenu itself */
.dropdown-content a:hover + .submenu,
.submenu:hover {
    display: block; /* Show submenu when hovering over the link above it or the submenu itself */
}

/* Additional styling for links within the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Hover styles for links */
.dropdown-content a:hover {
    background-color: #ddd;
}

.flag{

    background-image: url('Flag_of_Japan.svg');

}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    align-self: flex-end; /* Align at the bottom of the header */
}

/* Dropdown Content (Hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0D3B66;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #E6A4B4;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: transparent; /* Maintain transparent background */
}
/* custom classes and responsive design*/
.map-container iframe {
    width: 100%;
    height: 400px; /* Adjust height as needed */
}


.centeredText {
    text-align: center; /* Centers the text inside the <p> tag */
    padding: 0 20px; /* Adds padding to the left and right */
    margin: auto; /* Centers the <p> tag block within its container*/
}

.boldText{
    font-weight: bold;
}
.japanese-flag {
    width: 100%; /* Adjust the width as needed */
    height: 100vh; /* Adjust the height as needed, or use a specific value */
    background-color: white; /* Background color of the flag */
    position: relative; /* Needed for absolute positioning of the circle */
  }
  
  .japanese-flag::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Center the circle */
    width: 100px; /* Diameter of the circle, adjust as needed */
    height: 100px; /* Diameter of the circle, adjust as needed */
    background-color: red; /* Color of the circle */
    border-radius: 50%; /* Makes the div a circle */
  }

  /* Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

.gallery-img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s; /* Animation for zoom effect */
}

.gallery-img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Modal (Image "Blow Up" Effect) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 60%;
    max-width: 700px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* image slider */

.slider {
    width: 600px;  /* Fixed width */
    height: 400px; /* Fixed height */
    overflow: hidden;
    position: relative;
    margin: auto;  /* Center the slider */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform; /* Hints to the browser that this element will be animated */
    backface-visibility: hidden; /* Activates GPU acceleration in some browsers */
    transform: translate3d(0, 0, 0); /* Use 3D transform to push handling to the GPU */
}

.slides img {
    width: 100%;    /* Images will stretch to fit the width of the slider */
    height: 100%;   /* Images will stretch to fit the height of the slider */
    object-fit: cover; /* Ensures the images cover the area without distorting aspect ratio */
    flex-shrink: 0; /* Prevents images from resizing independently */
}

  
/* Responsive Design */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }
}
