/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0b1a2e;
  --navy-mid: #152a42;
  --navy-light: #1e3a5c;
  --gold: #c8960c;
  --gold-bright: #e0a800;
  --gold-light: #f5d030;
  --white: #ffffff;
  --off-white: #f4f3ef;
  --gray-100: #edebe5;
  --gray-200: #d8d5ce;
  --gray-500: #6b6b6b;
  --gray-700: #3d3d3d;
  --gray-900: #1a1a1a;
  --success: #2d7d46;
  --error: #c0392b;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.15);
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === Navigation === */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border-bottom: 2px solid var(--gold);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo:hover { opacity: 0.85; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a:focus {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* === Discount Banner === */
.discount-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 25%, var(--gold-light) 50%, var(--gold-bright) 75%, var(--gold) 100%);
  background-size: 200% 100%;
  color: var(--navy);
  text-align: center;
  padding: 0.35rem 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  overflow: hidden;
  white-space: nowrap;
  position: sticky;
  top: 7rem;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  animation: shimmer 3s ease-in-out infinite;
}
.banner-text {
  display: inline-block;
  animation: slide 12s linear infinite;
}
.discount-banner strong {
  font-size: 1.2rem;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes slide {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* === Discount Popup === */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.popup-overlay.hidden {
  display: none;
}
.popup-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  position: relative;
  animation: popIn 0.35s ease-out;
}
@keyframes popIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}
.popup-close:hover { color: var(--gray-900); }
.popup-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.popup-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.popup-card p {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.popup-card .btn {
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 3rem 1.5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,150,12,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(240,192,64,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
  border: 1px solid rgba(200,150,12,0.3);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1.45rem;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  line-height: 1.3;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(200,150,12,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover,
.btn-outline:focus {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-card {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem;
  font-size: 1rem;
  border-radius: 8px;
  margin-top: auto;
}
.btn-card:hover,
.btn-card:focus {
  background: var(--navy-light);
  box-shadow: 0 0 0 4px rgba(26,42,58,0.2);
}
.btn-card-featured {
  background: var(--gold);
  color: var(--navy);
}
.btn-card-featured:hover,
.btn-card-featured:focus {
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(200,150,12,0.3);
}
.btn-submit {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  width: 100%;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* === Sections === */
.section {
  padding: 4.5rem 1.5rem;
  background: var(--white);
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-alt {
  background: var(--off-white);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-title::after { background: var(--gold-light); }
.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }

/* === Package Cards === */
.package-carousel {
  position: relative;
  padding: 0 3rem;
}
.package-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.25rem;
  scrollbar-width: none;
}
.package-track::-webkit-scrollbar { display: none; }
.package-card {
  background: var(--white);
  border: 2px solid var(--navy-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(11,26,46,0.15);
  position: relative;
  transition: border-color 0.15s;
  flex: 0 0 calc(50% - 1rem);
  min-width: 320px;
  max-width: none;
  max-height: 80vh;
  scroll-snap-align: start;
}
.package-card-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.package-card:hover {
  border-color: var(--gold);
}
.package-card-featured {
  background: linear-gradient(180deg, #fdfaf0 0%, var(--white) 100%);
  border-color: var(--gold);
  border-width: 3px;
  box-shadow: 0 4px 28px rgba(200,150,12,0.25);
}
.package-card-featured:hover {
  border-color: var(--gold-bright);
}
.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.package-badge-gold {
  background: var(--gold);
  color: var(--navy);
}
.package-name {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.package-price {
  text-align: center;
  margin-bottom: 0.35rem;
}
.price-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}
.package-card-featured .price-number { color: #8a6d0b; }
.price-note {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.package-time {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.package-divider {
  border: none;
  border-top: 2px solid var(--gold);
  opacity: 0.35;
  margin: 0.75rem 0 1rem;
}
.package-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  text-align: center;
  margin-bottom: 1rem;
}
.package-features {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.package-features li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.package-features li:last-child { border-bottom: none; }
.package-features li::before {
  content: '\2605 ';
  color: var(--gold);
  font-weight: 700;
}
.package-features li strong {
  color: var(--navy);
}
.package-upgrade-note {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.75rem;
}
.package-features-gold {
  margin-bottom: 1.5rem;
}

/* === Package Dropdowns === */
.package-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.detail-group {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
}
.detail-summary {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-summary::-webkit-details-marker { display: none; }
.detail-summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-left: 0.5rem;
  transition: transform 0.2s;
}
details[open] .detail-summary::after {
  content: '\2212';
  transform: rotate(180deg);
}
.detail-list {
  list-style: none;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.detail-list li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '\2605 ';
  color: var(--gold);
  font-weight: 700;
}

/* === Carousel Arrows === */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy-light);
  background: var(--white);
  color: var(--navy);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
  z-index: 2;
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-arrow:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* === Carousel Dots === */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.carousel-dot.active {
  background: var(--gold);
}

/* === Features === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
}
.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
  color: var(--gold-light);
}
.feature p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* === Booking Form === */
.booking-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(11,26,46,0.2);
  border: 2px solid var(--navy-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.required-star { color: var(--error); font-weight: 700; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  color: var(--gray-900);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,12,0.15);
}
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown):not([value=""]) {
  border-color: var(--error);
}
.form-message {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  display: none;
}
.form-success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}
.form-error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
  color: var(--gold-light);
}
.contact-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.contact-link {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-link:hover { text-decoration: underline; }
.contact-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

/* === Footer === */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 2px solid var(--gold);
}
.footer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.15rem;
}
.footer-location {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-copy {
  font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 860px) {
  html { font-size: 17px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.nav-open { display: flex; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
  .package-card { flex: 0 0 100%; min-width: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .booking-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .hero { min-height: 420px; padding: 2rem 1rem; }
  .hero-title { font-size: 1.85rem; }
  .section { padding: 3rem 1rem; }
  .section-title { font-size: 1.75rem; }
  .price-number { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
}

/* === Focus visibility for accessibility === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
