:root {
    --primary-bg: #0A0E14;
    --secondary-bg: #141A24;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #C5B358;
    --accent-champagne: #FFDF00;
    --text-primary: #F5F5F7;
    --text-muted: #A1A1A6;
    --white: #FFFFFF;
    --glass-bg: rgba(10, 14, 20, 0.85);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.text-center {
    text-align: center;
}

.serif {
    font-family: var(--serif-font);
}

.subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--accent-gold);
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
}

h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: 48px;
    font-weight: 700;
}

p.lead {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 32px auto;
}

/* Header */
#main-header {
    height: var(--header-height);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo a {
    font-family: var(--serif-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

#navbar ul {
    display: flex;
    gap: 32px;
}

#navbar ul li a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

#navbar ul li a:hover,
#navbar ul li a.active {
    color: var(--accent-gold);
}

.header-cta .btn-gold {
    padding: 12px 28px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-dark {
    padding: 120px 0;
    background-color: var(--secondary-bg);
}

/* Hero Section */
#hero {
    height: calc(100vh - var(--header-height));
    min-height: 800px;
    background: url('https://images.unsplash.com/photo-1541417904950-b855846fe074?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 14, 20, 1) 0%, rgba(10, 14, 20, 0.4) 50%, rgba(10, 14, 20, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 40px;
}

/* Awards */
#awards {
    background-color: var(--secondary-bg);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.awards-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

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

.award-item img {
    width: 80px;
    margin-bottom: 16px;
    opacity: 0.8;
    filter: brightness(2);
}

.award-item p {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
}

.award-item p span {
    color: var(--accent-gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Layout Elements */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Card Styling */
.card {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(0deg, rgba(10, 14, 20, 0.95) 0%, rgba(10, 14, 20, 0) 100%);
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 10;
}

.card-content h3 {
    font-family: var(--serif-font);
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 20px 56px;
    font-size: 16px;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
}

.btn-text {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 4px;
}

.btn-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-smooth);
}

.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.link-gold {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

/* Footer */
#main-footer {
    padding: 100px 0 40px;
    background-color: #05070A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-about h3 {
    font-family: var(--serif-font);
    color: var(--accent-gold);
    font-size: 24px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 24px;
    font-family: var(--serif-font);
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #navbar {
        display: none;
    }
    
    .awards-grid {
        flex-wrap: wrap;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Added from Admin Request --- */

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: #f2f2f2;
  border-bottom: 2px solid #ddd;
  z-index: 999;
  overflow: visible; /* 🔥 SUBMENU VISIBILITY FIX */
}

.header .container {
  max-width: 1140px; /* 🔥 Reduced from 1300px for a more compact look */
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

/* LOGO */
.header .logo {
  display: flex;
  align-items: center;
}

.header .logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000;
}

.logo-icon {
  font-size: 26px;
  line-height: 1;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* MENU */
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px; /* 🔥 Reduced from 30px for more compact spacing */
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* MENU ITEMS */
.menu li {
  list-style: none;
  position: relative;
}

.menu li a {
  text-decoration: none;
  color: #000;
  font-size: 13px; /* 🔥 Reduced for more compact look */
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

/* ARROW SYMBOL */
.menu li a span {
  font-size: 11px;
  opacity: 0.7;
}

/* ACTIVE */
.menu .active > a,
.menu li.active > a {
  color: #ff9800;
  font-weight: 600;
}

/* HOVER */
.menu li a:hover {
  color: #ff9800;
}

/* DROPDOWN PARENT */
.dropdown {
  position: relative;
}

/* DROPDOWN */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ff9800;
  list-style: none;
  width: 200px;
  display: none;
  z-index: 9999;
  padding: 0;
  margin: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.submenu li {
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu li a {
  display: block;
  padding: 16px 20px;
  color: white;
  cursor: pointer;
}

/* SHOW DROPDOWN */
.dropdown:hover .submenu {
  display: block;
}

/* SUBMENU HOVER */
.submenu li a:hover {
  background: #e68900;
}

/* JOURNEY DROPDOWN (VERTICAL — same style as The Train) */
.journey-dropdown {
  position: relative;
}

.journey-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ff9800;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* SHOW */
.journey-dropdown:hover > .journey-menu {
  display: block;
}

/* ITEMS */
.journey-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.journey-menu li:last-child {
  border-bottom: none;
}

/* LINKS */
.journey-menu li a {
  display: block;
  padding: 16px 20px;
  color: #fff !important;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
}

/* HOVER */
.journey-menu li a:hover {
  background: #e68900;
  padding-left: 26px;
  transition: padding 0.2s;
}

/* Keep mega-card styles for any legacy pages */
.mega-card {
  text-align: left;
  background: #04122a;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.1);
}

.mega-card h3, .mega-card h4 {
  color: #d4af37;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.4;
  text-transform: uppercase;
}

/* COLUMN */
.mega-col {
  flex: 1;
  color: white;
}

.mega-col h4 {
  color: #d4af37;
  margin-bottom: 15px;
}

/* ITEM */
.item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

/* IMAGE */
.item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

/* TEXT */
.item span {
  color: white;
  transition: 0.3s;
}

/* HOVER */
.item:hover span {
  color: #d4af37;
}

/* ===== DESTINATIONS DROPDOWN (FULLY WORKING) ===== */
.destination-dropdown {
  position: relative;
}

/* MAIN MENU */
.destination-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: #ff9800;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* SHOW MAIN DROPDOWN */
.destination-dropdown:hover > .destination-menu {
  display: block;
}

/* ITEMS */
.destination-menu li {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.destination-menu li:last-child {
  border-bottom: none;
}

.destination-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px; /* 🔥 Fixed padding for better vertical alignment */
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap; /* 🔥 Text cut fix */
}

/* SUBMENU RIGHT SIDE */
.has-submenu {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 0;
  left: 100%; /* Opens on the right */
  width: 220px; /* 🔥 Fixed width as requested */
  min-height: 100%; /* 🔥 Height match with parent */
  background: #ff9800;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  margin-top: -1px; /* 🔥 Perfect line match */
  overflow: visible; /* 🔥 Cut fix */
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
}

/* AUTO FIX FOR EDGE - OPEN LEFT */
.has-submenu.right-fix .sub-menu {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: -2px;
}

/* SHOW SUBMENU ON HOVER */
.has-submenu:hover > .sub-menu {
  display: block;
  opacity: 1;
}

.sub-menu li a {
  display: block;
  padding: 18px 20px; /* 🔥 Matched padding for better alignment */
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap; /* 🔥 Text cut fix */
}

.destination-menu li.has-submenu > a span {
  font-size: 10px;
  transition: transform 0.3s;
}

.destination-menu li.has-submenu.active > a span {
  transform: rotate(90deg);
}

/* SHOW SUBMENU ON HOVER OR ACTIVE (direct child selector = key fix) */
.has-submenu:hover > .sub-menu,
.has-submenu.active > .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* HOVER EFFECTS */
.destination-menu li a:hover,
.sub-menu li a:hover {
  background: #e68900;
}

/* ============================================
   RESPONSIVE — STEP BY STEP
   992px = Tablet / Small Laptop
   768px = Mobile Landscape
   480px = Mobile Portrait
============================================ */

/* ---- 992px: TABLET ---- */
@media (max-width: 992px) {

  /* HEADER */
  .header .container {
    justify-content: space-between;
    padding: 12px 20px;
    position: relative;
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: block;
    font-size: 26px;
    cursor: pointer;
    background: none;
    border: none;
    color: #000;
    z-index: 1000;
  }

  /* MOBILE NAV */
  .menu {
    position: absolute;
    top: 57px;
    left: 0;
    width: 100%;
    background: #f2f2f2;
    flex-direction: column;
    display: none;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    gap: 0;
    z-index: 999;
    flex-wrap: wrap; /* responsive wrap fix */
    justify-content: flex-start;
  }

  .menu.active {
    display: flex;
  }

  .menu > li {
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
  }

  .menu > li:last-child {
    border-bottom: none;
  }

  .menu li a {
    font-size: 15px;
    color: #000;
  }

  /* DROPDOWNS — all static on mobile */
  .submenu,
  .journey-menu,
  .mega-menu,
  .destination-menu,
  .sub-menu {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    display: none;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    background: rgba(0,0,0,0.05) !important;
    margin: 0 !important;
  }

  .sub-menu li a {
    padding-left: 60px !important; /* 🔥 More indentation for nested cities */
    background: transparent !important;
    color: #333 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    text-transform: none !important; /* City names can be normal case */
    font-weight: 500 !important;
  }

  .destination-menu li a {
    padding-left: 40px !important; /* 🔥 Indentation for categories */
    background: transparent !important;
    color: #000 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  }

  /* MEGA MENU: 2 columns on tablet */
  .mega-menu {
    grid-template-columns: repeat(2, 1fr) !important;
    left: 0 !important;
    width: 100% !important;
    padding: 15px;
    gap: 15px;
  }

  .mega-card {
    padding: 12px;
    border-radius: 6px;
  }

  /* SHOW ON ACTIVE */
  .dropdown.active > .submenu,
  .journey-dropdown.active > .journey-menu,
  .mega-dropdown.active > .mega-menu,
  .destination-dropdown.active > .destination-menu,
  .has-submenu.active > .sub-menu {
    display: block;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .container {
    padding: 0 20px;
  }
}

/* ---- 768px: MOBILE ---- */
@media (max-width: 768px) {

  /* HEADER LOGO TEXT */
  .logo-text {
    font-size: 14px;
  }
  .logo-icon {
    font-size: 20px;
  }

  /* HERO */
  .overlay h1 {
    font-size: 36px;
  }

  #hero {
    height: 70vh;
    min-height: 400px;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .section, .section-dark {
    padding: 60px 0;
  }

  /* JOURNEYS BOXES */
  .journeys {
    flex-direction: column;
  }

  .box {
    min-width: unset;
    width: 100%;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #main-footer {
    padding: 60px 0 30px;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  /* SECTION HEADER */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  /* awards strip */
  .awards-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ---- 480px: SMALL MOBILE ---- */
@media (max-width: 480px) {

  .header .container {
    padding: 10px 15px;
  }

  .logo-text {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .overlay h1 {
    font-size: 28px;
  }

  .overlay p {
    font-size: 14px;
  }

  h1 { font-size: 28px; }
  h2 { font-size: 22px; }

  .menu > li {
    padding: 10px 15px;
  }
}

.hero {
  height: 90vh;
  background: url('https://images.unsplash.com/photo-1594739433321-4d375549007f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  position: relative;
}

.overlay {
  background: rgba(0,0,0,0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.overlay h1 {
  font-size: 60px;
  color: #d4af37;
  margin-bottom: 20px;
}

.journeys {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 0;
}

.box {
  background: #ff9800;
  color: #fff;
  padding: 40px 20px;
  flex: 1;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  min-width: 300px;
}

.box:hover {
  transform: translateY(-5px);
}

.box h2 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 24px;
}

.box p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.box a {
  display: inline-block;
  margin-top: 10px;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.box a:hover {
  background: #333;
}
