/* ═══════════════════════════════════════════════
   CRUISEPORT — Landing Page Styles
   ═══════════════════════════════════════════════ */

/* ─── NAV ───────────────────────────────────── */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.landing-nav.nav-dark {
  background: rgba(10,37,64,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: none;
}
.landing-nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 32px; min-height: 64px;
}
.landing-logo {
  font-family: var(--serif); font-size: 20px; color: var(--ocean);
  font-weight: 600; letter-spacing: -0.02em;
  display: flex; align-items: center; text-decoration: none;
  flex-shrink: 0;
}
.nav-dark .landing-logo { color: white; }
.landing-logo-img { display: block; width: auto; max-height: 80vh; object-fit: contain; }
.footer-logo-img { height: 96px !important; width: auto; display: block; object-fit: contain; }
.landing-nav-links { display: flex; gap: 32px; }
.landing-nav-links a {
  font-size: 14px; font-weight: 500; color: var(--g500);
  transition: color 0.2s;
}
.landing-nav-links a:hover { color: var(--ocean); }
.nav-dark .landing-nav-links a { color: rgba(255,255,255,0.55); }
.nav-dark .landing-nav-links a:hover { color: white; }
.landing-nav-actions { display: flex; gap: 10px; align-items: center; }
.landing-nav-actions .btn-ghost { color: var(--g600); border-color: var(--g200); }
.landing-nav-actions .btn-ghost:hover { background: var(--g50); color: var(--ocean); }
.nav-dark .landing-nav-actions .btn-ghost { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.nav-dark .landing-nav-actions .btn-ghost:hover { background: rgba(255,255,255,0.08); color: white; }
.landing-nav-burger {
  display: none; background: none; border: none; color: var(--ocean);
  font-size: 24px; cursor: pointer;
}
.nav-dark .landing-nav-burger { color: white; }
.landing-nav-mobile {
  display: none; flex-direction: column; padding: 12px 32px 20px;
  border-top: 1px solid var(--g100);
  background: rgba(255,255,255,0.98);
}
.nav-dark .landing-nav-mobile {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,37,64,0.95);
}
.nav-dark .landing-nav-mobile a { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.04); }
.landing-nav-mobile.open { display: flex; }
.landing-nav-mobile a {
  padding: 10px 0; font-size: 15px; color: var(--g600);
  border-bottom: 1px solid var(--g100);
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: #0A2540;
  padding: 120px 32px 80px;
}
.hero-bg-image {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-repeat: no-repeat;
  transform-origin: center center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.hero-gradient {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 250px; z-index: 2;
  background: linear-gradient(to top, var(--bg), transparent);
}
/* Fallback if no image */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(255,107,74,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(59,130,246,0.06) 0%, transparent 70%);
}
.hero::after { display: none; }
.hero-content {
  max-width: 720px; text-align: center; position: relative; z-index: 3;
}
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 40px;
  background: rgba(255,107,74,0.1); border: 1px solid rgba(255,107,74,0.2);
  color: #FF8A6E; font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--serif); font-size: 56px; line-height: 1.1;
  color: white; letter-spacing: -0.03em; font-weight: 600;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.5);
  max-width: 540px; margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-bottom: 56px; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 36px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block; font-family: var(--serif); font-size: 28px;
  color: white; font-weight: 600;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* ─── SECTIONS ──────────────────────────────── */
