/* Night palette */
:root{
  --night-0:#060b16;
  --night-1:#0b1220;
  --night-2:#162336;
  --night-3:#89a1c1;
  --accent:#4cc3ff;
  --accent-2:#50f0c8;
    --accent-1:#0ea5e9;   /* primary icon */
      --hero-img-opacity: .95;     /* was .85 */
  --hero-img-bright: 1.10;     /* 1 = no change */
  --hero-img-contrast: 1.05;

  --hero-grad-top:   .35;      /* was .55 */
  --hero-grad-bottom:.60;      /* was .85 */
  --hero-lin-mid:    .35;      /* was .55 */
  --hero-lin-bot:    .65;      /* was .85 */

  --hero-vignette:   rgba(0,0,0,.35); /* was .55 */
  
}
.bg-night{ background:var(--night-0); }
.text-night-3{ color:var(--night-3); }
.text-night-4{ color:#9fb0c9; }
.border-night-2{ border-color:var(--night-2)!important; }

.topbar{ background:var(--night-1); }

.sky-gradient{
  background: radial-gradient(1200px 600px at 20% -10%, #0b2a4a 0%, var(--night-1) 55%, var(--night-0) 100%);
}
.stars, .stars:before, .stars:after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8) 50%, transparent 52%),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.6) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(255,255,255,0.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.6) 50%, transparent 52%);
  animation: twinkle 8s linear infinite;
  opacity:.6;
}
.stars:before{ animation-duration: 11s; opacity:.4 }
.stars:after { animation-duration: 14s; opacity:.3 }
@keyframes twinkle{ 50%{ opacity:.2 } }

