@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Lenis Smooth Scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* GSAP Reveal Initial States */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

:root {
  --primary-color: #2e5c35; /* Deep Forest Green */
  --primary-light: #4a8552;
  --secondary-color: #f3f5f4; /* Soft Mist Gray */
  --accent-color: #d4af37; /* Muted Gold */
  --text-dark: #1a1a1a;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --max-width: 1280px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hide Native Scrollbar */
::-webkit-scrollbar {
  display: none;
}
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Premium Preloader Styles */
#premium-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  perspective: 2000px;
}

.tectonic-plate {
  position: absolute;
  width: 51vw; /* Slightly over 50 to prevent gaps */
  height: 51vh;
  background: #000000;
  z-index: 1;
}

.plate-tl { top: 0; left: 0; }
.plate-tr { top: 0; right: 0; }
.plate-bl { bottom: 0; left: 0; }
.plate-br { bottom: 0; right: 0; }

.preloader-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: 0 5vw;
  box-sizing: border-box;
}

.tectonic-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tectonic-main {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 25vw, 15rem); /* Massive but responsive */
  font-weight: 900;
  line-height: 0.8;
  color: #ffffff !important;
  margin: 0;
  letter-spacing: -0.05em;
  display: flex;
  justify-content: center;
  overflow: hidden;
  opacity: 0; /* Hidden initially */
  visibility: hidden;
}

.tectonic-sub-main {
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.6rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.8em;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 1.5rem;
  text-transform: uppercase;
  text-align: center;
  opacity: 0; /* Hidden initially */
  visibility: hidden;
}

.p-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px) rotateX(-90deg);
}

/* Custom Floating Scrollbar */

/* Custom Floating Scrollbar */
.custom-scrollbar {
  position: fixed;
  right: 5px;
  top: 0;
  width: 6px;
  height: 100vh;
  z-index: 9999;
  pointer-events: none; /* Let clicks pass through to content */
}

.scrollbar-thumb {
  width: 100%;
  height: 100px; /* Base height, will be updated by JS */
  background: #1a1a1a; /* Matte Black */
  border-radius: 20px;
  opacity: 0.3;
  transition: opacity 0.3s ease, width 0.3s ease;
}

/* Make it look more premium on hover/scroll */
.custom-scrollbar.active .scrollbar-thumb {
  opacity: 0.7;
  width: 8px;
  background: #000000; /* Pure Matte Black when active */
}

textarea {
  resize: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  line-height: 1.2;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* Modern Package Grid (show_packages.php) */
.package-grid-modern {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(280px, 1fr)
  ); /* Responsive 4 columns */
  gap: 2rem;
  margin-top: 2rem;
}

.package-card-modern {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Very soft initial shadow */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
}

.package-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(46, 92, 53, 0.15); /* Greenish shadow on hover */
}

.pcm-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 65%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.pcm-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.package-card-modern:hover .pcm-image-wrapper img {
  transform: scale(1.1);
}

.pcm-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pcm-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: rgba(46, 92, 53, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  align-self: flex-start;
}

.pcm-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.pcm-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcm-footer {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pcm-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.pcm-link:hover {
  gap: 0.8rem;
}

/* Adjust grid for larger screens to prefer 4 columns if space allows */
@media (min-width: 1200px) {
  .package-grid-modern {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Header - Premium Minimalist */
header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85); /* Milky glass effect */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  height: 60px;
  width: auto;
  transition: all 0.4s ease;
  filter: brightness(0) invert(1); /* Initial White Logo */
}

header.scrolled .logo img {
  height: 50px;
  filter: none; /* Original Colors on Scroll */
}

/* Desktop Navigation */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
}

header.scrolled .nav-links a {
  color: var(--text-dark);
}

/* Elegant Underline Hover Effect */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%; /* Start from center */
  transform: translateX(-50%);
  background-color: var(--white);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .nav-links a::after {
  background-color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  opacity: 1;
}

/* Mobile Logo (Hidden on Desktop) */
.mobile-logo {
  display: none;
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
  z-index: 1002;
}

header.scrolled .menu-btn {
  color: var(--text-dark);
}

