
/* Base & Global Setup */

body {
 
  margin: 0;
  padding: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin: 0 0 10px 0;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1rem;
}

p {
  line-height: 1.7;
  margin: 0 0 15px 0;
}

/* Hero Section */
/* Base Hero Section */
.hero {
background: url("https://media.istockphoto.com/id/2217275254/photo/white-villages-of-andalusia-vejer-de-la-frontera-in-the-province-of-cadiz.jpg?s=612x612&w=0&k=20&c=Vbmz_-LHJe1zfNsrKvt6oFOxaGUsjeeq3azuMS9JiiE=")
    center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 24, 0.45);
  z-index: 1;
  pointer-events: none;
}

/* Inner Hero Layout */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

/* Top Row - Navbar Row */
.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 60px 0;
  position: relative;
}

/* Logo */
.logo {
  margin: 0;
  margin-right: auto;
  padding-left: 32px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
}
.logo:hover,
.logo:visited,
.logo:active {
  color: #fff;
  text-decoration: none;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
  padding: 0 32px 0 0;
  z-index: 350;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0 30px 0 0;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #ffffff;
}

/* CTA Button */
.colorlib-btn {
  color: #fff;
  padding: 10px 24px;
  border: 2px solid #fff;
  border-radius: 0;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.colorlib-btn:hover {
  background: #9b6868;
  color: #000;
  border: 2px solid #fff;
}

/* Hero Content */
.hero-content {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  margin-top: 0;
  z-index: 2;
  animation: fadeInUp 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}
.hero-content h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.2rem;
  font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive Media Queries ---------- */


@media (max-width: 700px) {
  .hero,
  .hero-inner,
  .hero-content {
    min-height: 60vh;
  }
}



/* Section Divider */
.section-divider {
  width: 100%;
  height: 24px;
  background: white;
  opacity: 0.08;
  margin: 0 0 0 0;
}

/* Animated Hamburger Menu */
.menu-toggle {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
}
.menu-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.77, 0, 0.18, 1);
}
.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.77, 0, 0.18, 1);
}
.menu-toggle .bar::before {
  top: -8px;
}
.menu-toggle .bar::after {
  top: 8px;
}
.menu-toggle.open .bar {
  background: transparent;
}
.menu-toggle.open .bar::before {
  transform: rotate(45deg) translate(5px, 5px);
  top: 0;
}
.menu-toggle.open .bar::after {
  transform: rotate(-45deg) translate(5px, -5px);
  top: 0;
}

/* Overlay Navigation Menu */
.nav-links {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}
.nav-links.open {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.nav-links li {
  margin: 24px 0;
}
.nav-links li a {
  color: #222;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #fbbd08;
}

/* Hamburger to X animation and color */
.menu-toggle .bar,
.menu-toggle .bar::before,
.menu-toggle .bar::after {
  background: #fff;
  transition: all 0.3s cubic-bezier(0.77, 0, 0.18, 1), background 0.2s;
}
.menu-toggle.open .bar,
.menu-toggle.open .bar::before,
.menu-toggle.open .bar::after {
  background: #222;
}
.menu-toggle.open .bar {
  background: transparent;
}
.menu-toggle.open .bar::before {
  transform: rotate(45deg) translate(5px, 5px);
  top: 0;
}
.menu-toggle.open .bar::after {
  transform: rotate(-45deg) translate(5px, -5px);
  top: 0;
}

/* Always show hamburger */
.menu-toggle {
  display: flex !important;
}

/* Hide nav-links in navbar layout */
.navbar .nav-links {
  display: none !important;
}

/* Remove nav-bg overlay for clarity */
.nav-bg {
  display: none !important;
}
.nav-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 199;
}
.nav-bg.show {
  display: block;
}

.close-nav {
  position: absolute;
  top: 24px;
  right: 32px;
  background: #fff;
  color: #222;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 210;
  transition: background 0.2s, color 0.2s;
}
.close-nav:hover {
  background: #fbbd08;
  color: #fff;
}
.nav-links {
  position: fixed;
}
.nav-links.open ~ .menu-toggle {
  display: none !important;
}




/* Quote Icon in Testimonials */
.quote-icon {
  color: #fbbd08;
  font-size: 1.2rem;
  margin-right: 8px;
  vertical-align: middle;
}

