/* ================================================
   Australia Cruise Lines — Main CSS
   ================================================ */

:root {
  --navy:    #0a1628;
  --ocean:   #0d4f7c;
  --aqua:    #0099cc;
  --gold:    #c9922a;
  --gold-l:  #f0c565;
  --cream:   #faf6ef;
  --white:   #ffffff;
  --gray:    #6b7280;
  --lt-gray: #f1f5f9;
  --text:    #1a2332;
  --border:  #e2e8f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ════════════════════════════════════════════
   NAV
════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(10,22,40,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,146,42,0.18);
  height: 70px; transition: background 0.3s;
}
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 40px;
}

/* Brand */
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-text {
  font-family: 'Playfair Display', serif; font-size: 19px;
  color: #fff; letter-spacing: 0.02em; white-space: nowrap;
}
.brand-text em { color: var(--gold); font-style: normal; }

/* Menu list */
.nav-menu {
  display: flex; align-items: center; list-style: none;
  gap: 2px; margin: 0; padding: 0;
}

/* Nav item */
.nav-item { position: relative; }

/* Nav link */
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 0 14px; height: 70px;
  color: rgba(255,255,255,0.78); font-size: 13.5px;
  font-weight: 500; letter-spacing: 0.04em;
  white-space: nowrap; transition: color 0.2s; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.active        { color: var(--gold); }
.nav-link.active        { border-bottom-color: var(--gold); }
.nav-link--parent:hover { color: var(--gold); }

/* Chevron icon */
.chevron {
  opacity: 0.55; transition: transform 0.22s, opacity 0.2s; flex-shrink: 0;
}
.nav-item:hover .chevron,
.nav-item.open  .chevron { transform: rotate(180deg); opacity: 1; }

/* ─── DROPDOWN ─────────────────────────────── */
.nav-dropdown {
  position: absolute; top: calc(100% + 0px); left: 0;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 16px 48px rgba(10,22,40,0.18);
  min-width: 230px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1000;
}
.nav-item:hover .nav-dropdown,
.nav-item.open  .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown ul { list-style: none; padding: 8px 0; }
.nav-dropdown ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 22px;
  font-size: 14px; color: var(--text); font-weight: 400;
  transition: background 0.15s, color 0.15s; gap: 8px;
}
.nav-dropdown ul li a:hover {
  background: var(--cream); color: var(--gold);
}
.nav-dropdown ul li:not(:last-child) a {
  border-bottom: 1px solid #f3f4f6;
}
.ext-icon {
  font-size: 11px; color: var(--gold); opacity: 0.7;
  font-weight: 700; flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all 0.25s;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #080f1e 0%, #0c2540 42%, #0d4f7c 100%);
}
.hero-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8%  12%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(1px   1px   at 22% 28%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 44% 7%,  rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1px   1px   at 64% 19%, rgba(255,255,255,0.3)  0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 9%,  rgba(255,255,255,0.5)  0%, transparent 100%),
    radial-gradient(1px   1px   at 91% 33%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px   1px   at 5%  48%, rgba(255,255,255,0.28) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 38%, rgba(240,197,101,0.35) 0%, transparent 100%);
}
.hero-gradient {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, rgba(13,79,124,0.18) 0%, transparent 100%);
}
.hero-waves { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px; max-width: 720px; margin-top: 70px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201,146,42,0.5); color: var(--gold);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 18px; margin-bottom: 26px; border-radius: 1px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 66px; line-height: 1.1; color: #fff; font-weight: 700; margin-bottom: 22px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  color: rgba(255,255,255,0.68); font-size: 18px; font-weight: 300;
  line-height: 1.7; margin-bottom: 38px; max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 80px; right: 80px; z-index: 2; display: flex; gap: 48px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 34px; color: var(--gold); }
