/* Color Palette:
   Primary Dark (Navy): #053149
   Accent (Golden): #f3a304
*/
:root {
  --color-primary: #053149;
  --color-accent: #f3a304;
  --color-accent-hover: #d18d03;
  --color-white: #ffffff;
  --color-bg-light: #f7f7f9;
  --color-text-dark: #222222;
  --color-text-muted: #717171;
  --color-border: #e4e4e4;
  --font-family: 'Inter', sans-serif;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
}

/* MMT Style Header */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
}
.top-bar {
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.logo {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo i {
  color: var(--color-accent);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.action-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.action-item:hover {
  background: var(--color-bg-light);
}
.action-item i {
  font-size: 1.4rem;
  color: var(--color-text-muted);
}
.action-text {
  display: flex;
  flex-direction: column;
}
.action-text strong {
  font-size: 0.8rem;
  color: var(--color-text-dark);
  line-height: 1.2;
}
.action-text span {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}
.action-login {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.action-login:hover {
  background: #032233;
}
.login-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}
.action-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  cursor: pointer;
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
}
.action-lang strong {
  color: var(--color-text-dark);
}

/* Nav Menu */
.nav-bar {
  background: var(--color-white);
}
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 24px;
}
.nav-menu::-webkit-scrollbar {
  display: none;
}
.nav-menu li {
  min-width: max-content;
}
.nav-menu li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0px;
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.nav-menu li a i {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}
.nav-menu li:hover a {
  color: var(--color-primary);
}
.nav-menu li:hover a i {
  color: var(--color-primary);
}
.nav-menu li.active a {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-accent);
}
.nav-menu li.active a i {
  color: var(--color-accent);
}
.badge-new {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 4px;
  text-transform: uppercase;
}

/* Hero Section */
.hero-bg {
  background-color: var(--color-primary);
  height: 480px;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(5, 49, 73, 0.4), rgba(5, 49, 73, 0.8)), url('herobanner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  padding-top: 130px;
}
.hero-text-container {
  z-index: 2;
  position: relative;
}
.hero-title {
  font-size: 3.2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-weight: 500;
  letter-spacing: 1px;
}

/* Search Box wrapper */
.search-wrapper {
  margin-top: -220px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}
.search-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  padding-bottom: 30px; /* space for absolute button */
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Search Nav */
.search-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 10px 0 0;
  gap: 20px;
  list-style: none;
  margin: 0;
}
.search-nav .nav-link {
  color: var(--color-text-muted);
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.search-nav .nav-link i {
  font-size: 1.2rem;
}
.search-nav .nav-link.active {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-accent);
}

/* Flight Types */
.flight-types {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-check-input:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Search Fields Grid (MMT Style) */
.search-fields-row {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  align-items: center;
  margin-top: 15px;
}
.search-field {
  flex: 1;
  padding: 12px 16px;
  border-right: 1px solid var(--color-border);
  cursor: pointer;
}
.search-field:hover {
  background-color: var(--color-bg-light);
}
.search-field.no-border-right {
  border-right: none;
}
.search-field label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}
.functional-input {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  padding: 0;
  width: 100%;
  outline: none;
  line-height: 1.2;
  transition: color 0.2s ease;
}
.functional-input:focus {
  color: var(--color-primary);
}
.functional-input::placeholder {
  color: #c9c9c9;
  font-weight: 500;
}
.date-input {
  font-size: 1.1rem;
  text-transform: uppercase;
}
.search-field .sub-val {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.swap-icon {
  width: 32px;
  height: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin: 0 -16px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
}

/* Huge Search Button */
.btn-search-action {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 12px 60px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 10px rgba(243, 163, 4, 0.4);
  letter-spacing: 1px;
  transition: background-color 0.2s;
}
.btn-search-action:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
}

/* Offers Section */
.section-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
}
.offer-tabs {
  display: flex;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.offer-tabs span {
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 50px;
  cursor: pointer;
}
.offer-tabs span.active {
  background: var(--color-bg-light);
  color: var(--color-primary);
}
.offer-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.offer-card img {
  width: 140px;
  object-fit: cover;
}
.offer-content {
  padding: 16px;
  flex: 1;
}
.offer-type {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.offer-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
}
.offer-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.offer-content a {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

/* Airbnb Categories */
.category-slider {
  display: flex;
  overflow-x: auto;
  gap: 32px;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.category-slider::-webkit-scrollbar {
  display: none;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  cursor: pointer;
  min-width: max-content;
  opacity: 0.7;
  transition: all 0.2s;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
}
.cat-item:hover {
  opacity: 1;
  color: #000;
}
.cat-item.active {
  opacity: 1;
  color: #000;
  border-bottom: 2px solid #000;
}
.cat-item i {
  font-size: 1.5rem;
}
.cat-item span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Airbnb Stays Grid */
.airbnb-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.airbnb-card:hover {
  transform: translateY(-5px);
}
.img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 20/19;
}
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.airbnb-card:hover .img-container img {
  transform: scale(1.05);
}
.heart-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(0,0,0,0.5);
  font-size: 1.2rem;
  z-index: 2;
  cursor: pointer;
  -webkit-text-stroke: 2px white;
}
.heart-icon.liked {
  color: var(--color-accent);
  -webkit-text-stroke: 0;
}
.guest-favorite {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-white);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: var(--color-text-dark);
}
.stay-info {
  margin-top: 12px;
}
.stay-location {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0;
}
.stay-rating {
  font-size: 0.95rem;
  font-weight: 500;
}
.stay-rating i {
  color: #000;
}
.stay-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.stay-price {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

/* Promotional Banner */
.promo-banner {
  background: linear-gradient(135deg, var(--color-primary), #084c71);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(5, 49, 73, 0.15);
}
.promo-text {
  padding: 48px;
  color: var(--color-white);
}
.promo-text h2 {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--color-accent);
}
.promo-text p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 450px;
  line-height: 1.5;
}
.promo-image-container {
  height: 100%;
  position: relative;
  padding: 0;
}
.promo-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  position: absolute;
  top: 0;
  right: 0;
}
.btn-primary-dark {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  transition: background-color 0.2s;
  box-shadow: 0 4px 10px rgba(243, 163, 4, 0.3);
}
.btn-primary-dark:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
}

