:root {
  --primary: #1B5F7A;
  --primary-dark: #13485E;
  --primary-light: #2B8A9E;
  --primary-rgb: 27, 95, 122;
  --secondary: #4A7C3F;
  --secondary-light: #5FA34F;
  --accent: #D4A12A;
  --accent-dark: #B8891E;
  --accent-rgb: 212, 161, 42;
  --dark: #2c2420;
  --text: #3b2f1e;
  --text-light: #6b5a3a;
  --bg-cream: #faf7f2;
  --bg-light: #f5efe6;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ===== HEADER / DESKTOP NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(44, 36, 32, 0.95);
  backdrop-filter: blur(12px);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

header h1 {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

header nav {
  display: flex;
  gap: 4px;
}

header nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

header nav a:hover,
header nav a.active {
  color: var(--white);
  background: rgba(var(--primary-rgb), 0.2);
}

header nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ===== MOBILE MENU BUTTON (FLOATING) ===== */
.mobile-menu-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
  font-size: 1.3rem;
  transition: all var(--transition);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.5);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.mobile-menu-btn i {
  transition: transform var(--transition);
}

.mobile-menu-btn.open i {
  transform: rotate(45deg);
}

/* ===== MOBILE MENU (FULL SCREEN GLASS) ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(44, 36, 32, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 40px 24px;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.mobile-menu .close-btn:hover {
  background: rgba(255,255,255,0.18);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 280px;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}

.mobile-menu.open nav a {
  animation: menuItemIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-menu.open nav a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open nav a:nth-child(2) { animation-delay: 0.10s; }
.mobile-menu.open nav a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open nav a:nth-child(4) { animation-delay: 0.20s; }
.mobile-menu.open nav a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.open nav a:nth-child(6) { animation-delay: 0.30s; }

@keyframes menuItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu nav a i {
  width: 22px;
  text-align: center;
  color: var(--primary);
  font-size: 1rem;
}

.mobile-menu nav a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.mobile-menu nav a.active-mobile {
  color: var(--white);
  position: relative;
}

.mobile-menu nav a.active-mobile::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-menu .menu-contact {
  margin-top: 32px;
  text-align: center;
}

.mobile-menu .menu-contact a,
.mobile-menu .menu-contact span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.mobile-menu .menu-contact a:hover {
  color: var(--primary);
}

.mobile-menu .menu-contact i {
  margin-right: 6px;
  color: var(--primary);
  font-size: 0.8rem;
}

.mobile-menu .menu-social {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.mobile-menu .menu-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.mobile-menu .menu-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== SWIPER ===== */
.swiper {
  width: 100%;
  height: 60vh;
  min-height: 350px;
  margin-top: 70px;
}

.swiper.hero {
  height: 70vh;
  min-height: 400px;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.swiper-pagination-bullet {
  background: var(--white) !important;
  opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--primary) !important;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 70px 20px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 1rem;
}

/* ===== CONTACT DETAILS BAR ===== */
.contact-bar {
  background: var(--dark);
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-bar a,
.contact-bar span {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.contact-bar a:hover {
  color: var(--primary);
}

.contact-bar i {
  color: var(--primary);
  font-size: 1rem;
}

/* ===== TRANSFER / 2-COLUMN GRID ===== */
.transfer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.transfer-image {
  height: 400px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.transfer-wrap > div:last-child h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--dark);
  margin-bottom: 16px;
}

.transfer-wrap > div:last-child p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== BOOKING FORM ===== */
.booking-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1.5px solid #e0ddd5;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-cream);
  transition: border-color var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.booking-form textarea {
  min-height: 100px;
  resize: vertical;
}

.booking-form .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-item {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-item i {
  font-size: 2rem;
  color: var(--primary);
  min-width: 44px;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== TOUR / FLEET CARDS ===== */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tour-image {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.tour-content {
  padding: 24px;
}

.tour-content h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.tour-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tour-content .btn {
  font-size: 0.85rem;
  padding: 10px 22px;
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 240px;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg-cream);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
}

.testimonial-card p::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--primary);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}

.testimonial-card h4 {
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== LINKS PANEL / FOOTER ===== */
.links-panel {
  background: var(--dark);
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  width: 100%;
  border-top: 3px solid var(--accent);
}

.links-panel .footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.links-panel .footer-brand .footer-logo {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.links-panel h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

.links-panel h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin-top: 8px;
  border-radius: 2px;
}

.links-panel a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: all var(--transition);
}

.links-panel a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.links-panel .footer-contact p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.links-panel .footer-contact i {
  color: var(--primary);
  width: 16px;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0;
  transition: all var(--transition);
  color: rgba(255,255,255,0.4);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  padding-left: 0;
}

.footer-bottom {
  background: #1a1512;
  text-align: center;
  padding: 20px 40px;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-grid h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark);
  margin-bottom: 16px;
}

.about-grid p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* ===== GALLERY PAGE FILTERS ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery-filters button {
  padding: 8px 22px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  background: var(--white);
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== PAGE HERO (non-swiper) ===== */
.page-hero {
  height: 50vh;
  min-height: 300px;
  margin-top: 70px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

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

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .transfer-wrap {
    grid-template-columns: 1fr;
  }
  
  .transfer-image {
    height: 280px;
  }

  header {
    padding: 0 20px;
    height: 60px;
  }
  
  header h1 {
    font-size: 1.1rem;
  }

  .swiper {
    height: 50vh;
    min-height: 300px;
    margin-top: 60px;
  }
  
  .page-hero {
    margin-top: 60px;
    height: 40vh;
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }

  .mobile-menu-btn,
  .mobile-menu {
    display: flex;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }
  
  .gallery-grid {
    grid-auto-rows: 200px;
  }

  section {
    padding: 50px 16px;
  }

  .links-panel {
    padding: 40px 24px 24px;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .links-panel .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    padding: 16px 24px;
    flex-direction: column;
    text-align: center;
  }

  .contact-bar {
    gap: 12px;
    padding: 12px 16px;
  }
  
  .contact-bar a,
  .contact-bar span {
    font-size: 0.8rem;
  }

  .why-item {
    padding: 20px;
  }
  
  .booking-form {
    padding: 24px;
  }

  .whatsapp-btn {
    bottom: 88px;
    left: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  
  .mobile-menu-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 0.95rem;
  }
  
  .links-panel {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .links-panel .footer-brand {
    grid-column: span 1;
  }

  .links-panel h4::after {
    margin: 8px auto 0;
  }

  .links-panel .footer-contact p {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
  
  .tours-grid {
    grid-template-columns: 1fr;
  }
}