/* Enhanced Button Styles */
.colorlib-btn,
.video-btn {
  box-shadow: 0 4px 16px rgba(251, 189, 8, 0.1);
  letter-spacing: 1px;
}

/* Section Spacing */
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Subtle Section Background for Testimonials */
.testimonials {
  background: linear-gradient(135deg, #fafafa 80%, #fbbd08 100%);
}

/* --- Welcome Section Styles (Hepta) --- */
/* ✅ Welcome Section */
/* ✅ Parent Section */
.welcome {
  background: #ffffff;
  padding: 64px 0 48px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ✅ Flex Container */
.welcome-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 48px;
  padding: 0 24px;
}

/* ✅ Left Side (Image) */
.welcome-img {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInLeft 1s ease;
}

.welcome-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ✅ Right Side (Text) */
.welcome-text {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  animation: fadeInRight 1s ease;
}

.welcome-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #000;
}

.welcome-text p {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ✅ Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ✅ Responsive Styles */
@media (max-width: 900px) {
  .welcome-container {
    flex-direction: column;
    text-align: center;
  }

  .welcome-text {
    align-items: center;
  }

  .welcome-img img {
    width: 100%;
    max-width: 90vw;
  }
}


/* Experience Section */
.experience {
  background: #fafafa;
  padding: 80px 0 60px 0;
  text-align: center;
}
.experience h2 {
  margin-bottom: 10px;
}
.experience p {
  margin-bottom: 40px;
  text-align: justify;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-row {
  display: flex;
  justify-content: center;
  gap: 0px;
}
@media (max-width: 1100px) {
  .features-row {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
}

.feature {
  background: #fafafa;
  border-radius: 0px;
  box-shadow: #fafafa;
  padding: 24px 14px;
  min-width: 280px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  flex: 1 1 320px;
  margin-left: 30px;
  margin-right: 30px;
}
@media (max-width: 950px) {
  .feature {
     width: 100%;
  max-width: 320px;
    flex: 0 1 calc(50% - 40px);
    margin-left: 30px;
    margin-right: 30px;
  }
}

.feature:hover {
  transform: translateY(-8px) scale(1.04);
}
.feature i {
  font-size: 2.2rem;
  color: #fbbd08;
  margin-bottom: 12px;
}
.feature h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.feature-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Tour Management Section */
.tour-management {
  background: white;
  padding: 80px 0 60px 0;
  text-align: center;
}
.tour-management p {
  text-align: justify;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  margin-bottom: 40px;
}

.slider-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
}
.slider-container {
  position: relative;
  width: 900px;
  height: 600px;
  overflow: hidden;
  border-radius: 0px;
}
.slider-image {
  position: absolute;
  width: 900px;
  height: 600px;
  opacity: 0;
  transition: opacity 1s ease;
}
.slider-image img {
  width: 900px;
  height: 600px;
  object-fit: cover;
}
.slider-image.active {
  opacity: 1;
}
.arrow {
  font-size: 36px;
  color: #222;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
  background: none;
  transition: background-color 0.3s;
}
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.dot.active {
  background-color: #65c0ba;
}

/* Blog Posts Section */
.blog-posts {
  background: #65c0ba !important;
  padding: 80px 0 60px 0;
  text-align: center;
}
.blog-intro {
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: justify;
  color: rgb(233, 233, 233);
  font-size: 1.08rem;
}
.blog-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.blog-card {
  background: #fafafa;
  border-radius: 0px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  width: 360px;
  height: 500px;
  padding: 0 0 24px 0;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.blog-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0px;
  cursor: pointer;
}
.blog-date {
  font-size: 0.95rem;
  color: #979693;
  font-weight: 600;
  margin: 18px 0 8px 18px;
}
.blog-title-link {
  margin: 0 0 8px 18px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
  cursor: pointer;
}
.blog-title-link:hover {
  color: #65c0ba !important;
}
.blog-desc {
  margin: 0 18px 0 18px;
  font-size: 0.98rem;
  color: #555;
}
.blog-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(251, 189, 8, 0.12);
}

/* Testimonials Section */
.testimonials {
  background: #fafafa;
  padding: 80px 0 60px 0;
  text-align: center;
}
.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.testimonial-card {
  border-radius: 0px;
  width: 300px;
  padding: 32px 24px 24px 24px;
  text-align: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  align-items: flex-start;
}
.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 18px;
  text-align: left;
  text-align: justify;
}
.testimonial-card h4 {
  margin-bottom: 2px;
  font-size: 15px;
  text-align: left;
  color: rgb(189, 182, 182);
}

