/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #fffaf7;
  color: #2a1a1f;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}

/* ROOT COLORS */
:root {
  --maroon: #800000;
  --maroon-dark: #5f0000;
  --text: #2a1a1f;
  --accent: #b8946d;
  --light-bg: #fdf9f5;
  --white: #ffffff;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--maroon-dark);
}
h1 span {
  color: var(--maroon);
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* CONTAINERS */
.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
  padding: 60px 0;
}

:root {
  --maroon: #4b0f0f;
  --gold: #c5a880;
  --offwhite: #fffaf7;
  --text-dark: #1a1a1a;
}

header {
  background-color: var(--offwhite);
  border-bottom: 1px solid #e4d3c5;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
  color: var(--maroon);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: var(--gold);
}

.nav-links li a:hover::after {
  width: 100%;
}

/* ---------- TOGGLE BUTTON ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--maroon);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- RESPONSIVE NAVIGATION ---------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    display: none;
    background-color: var(--offwhite);
    padding: 20px 0;
    border-top: 1px solid #ddd0c4;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 10px 0;
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* Hero Section */
.fleet-hero {
  background-image: url('images/HMW5.png'); /* Replace with your background image */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f7efe2;
  font-family: 'Playfair Display', serif;
}

.fleet-hero-overlay {
  background: rgba(30, 10, 10, 0.705); /* Dark maroon glass overlay */
  padding: 4rem 2rem;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.fleet-hero h1 {
  font-size: 3rem;
  color: #e5b56d;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.fleet-hero p {
  font-size: 1.2rem;
  color: #f0e4d2;
  font-style: italic;
}
/* Hero End */

/* ===== Contact Modal Section (Hire Maharaja Theme) ===== */

/* Trigger Section */
.contact-trigger {
  text-align: center;
  margin: 2rem 0;
}

.contact-btn {
  background: linear-gradient(135deg, #800000, #a52a2a);
  color: #f5e6c8;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.4);
}

.contact-btn:hover {
  background: linear-gradient(135deg, #a52a2a, #b8860b);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================
   MODAL OVERLAY
   ========================= */
.modal {
  display: none; /* Hidden by default */  
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px); /* blurred background */
  background: rgba(30, 0, 0, 0.45); /* subtle maroon tint */
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto; /* allows scroll if modal taller than screen */
}

.modal.active {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

/* =========================
   MODAL DIALOG
   ========================= */
.modal-dialog {
  background: #fffaf2; /* vintage ivory */
  border: 2px solid #d4af37; /* royal gold border */
  border-radius: 20px;
  padding: 1.5rem;
  width: 100%;
  max-width: 650px;     /* desktop limit */
  max-height: 90vh;     /* keeps content inside viewport */
  overflow-y: auto;     /* scrollable content */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%) scale(0.9); /* ✅ ensures center */
  position: relative;
  top: 50%;
  left: 50%;
  animation: fadeIn 0.3s ease-in-out;
}

/* =========================
   HEADER
   ========================= */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d4af37;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
}

.modal-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: #4b0f0f; /* regal maroon */
  margin: 0;
  letter-spacing: 0.5px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #800000;
  transition: transform 0.2s ease, color 0.3s ease;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.2);
  color: #d4af37;
}

/* =========================
   BODY
   ========================= */
.modal-body {
  font-family: "Lora", serif;
  font-size: 1rem;
  color: #2d1a1a;
  line-height: 1.7;
}

.modal-body h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  color: #800000;
  border-left: 4px solid #d4af37;
  padding-left: 0.6rem;
}

.modal-body ol,
.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.6rem;
}

/* =========================
   FOOTER / ACTIONS
   ========================= */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-actions .btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: #e0d4b7;
  color: #5a2a2a;
}

