/* ================================================================
   MAIN.CSS — Elite Egypt Tours
   Site-wide styles, sections, and component overrides.
   Brand Identity 2025: Navy #0A2340 + Teal #0FB1A2 + Cairo font.
   Depends on: design-system.css (loaded first)
   ================================================================ */

/* Override any conflicting root vars — brand palette */
:root {
  /* Semantic aliases for backward compat */
  --primary:        #0FB1A2;   /* Teal — primary accent          */
  --primary-dark:   #0D9E91;
  --secondary:      #0A2340;   /* Navy — primary brand color     */
  --accent:         #FF8B5C;   /* Coral — warm accent            */
  --gold:           #FFC857;   /* Mustard — highlight            */
  --dark:           #0A2340;
  --light:          #F4F5F7;
  --gray:           #5A6B7A;
  --white:          #FFFFFF;
  --shadow:         0 4px 20px rgba(10, 35, 64, 0.10);
  --radius:         12px;
}

/* ================================================================
   BASE OVERRIDES (in case design-system.css is not loaded)
   ================================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light);
  color: var(--dark);
}
body.rtl {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--dark);
  padding: 28px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

@media (max-width: 640px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
    padding: 24px 6%;
  }
  .stat-num { font-size: 1.7rem; }
}

@media (max-width: 360px) {
  .stats-bar { gap: 12px 8px; padding: 20px 5%; }
  .stat-num  { font-size: 1.45rem; }
  .stat-label { font-size: 0.78rem; }
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Cairo', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(90deg, #0FB1A2, #9FD6C7, #0FB1A2);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-stat 3.5s linear infinite;
}

@keyframes shimmer-stat {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.stat-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ================================================================
   SECTION BASE
   ================================================================ */
section {
  padding: 60px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 38px;
}

.section-tag {
  display: inline-block;
  background: rgba(15, 177, 162, 0.10);
  color: var(--primary);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  border: 1px solid rgba(15, 177, 162, 0.25);
}

.section-header h2 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ================================================================
   TOUR FILTERS
   ================================================================ */
.tour-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--white);
  border: 2px solid #e0e0e0;
  color: var(--gray);
  padding: 8px 22px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.28s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 177, 162, 0.30);
}

/* ================================================================
   TOUR CARDS (legacy selectors — backed by main.css)
   ================================================================ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s;
  cursor: pointer;
  border: 1px solid rgba(10, 35, 64, 0.06);
}

.tour-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 50px rgba(10, 35, 64, 0.14), 0 0 0 1px rgba(15,177,162,0.25);
}

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

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

.tour-card:hover .tour-img img {
  transform: scale(1.08);
}

.tour-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
}

.tour-badge.popular {
  background: var(--accent);
}

.tour-badge.new-badge {
  background: #22C55E;
}

.tour-fav {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 8px rgba(10, 35, 64, 0.14);
  transition: all 0.28s;
}

.tour-fav:hover {
  background: var(--accent);
  color: var(--white);
}

.tour-body {
  padding: 20px;
}

.tour-dest {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.tour-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.tour-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.tour-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--gray);
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
}

.rating-num {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}

.rating-count {
  color: var(--gray);
  font-size: 0.8rem;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(10, 35, 64, 0.06);
  padding-top: 15px;
}

.price-from {
  font-size: 0.75rem;
  color: var(--gray);
}

.price-num {
  font-family: 'Cairo', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.price-num span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
}

.btn-tour {
  background: linear-gradient(135deg, var(--primary), #3FC4B7);
  color: var(--white);
  border: none;
  padding: 9px 18px;
  border-radius: 25px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.28s;
  box-shadow: 0 4px 12px rgba(15, 177, 162, 0.28);
}

.btn-tour:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(15, 177, 162, 0.40);
}

/* ================================================================
   DESTINATIONS
   ================================================================ */
.destinations {
  background: var(--dark);
}

.destinations .section-header h2 {
  color: var(--white);
}

.destinations .section-header p {
  color: rgba(255, 255, 255, 0.68);
}

.destinations .section-tag {
  background: rgba(15, 177, 162, 0.18);
  color: #3FC4B7;
  border-color: rgba(15, 177, 162, 0.30);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.45s;
}

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

