/* -- ROOT VARIABLES & GENERAL STYLES -- */
:root {
  --primary-color: #c1663a;
  /* Earthy Terracotta */
  --secondary-color: #3d3d3d;
  /* Dark Charcoal */
  --accent-color: #0077b6;
  /* Moroccan Blue */
  --bg-light: #f9f6f2;
  /* Sandy Off-white */
  --light-color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--secondary-color);
  line-height: 1.7;
  background-color: var(--light-color);
  overflow-x: hidden;
  /* Prevent horizontal scroll from animations */
}

/* -- HERO SECTION & VIDEO BACKGROUND -- */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--light-color);
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translateX(-50%) translateY(-50%);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.logo {
  max-width: 120px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 5px;
}

.hero-content h1 {
  font-family: "Anton", sans-serif;
  font-size: 5rem;
  letter-spacing: 3px;
  margin: 0;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
}

.tagline {
  font-size: 1.25rem;
  margin: 0.5rem 0 2rem 0;
  font-weight: 400;
}

/* -- BUTTON STYLES -- */
.cta-button {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 15px 40px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  border: 2px solid transparent;
}

.cta-button:hover {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

/* -- GENERAL CONTENT & SECTION STYLES -- */
.content-section {
  padding: 100px 5%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-family: "Anton", sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.gray-bg {
  background-color: var(--bg-light);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

/* -- ABOUT SECTION -- */
.about-section {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-content {
  flex: 1;
  text-align: left;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 10px 10px 0px var(--primary-color);
}

.about-section .section-title {
  text-align: left;
  margin-bottom: 20px;
}

/* -- WHY CHOOSE US -- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  fill: var(--primary-color);
  margin-bottom: 15px;
}

/* -- ADVENTURES SECTION (ASYMMETRIC) -- */
.adventure-item {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.adventure-item:nth-child(even) {
  flex-direction: row-reverse;
}

.adventure-image {
  flex: 1.2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}

.adventure-item:nth-child(even) .adventure-image {
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
}

.adventure-image img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.adventure-item:hover .adventure-image img {
  transform: scale(1.1);
}

.adventure-text {
  flex: 1;
  text-align: left;
}

.adventure-text h3 {
  font-family: "Anton", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: var(--primary-color);
}

/* -- TESTIMONIALS SECTION -- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.testimonial-card {
  background: var(--light-color);
  padding: 30px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
  font-style: italic;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
}

.testimonial-card h4 {
  margin: 0;
  font-weight: bold;
  text-align: right;
  color: var(--secondary-color);
}

/* -- CONTACT SECTION -- */
.contact-section {
  text-align: center;
  background: var(--secondary-color);
  color: var(--light-color);
}

.contact-section .section-title {
  color: var(--light-color);
}

.contact-section p {
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.contact-section .cta-button {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.contact-section .cta-button:hover {
  background-color: var(--light-color);
  color: var(--secondary-color);
  border-color: var(--light-color);
}

/* -- FOOTER -- */
footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* -- RESPONSIVE DESIGN -- */
@media (max-width: 900px) {
  .about-section,
  .adventure-item,
  .adventure-item:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  /* ✨ IMPROVEMENT: Center align titles and text that were previously left-aligned on desktop */
  .about-section .section-title,
  .adventure-text {
    text-align: center;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .gray-bg {
    clip-path: none;
  }

  .adventure-image,
  .adventure-item:nth-child(even) .adventure-image {
    clip-path: none;
    border-radius: 5px; /* Add a slight radius since clip-path is gone */
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  /* ✨ IMPROVEMENT: Reduce vertical padding on sections for a tighter feel on mobile */
  .content-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2; /* Prevent letters from touching */
  }

  .tagline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  /* ✨ IMPROVEMENT: Further reduce padding on the smallest screens */
  .content-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* ✨ IMPROVEMENT: Make the main call-to-action button slightly larger for easier tapping */
  .cta-button {
    padding: 18px 35px;
    font-size: 1rem;
  }

  /* ✨ IMPROVEMENT: Simplify the box-shadow for a cleaner mobile look */
  .about-image img {
    box-shadow: 5px 5px 0px var(--primary-color);
  }

  .adventure-item {
    margin-bottom: 50px;
  }
}
