:root {
  --bg-color: #ffffff;
  --text-color: #1b1b1b;
  --primary: #5bf3bb;
  --accent: #f5c542;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.4rem);
}


h1, h2, h3, h4, h5, h6, p {
  text-align: center;
}

.logo {
  font-size: 1.3em;
  font-family: 'Roboto', serif;
  font-weight: bold;
  color: #1b3b2f;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 1rem;
  background: var(--primary);
  color: white;
  position: sticky;
  top: 0;
  left: 0; 
  right: 0;
  z-index: 100;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #1b3b2f;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-links a:hover, .nav-links a:focus {
  background: #22ad7a;
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(34,173,122,0.10);
}

.hamburger {
  display: none;
  width: clamp(24px, 4vw,32px);
  height: clamp(24px, 4vw,32px);
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.hamburger:hover, .hamburger:focus {
  color: #1b3b2f;
  transform: scale(1.15);
}

.hero {
  background:linear-gradient(rgba(34,173,122,0.18), rgba(245,197,66,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(34, 173, 122, 0.08);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero.fade {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.hero {
  opacity: 1;
  transform: scale(1.05);
}


.hero-text {
  background: rgba(255,255,255,0.7);
  padding: 2.5rem 2rem;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34, 173, 122, 0.10);
  max-width: 600px;
  margin: 0 auto;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  color: #1b3b2f;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.hero p {
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);;
  font-weight: 400;
  color: #1b3b2f;
  margin-bottom: 1.5rem;
}
.rotating-line {
  margin-bottom: 1.5rem;
}

.rotating-fade {
  font-size: 1.1rem;
  color: #f5c542;
  font-weight: 600;
  max-width: 100%;
  text-shadow: 0 2px 8px rgba(27, 59, 47, 0.8);
  background: rgba(27, 59, 47, 0.4);
  border-radius: 6px;
  padding: 0 0.5em;
  transition: opacity 0.6s;
}


.btn {
  background: #22ad7a;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  margin-top: 1rem;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
}

.btn:hover,
.btn:focus {
  background: #f5c542;
  color: #1b1b1b;
  transform: translateY(-2px);
}

.intro, .featured-tours {
  padding: 2rem 1rem;
  text-align: center;
  color: #1b3b2f;
  background-color: #f8f6f3;
  border-left: 6px solid #22ad7a;
  border-bottom: 6px solid #22ad7a;
  border-radius: 12px;
  margin-top: 20px;
}

.intro h2{
 color: #f5c542; 
} 

.featured-tours h2{
  color: #f5c542;
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tour-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tour-card:hover {
  transform: scale(1.02);
}

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

.tour-info {
  padding: 1rem;
}

/* Tours filter styles */
.tours{
  padding: 2rem 1rem;
  margin-top: 10px;
  background-color: #f8f6f3;
  border: 1px solid #ddd;
  border-radius: 12px;
}

.tours .filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.tours input, .tours select {
  padding: 0.5rem;
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
}

/* Tour detail */
.tour-detail { 
  padding: 2rem 1rem;
  margin-top: 20px;
  background-color: #f8f6f3;
  border: 1px solid #ddd;
  border-radius: 12px;
  align-items: center;
  justify-items: center;
}

.tour-detail .gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.tour-detail .gallery img {
  border-radius: 8px;
  width: 300px;
  object-fit: cover;
}

.toggle-itinerary {
  background-color: #22ad7a;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.2s ease;
}

.toggle-itinerary:hover {
  background-color: #1a8d62;
}

.toggle-itinerary{
  margin-top: 1rem;
  transition: all 0.3s ease-in-out;
}

.itinerary-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 1.2rem;
}

.itinerary-card {
  background: #f9f9f9;
  border-left: 5px solid #22ad7a;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.itinerary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.itinerary-card i {
  display: block;
  margin-top: 0.5rem;
  color: #666;
  font-style: italic;
}

.tourpackage-info{
  align-items: center;
  justify-items: center;
}

.reviews{
  padding: 2rem 1rem;
  margin-top: 20px;
  background-color: #f8f6f3;
  border: 1px solid #ddd;
  border-radius: 12px;
  align-items: center;
  justify-items: center;
}

/*
.review {
  border-top: 1px solid #ccc;
  padding: 1rem 0;
  display: flex;
  flex-wrap: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}*/


.review-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  border-top: 1px solid #ccc;
  padding: 1rem 0;
}

.tripadvisor-card {
  flex: 1 1 300px; /* flexible width, min 300px */
  background-color:  #f8f6f3;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #ccc;
  border-left: 5px solid #22ad7a;
  text-align: center;
  transition: transform 0.3s ease;
}

/*
.tripadvisor-card{
  background: #f8f6f3;
  padding: 1rem;
  margin: 1rem 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34, 173, 122, 0.08);
  display: flex;
  flex-wrap: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}*/

.tripadvisor-card img {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
}

.tripadvisor-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px rgba(245, 197, 66, 0.10);
} 

.tripadvisor-card p {
  margin-top: 0.5rem;
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  color: #444;
}

/* Booking form */
.booking-form, .contact {
  padding: 2rem 1rem;
  margin-top: 20px;
  background-color: #f8f6f3;
  border: 1px solid #ddd;
  border-radius: 12px;
  align-items: center;
  justify-items: center;
}

.booking-form form, .contact {
  display: grid;
  gap: 1rem;
}
.booking-form input, .booking-form select, .booking-form textarea, .contact {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
}

.contact,
.social,
.about-intro,
.team,
.values,
.tips {
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow:  0 0 10px rgba(0, 0, 0, 0.05);
}

/* Contact info layout */
.contact-info-container,.social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-info-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #f8f6f3;
  padding: 1rem;
  border: 1px solid #ddd;
  border-left: 5px solid #22ad7a;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 500px;
}

