body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #fff, #ebedee);
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}


:root {
  --bg-color: #f4f4f4;
  --text-color: #000000;
  --card-bg: #ffffff;
  --accent-color: #007bff;
}

body.dark {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --card-bg: #1e1e1e;
  --accent-color: #bb86fc;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
}

header {
  padding: 1rem;
  background: var(--card-bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

h1 {
  font-size: 1.8rem;
  margin: 0;
}

.top-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

input[type="text"] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  background-color: var(--accent-color);
  color: rgb(198, 184, 184);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

button:hover {
  opacity: 0.9;
}

.container {
  padding: 1.5rem;
}

section {
  background-color: var(--card-bg);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#imageGallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

#imageGallery img {
  width: 100%;
  border-radius: 6px;
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9em;
  margin-top: 60px;
}

.footer-content {
  max-width: 800px;
  margin: auto;
}

.footer .social-links {
  margin-top: 10px;
}

.footer .social-links a {
  margin: 0 10px;
  color: #00c6ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: #fff;
}



/* Dark Mode Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--accent-color);
}
input:checked + .slider:before {
  transform: translateX(24px);
}

/* Loader */
.loader {
  text-align: center;
  padding: 1rem;
  display: none;
  font-weight: bold;
}
.loader.show {
  display: block;
}
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.search-box input {
  padding: 10px;
  width: 250px;
  border-radius: 5px;
  border: none;
  font-size: 1em;
}

.search-box button {
  padding: 10px 20px;
  background-color: #f04e23;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.features {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
}

.features h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card span {
  font-size: 2em;
}

.feature-card h3 {
  margin-top: 15px;
  font-size: 1.2em;
  color: #333;
}

.popular-destinations {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.popular-destinations h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.destination-card {
  background: #fefefe;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.destination-card:hover {
  transform: scale(1.03);
}

.destination-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destination-card h3 {
  padding: 15px;
  font-size: 1.2em;
  color: #333;
}
.about-section {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: auto;
}

.about-section h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.about-section p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e') no-repeat center center/cover;
  color: #fff;
}

.about {
  background-color: #f9f9f9;
}

.features {
  background-color: #eef6f9;
}

.footer {
  background-color: #1c1c1c;
}

.with-bg {
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: white;
  position: relative;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  padding: 20px;
  border-radius: 8px;
}



section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Responsive */
@media (max-width: 600px) {
  .top-right {
    flex-direction: column;
    align-items: flex-start;
  }
}