/* SEO Links Section */
.seo-links-section {
  background-color: var(--color-bg-light);
  font-size: 0.8rem;
}
.seo-category {
  line-height: 1.6;
}
.seo-title {
  font-weight: 700;
  color: var(--color-text-dark);
  margin-right: 4px;
}
.seo-links {
  display: inline;
  color: var(--color-text-muted);
  margin: 0;
}
.seo-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.seo-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--color-bg-light);
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
}
.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000;
}
.footer-list {
  list-style: none;
  padding: 0;
}
.footer-list li {
  margin-bottom: 12px;
}
.footer-list a {
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-list a:hover {
  text-decoration: underline;
}

/* Custom Modal Styles */
.custom-modal {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 20px 40px rgba(5, 49, 73, 0.15);
}
.custom-modal .modal-title {
  color: var(--color-primary);
}
.custom-input {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px 12px 45px; /* Space for icon */
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: var(--color-text-dark);
}
.custom-input:focus {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(243, 163, 4, 0.1);
  outline: none;
}
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--color-accent);
  font-size: 1.1rem;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-form-submit {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 15px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  width: 100%;
}
.btn-form-submit:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(243, 163, 4, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .search-fields-row {
    flex-direction: column;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }
  .search-field.no-border-right {
    border-bottom: none;
  }
  .swap-icon {
    margin: -16px auto;
    transform: rotate(90deg);
  }
  .search-box {
    margin: 0 10px;
  }
  .offer-card {
    flex-direction: column;
  }
  .offer-card img {
    width: 100%;
    height: 200px;
  }
  .hero-bg {
    height: 220px;
  }
  .search-wrapper {
    margin-top: -140px;
  }
  .promo-text {
    padding: 40px 24px;
    text-align: center;
  }
  .promo-text p {
    margin: 0 auto 24px auto;
  }
  .promo-text .d-flex {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 16px;
    padding: 0 16px;
  }
  .nav-menu li a {
    padding: 10px 0;
    font-size: 0.8rem;
  }
  .search-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 16px 0;
    gap: 16px;
    scrollbar-width: none;
  }
  .search-nav::-webkit-scrollbar {
    display: none;
  }
  .search-nav .nav-link {
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .btn-search-action {
    width: 80%;
    font-size: 1.1rem;
    padding: 12px;
  }
  .section-heading {
    font-size: 1.5rem;
  }
  .offer-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
  }
  .offer-tabs::-webkit-scrollbar {
    display: none;
  }
  .offer-tabs span {
    white-space: nowrap;
  }
  .footer {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .logo {
    font-size: 1.25rem;
  }
  .hero-bg {
    height: 180px;
  }
  .search-wrapper {
    margin-top: -110px;
    margin-bottom: 40px;
  }
  .search-box {
    margin: 0;
    border-radius: var(--radius-md);
  }
  .flight-types {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
  }
  .search-field .main-val {
    font-size: 1.4rem;
  }
  .btn-search-action {
    bottom: -20px;
    width: 85%;
    padding: 10px;
    font-size: 1rem;
  }
}

/* Package Details Mobile Specifics */
@media (max-width: 768px) {
  .hero-bg {
    height: 150px !important;
  }
  .package-floating-header {
    margin-top: -60px !important;
    padding: 20px !important;
  }
  .package-floating-header h1 {
    font-size: 1.6rem !important;
  }
  .package-gallery-row {
    height: 250px !important;
  }
  .itinerary-timeline {
    padding-left: 25px !important;
  }
  .itinerary-day h5 {
    font-size: 1.1rem !important;
  }
  .booking-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid var(--color-border) !important;
  }
}

.package-floating-header {
  transition: all 0.3s ease;
}

.object-fit-cover {
  object-fit: cover;
}

/* Custom Utilities for Header & Footer */
.transition-all {
  transition: all 0.3s ease;
}
.hover-white:hover {
  color: #ffffff !important;
}
.hover-primary:hover {
  color: var(--color-primary) !important;
}
.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.fs-7 {
  font-size: 0.85rem;
}
