/* Base theme */
:root {
  --bg: #0a0e1a;
  --surface: #141b2e;
  --panel: #0f1620;
  --card: #1a2332;
  --border: #2a3547;
  --muted: #94a3b8;
  --text: #e2e8f0;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #60a5fa;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --radius: 8px;
  --max-width: 1200px;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Feed post styles */
.feed-posts {
  display: flex;
  justify-content: center;
}

.post-card__image img {
  max-width: 600px;
  margin: 0 auto;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

/* Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  padding: 5px 0;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}


.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: none;
  color: var(--text);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brand__logo {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
}


.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__links a {
  padding: 10px 0;
  font-weight: 600;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__links .ghost {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav__toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 15;
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 0 120px;
  overflow: hidden;
}


.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: scale(1.02);

  animation: heroBgSlide 20s infinite ease-in-out;
}

@keyframes heroBgSlide {
  0%, 100% {
    background-image:
      linear-gradient(120deg, rgba(4, 10, 15, 0.296), rgba(4, 10, 15, 0.285)),
      url("./assets/stock_images/background_6.jpg");
  }

  /* 26%, 50% {
    background-image:
      linear-gradient(120deg, rgba(4,10,15,.09), rgba(4,10,15,.09)),
      url("./assets/stock_images/background_2.jpg");
  }

  51%, 75% {
    background-image:
      linear-gradient(120deg, rgba(4,10,15,.09), rgba(4,10,15,.09)),
      url("./assets/stock_images/background_3.jpg");
  }

  76%, 100% {
    background-image:
      linear-gradient(120deg, rgba(4,10,15,.09), rgba(4,10,15,.09)),
      url("./assets/stock_images/background_4.jpg");
  } */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 15, 0.1), rgba(4, 10, 15, 0.8));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  display: grid;
  gap: 20px;
  padding: 28px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero__text {
  color: #ffffff;
}

.hero__text .hero__title {
  color: #ffffff;
}

.hero__text .hero__description {
  color: #f0f0f0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #09aa5c;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.social-links a {
  font-size: 18px;
  color: #ffffff;
}

.social-links a:hover {
  color: #09aa5c;
}


.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 25px 60px rgba(16, 185, 129, 0.28);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.24);
}


.button--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.stat__value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.stat__label {
  color: var(--muted);
  font-size: 0.95rem;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
}

.scroll-cue span {
  width: 6px;
  height: 12px;
  background: var(--text);
  border-radius: 999px;
  animation: cue 1.4s ease-in-out infinite;
}

@keyframes cue {
  0% {
    transform: translateY(2px);
    opacity: 1;
  }

  60% {
    transform: translateY(10px);
    opacity: 0.2;
  }

  100% {
    transform: translateY(2px);
    opacity: 1;
  }
}

/* Sections */
.section {
  padding: 40px 0;
}

/* Compact variant for tightly spaced sections (Contact) */
.section--compact {
  padding: 20px 0;
}

.section__header h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-family: var(--font-display);
}

.section__header .muted {
  max-width: 540px;
}

.section--grid .grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
}

.stack {
  display: grid;
  gap: 18px;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--card);
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: #3d4450;
  background: #252932;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface);
  font-size: 18px;
}

.map-shell {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--card);
}

.map-shell iframe {
  width: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

/* Compact contact row */
.stack--compact {
  align-items: center;
  gap: 8px;
}

.card-list--compact {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.card-list--compact .card {
  padding: 8px 10px;
  border-radius: 12px;
  gap: 8px;
  white-space: nowrap;
  min-width: auto;
  align-items: center;
}

.card-list--compact .icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 14px;
}

.card-list--compact .muted {
  display: none;
}

.card-list--compact p:not(.muted) {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
}

/* allow wrapping on very small screens */
@media (max-width: 420px) {
  .card-list--compact {
    flex-wrap: wrap;
    gap: 8px;
  }

  .card-list--compact .card {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

.payment-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 6px;
  background-color: #09aa5c;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.payment-btn:hover {
  background: #078047;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(9, 170, 92, 0.3);
}

.payment-btn:active {
  transform: translateY(0);
}

.payment-btn .left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-btn .left img {
  height: 35px;
}

.payment-btn .amount {
  font-weight: 700;
}

.card-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.card-icons img {
  height: 22px;
  opacity: 0.85;
}

/* Footer */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: rgba(6, 12, 18, 0.9);
  padding: 48px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.footer__links,
.footer__social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__links a,
.footer__social a {
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer__social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.footer__links a:hover,
.footer__social a:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.footer__meta {
  text-align: center;
  color: var(--muted);
  margin-top: 20px;
  font-size: 0.95rem;
}

.brand--inline {
  cursor: default;
}

h4 {
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
  margin: 0;
}

/* Toasts */
#toastStack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 30;
  width: min(360px, 88vw);
}

.toast {
  padding: 12px 14px;
  background: rgba(8, 14, 20, 0.95);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--text);
  display: grid;
  gap: 4px;
  animation: toastIn 0.22s ease;
}

.toast--error {
  border-left-color: #f43f5e;
}

.toast__title {
  margin: 0;
  font-weight: 700;
}

.toast__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes toastIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 840px) {
  .nav__links {
    position: fixed;
    inset: 64px 12px auto 12px;
    background: rgba(30, 35, 41, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__toggle {
    display: inline-flex;
  }

  .section--grid .grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .cta-group {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .gallery__frame {
    grid-template-columns: 1fr;
  }

  .gallery__hero img {
    height: 320px;
  }

  .pill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(4, 10, 15, 0.7);
  }

  [data-gallery-prev] {
    left: 10px;
  }

  [data-gallery-next] {
    right: 10px;
  }

  .gallery__frame {
    padding: 0 0 0;
  }
}
