/* ============================================================
   Tour To Egypt — Master Stylesheet
   Dark Luxury Egyptian Gold Theme
   ============================================================ */

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

:root {
  --bg-dark: #0a0b10;
  --bg-card: #12141c;
  --bg-input: #1a1d28;
  --bg-card-hover: #161925;
  --text-light: #f0ead6;
  --text-muted: #8a8577;
  --text-subtle: #5a5650;
  --gold: #c9982e;
  --gold-light: #dbb454;
  --gold-dark: #8f6b1a;
  --gold-pale: #f5e6b8;
  --border-color: #2a2518;
  --border-gold: rgba(201,152,46,0.25);
  --green-whatsapp: #25D366;
  --shadow-card: 0 4px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 30px rgba(201,152,46,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --border-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-light);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-light); opacity: 0.85; margin-bottom: 1rem; }
a { color: var(--gold-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-pale); }
.text-muted { color: var(--text-muted) !important; }
.text-gold { color: var(--gold) !important; }

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.serif-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.05em;
  letter-spacing: 0.02em;
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0b10;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-pale));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-gold:hover::before { opacity: 1; }
.btn-gold:hover { color: #0a0b10; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,152,46,0.35); }
.btn-gold span { position: relative; z-index: 1; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #0a0b10;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,152,46,0.25);
}

.btn-whatsapp {
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.35);
  color: #4ade80;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: var(--green-whatsapp);
  color: #06150c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* Navigation */
.navbar-tte {
  background: rgba(10,11,16,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar-tte.scrolled {
  padding: 8px 0;
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.navbar-logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(201,152,46,0.25));
}
.navbar-tte.scrolled .navbar-logo-img { height: 38px; }
.nav-link {
  color: var(--text-muted) !important;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px !important;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }
.nav-link:hover, .nav-link.active { color: var(--gold-light) !important; }
.navbar-toggler {
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  color: var(--gold) !important;
  background: transparent;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,11,16,0.3) 0%,
    rgba(10,11,16,0.5) 40%,
    rgba(10,11,16,0.85) 80%,
    rgba(10,11,16,1) 100%
  );
}
.hero-content { position: relative; z-index: 2; }

.page-hero {
  min-height: 50vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  padding-top: 120px;
  overflow: hidden;
}
.page-hero .hero-bg { animation: none; }

/* Sections */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 20px 0 24px;
}
.section-divider.centered { margin-left: auto; margin-right: auto; }

.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold));
}
.ornament::after { background: linear-gradient(90deg, var(--border-gold), transparent); }

/* Cards */
.tour-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.tour-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.tour-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-card-img { transform: scale(1.05); }
.tour-card-img-wrap { overflow: hidden; position: relative; }
.tour-card-body { padding: 20px; }
.tour-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
}

.dest-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: var(--transition);
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.dest-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,11,16,0.92) 0%, rgba(10,11,16,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}
.dest-card:hover .dest-card-overlay {
  background: linear-gradient(to top, rgba(10,11,16,0.96) 0%, rgba(10,11,16,0.4) 60%);
}

.quote-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* Badges */
.badge-gold {
  background: rgba(201,152,46,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,152,46,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.badge-dark {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Forms */
.form-control-tte {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
  width: 100%;
}
.form-control-tte:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(26,29,40,0.8);
  box-shadow: 0 0 0 3px rgba(201,152,46,0.1);
  color: var(--text-light);
}
.form-control-tte::placeholder { color: var(--text-subtle); }
.form-control-tte.is-invalid { border-color: #e05a5a; }
.form-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; display: block; }

/* Stats */
.stat-item { text-align: center; padding: 24px 16px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.85rem; }
.stars-empty { color: var(--border-color); }

/* Testimonials */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: 10px; left: 24px;
  line-height: 1;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a0b10;
  flex-shrink: 0;
}

/* Tour Detail */
.option-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
  position: relative;
}
.option-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.include-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.875rem; }
.include-item.included { color: var(--text-light); }
.include-item.excluded { color: var(--text-subtle); text-decoration: line-through; }
.include-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.include-dot.green { background: #4ade80; }
.include-dot.red { background: #f87171; }

.booking-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 90px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.accordion-button {
  background: var(--bg-card);
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: var(--bg-input);
  color: var(--gold-light);
}
.accordion-button::after {
  filter: invert(75%) sepia(40%) saturate(400%) hue-rotate(10deg);
}
.accordion-body {
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: var(--green-whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  color: #fff;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-whatsapp);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Footer */
footer {
  background: #07080d;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
}
.footer-logo-img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-heading {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* Contact */
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}
.contact-method:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--border-radius);
  background: rgba(201,152,46,0.1);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Filters */
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(201,152,46,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* Carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(201,152,46,0.7);
  border-radius: 50%;
  width: 40px; height: 40px;
  background-size: 50%;
}
.carousel-indicators [data-bs-target] {
  background-color: var(--gold);
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success .success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  border: 2px solid #4ade80;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #4ade80;
  animation: successPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Itinerary Timeline */
.itinerary-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.itinerary-item::before {
  content: '';
  position: absolute;
  left: 19px; top: 40px; bottom: 0;
  width: 1px;
  background: var(--border-color);
}
.itinerary-item:last-child::before { display: none; }
.itinerary-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--bg-input);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 700;
}

/* 404 */
.error-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.error-404 .error-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: -0.1em;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .section-pad { padding: 60px 0; }
  .booking-sidebar { position: static; margin-top: 40px; }
  .page-hero { min-height: 42vh; padding-bottom: 40px; padding-top: 110px; }
  .dest-card { height: 240px; }
  .navbar-logo-img { height: 36px; }
}

@media (max-width: 576px) {
  .tour-card-img { height: 180px; }
  .stat-num { font-size: 2.2rem; }
}