/* Mobile Menu - Premium Side Drawer */
@media (max-width: 1000px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px; /* Slightly wider */
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center; /* Center items vertically */
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  /* Specific Layout for Mobile Logo Container */
  li.mobile-logo {
    display: block;
    position: absolute;
    top: 6rem;
    left: 4rem;
    width: auto;
    margin: 0;
    opacity: 1 !important; /* Override staggered fade-in for logo so it's always there */
    transform: none !important;
  }
  
  /* Reset Image Styling inside the specific container */
  li.mobile-logo img.mobile-logo {
      display: block;
      position: static; /* Do not float/absolute the image itself */
      height: 50px;
      width: auto;
      filter: none; /* Keep original colors */
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(20px);
  }

  /* Staggered Animation for Menu Items - Handled by GSAP */
  
  .nav-links a {
    color: var(--text-dark) !important;
    font-size: 1.5rem; /* Larger font for mobile */
    font-family: "Playfair Display", serif; /* Elegant font */
    font-weight: 600;
  }
  
  .nav-links a::after {
      background-color: var(--primary-color);
  }

  /* Force menu button to be dark when menu is open */
  .menu-btn.dark-force {
      color: var(--text-dark) !important;
  }
  
  /* Menu Overlay */
  .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(0,0,0,0.4);
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease;
  }
  
  .menu-overlay.active {
      opacity: 1;
      pointer-events: auto;
  }
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh; /* Changed to full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white) !important;
  overflow: hidden;
}

#hero h1,
#hero h2,
#hero h3,
#hero p,
#hero span {
  color: var(--white) !important;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

#hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
  perspective: 1000px;
}

/* Hide hero elements initially for GSAP to prevent FOUC */
.hero-content > h1,
.hero-content > p,
.hero-content > .hero-buttons {
  opacity: 0;
  visibility: hidden;
}

#hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

#hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.hero-buttons .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.hero-buttons .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* About Section */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 1rem;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-item i {
  font-size: 2rem;
  color: var(--primary-color);
  background-color: #e9f2eb;
  padding: 1rem;
  border-radius: 12px;
  min-width: 60px;
  text-align: center;
}

.stat-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.about-map img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Highlights Section */
#highlights {
  background-color: var(--secondary-color);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.highlight-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.highlight-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.highlight-card:hover img {
  transform: scale(1.05);
}

.highlight-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.highlight-content .tag {
  align-self: flex-start;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.highlight-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", serif;
}

.highlight-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.read-more:hover {
  gap: 0.8rem;
}

/* Featured Cars Section */
#featured-cars {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 1rem;
  background: #f9f9f9;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.car-details {
  background: var(--secondary-color);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.car-details p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.car-details p:last-child {
  margin-bottom: 0;
}

.car-details i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.button-group .btn {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
}

/* Diaries Section */
#diaries {
  background-color: var(--secondary-color);
}

.diaries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.diaries-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.diaries-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.diaries-item:hover img {
  transform: scale(1.1);
}

.item1 {
  grid-column: 1 / 3;
}
.item4 {
  grid-column: 2 / 4;
}

/* CTA Section */
#cta {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://picsum.photos/1920/1080?random=20");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 8rem 0;
}

#cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

#cta p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

#cta .btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

#cta .btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Footer - Light & Clean Premium */
#footer {
  background-color: #ffffff; /* Clean White */
  color: var(--text-dark);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle top border */
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02); /* Soft shadow glowing up */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo{
  margin-left: -20px !important;
  height: 75px;
  width: 230px;
  margin-top: -20px;
  margin-bottom: 10px;
}

.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark); /* Dark by default */
  font-family: "Playfair Display", serif;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

/* Premium Animated Underline from Center */
.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-col:hover h3 {
  color: var(--primary-color); /* Turns green on hover */
}

.footer-col:hover h3::after {
  width: 100%;
}

.footer-col p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Social Icons - Clean Dark/Green */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 92, 53, 0.2);
}

/* Links List */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
}

.footer-col ul a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
  font-weight: 500;
}

.footer-col ul i {
  color: var(--primary-color);
  margin-right: 0.8rem;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-email a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-email a:hover {
  color: var(--primary-color);
}

/* Responsive Footer Bottom */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .footer-bottom {
    text-align: left; /* Keeps default alignment clean */
  }
}

/* Page Specific Headers (Common Style) */
#tour-hero,
#packages-hero,
#about-hero,
#contact-hero,
#enquire-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 1rem;
  text-align: center;
  color: var(--white);
  position: relative;
  min-height: 70vh; /* Increased height */
  display: flex;
  align-items: center;
  justify-content: center;
}

#tour-hero h1,
#tour-hero p {
  color: var(--white) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
