@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
  /* PREMIUM NAVY & GOLD THEME */
  --bg-color: #040d1a;
  --navy: #081424;
  --navy-light: #112240;
  --gold: #D4AF37;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --white: #ffffff;
  --text-light: #ccd6f6;
  --glass-bg: rgba(17, 34, 64, 0.7);
  --glass-border: rgba(212, 175, 55, 0.3);
  --glass-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.5);
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--bg-color); color: var(--text-light);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* STICKER HEADER */
.header {
  position: sticky; top: 0; left: 0; width: 100%;
  background: rgba(4, 13, 26, 0.9); backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000; padding: 15px 5%;
  display: flex; flex-direction: column; 
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  transition: 0.4s;
}

.header-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo-container a {
  text-decoration: none; font-size: 28px; font-weight: 700;
  display: flex; align-items: center; gap: 10px; transition: transform 0.3s;
}
.logo-container a:hover { transform: scale(1.05); }
.palid-text { color: var(--gold); }
.travel-text { color: var(--white); }

.lang-selector {
  display: flex; gap: 10px; background: rgba(255, 255, 255, 0.05); padding: 5px 15px;
  border-radius: 20px; border: 1px solid var(--glass-border);
}
.lang-btn {
  background: none; border: none; color: #8892b0; cursor: pointer;
  font-weight: bold; font-size: 13px; transition: 0.3s;
}
.lang-btn:hover, .lang-btn.active { color: var(--gold); transform: scale(1.2); }

/* MAIN NAV - SLIGHTLY DOWN AND TO THE RIGHT */
.main-nav { display: flex; gap: 30px; align-self: flex-end; margin-top: 15px; margin-right: 20px; }
.main-nav a {
  color: var(--text-light); text-decoration: none; font-weight: 700;
  text-transform: uppercase; font-size: 14px; position: relative; transition: color 0.3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a::after {
  content: ''; position: absolute; width: 0; height: 2px;
  bottom: -5px; left: 0; background-color: var(--gold); transition: 0.3s;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* FLOATING ACTIONS */
.floating-actions { position: fixed; right: 25px; bottom: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 999; }
.float-btn {
  width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-size: 26px; color: var(--white); text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
}
.float-btn.whatsapp { background: #25D366; }
.float-btn.chat { background: var(--navy-light); border: 2px solid var(--gold); }
.float-btn:hover { transform: scale(1.15) rotate(10deg); box-shadow: 0 6px 25px var(--gold-glow); }

/* CINEMATIC HERO SECTION (Deep 3D) */
.hero-section {
  position: relative; width: 100%; height: 90vh; display: flex; justify-content: center; align-items: center;
  overflow: hidden; transform-style: preserve-3d; perspective: 1000px;
}
.hero-video-container {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
  transform: translateZ(-300px) scale(1.5); /* Push media to the back */
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(4,13,26,0.3) 0%, rgba(4,13,26,1) 100%); z-index: -1;
}
.hero-content {
  text-align: center; z-index: 1; max-width: 900px;
  animation: cinematicIn 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0; transform: translateZ(100px) translateY(50px);
}
.hero-content h1 {
  font-size: 5rem; color: var(--gold); margin-bottom: 20px;
  text-shadow: 0 10px 40px rgba(0,0,0,1); letter-spacing: 2px; text-transform: uppercase; font-weight: 800; line-height: 1.2;
}
.hero-content p { font-size: 1.8rem; color: var(--white); font-weight: 600; text-shadow: 0 5px 20px rgba(0,0,0,0.9); }

@keyframes cinematicIn { to { opacity: 1; transform: translateZ(0) translateY(0); } }

/* FOREGROUND MAP SECTION */
.foreground-map-section { padding: 100px 5%; text-align: center; position: relative; }
.map-heading { font-size: 3rem; color: var(--white); margin-bottom: 50px; text-transform: uppercase; letter-spacing: 2px; }
.map-heading span { color: var(--gold); }

.map-container { position: relative; max-width: 1200px; margin: 0 auto; padding: 20px; }
.map-img { width: 100%; filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2)); opacity: 0.8; }

.map-pin {
  position: absolute; font-size: 35px; color: var(--gold);
  text-shadow: 0 5px 15px rgba(212,175,55,0.8); animation: bounce 2s infinite; cursor: pointer;
  transition: transform 0.3s;
}
.map-pin:hover { transform: scale(1.3) translateY(-10px); color: #fff; }
.pin-europe { top: 25%; left: 48%; }
.pin-asia { top: 35%; left: 70%; }
.pin-america { top: 30%; left: 20%; }
.pin-dubai { top: 45%; left: 63%; }

.map-sticker {
  position: absolute; background: rgba(17, 34, 64, 0.9); border: 1px solid var(--gold);
  color: var(--white); padding: 8px 15px; border-radius: 20px; font-weight: bold;
  font-size: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); backdrop-filter: blur(5px);
  animation: float 4s ease-in-out infinite; z-index: 10;
}
.sticker-vip { top: 15%; left: 10%; animation-delay: 0s; }
.sticker-247 { top: 60%; right: 10%; animation-delay: 1s; }
.sticker-med { bottom: 10%; left: 30%; animation-delay: 2s; }

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

