/* Resetting default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header Image */
.header-image {
  position: absolute; /* Fixes the image to the top of the viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* Adjust height automatically to maintain aspect ratio */
  z-index: -1; /* Places the image behind the header */
}

/* Header */
header {
  background:#f2eeee; /* No background color or image */
  color: #0d0d0d; /* Text color */
  padding: 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* Keeps header at the top while scrolling */
  width: 100%;
  top: 0; /* Aligns with the top of the viewport */
  z-index: 10; /* Ensure it stays above the header image */
}

/* Logo Styling */
header .logo {
  font-size: 2.5rem; /* Large font size for the logo */
  font-family: Arial, sans-serif; /* Cursive font from Google Fonts *
  font-weight: bold; /* Make the font bold */
  color: #090909; /* Adjust the logo color */
  letter-spacing: 1px; /* Add letter spacing for elegance */
  border-radius: 10px; /* Rounded corners for the border */
  padding: 0.5rem 1rem; /* Padding inside the border */
  display: inline-block; /* Makes sure the border fits closely around the text */
}


/* Optional: Add hover effect */
header .logo:hover {
color: #080806; /* Change color on hover */
}

/* Navigation Bar */
nav ul {
list-style: none;
display: flex;
justify-content: space-around;
padding: 0;
margin: 0;
}

nav ul li {
font-size: 1rem;
margin: 0 10px;
position: relative; /* For bubble background effect */
}

nav ul li a {
color: #0d0d0d; /* Adjust the color based on background */
text-decoration: none;
padding: 10px 20px; /* Add padding for the bubble effect */
background: rgba(255, 255, 255, 0.2); /* Transparent bubble background */
border-radius: 50px; /* Rounded corners to create the bubble effect */
transition: background 0.3s ease, color 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow to enhance the bubble effect */
border: 1px solid rgba(255, 255, 255, 0.3); /* Optional: Add a soft border */
}

/* Hover effect for the links */
nav ul li a:hover {
background: rgba(255, 255, 255, 0.5); /* Lightens the bubble background on hover */
color: #ff5722; /* Changes the text color on hover */
}

/* Make the links more touchable (for mobile) */
nav ul li a:active {
background: rgba(255, 255, 255, 0.7); /* Changes the bubble background when clicked */
}

/* Optional: Shadow for Header */
header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adds shadow for better visibility */
}

/* Main Section */
main {
  padding: 20px;
}

/* Interactive Map */
.map-section {
  margin-bottom: 40px;
}

.map-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.map-container {
  position: relative;
}

.map-image {
  width: 100%;
  height: auto;
}

/*  Destination Photos Section */
.destination-photos {
  padding: 2rem;
  background-color: #f9f9f9;
  text-align: left;
}

.destination-photos h2,h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #090808;
  position: relative;
  padding: 1rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap:2.5rem;
  padding: 5rem;
}

/* Photo Container */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.048); /* Light shadow */
  width: 100%;
  padding-top: 100%; /* Aspect ratio (1:1 for square) */
  position: relative; /* For absolute positioning of child elements */
}

/* Image Styling */
.photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the container */
  transition: transform 0.3s ease-in-out;
}

/* Hover Effect on Image */
.photo:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Bubble Effect for Text Overlay */
.photo p {
  position: absolute;
  bottom: 10px; /* Space from the bottom of the container */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center horizontally */
  padding: 0.5rem 1rem; /* Padding inside the bubble */
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent white background */
  color: #333; /* Dark text color for readability */
  font-size: 1rem;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.5); /* Semi-transparent border */
  border-radius: 12px; /* Rounded corners for bubble effect */
  width: calc(100% - 20px); /* Ensure consistent width accounting for padding */
  max-width: 280px; /* Set a max-width to prevent bubbles from becoming too large */
  z-index: 1; /* Ensure it appears above the image */
  cursor: pointer; /* Makes the element appear clickable */
  transition: background 0.3s ease, border-color 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover Effect for Bubble Overlay */
.photo p:hover {
  background: rgba(255, 255, 255, 0.7); /* Lighten the background on hover */
  border-color: rgba(255, 255, 255, 0.7); /* Lighten the border on hover */
}

/* Lightbox Container */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it appears above everything else */
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}


/* Social Media Links */
/*-- footer --*/
.social-bnr-agileits {
  float: center;
  margin-right: 1rem;
}

/*--social-icons--*/
.social-icons3 {
    display: block;
    padding: 1rem;
    margin-top: .55em;
  }
  
  .social-icons3  {
    display: inline-block;
  }
  
  .social-icons3  a {
    display:inline-block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 1rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.1); /* Gray background */
    border-radius: 50%; /* Circular shape */
    transition: 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

/* Facebook */
.social-icons3  a.facebook {
  background-color: #3b5998;
}

.social-icons3  a.twitter {
  background-color: #00acee;
}

.social-icons3  a.instagram {
  background-color: #e4405f;
}

.social-icons3  a.linkedin {
  background-color: #0077b5;
}

.social-icons3  a:hover {
  opacity: 0.8;
}

/* Social icon colors */
.social-icons3  a i {
  color: white;
}

/* Footer */
footer {
    background: #f1f2f5;
    color: rgb(5, 4, 4);
    padding: 1rem;
    text-align: center;
}

/* Footer Links (Privacy Policy, Terms, Contact Us) */
footer a {
    color: rgb(16, 15, 15); /* Make the links white */
    text-decoration: none; /* Remove underline from links */
    margin: 0 15px; /*Adds spacing between links*/
    font-size: 1.5rem; /* Adjust font size if needed */
}

/* Hover effect for footer links */
footer a:hover {
    color: rgb(8, 8, 8); /* Changes the link color to gray on hover */
}

footer .footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer form input {
    padding: 0.5rem;
    margin-right: 10px;
    border-radius: 50px;
}

footer form button {
    padding: 0.5rem 1rem;
    background: #ff6b35;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
}