.hero-stat span { color: rgba(255,255,255,0.55); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn {
  display: inline-block; padding: 15px 34px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.2s; border-radius: 2px;
}
.btn-gold  { background: var(--gold); color: var(--navy); }
.btn-gold:hover  { background: var(--gold-l); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════ */
.section { padding: 100px 80px; max-width: 1320px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: 17px; font-weight: 300; line-height: 1.7; max-width: 540px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.view-all { color: var(--ocean); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--aqua); padding-bottom: 2px; white-space: nowrap; transition: all 0.2s; }
.view-all:hover { color: var(--gold); border-color: var(--gold); }

/* ════════════════════════════════════════════
   CRUISES GRID
════════════════════════════════════════════ */
.cruises-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cruise-card {
  background: #fff; border-radius: 4px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(10,22,40,0.07);
}
.cruise-card:hover { transform: translateY(-7px); box-shadow: 0 18px 50px rgba(10,22,40,0.13); }
.cruise-img-wrap { display: block; height: 220px; position: relative; overflow: hidden; }
.cruise-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cruise-card:hover .cruise-img-wrap img { transform: scale(1.06); }
.cruise-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--ocean)); }
.cruise-badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; padding: 5px 12px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; }
.cruise-body { padding: 22px; }
.cruise-route { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua); margin-bottom: 8px; }
.cruise-name { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.cruise-name a { color: inherit; }
.cruise-name a:hover { color: var(--gold); }
.cruise-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 12px; }
.cruise-meta { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.cruise-meta span { font-size: 13px; color: var(--gray); }
.cruise-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #edf0f5; }
.cruise-price .from   { font-size: 11px; color: var(--gray); display: block; }
.cruise-price .amount { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600; color: var(--navy); }
.cruise-price .per    { font-size: 12px; color: var(--gray); }
.btn-book {
  background: var(--gold); color: var(--navy);
  padding: 10px 20px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; border: none; cursor: pointer;
  transition: background 0.2s; border-radius: 2px;
}
.btn-book:hover { background: var(--gold-l); }

/* ════════════════════════════════════════════
   DESTINATIONS
════════════════════════════════════════════ */
.destinations-section { background: var(--cream); padding: 100px 80px; }
.destinations-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; gap: 14px; height: 420px; }
.dest-card { position: relative; overflow: hidden; cursor: pointer; border-radius: 4px; }
.dest-card:last-child { grid-column: 5; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.82) 0%, transparent 55%); }
.dest-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; }
.dest-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: #fff; }
.dest-count { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 3px; }

/* ════════════════════════════════════════════
   WHY US
════════════════════════════════════════════ */
.why-section { background: var(--navy); padding: 100px 80px; }
.why-inner { max-width: 1320px; margin: 0 auto; }
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: rgba(255,255,255,0.55); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 56px; }
.feature { text-align: center; }
.feature-icon { font-size: 36px; margin-bottom: 18px; }
.feature h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.feature p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; font-weight: 300; }