#tour-hero::before,
#packages-hero::before,
#about-hero::before,
#contact-hero::before,
#enquire-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#tour-hero > *,
#packages-hero > *,
#about-hero > *,
#contact-hero > *,
#enquire-hero > * {
  position: relative;
  z-index: 2;
}

#tour-hero h1,
#packages-hero h1,
#about-hero h1,
#contact-hero h1,
#enquire-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* Contact & Enquire Form Enhancements */
.contact-form-wrapper {
  padding: 3rem;
  border: none;
  box-shadow: var(--shadow-lg);
  background: var(--white); /* Ensure bg is set */
  border-radius: 16px;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: block;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f9f9f9;
  transition: var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(46, 92, 53, 0.1);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}

/* Typing Effect Cursor */
.cursor {
  display: inline-block;
  background-color: var(--accent-color);
  width: 3px;
  height: 1.1em;
  vertical-align: middle;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* --- Restored & Modernized Specifics for About/Contact/Tour Pages --- */

/* Contact Grid - 2x2 Layout */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(340px, 1fr)
  ); /* Wider cards for horizontal layout */
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Horizontal Contact Card */
.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: flex; /* Horizontal layout */
  align-items: center;
  text-align: left; /* Left align text */
  transition: var(--transition);
  border: 1px solid #eee;
  gap: 1.5rem;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.contact-card .icon-box {
  width: 60px;
  height: 60px;
  background: #e9f2eb;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0; /* Prevent icon shrinking */
  margin: 0; /* Remove centered margin */
  transition: var(--transition);
}

.contact-card:hover .icon-box {
  background: var(--primary-color);
  color: var(--white);
}

.contact-card-content {
  /* Wrapper for text if needed, or just let them stack */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden; /* Helps with text wrap */
}

.contact-card h3 {
  margin-bottom: 0.25rem; /* Tighter spacing */
  font-size: 1.2rem;
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
  overflow-wrap: anywhere; /* Ensure wrapping */
}

/* Address & Map */
.address-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 4rem;
}

.address-text {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.address-text h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.address-text p {
  color: var(--text-light);
  line-height: 2;
  font-size: 1.1rem;
}

.map-frame {
  height: 100%;
  min-height: 400px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.map-frame-large {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Alternative Package Grid (Used in About/Contact) */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.package-card-alt {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.package-card-alt:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pkg-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pkg-header h3 {
  font-size: 1.2rem;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.pkg-header .duration {
  display: inline-block;
  background: #e9f2eb;
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pkg-body {
  margin-bottom: 2rem;
}

.pkg-body p {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pkg-body p i {
  color: var(--primary-color);
}

.btn-secondary-outline {
  display: block;
  width: 100%;
  text-align: center;
  border: 2px solid #e0e0e0;
  color: var(--text-light);
  padding: 0.85rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.package-card-alt:hover .btn-secondary-outline {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* Tour Page Specifics */
.tour-description {
  margin-bottom: 4rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.tour-description h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}
.tour-content {
  margin-bottom: 4rem;
}
.tour-content h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}
.itinerary-cards {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.itinerary-card {
  display: flex;
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #eee;
}
.itinerary-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.itinerary-card-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.itinerary-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.itinerary-card img {
  width: 350px;
  height: auto;
  min-height: 250px;
  object-fit: cover;
}
.tour-pricing {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
}

/* Developer Link Styling */
.developer-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.developer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.developer-link:hover {
  color: var(--primary-light);
}

.developer-link:hover::after {
  width: 100%;
}

/* Responsive Design */

/* Tablet and Smaller Screens (max-width: 992px) */
@media (max-width: 992px) {
  #hero h1 {
    font-size: 3rem;
  }
  .diaries-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 200px);
  }
  .item1,
  .item4 {
    grid-column: span 2;
  }
  .address-container {
    grid-template-columns: 1fr;
  }
  .address-text {
    padding: 3rem;
  }
  .map-frame {
    height: 400px;
  }
  .itinerary-card {
    flex-direction: column;
  }
  .itinerary-card img {
    width: 100%;
    height: 250px;
  }
}

/* Mobile Screens (General Layout Adjustments) */
@media (max-width: 1000px) {
  /* Adjust header elements for mobile */
  #hero h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }

  #about {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #package-list {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .tour-description {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .tour-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .diaries-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .item1,
  .item4 {
    grid-column: auto;
  }

  .services-grid,
  .highlights-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .address-text {
    padding: 2rem;
  }
  .map-frame {
    height: 300px;
  }
}

@media(width < 500px){
    .hero-heading {
        font-size: 32px !important;
    }
}
