/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.navbar {
  background-color: #ffffff;
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo img {
  height: 80px; /* Adjust based on your logo size */
  width: 80px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

/* Links Styling */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007bff;
}

/* Call to Action Button */
.btn {
  background-color: #007bff;
  color: white !important;
  padding: 10px 20px;
  border-radius: 5px;
}

.btn:hover {
  background-color: #0056b3;
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide links on mobile - usually replaced with a hamburger menu */
  }
}
/* Hamburger Styles */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: 0.3s;
}

/* Mobile View Logic */
@media (max-width: 768px) {
  .hamburger {
    display: flex; /* Show hamburger on mobile */
  }

  .nav-links {
    display: none; /* Hide default links */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  /* When the menu is active */
  .nav-links.active {
    display: flex;
  }
}
/*Navbar End*/

/* Layout Styling */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
              url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1600&q=80');
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* Clips image corners to match container */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin: 20px;
}

/* Image Section */
.login-image {
    flex: 1;
    display: block;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills space without stretching */
}

/* Form Section */
.login-form-section {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline-color: #007bff;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #0056b3;
}

/* Responsive: Stack on Mobile */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    .login-image {
        height: 200px; /* Shortened image on mobile */
    }
    .login-form-section {
        padding: 2rem;
    }
}
/* Layout Styling End*/

/* eye icon inside the input box */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px; /* Make room for the icon */
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    user-select: none;
}

.toggle-password:hover {
    color: #333;
}
/* eye icon inside the input box */

.image-container {
    width: 100%;       /* Or a specific width like 500px */
    max-width: 800px;  /* Limits the size on large screens */
    margin: 0 auto;    /* Centers the div itself */
    overflow: hidden;  /* Ensures nothing spills out */
    border: 2px solid #ccc;
}

.image-container img {
    width: 100%;       /* Makes image responsive to the div's width */
    height: auto;      /* Maintains aspect ratio */
    display: block;    /* Removes the bottom margin/gap */
} 


/*Image Gallery*/
div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: 260px;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
/*Image Gallery End*/

/* Container for the slider */
    .slider-container {
        width: 100%;
        max-width: 800px;
        height: 400px;
        margin: 20px auto;
        overflow: hidden; /* Hides images outside the frame */
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    /* The wrapper that holds all images in a row */
    .slider-wrapper {
        display: flex;
        width: 400%; /* 100% per image (4 images total) */
        height: 100%;
        animation: slide-animation 12s infinite; /* 3s per image */
    }

    .slider-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Keeps aspect ratio clean */
    }

    /* Animation Logic */
    @keyframes slide-animation {
        0% { transform: translateX(0%); }
        20% { transform: translateX(0%); }    /* Pause 1 */
        25% { transform: translateX(-25%); }  /* Move */
        45% { transform: translateX(-25%); }  /* Pause 2 */
        50% { transform: translateX(-50%); }  /* Move */
        70% { transform: translateX(-50%); }  /* Pause 3 */
        75% { transform: translateX(-75%); }  /* Move */
        95% { transform: translateX(-75%); }  /* Pause 4 */
        100% { transform: translateX(0%); }   /* Reset to start */
    }
/* Container for the slider End*/

/*Container for the image gallery Started*/
* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}
/*Container for the image gallery End*/

/*Footer Start*/
.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 40px 0 20px 0;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-column h3, .footer-column h4 {
  margin-bottom: 15px;
  color: #00d4ff; /* Accent color */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
  color: #777;
}

/*Footer End*/

        /* Trending Destination started*/
.trending {
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2rem;
  color: #2d3436;
}

.section-header p {
  color: #636e72;
}

/* Grid System */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Card Styling */
.dest-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.dest-card:hover {
  transform: translateY(-10px);
}

.dest-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.dest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-card:hover .dest-img img {
  transform: scale(1.1);
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff7675;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.dest-info {
  padding: 20px;
}

.dest-info h3 {
  margin-bottom: 8px;
  color: #2d3436;
}

.dest-info p {
  font-size: 14px;
  color: #636e72;
  margin-bottom: 20px;
}

.dest-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.price {
  font-weight: bold;
  color: #0984e3;
  font-size: 18px;
}

.rating {
  font-size: 14px;
  color: #fab1a0;
  font-weight: bold;
}
/* Trending Destination close*/