/* style.css — Final, Complete, Optimized */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --primary: #E21E51;
  --dark: #040037;
  --light: #f8f9fa;
  --footer-bg: #f0f4f8;
  --glass-bg: rgba(0, 0, 0, 0.85);
}

/* === Base === */
body {
  background-color: var(--dark);
  color: white;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* === Navbar Fix === */
.navbar-nav {
  list-style: none !important;
  padding-left: 0 !important;
}
.navbar-nav > li {
  list-style: none !important;
}

/* === Hero (Home Only) === */
.hero-section {
  background: url('../img/leo-escape-home-Banner.jpg') center/cover no-repeat;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 70px;
}

/* === Navigation === */
.navbar {
  background: rgba(4, 0, 55, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0;
}
.navbar-brand img {
  height: 55px !important;
}
.navbar-nav .nav-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  padding-right: 16px;
  margin-right: 16px;
}
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  padding: 0.5rem 0;
  margin: 0 8px;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white;
}

/* Unique hover colors */
.nav-item:nth-child(1) .nav-link:hover { color: #ff6b6b; }
.nav-item:nth-child(2) .nav-link:hover { color: #4ecdc4; }
.nav-item:nth-child(3) .nav-link:hover { color: #ffd166; }
.nav-item:nth-child(4) .nav-link:hover { color: #6a0572; }
.nav-item:nth-child(5) .nav-link:hover { color: #1a759f; }
.nav-item:nth-child(6) .nav-link:hover { color: #06d6a0; }

/* Underline effect */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  gap: 6px;
}
.lang-switcher a:hover {
  color: white;
}
.lang-switcher .flag {
  font-size: 1.8rem;
}
.lang-switcher .lang-code {
  font-size: 0.95rem;
  font-weight: 600;
}

/* === Buttons === */
.btn {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}
.btn-outline-light:hover {
  background: white;
  color: var(--dark);
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: #c11244;
  border-color: #c11244;
}

/* === Universal Cards === */
.card {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.card-img-top {
  border-radius: 16px 16px 0 0 !important;
}
.card-body {
  flex: 1;
  padding: 1.25rem;
}

/* === Tour Packages: Price in One Row === */
.price-inline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 0.8rem 0;
}
.price-inline-row .form-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}
.form-check-input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  margin: 0;
}
.form-check-label {
  font-size: 1.05rem;
  font-weight: 700;
}
.form-check-label.usd { color: white; }
.form-check-label.azn { color: #ccc; }

/* === Content Page Defaults === */
.property-residence-page h1,
.property-residence-page h2,
.property-residence-page h3,
.services-page h1,
.services-page h2,
.services-page h3,
.about-page h1,
.about-page h2,
.about-page h3,
.tour-packages-page h1,
.tour-packages-page h2,
.tour-packages-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}
.property-residence-page ul,
.services-page ul,
.about-page ul,
.tour-packages-page ul {
  padding-left: 1.5rem;
}
.property-residence-page ul li,
.services-page ul li,
.about-page ul li,
.tour-packages-page ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
  color: white;
}

/* === Footer === */
footer {
  background-color: var(--footer-bg);
  color: #333;
  border-top: 1px solid #e0e6ed;
  padding: 2.5rem 0 1.5rem;
}
footer a {
  color: #555;
  text-decoration: none;
}
footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.footer-social a {
  color: #333;
  font-size: 1.25rem;
  margin-right: 14px;
}
.footer-social a:hover {
  color: var(--primary);
}

/* === Responsive === */
@media (max-width: 991px) {
  .navbar-nav .nav-item:not(:last-child) {
    border-right: none;
    margin-right: 0;
    margin-bottom: 0.8rem;
  }
  .price-inline-row {
    flex-direction: column;
    gap: 0.7rem;
  }
  .card-body {
    padding-bottom: 5rem;
  }
  .tour-packages-page h1 { font-size: 2.1rem; }
  .tour-packages-page h2 { font-size: 1.8rem; }
  .tour-packages-page h3 { font-size: 1.25rem; }
}