/* Basic resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Header styles */
header {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 40px;
  position: relative;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Search container */
.search-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#search-input {
  padding: 10px 15px;
  border: none;
  border-radius: 25px 0 0 25px;
  width: 70%;
  font-size: 1rem;
}

#search-btn {
  background: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

#search-btn:hover {
  background: #555;
}

/* Navigation */
nav {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  display: block;
  padding: 15px 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  background-color: #f0f0f0;
  color: #2575fc;
}

/* Main content */
main {
  margin-bottom: 60px;
}

section {
  margin-bottom: 40px;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  margin: 15px auto 0;
}

/* Year sections */
.year-section {
  margin-bottom: 50px;
}

.year-section h2 {
  margin-bottom: 30px;
}

/* Destination styles */
.destination {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.destination:hover {
  transform: translateY(-5px);
}

.destination h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2575fc;
}

.destination h3 i {
  margin-right: 10px;
}

.destination p {
  margin-bottom: 20px;
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.photo:hover {
  transform: translateY(-5px);
}

.photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Taj Mahal gallery specific styles */
.taj-mahal-gallery .photo img {
  height: 250px;
}

.photo:hover img {
  transform: scale(1.05);
}

.photo.zoomed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
}

.photo.zoomed img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transform: none;
}

.photo.zoomed .caption {
  position: absolute;
  bottom: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 100%;
  padding: 15px;
}

.photo .caption {
  padding: 10px;
  background-color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

/* Read more button */
.read-more-btn {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

.read-more-btn i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Extra content */
.extra-content {
  display: none;
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.extra-content p {
  margin-bottom: 10px;
}

.extra-content p:last-child {
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer p {
  margin-bottom: 10px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2575fc;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
  header {
    padding: 40px 20px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav a {
    padding: 10px 15px;
  }
  
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .search-container {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  
  #search-input {
    width: 60%;
  }
}