.contact-info-card:hover {
  transform: scale(1.02);
  background: #f0fef9;
}

/* Icons */
.whatsapp-icon,
.icon,
.social-icon {
  width: 24px;
  height: 24px;
}

/* Buttons */
a {
  text-decoration: none;
  color: #1b3b2f;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

a:hover {
  color: #22ad7a;
}

/* SOCIAL SECTION 
.social .contact-info-card {
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 1rem;
  border-left: 5px solid #22ad7a;
}*/

/* ABOUT SECTION */
.about-intro{
  padding: 2rem 1rem;
  margin-top: 20px;
  background-color: #f8f6f3;
  border: 1px solid #ddd;
  border-radius: 12px;
  align-items: center;
  justify-items: center;
}

.about-intro p {
  max-width: 700px;
  margin: auto;
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  text-align: center;
}

/* TEAM SECTION */
.team .tour-card img {
  display: block;
  max-width: 80%;
  height: 250px;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

.tour-info {
  padding: 1rem;
}

/* VALUES SECTION */
.values ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
}

.values li {
  background: #f8f6f3;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 5px solid #22ad7a;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* TIPS SECTION */
.tip-card {
  background: #f8f6f3;
  margin: 1rem 0;
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 5px solid #22ad7a;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.tip-card h3 {
  margin-bottom: 0.5rem;
}

/* RESPONSIVENESS */
@media (max-width: 600px) {
  body {
    padding: 0.5rem;
  }

  .contact-info-container {
    gap: 0.75rem;
  }

  .contact-info-card {
    padding: 1rem;
  }
}

/* Responsive */
@media (max-width: 600px) {
  section {
    padding: 1rem;
  }

  .contact-info-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info-card strong {
    font-size: 0.95rem;
  }

  .tour-info {
    padding: 0.8rem;
  }
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 25px;
  z-index: 100;
  background-color: #22ad7a;
  color: white;
  border: none;
  outline: none;
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  background-color: #1a8d62;
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: #1b3b2f;
  color: #f8f6f3;
  text-align: center;
  padding: 0.5rem;
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  margin-top: 20px;
}

.footer a {
  text-decoration: none;
  font-weight: 500;
  height: 20px;
  color:#ddd;
  transition: color 0.2s, text-decoration 0.2s;
}

.footer a:hover {
  text-decoration: underline;
}

.footer span {
  font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
  vertical-align: middle;
}

/* Mobile-Friendly */
@media (max-width: 600px) {
  #backToTop {
    bottom: 20px;
    right: 15px;
  }

  .footer {
    font-size: 0.75rem;
    padding: 0.4rem 0.2rem;
    gap: 0.1rem;
  }
}

@media (min-width: 768px) {
  .tour-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav {
   width: 100%;
  }

  .hamburger {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 60px;
    right: 0;
    width: 50%;
    padding: 1rem;
    gap: 2rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .gallery img {
    max-width: 90%;
  }

  .tour-detail h1 {
    font-size: 2rem;
  }

  .tour-detail h2 {
    font-size: 1.5rem;
  }

  .tripadvisor-card img {
    max-width: 80%;
  }
}

/* Small Devices (phones, portrait) */
@media (max-width: 480px) {
  body {
    font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
    padding: 0 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .tour-card {
    flex-direction: column;
  }

  .gallery img {
    width: 100%;
    height: auto;
  }

  .btn {
    font-size:  clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
    padding: 0.75rem 1.5rem;
  }
}

/* Medium Devices (tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .tour-card {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .gallery img {
    width: 48%;
  }
}

/* Large Devices (laptops and desktops) */
@media (min-width: 769px) {
  .gallery img {
    width: 32%;
  }

  .tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0 !important;
  }
  
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

