@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Oceanic Neo-Elegance Colors */
  --color-primary: #0B3D3B;
  /* Deep Teal */
  --color-primary-light: #1A5F5C;
  /* Soft Cyan */
  --color-secondary: #F4F1EA;
  /* Muted Sand */
  --color-accent: #E07A5F;
  /* Accent Coral */
  --color-text-dark: #1F2937;
  --color-text-light: #F9FAFB;
  --color-bg-light: #FAFAFA;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-bg-dark: rgba(11, 61, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(12px);

  /* Typography */
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Spacing & Layout */
  --nav-height: 80px;
  --container-px: 5%;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
}

section {
  padding: 5rem var(--container-px);
}

.title-section {
  text-align: center;
  margin-bottom: 3rem;
}

.title-section h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.title-section p {
  color: #6B7280;
  font-size: 1.1rem;
}

/* ================== NAVBAR ================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  padding: 0 var(--container-px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-links a {
  color: var(--color-text-light);
}

.navbar.scrolled .logo,
.navbar.scrolled .logo a {
  color: white;
}

.logo,
.logo a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav-contact {
  background: var(--color-accent);
  color: white !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav-contact::after {
  display: none;
}

.btn-nav-contact:hover {
  background: #d16b50;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(224, 122, 95, 0.4);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

/* Language Switcher Styling */
.lang-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.navbar.scrolled .lang-select {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-select option {
  background: var(--color-primary);
  color: white;
}

/* ================== RTL SUPPORT ================== */
body.rtl {
  direction: rtl;
  text-align: right;
}

.rtl .nav-links {
  margin-right: auto;
  margin-left: initial;
}

.rtl .logo {
  margin-left: 2rem;
  margin-right: 0;
}

.rtl .input-icon {
  margin-right: 0;
  margin-left: 0.8rem;
}

.rtl .btn-search-pill {
  margin-left: 0;
  margin-right: 0.5rem;
}

.rtl .trip-trigger {
  right: auto;
  left: 2rem;
}

.rtl .trip-drawer {
  right: auto;
  left: -400px;
}

.rtl .trip-drawer.open {
  right: auto;
  left: 0;
}

.rtl .footer-col p i {
  margin-right: 0;
  margin-left: 0.8rem;
}

@media (max-width: 768px) {
  .rtl .nav-links {
    right: auto;
    left: -100%;
  }

  .rtl .nav-links.active {
    left: 0;
  }
}

/* ================== HERO SECTION ================== */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05);
  animation: heroZoom 20s infinite alternate linear;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 61, 59, 0.5) 0%, rgba(11, 61, 59, 0.8) 100%);
  z-index: -1;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-content-clean {
  max-width: 1000px;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s ease-out;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.hero-badge i {
  color: #FBBF24;
  margin-right: 0.5rem;
}

.hero-content-clean h1,
.hero-content-clean h2 {
  color: white;
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  font-family: var(--font-serif);
  text-align: center;
}

.hero-content-clean h1 span {
  color: var(--color-accent);
}

.hero-content-clean p {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 1;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  text-align: center;
}

.hero-search-pill {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 0.6rem;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#hero-search-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.search-input-inline {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-radius: 50px;
  margin: 0 0.5rem;
  transition: var(--transition);
}

.search-input-inline:focus-within {
  background: white;
  box-shadow: 0 0 0 2px var(--color-primary-light);
}

.input-icon {
  color: #10B981;
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.search-input-inline input,
.search-input-inline select {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-dark);
  width: 100%;
  cursor: pointer;
}

.btn-search-pill {
  padding: 1rem 2.5rem;
  background: #F97316;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.btn-search-pill:hover {
  background: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(224, 122, 95, 0.4);
  text-align: center;
}

.btn-primary:hover {
  background-color: #d16b50;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.6);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

/* ================== GRID & CARDS ================== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.travel-card {
  background: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.travel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(11, 61, 59, 0.1);
}

.card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.travel-card:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-family: var(--font-sans);
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card-price {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.btn-add-trip {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-trip:hover,
.btn-add-trip.active {
  background: var(--color-primary);
  color: white;
}

/* Area Filter Buttons */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 4rem;
  /* Increased vertical space */
  flex-wrap: wrap;
}

.area-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: white;
  border: 1px solid #E5E7EB;
  color: var(--color-text-dark);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

#accommodations {
  background-color: var(--color-secondary);
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem var(--container-px) 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-col h4,
.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 1.2rem;
}

.footer-col p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col p.footer-desc {
  display: block;
}

.footer-col p i {
  margin-top: 4px;
  min-width: 20px;
  text-align: center;
}

.footer-col a {
  margin-bottom: 0.8rem;
  display: block;
  color: white;
  /* Changed to white as requested */
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-col ul {
  list-style: none;
}

.maps-container iframe {
  width: 100% !important;
  height: 130px !important;
  display: block;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Trip Plan Floating Button & Drawer */
.trip-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  cursor: pointer;
  transition: var(--transition);
}

.trip-icon {
  background: var(--color-primary);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(11, 61, 59, 0.4);
  position: relative;
}

.trip-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--color-accent);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid white;
}

.trip-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  z-index: 1100;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.trip-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 1.5rem;
  background: var(--color-primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-body {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
}

.drawer-overlay.open {
  display: block;
}

.trip-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.trip-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.trip-item-details {
  flex-grow: 1;
}

.trip-item-title {
  font-weight: 600;
  color: var(--color-primary);
}

.trip-item-area {
  font-size: 0.85rem;
  color: #6B7280;
}

.remove-item {
  background: none;
  border: none;
  color: #EF4444;
  cursor: pointer;
}

/* Blog Detail Enhancements */
.article-content-wrapper {
  max-width: 900px;
  margin: -5rem auto 5rem;
  background: white;
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  position: relative;
  z-index: 10;
}

.shadow-premium {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.article-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #374151;
}

.article-body p {
  margin-bottom: 1.8rem;
}

.article-body h2,
.article-body h3 {
  color: var(--color-primary);
  margin: 2.5rem 0 1rem;
}

.article-body img {
  max-width: 100%;
  border-radius: var(--border-radius-md);
  margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--nav-height));
    background: var(--glass-bg-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 4rem);
    height: auto;
    min-height: 100vh;
    padding-bottom: 4rem;
  }

  .hero-content-clean h1 {
    font-size: 3rem;
  }

  .trip-drawer {
    width: 100%;
    right: -100%;
  }

  .article-content-wrapper {
    margin: -3rem 1rem 3rem;
    padding: 2rem 1.5rem;
  }

  .hero-content-clean h1 {
    font-size: 2.5rem !important;
  }

  .hero-search-pill {
    border-radius: 24px;
    padding: 1.5rem;
  }

  #hero-search-form {
    flex-direction: column;
    gap: 0.8rem;
  }

  .search-input-inline {
    width: 100%;
    margin: 0;
    padding: 0.8rem 1.2rem;
  }

  .btn-search-pill {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}