/* --- TOURS PAGE LAYOUT --- */
.hero-small {
  height: 50vh !important;
  min-height: 400px !important;
}
.tours-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.tours-sidebar {
  position: sticky;
  top: 100px;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.sidebar-cats-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-cat-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: left;
  font-size: 1.1rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-cat-btn i {
  color: var(--gold);
}
.sidebar-cat-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateX(-5px);
}
.sidebar-cat-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: bold;
}
.sidebar-cat-btn.active i {
  color: var(--navy);
}

@media (max-width: 900px) {
  .tours-page-layout {
    grid-template-columns: 1fr;
  }
  .tours-sidebar {
    position: static;
    order: -1; /* Move it above the tours on mobile */
  }
}

/* --- BLOGS SECTION --- */
.tours-section { padding: 80px 5%; background: rgba(255,255,255,0.02); }
.section-title {
  text-align: center; font-size: 2.8rem; color: var(--gold); margin-bottom: 60px;
  text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 5px 15px var(--gold-glow);
}
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; perspective: 1500px; }
@media(max-width: 992px) { .tours-grid { grid-template-columns: 1fr; } }

/* DOMESTIC TOURISM SECTION */
.domestic-section { padding: 80px 5%; position: relative; }
.domestic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.domestic-text { font-size: 1.2rem; line-height: 1.8; color: var(--text-light); }
.domestic-img { width: 100%; border-radius: 20px; border: 2px solid var(--glass-border); box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: 0.5s; }
.domestic-img:hover { transform: scale(1.03) rotate(2deg); border-color: var(--gold); }
@media(max-width: 992px) { .domestic-grid { grid-template-columns: 1fr; } }

/* CARDS */
.card-3d {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 25px;
  backdrop-filter: blur(20px); box-shadow: var(--glass-shadow);
  transform-style: preserve-3d; transition: transform 0.3s ease-out, box-shadow 0.4s; 
  position: relative; cursor: pointer; text-align: center;
}
.card-3d:hover { box-shadow: 0 25px 60px rgba(212,175,55,0.2); border-color: var(--gold); z-index: 10; transform: translateY(-15px); }
.card-img-wrapper {
  width: 100%; height: 250px; border-radius: 15px; overflow: hidden; margin-bottom: 20px;
  transform: translateZ(30px); box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.card-3d:hover .card-img-wrapper img { transform: scale(1.15); }
.card-title { font-size: 1.6rem; color: var(--white); margin-bottom: 15px; transform: translateZ(50px); font-weight:700;}
.card-desc { font-size: 1rem; margin-bottom: 25px; line-height: 1.6; color: var(--text-light); transform: translateZ(20px); }
.card-price { font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: 25px; transform: translateZ(40px); }
.btn-gold {
  display: inline-block; width: 100%; text-align: center; background: linear-gradient(45deg, var(--gold), #F4C430);
  color: var(--navy); font-weight: 700; text-transform: uppercase; padding: 15px 20px; border: none; border-radius: 10px;
  cursor: pointer; transition: 0.4s; transform: translateZ(60px); font-size: 1.1rem; box-shadow: 0 4px 15px var(--gold-glow);
}
.btn-gold:hover { filter: brightness(1.2); box-shadow: 0 10px 30px var(--gold); }

/* NEW FOOTER (Rows, Big Contact) */
.footer { background: var(--navy); border-top: 1px solid var(--glass-border); padding: 80px 5% 40px; position: relative; z-index: 2; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 50px; }
.footer-col { flex: 1; min-width: 250px; }
/* ORDER MODAL CSS */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 99999; justify-content: center; align-items: center;
  backdrop-filter: blur(10px);
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--navy-light); border: 1px solid var(--glass-border); border-radius: 20px;
  padding: 40px; width: 90%; max-width: 500px; position: relative; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.close-modal {
  position: absolute; top: 15px; right: 20px; font-size: 30px; color: var(--gold); cursor: pointer; transition: 0.3s;
}
.close-modal:hover { transform: scale(1.2) rotate(90deg); }
.modal-title { color: var(--gold); margin-bottom: 20px; font-size: 2rem; }
#orderForm .form-group:nth-child(1) { display: none !important; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px; border-radius: 10px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05); color: var(--white); font-size: 1rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1);
}
.footer-col h3 { color: var(--gold); margin-bottom: 25px; font-size: 1.5rem; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #8892b0; text-decoration: none; transition: 0.3s; font-size: 1.1rem; }
.footer-col ul li a:hover { color: var(--white); padding-left: 10px; }
.social-icons { display: flex; gap: 20px; }
.social-icons a { width: 50px; height: 50px; border-radius: 50%; background: var(--navy-light); border: 1px solid var(--glass-border); display: flex; justify-content: center; align-items: center; color: var(--white); text-decoration: none; transition: 0.4s; font-size: 20px; }
.social-icons a:hover { background: var(--gold); color: var(--navy); transform: translateY(-10px) rotate(360deg); }
.footer-bottom { text-align: center; color: #555; font-size: 1rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; margin-top: 40px;}

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(100px) scale(0.9); transition: 1s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }

/* MOBILE APP (APK) LAYOUT CONFIGURATION */
.mobile-nav { display: none; }

@media(max-width: 768px) {
  /* Hide standard desktop nav */
  .main-nav { display: none; }
  
  /* Fix header language selector to top right */
  .header { padding: 15px 20px; flex-direction: row; justify-content: space-between; align-items: center; }
  .header-top { justify-content: space-between; }
  .logo-container a { font-size: 20px; }
  .lang-selector { position: absolute; right: 20px; top: 15px; background: rgba(255,255,255,0.1); padding: 5px; }
  .lang-btn { font-size: 11px; padding: 2px 5px; }

  /* Push content up to avoid bottom nav overlap */
  body { padding-bottom: 70px; }
  .floating-actions { bottom: 90px; right: 15px; }
  
  /* Bottom App-like Navigation Bar */
  .mobile-nav {
    display: flex; position: fixed; bottom: 0; left: 0; width: 100%; height: 70px;
    background: rgba(4, 13, 26, 0.95); backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border); z-index: 9999;
    justify-content: space-around; align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
  }
  .mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    color: var(--text-light); text-decoration: none; font-size: 11px; font-weight: 600;
    transition: 0.3s; width: 25%; text-transform: uppercase;
  }
  .mobile-nav-item i { font-size: 22px; transition: 0.3s; }
  .mobile-nav-item:hover, .mobile-nav-item.active { color: var(--gold); }
  .mobile-nav-item:hover i, .mobile-nav-item.active i { transform: translateY(-3px) scale(1.1); text-shadow: 0 0 10px var(--gold-glow); }
}