.navbar.glassy{
  background: rgba(6,11,22,.55);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(137,161,193,.2);
}
.navbar .nav-link{ color:#cfe0f6; }
.navbar .nav-link:hover{ color:#fff; }

.btn-book{
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color:#00121b; border:none; box-shadow: 0 0 0 transparent;
}
.btn-book:hover{ filter: brightness(1.05); }

.link-night{ color:#cfe0f6; text-decoration:none; }
.link-night:hover{ color:#fff; }
.link-night-3{ color:#9fb0c9; text-decoration:none; }
.hover-glow:hover{ text-shadow: 0 0 8px rgba(80,240,200,.5); }

.footer-night{ background: var(--night-1); }
.night-input{
  background:#0e1526; border:1px solid var(--night-2); color:#e6eefb;
}
.night-input::placeholder{ color:#7f93b1; }

.vr{ border-left:1px solid var(--night-2); height:16px; }

/* Optional: narrow containers on very wide screens */
@media (min-width:1400px){
  .container{ max-width:1140px; }
}
.hero-night {
  height: 80vh;
  background: radial-gradient(900px 500px at 50% 0%, rgba(12,25,45,0.9), #060b16 90%);
  color: #e6eefb;
}
.object-cover { object-fit: cover; }
.text-glow { text-shadow: 0 0 15px rgba(80,240,200,.3); }

.card-trip {
  transition: transform .3s ease, box-shadow .3s ease;
  background: #0e1526;
}
.card-trip:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(76,195,255,.2);
}
.trip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s ease;
}
.card-trip:hover .trip-overlay { opacity: 1; }

.btn-outline-light {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline-light:hover {
  background: var(--accent);
  color: #00121b;
}
.feature-card{
  background:#0e1526;
  box-shadow:0 0 0 1px var(--night-2) inset, 0 6px 16px rgba(0,0,0,.35);
  transition:transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover{
  transform:translateY(-3px);
  box-shadow:0 0 0 1px rgba(80,240,200,.35) inset, 0 10px 24px rgba(76,195,255,.18);
}


 
/* Generic icon sizes */
.bi.icon-xs{ font-size: .95rem; }
.bi.icon-sm{ font-size: 1.2rem; }
.bi.icon-md{ font-size: 1.6rem; }
.bi.icon-lg{ font-size: 2.0rem; }
.bi.icon-2xl{ font-size: 2.6rem; }

/* Feature cards: icon left of title */
.feature-card .bi{
  font-size: 1.6rem;
  color: var(--accent-1);
  vertical-align: text-bottom;
  margin-right: .5rem;
  transition: transform .15s ease, filter .15s ease;
}
.feature-card:hover .bi{ transform: translateY(-1px); filter: brightness(1.2); }

/* Optional pill/circle behind icon */
.icon-wrap{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(14,165,233,.14), rgba(14,165,233,.07));
  border: 1px solid rgba(148,163,184,.18);
  color: var(--accent-1);
}
.icon-wrap.success{ background: linear-gradient(180deg, rgba(34,197,94,.14), rgba(34,197,94,.07)); color: var(--accent-2); }

/* Inline icon color helpers */
.text-accent   { color: var(--accent-1) !important; }
.text-success2 { color: var(--accent-2) !important; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .feature-card .bi{ transition: none; }
}

/* Bigger brand logo + text */
.navbar .brand-logo{
  width: 40px; height: 40px;
}
@media (min-width: 992px){
  .navbar .brand-logo{ width: 52px; height: 52px; }
}
.navbar .brand-text{
  font-size: 1.25rem;
}
@media (min-width: 992px){
  .navbar .brand-text{ font-size: 1.5rem; }
}

/* Keep navbar height tidy */
.navbar .navbar-brand{ padding-top:.25rem; padding-bottom:.25rem; }
/* Hero */
.hero-night { min-height: clamp(380px, 55vh, 680px); background:#060b16; }
.hero-night .hero-bg,
.hero-night .hero-bg img { position:absolute; inset:0; width:100%; height:100%; }
.hero-night .hero-bg img { object-fit:cover; object-position:center 55%;  transform:scale(1.02); }
.hero-night .hero-overlay { position:absolute; inset:0; pointer-events:none; }
 
.hero-night .layer-vignette {
  box-shadow: inset 0 0 70px 60px rgba(0,0,0,.55);
}
.hero-night .hero-inner {
  z-index:2;
  padding-top: clamp(2.5rem, 10vw, 6rem);
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
}

/* Text glow kept subtle for readability */
.text-glow { text-shadow: 0 2px 14px rgba(255,255,255,.06), 0 0 28px rgba(88,173,255,.12); }

/* Buttons */
.btn-book { background:#0ea5e9; border:0; color:#081220; }
.btn-book:hover { filter:brightness(1.05); }

/* Display size tweak for better wrap on small screens */
@media (min-width: 992px){
  .display-lg-4 { font-size: calc(1.475rem + 2.7vw); }
}

/* === Mobile hero sizing & crop === */
@media (max-width: 575.98px){
  /* shorter hero */
  .hero-night{
    /* keep it responsive but not too tall */
    min-height: clamp(260px, 46vh, 420px);
    max-height: 60vh;
  }

  /* less top/bottom padding around text */
  .hero-night .hero-inner{
    padding-top: clamp(1rem, 6vw, 1.75rem);
    padding-bottom: clamp(1rem, 5vw, 1.5rem);
  }

  /* keep subject higher and disable slow zoom on small screens */
  .hero-night .hero-bg img{
    object-position: center 40%;
    transform: none;              /* no pre-zoom */
  }

  /* lighter vignette so edges don't eat height */
  .hero-night .layer-vignette{
    box-shadow: inset 0 0 40px 24px rgba(0,0,0,.45);
  }

  /* headline scales better on narrow screens */
  .hero-night .display-5,
  .hero-night .display-lg-4{
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.15;
  }
}


/* Motion-safe subtle zoom */
@media (prefers-reduced-motion: no-preference){
  .hero-night .hero-bg img { transition: transform 8s ease; }
  .hero-night:hover .hero-bg img { transform:scale(1.05); }
}