.landing-section { padding: 100px 32px; }
.landing-section-dark {
  background: linear-gradient(160deg, #0A2540, #0F3460);
}
.landing-container { max-width: 1140px; margin: 0 auto; }
.section-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--coral); margin-bottom: 12px;
  text-align: center;
}
.landing-h2 {
  font-family: var(--serif); font-size: 38px; font-weight: 600;
  color: var(--g900); text-align: center; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.landing-lead {
  font-size: 17px; color: var(--g500); text-align: center;
  max-width: 560px; margin: 0 auto 52px; line-height: 1.6;
}

/* ─── FEATURES GRID ─────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--g200);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.feature-title {
  font-size: 17px; font-weight: 700; color: var(--g900);
  margin-bottom: 8px;
}
.feature-desc { font-size: 14px; color: var(--g500); line-height: 1.65; }

/* ─── ESCALES GRID ──────────────────────────── */
.escales-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.escale-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; align-items: center; gap: 18px;
  transition: background 0.25s, transform 0.25s;
}
.escale-card:hover {
  background: rgba(255,255,255,0.07); transform: translateY(-2px);
}
.escale-flag { font-size: 36px; flex-shrink: 0; }
.escale-name {
  font-size: 17px; font-weight: 700; color: white; margin-bottom: 4px;
}
.escale-detail { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.escale-budget {
  font-size: 12px; font-weight: 600; color: var(--coral);
  margin-top: 6px;
}

/* ─── AVIS GRID ─────────────────────────────── */
.avis-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.avis-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.avis-stars { font-size: 14px; margin-bottom: 14px; }
.avis-text {
  font-size: 15px; color: var(--g700); line-height: 1.65;
  margin-bottom: 20px; font-style: italic;
}
.avis-author { display: flex; align-items: center; gap: 12px; }
.avis-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--ocean3));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white; flex-shrink: 0;
}
.avis-name { font-size: 14px; font-weight: 700; color: var(--g900); }
.avis-cruise { font-size: 12px; color: var(--g500); }

/* ─── CTA FINAL ─────────────────────────────── */
.landing-cta {
  padding: 80px 32px;
  background: linear-gradient(160deg, #0A2540, #1B3A5C);
}

/* ─── FOOTER ────────────────────────────────── */
.landing-footer {
  background: var(--white); border-top: 1px solid var(--g200);
  padding: 48px 32px 0;
  color: var(--g500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-brand .landing-footer-brand { margin-bottom: 4px; }
.footer-tagline { font-size: 13px; color: var(--g400); line-height: 1.5; margin: 0; }
.footer-col-title {
  font-family: var(--serif); font-size: 14px; font-weight: 600;
  color: var(--g900); margin-bottom: 6px;
}
.footer-col a {
  font-size: 13px; color: var(--g500); transition: color 0.2s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--coral); }
.footer-newsletter-desc { font-size: 12px; color: var(--g400); line-height: 1.4; margin: 0; }
.newsletter-form { display: flex; gap: 8px; margin-top: 4px; }
.footer-newsletter-input {
  flex: 1; padding: 8px 12px; border: 1px solid var(--g200);
  border-radius: var(--radius-xs); font-size: 13px; background: var(--g50);
  color: var(--g900); outline: none; font-family: var(--font); min-width: 0;
}
.footer-newsletter-input::placeholder { color: var(--g400); }
.footer-newsletter-input:focus { border-color: var(--coral); background: var(--white); box-shadow: 0 0 0 3px var(--coral-glow); }
.landing-footer-copy {
  font-size: 12px; color: var(--g400);
  padding: 20px 0; border-top: 1px solid var(--g200);
}

/* ─── USER DROPDOWN MENU (navbar) ──────────── */
.landing-user-menu { position: relative; display: inline-block; }
.landing-user-btn { position: relative; }
.landing-user-dropdown {
  display: none; position: absolute; top: 100%; right: 0; min-width: 180px;
  background: white; border: 1px solid var(--g200); border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1); margin-top: 6px; z-index: 500;
  overflow: hidden;
}
.landing-user-menu.open .landing-user-dropdown { display: block; }
.landing-user-dropdown a {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  font-size: 13px; color: var(--g700); transition: background 0.15s;
  text-decoration: none; white-space: nowrap;
}
.landing-user-dropdown a:hover { background: var(--g50); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .avis-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 42px; }
  .landing-h2 { font-size: 30px; }
}

@media (max-width: 640px) {
  .landing-nav-links, .landing-nav-actions { display: none; }
  .landing-nav-burger { display: block; }
  .landing-nav-inner { padding: 8px 16px; }
  .landing-logo-img { max-width: 280px; max-height: 88px; }
  .logo-with-offset { --logo-tx: 0px !important; --logo-ty: 0px !important; transform: none !important; }
  .footer-logo-img { height: 60px !important; max-width: 200px; }
  
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 22px; }
  
  .landing-section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .escales-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col-brand { grid-column: 1 / -1; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .footer-newsletter-input { width: 100%; }
}