/* OTHER PAGES */
.page-container { padding: 80px 5% 100px; min-height: 70vh; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; perspective: 1500px; }

/* ADMIN PANEL */
.admin-login { display: flex; justify-content: center; align-items: center; height: 100vh; background: var(--bg-color);}
.admin-card { background: var(--glass-bg); padding: 50px; border-radius: 20px; border: 2px solid var(--gold); width: 100%; max-width: 450px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.5); backdrop-filter:blur(20px); }
.admin-dashboard { display: none; padding: 150px 5% 50px; }
.admin-tabs { display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap;}
.admin-tab-btn { background: var(--navy-light); border: 1px solid var(--glass-border); color: var(--white); padding: 15px 25px; border-radius: 10px; cursor: pointer; transition: 0.3s; font-weight: bold; text-transform: uppercase; }
.admin-tab-btn:hover, .admin-tab-btn.active { background: var(--gold); color: var(--navy); }
.admin-tab-content { display: none; animation: fadeIn 0.5s; }
.admin-tab-content.active { display: block; }
.admin-section { background: var(--glass-bg); padding: 30px; border-radius: 20px; border: 1px solid var(--glass-border); margin-bottom: 30px; backdrop-filter:blur(15px); }
.admin-section h2 { color: var(--gold); margin-bottom: 25px; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; background: rgba(0,0,0,0.3); border-radius: 10px; overflow: hidden; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--glass-border); color: var(--text-light); }
th { color: var(--gold); background: var(--navy); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 1rem; font-weight:600; color: #aaa; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 15px; background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); border-radius: 10px; color: var(--white); outline: none; transition: 0.3s; font-size: 1rem; font-weight:600; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 10px rgba(212,175,55,0.3);}
.action-btn { padding: 8px 15px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s;}
.btn-delete { background: #dc3545; color: white; }
.action-btn:hover { opacity: 0.8; transform: scale(1.05); }

@keyframes fadeIn { from {opacity: 0;} to {opacity:1;} }

@media(max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem !important; }
  .hero-content p { font-size: 1.2rem !important; }
}


.mobile-cat-btn { display: none; }
.sidebar-close-btn { display: none; }
@media (max-width: 900px) {
  .mobile-cat-btn {
    display: block; width: 100%; margin-bottom: 20px; padding: 15px; 
    background: var(--navy-light); color: var(--gold); border: 1px solid var(--gold); 
    border-radius: 10px; font-size: 1.2rem; cursor: pointer; text-transform: uppercase; font-weight: bold;
  }
  .tours-sidebar {
    position: fixed !important; top: 0 !important; left: -100% !important; 
    width: 280px !important; height: 100vh !important; z-index: 100000 !important;
    background: rgba(4, 13, 26, 0.98) !important; backdrop-filter: blur(25px) !important;
    padding: 40px 20px !important; transition: left 0.4s ease !important;
    box-shadow: 10px 0 30px rgba(0,0,0,0.9) !important; overflow-y: auto !important;
  }
  .tours-sidebar.show { left: 0 !important; }
  .sidebar-close-btn {
    display: block; position: absolute; top: 15px; right: 20px;
    background: none; border: none; font-size: 2.5rem; color: var(--gold); cursor: pointer;
  }
}


@media (min-width: 901px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
.hero-video {
  object-position: center 25% !important;
}