.dest-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 177, 162, 0.28);
}

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

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(10, 35, 64, 0.80));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  transition: background 0.35s ease;
}

.dest-card:hover .dest-overlay {
  background: linear-gradient(transparent 20%, rgba(15, 177, 162, 0.68));
}

.dest-name {
  font-family: 'Cairo', sans-serif;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dest-count {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.85rem;
}

/* ================================================================
   WHY US / FEATURES
   ================================================================ */
.why-us {
  background: var(--light);
  padding-top: 52px;
  padding-bottom: 52px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s;
  border: 1px solid rgba(10, 35, 64, 0.06);
  animation: floatBob 4s ease-in-out infinite;
}

.feature-card:nth-child(2) { animation-delay: 0.5s; }
.feature-card:nth-child(3) { animation-delay: 1.0s; }
.feature-card:nth-child(4) { animation-delay: 1.5s; }
.feature-card:nth-child(5) { animation-delay: 2.0s; }
.feature-card:nth-child(6) { animation-delay: 2.5s; }

.feature-card:hover {
  animation: none;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 42px rgba(10, 35, 64, 0.13);
}

.feature-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--primary), #3FC4B7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(15, 177, 162, 0.32);
}

.feature-card h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-it-works {
  background: var(--white);
  padding-top: 52px;
  padding-bottom: 52px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3FC4B7);
  color: var(--white);
  font-family: 'Cairo', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(15, 177, 162, 0.35);
  /* No per-element animation — keeps all 4 circles at same height */
}

.step h3 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
  width: 100%;
}

.step p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
  width: 100%;
}

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews {
  background: var(--light);
  padding-top: 52px;
  padding-bottom: 52px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 35, 64, 0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 35, 64, 0.12);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.reviewer-name {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.reviewer-flag {
  font-size: 0.85rem;
  color: var(--gray);
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-text {
  color: #4a5568;
  font-size: 0.92rem;
  line-height: 1.75;
  font-style: italic;
}

.review-date {
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 12px;
}

/* ================================================================
   BOOKING MODAL
   ================================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 35, 64, 0.65);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.modal-header {
  background: linear-gradient(135deg, var(--dark), #0E2D50);
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.modal-header h3 {
  font-family: 'Cairo', sans-serif;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.80;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
}

.modal-tour-info {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(10, 35, 64, 0.08);
}

.modal-tour-thumb {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.modal-tour-detail h4 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.modal-tour-detail span {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 2px solid rgba(10, 35, 64, 0.12);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: 'Cairo', sans-serif;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 177, 162, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #3FC4B7);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.28s;
  margin-top: 5px;
  box-shadow: 0 6px 18px rgba(15, 177, 162, 0.35);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 177, 162, 0.48);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  background: var(--dark);
}

.contact .section-header h2 {
  color: var(--white);
}

.contact .section-header p {
  color: rgba(255, 255, 255, 0.68);
}

.contact .section-tag {
  background: rgba(15, 177, 162, 0.18);
  color: #3FC4B7;
  border-color: rgba(15, 177, 162, 0.30);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(15, 177, 162, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(15, 177, 162, 0.25);
}

.contact-item h4 {
  font-family: 'Cairo', sans-serif;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-form .form-group label {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 3px rgba(15, 177, 162, 0.18);
}

/* ── Validation error states ── */
.contact-form .form-group input.cf-invalid,
.contact-form .form-group textarea.cf-invalid {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.20) !important;
}

.cf-error {
  display: block;
  min-height: 0;
  font-size: 0.78rem;
  color: #fca5a5;
  margin-top: 5px;
  font-family: 'Cairo', sans-serif;
  transition: all 0.2s;
}

.cf-error:empty { display: none; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: #071828;
  padding: 55px 5% 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: 'Cairo', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 22px;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.28s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 177, 162, 0.38);
}

.footer-col h4 {
  font-family: 'Cairo', sans-serif;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.85rem;
}

/* ================================================================
   SUCCESS MESSAGE
   ================================================================ */
.success-msg {
  display: none;
  text-align: center;
  padding: 30px;
}

.success-msg .checkmark {
  font-size: 4rem;
  margin-bottom: 15px;
}