/* Top Destination Section */
.top-destination h2 {
  text-align: center;
  margin-bottom: 12px;
}

.destination-intro {
  max-width: 600px;
  margin: 0 auto 32px auto;
  text-align: justify;
  color: #555;
  font-size: 1.08rem;
}

.destination-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px;
}

.destination-card {
  border-radius: 0px;
  width: 250px;
  padding: 18px 16px 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(40px);
}

.destination-card img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 12px;
}

.destination-card h3 {
  margin: 10px 0 8px 0;
  font-size: 1.1rem;
  color: #222;
  text-align: left;
}

.stars-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 6px;
}

.stars {
  color: #65c0ba !important;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-align: left;
}

.reviews {
  color: #ada9a9;
  font-size: 0.98rem;
  text-align: right;
}

.destination-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer */
.footer {
  background: #181818;
  color: #fff;
  padding: 60px 0 0 0;
  font-size: 1rem;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 30px;
}
.footer-section {
  flex: 1 1 180px;
  min-width: 180px;
}
.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #528daf;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 10px;
}
.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-section ul li a:hover {
  color: #89a07c;
}
.subscribe-form {
  display: flex;
  gap: 8px;
}
.subscribe-form input[type="email"] {
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 1rem;
}
.subscribe-form button {
  background: #5092cf;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.subscribe-form button:hover {
  background: #fff;
  color: #121a8a;
}
.footer-bottom {
  text-align: center;
  padding: 18px 0;
  background: #111;
  color: #aaa;
  font-size: 0.98rem;
  margin-top: 20px;
}
/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 0 0;
}
.footer-social a {
  color: #fff;
  font-size: 1.2rem;
  background: #222;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.footer-social a:hover {
  background: #918c7d;
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 1150px) {
  .welcome-container,
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .navbar {
    padding: 30px 20px 0 20px;
  }
}
@media (max-width: 900px) {
  .features,
  .testimonial-cards,
  .blog-cards,
  .destination-gallery {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

.scroll-down-btn {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: none;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: none;
  cursor: pointer;
  z-index: 20;
  text-decoration: none;
  transition: none;
}
.scroll-down-btn i {
  display: none;
}
.scroll-down-btn:hover {
  color: #fff;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.open {
  display: flex;
}
.video-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.close-video-modal {
  background: none;
  border: none;
  color: #222;
  font-size: 2.2rem;
  font-weight: bold;
  position: absolute;
  top: 8px;
  right: 18px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.close-video-modal:hover {
  color: #fbbd08;
}
.video-iframe-container {
  width: 70vw;
  max-width: 700px;
  aspect-ratio: 16/9;
  margin: 40px auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}
@media (max-width: 700px) {
  .video-iframe-container {
    width: 96vw;
    max-width: 96vw;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}
.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}
.feature.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: none;
}
.feature.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}



/* ===================== MEDIA QUERIES ===================== */

/* ≤900px */
@media (max-width: 900px) {
  .hero { min-height: 60vh; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-top-row { padding: 24px; }
}

/* ≤600px */
@media (max-width: 600px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .logo { font-size: 1.2rem; }
  .menu-toggle { display: flex; }
  .nav-links { display: none; }
}

/* ≤400px */
@media (max-width: 400px) {
  body { font-size: 14px; }
  h1 { font-size: 2.5rem; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.95rem; }
  .section { padding: 60px 10px; }
  .feature, .blog-card, .testimonial-card, .destination-card {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* ≤300px */
@media (max-width: 300px) {
  body { font-size: 12px; }
  .hero-content h1 { font-size: 1.2rem; }
  .hero-content p { font-size: 0.8rem; }
  .logo { font-size: 1rem; padding-left: 4px; }
  .section { padding: 40px 5px; }
}