.btn-secondary:hover {
  background: #d4af37;
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #800000, #a52a2a);
  color: #f5e6c8;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a52a2a, #b8860b);
  color: #fff;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { transform: translate(-50%, -50%) scale(0.85); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* =========================
   RESPONSIVE FIXES
   ========================= */
@media (max-width: 768px) {
  .modal-dialog {
    padding: 1.2rem;
    max-width: 95%;
    border-radius: 16px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body {
    font-size: 0.95rem;
  }

  .modal-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .modal-dialog {
    padding: 1rem;
    max-width: 100%;
    border-radius: 12px;
  }

  .modal-header h2 {
    font-size: 1.1rem;
  }
}




/* Contact Form - Heritage Luxury Theme */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: #fff8f2; /* warm ivory */
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid #d9c2a3;
  box-shadow: 0 6px 24px rgba(90, 42, 42, 0.15);
}

.contact-form label {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #5a2a2a; /* deep maroon-brown */
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #c9b39b;
  background: #fffdf9;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  color: #3e2c2c;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #a87428; /* antique gold */
  box-shadow: 0 0 10px rgba(168, 116, 40, 0.35);
  background: #fffdf7;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Buttons */
.contact-form .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form .btn {
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

/* Primary Button (Send) */
.contact-form .btn-primary {
  background: #5a2a2a; /* heritage maroon */
  color: #fff;
}
.contact-form .btn-primary:hover {
  background: #a87428; /* antique gold */
  color: #fffaf0;
}

/* Secondary Button (Close) */
.contact-form .btn-secondary {
  background: #f6ede1; /* soft beige */
  color: #5a2a2a;
  border: 1px solid #c9b39b;
}
.contact-form .btn-secondary:hover {
  background: #5a2a2a;
  color: #fffaf0;
}

/* Actions */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.modal-actions .btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: #e0d4b7;
  color: #5a2a2a;
}

.btn-secondary:hover {
  background: #d4af37;
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #800000, #a52a2a);
  color: #f5e6c8;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a52a2a, #b8860b);
  color: #fff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Contact End */

/* =========================
   Packages Section – Hire Maharaja Theme
   ========================= */

.packages {
  padding: 4rem 1.5rem;
  background: #fff9f2; /* soft luxury cream */
}

.packages .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Package Card */
.package-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(80, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  cursor: pointer;
}

/* Floating hover effect */
.package-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 14px 30px rgba(80, 0, 0, 0.45);
}

/* Image with zoom animation */
.package-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-bottom: 4px solid transparent;
  transition: transform 0.6s ease, border-color 0.4s ease;
}

.package-card:hover img {
  transform: scale(1.08);
  border-color: linear-gradient(90deg, #b8860b, #ffd700);
}

/* Content section */
.package-content {
  padding: 1.6rem;
  opacity: 0.95;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.package-card:hover .package-content {
  opacity: 1;
  transform: translateY(-4px);
}

/* Title */
.package-title {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #800000; /* deep maroon */
  margin-bottom: 0.6rem;
  position: relative;
}

.package-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, #b8860b, #ffd700);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.package-card:hover .package-title::after {
  width: 70px;
}

/* Description */
.package-description {
  font-family: "Lora", serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.8rem;
  line-height: 1.55;
}

/* Info */
.package-info {
  font-size: 0.95rem;
  color: #5a2a2a;
  margin-bottom: 1.2rem;
}

/* Actions */
.package-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.package-actions button,
.package-actions a {
  flex: 1;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, #800000, #b22222);
  color: #fff;
  font-size: 0.95rem;
  border: none;
  border-radius: 10px;
  font-family: "Lora", serif;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.4s ease;
}

.package-actions button:hover,
.package-actions a:hover {
  background: linear-gradient(90deg, #b8860b, #ffd700);
  color: #800000;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(184, 134, 11, 0.4);
}


/* Buttons */
.btn {
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  font-family: "Playfair Display", serif;
  transition: all 0.3s ease;
}

.view-details {
  background: linear-gradient(135deg, #800000, #a52a2a);
  color: #f5e6c8;
  box-shadow: 0 4px 10px rgba(128, 0, 0, 0.4);
}

.view-details:hover {
  background: linear-gradient(135deg, #a52a2a, #b8860b);
  color: #fff;
}

.call-btn {
  background: #d4af37; /* gold */
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.call-btn:hover {
  background: #b8860b;
}

/* FOOTER SECTION */
.custom-footer {
  background-color: var(--text); /* Deep heritage tone */
  color: #f2f2f2;
  padding: 60px 20px 30px;
  font-family: 'DM Serif Display', serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.footer-heading {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e2d7c1;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.1rem;
  color: #f2f2f2;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-contact i {
  margin-right: 8px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #d6c7b2;
}

.footer-bottom i {
  color: var(--accent);
}


/* RESPONSIVE */
@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
  }
  .hero-text,
  .hero-form {
    flex: 1 1 100%;
    padding: 0;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }
  .about-section {
    flex-direction: column;
  }
  .fleet-grid {
    grid-template-columns: 1fr;
  }
}