.success-msg h3 {
  color: #22C55E;
  font-family: 'Cairo', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.success-msg p {
  color: var(--gray);
}

/* ================================================================
   TOUR DETAIL MODAL
   ================================================================ */
.detail-modal {
  max-width: 750px;
}

.detail-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.detail-body {
  padding: 30px;
}

.detail-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.detail-tag {
  background: rgba(10, 35, 64, 0.06);
  color: var(--gray);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.detail-tag.highlight {
  background: rgba(15, 177, 162, 0.12);
  color: var(--primary);
  border: 1px solid rgba(15, 177, 162, 0.25);
}

.detail-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.detail-info-row {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--light);
  border-radius: 10px;
}

.detail-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark);
}

.detail-info-item strong {
  color: var(--primary);
}

.detail-desc {
  color: #4a5568;
  line-height: 1.78;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.detail-includes h4 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 1rem;
}

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 25px;
}

.include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #444;
}

.include-item.included::before {
  content: '✓';
  color: #22C55E;
  font-weight: 700;
}

.include-item.excluded::before {
  content: '✗';
  color: var(--accent);
  font-weight: 700;
}

.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 35, 64, 0.08);
}

.detail-price .price-from {
  font-size: 0.8rem;
  color: var(--gray);
}

.detail-price .price-big {
  font-family: 'Cairo', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--secondary), #0E2D50);
  padding: 64px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(15,177,162,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter h2 {
  font-family: 'Cairo', sans-serif;
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
  font-size: 1rem;
  position: relative;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 10px;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  border: none;
  border-radius: 25px;
  padding: 13px 20px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark);
}

.newsletter-form button {
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 25px;
  padding: 13px 26px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.28s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(15, 177, 162, 0.40);
}

.newsletter-form button:hover {
  background: #3FC4B7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 177, 162, 0.52);
}

/* ================================================================
   FLOATING DECORATIONS / ANIMATIONS
   ================================================================ */
@keyframes floatY {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%     { transform: translateY(-18px) rotate(3deg); }
  66%     { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes floatX {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(12px); }
}

@keyframes floatSpin {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

@keyframes particleRise {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(15,177,162,0.28); }
  50%     { box-shadow: 0 0 50px rgba(15,177,162,0.65), 0 0 80px rgba(63,196,183,0.35); }
}

/* Floating hero decorations */
.hero-float {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-size: 2.5rem;
  opacity: 0.14;
  z-index: 1;
}

.hero-float:nth-child(1) { top: 15%; left: 8%;   animation: floatY    6s ease-in-out infinite; }
.hero-float:nth-child(2) { top: 25%; right: 10%; animation: floatY    7s ease-in-out infinite 1s; }
.hero-float:nth-child(3) { bottom: 30%; left: 5%;  animation: floatSpin 12s linear infinite; }
.hero-float:nth-child(4) { bottom: 25%; right: 7%; animation: floatY    8s ease-in-out infinite 2s; }
.hero-float:nth-child(5) { top: 50%; left: 15%;  animation: floatX    5s ease-in-out infinite; }
.hero-float:nth-child(6) { top: 60%; right: 12%; animation: floatBob  4s ease-in-out infinite 0.5s; }

/* Floating particles */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }

.particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  animation: particleRise linear infinite;
  opacity: 0;
}

/* Logo glow */
.logo-icon {
  animation: glowPulse 3s ease-in-out infinite;
}

/* ================================================================
   RESPONSIVE — GLOBAL FIXES
   ================================================================ */

/* ── Tours grid: support 280px+ phones ── */
@media (max-width: 360px) {
  .tours-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Contact section ── */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Footer ── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  footer { padding: 40px 5% 20px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ── Newsletter form ── */
@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 12px;
  }
  .newsletter { padding: 48px 5%; }
  .newsletter h2 { font-size: 1.5rem; }
}

/* ── Section headers ── */
@media (max-width: 480px) {
  .section-header { margin-bottom: 28px; }
}

/* ── Tour detail modal ── */
@media (max-width: 600px) {
  .detail-title  { font-size: 1.25rem; }
  .detail-body   { padding: 20px; }
  .detail-img    { height: 200px; }
  .detail-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .includes-grid { grid-template-columns: 1fr; }
  .detail-info-row { gap: 12px; }
}

