/* Root color variables for consistent theming */
:root {
  --color-primary: #1e40af; /* deep blue reminiscent of modern travel brands */
  --color-accent: #b8860b; /* golden accent retained for brand continuity */
  --color-rating: #fbbc04; /* gold tone for star ratings */
}

/* General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.logo a {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #101010;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu li a {
  font-weight: 500;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--color-accent);
}

/* Mobile Nav */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  height: 26px;
  width: 30px;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}
.nav-toggle-label span::after {
  content: '';
  top: 8px;
}

.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}
.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(90deg);
  top: 0;
}
.nav-toggle:checked + .nav-toggle-label span::after {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-menu {
  transform: translateY(0);
}

/* Hero */
/* Hero: use our own image for a more personalised look */
.hero {
  background-image: url('../images/monument.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* Darker shade on hover for primary accent button */
.btn:hover {
  background-color: #926c0a;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #fff;
}

/* Secondary button variation used on hero */
.btn-secondary {
  margin-top: 1rem;
  background-color: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Search form styling within hero */
.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 1.5rem auto;
  max-width: 500px;
}

.search-form input[type="text"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
}

.search-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-form button:hover {
  background-color: #16317a;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #fff;
}

.feature {
  flex: 1 1 280px;
  max-width: 300px;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature p {
  font-size: 0.95rem;
  color: #666;
}

/* Coming Soon */
.coming-soon {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #f6f5f3;
}

.coming-soon h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.coming-soon p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
}

/* Footer */
footer {
  background-color: #333;
  color: #f0f0f0;
  padding-top: 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 2rem;
}

.footer-container > div {
  flex: 1 1 200px;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  margin-top: 0.5rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
  background-size: cover;
  background-position: center;
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

/* Content Pages */
.content-page {
  padding-bottom: 3rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.about-section h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-section p {
  margin-bottom: 1rem;
  color: #555;
}

.why-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  color: #555;
}

.tours-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tours-section p {
  margin-bottom: 2rem;
  color: #555;
}

.tour-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tour-card {
  flex: 1 1 280px;
  max-width: 300px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.tour-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tour-card h3 {
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
}

.tour-card p {
  padding: 0 1rem 1rem;
  color: #666;
}

.notify-box {
  text-align: center;
  margin-top: 2rem;
}

/* Contact Page */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-details i {
  margin-right: 0.5rem;
  color: var(--color-accent);
}

.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.form-response {
  margin-top: 1rem;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}
.testimonials h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.testimonial-card {
  flex: 1 1 280px;
  max-width: 320px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  font-style: italic;
  position: relative;
}
.testimonial-card span {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-style: normal;
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 2rem;
  background-color: #f6f5f3;
  text-align: center;
}
.newsletter h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.newsletter p {
  color: #555;
  margin-bottom: 1.5rem;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1 1 200px;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.newsletter-form button:hover {
  background-color: #926c0a;
}

/* Gallery Page */
.gallery-section {
  padding: 4rem 2rem;
  background-color: #fff;
}
.gallery-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 201;
}

/* Popular Tours Section Styles */
.popular-tours {
  padding: 4rem 2rem;
  background-color: #fff;
}
.popular-tours h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.tour-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.tour-item:hover {
  transform: translateY(-5px);
}
.tour-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.tour-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tour-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.tour-meta .rating {
  color: var(--color-rating);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.tour-meta .price {
  font-weight: 700;
  color: var(--color-primary);
}
.tour-info p {
  color: #555;
  margin-bottom: 1rem;
}
.btn-book {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-book:hover {
  background-color: #16317a;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    align-items: center;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    padding: 1rem 0;
  }
  .nav-toggle-label {
    display: block;
    position: relative;
    z-index: 101;
  }
  .nav-menu li {
    margin: 0.5rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .feature {
    max-width: 100%;
  }
  .tour-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