/* ════════════════════════════════════════════
   BLOG
════════════════════════════════════════════ */
.blog-section { padding: 100px 80px; }
.blog-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; }
.blog-grid--full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog-img { display: block; overflow: hidden; border-radius: 4px; margin-bottom: 18px; height: 220px; }
.blog-card--featured .blog-img { height: 320px; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-cat a { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.blog-body h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.blog-card--featured .blog-body h3 { font-size: 26px; }
.blog-body h3 a { color: inherit; }
.blog-body h3 a:hover { color: var(--gold); }
.blog-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 12px; }
.blog-meta { font-size: 12px; color: #9ca3af; display: flex; gap: 14px; flex-wrap: wrap; }

/* Blog layout with sidebar */
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.blog-search { display: flex; gap: 0; margin-bottom: 32px; }
.blog-search input { flex: 1; padding: 12px 18px; border: 1.5px solid var(--border); border-right: none; outline: none; font-size: 15px; font-family: 'Jost', sans-serif; }
.blog-search button { background: var(--navy); color: #fff; padding: 12px 24px; border: none; cursor: pointer; font-family: 'Jost', sans-serif; font-weight: 600; }
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--cream); border-radius: 4px; padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
.sidebar-cats { list-style: none; }
.sidebar-cats li { border-bottom: 1px solid #e8ecf0; }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats li a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--gray); transition: color 0.2s; }
.sidebar-cats li a:hover, .sidebar-cats li a.active { color: var(--gold); font-weight: 500; }
.sidebar-cats li a span { background: var(--lt-gray); color: var(--gray); font-size: 12px; padding: 1px 8px; border-radius: 10px; }
.sidebar-cta { background: var(--navy); }
.sidebar-cta h4 { color: var(--gold); border-color: rgba(201,146,42,0.3); }
.sidebar-cta p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 16px; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.page-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); font-size: 14px; font-weight: 500; transition: all 0.2s; border-radius: 3px; }
.page-link:hover { border-color: var(--navy); color: var(--navy); }
.page-link.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Page hero */
.page-hero { background: linear-gradient(140deg, var(--navy) 0%, var(--ocean) 100%); padding: 160px 80px 80px; color: #fff; }
.page-hero--sm { padding: 140px 80px 60px; }
.page-hero-content .section-label { display: block; margin-bottom: 12px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 18px; font-weight: 300; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 40px; }
.empty-icon { font-size: 56px; margin-bottom: 20px; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.empty-state p { color: var(--gray); font-size: 16px; margin-bottom: 28px; }

/* ════════════════════════════════════════════
   NEWSLETTER
════════════════════════════════════════════ */
.newsletter-section { background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%); padding: 80px 40px; text-align: center; }
.newsletter-inner { max-width: 520px; margin: 0 auto; }
.newsletter-section h2 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.newsletter-inner > p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 30px; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; padding: 15px 22px; border: none; outline: none; font-size: 15px; font-family: 'Jost', sans-serif; }
.newsletter-form button { background: var(--gold); color: var(--navy); padding: 15px 28px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--gold-l); }
.newsletter-note { color: rgba(255,255,255,0.35); font-size: 12px; margin-top: 14px; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer { background: #060d18; color: rgba(255,255,255,0.5); padding: 72px 80px 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 52px; max-width: 1320px; margin: 0 auto 52px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 21px; color: #fff; margin-bottom: 14px; }
.footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 26px; max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 13px; }

/* ════════════════════════════════════════════
   MOBILE MENU
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-link { padding: 0 10px; font-size: 12.5px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--navy); overflow-y: auto; padding-bottom: 40px;
    z-index: 800;
  }
  .nav-menu.open { display: flex; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-link { height: auto; padding: 16px 24px; justify-content: space-between; }
  /* Mobile dropdown */
  .nav-dropdown {
    position: static; opacity: 1; visibility: hidden; pointer-events: none;
    transform: none; box-shadow: none; border-top: none; border-radius: 0;
    background: rgba(255,255,255,0.04);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, visibility 0.3s;
  }
  .nav-item.open .nav-dropdown {
    visibility: visible; pointer-events: auto; max-height: 600px;
  }
  .nav-dropdown ul li a { color: rgba(255,255,255,0.7); padding: 12px 36px; font-size: 14px; border-bottom-color: rgba(255,255,255,0.04); }
  .nav-dropdown ul li a:hover { background: rgba(255,255,255,0.05); color: var(--gold); }
  .hero h1 { font-size: 42px; }
  .hero-content { padding: 0 32px; }
  .hero-stats { display: none; }
  .section { padding: 70px 32px; }
  .destinations-section, .why-section, .blog-section { padding: 70px 32px; }
  .section-title { font-size: 34px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cruises-grid { grid-template-columns: 1fr 1fr; }
  .destinations-grid { grid-template-columns: 1fr 1fr 1fr; height: auto; }
  .destinations-grid .dest-card:last-child { grid-column: auto; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-footer { padding: 50px 32px 28px; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; }
  .hero h1 { font-size: 34px; }
  .hero-content { padding: 0 20px; }
  .hero p { font-size: 16px; }
  .section { padding: 55px 20px; }
  .destinations-section, .why-section, .blog-section { padding: 55px 20px; }
  .cruises-grid, .blog-grid, .destinations-grid { grid-template-columns: 1fr; height: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .page-hero, .page-hero--sm { padding: 130px 20px 50px; }
  .page-hero h1 { font-size: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-section { padding: 60px 20px; }
  .site-footer { padding: 50px 20px 24px; }
}
