/* ===============================
   RESET & GLOBAL
   =============================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
:root {
  --bg-overlay: rgba(0, 0, 0, 0.35);
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.18);
  --text: #fff;
  --accent: #4fc3f7;
  --surface: #222;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ===============================
   BASE LAYOUT
   =============================== */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: transparent; /* important so the pseudo-layer is visible */
  position: relative;      /* create a stacking context */
}

/* Fixed background layer: iOS-safe “fixed” background */
body::before {
  content: "";
  position: fixed;
  inset: 0;                /* top:0; right:0; bottom:0; left:0 */
  z-index: -1;             /* sit behind all content */
  background: center / cover no-repeat url("../images/beachsunrise.png");
  /* keeps GPU happy on iOS */
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}fs

/* ===============================
   BANNER (Fixed transparent, right hamburger)
   =============================== */
.banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
}
.banner__inner {
  max-width: 95%;
  margin: 0 auto;
  padding: .6rem 30px;
  display: flex;
  justify-content: flex-end; /* Move hamburger to right */
  align-items: center;
 
}

/* Hamburger (right) — 50% bigger */
.nav__toggle { position: absolute; opacity: 0; pointer-events: none; }
.hamburger {
  width: 60px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
  transition: background-color .2s ease, border-color .2s ease;
}
.hamburger:hover { border-color: rgba(255,255,255,.5); }
.hamburger__bar,
.hamburger__bar::before,
.hamburger__bar::after {
  content: "";
  display: block;
  width: 30px; height: 3px;
  background: #fff;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger__bar::before { position: absolute; top: -9px; }
.hamburger__bar::after  { position: absolute; top:  9px; }

/* Drawer + backdrop */
.nav__drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(80vw, 320px);
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 1001;
  padding: 5rem 1.25rem 1.25rem;
}
.nav__drawer ul { list-style: none; display: grid; gap: .75rem; }
.nav__drawer a { color: #fff; text-decoration: none; font-weight: 600; }
.nav__drawer a:hover { text-decoration: underline; }

.nav__backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
  z-index: 1000;
}

/* Toggle interactions */
#nav-toggle:checked ~ .hamburger .hamburger__bar { transform: rotate(45deg); }
#nav-toggle:checked ~ .hamburger .hamburger__bar::before { transform: rotate(90deg) translateX(-6px); }
#nav-toggle:checked ~ .hamburger .hamburger__bar::after  { opacity: 0; }
#nav-toggle:checked ~ .nav__drawer { transform: translateX(0%); }
#nav-toggle:checked ~ .nav__backdrop { opacity: 1; visibility: visible; }

/* ===============================
   HERO / LOGO (Responsive)
   =============================== */
.hero {
  padding-top: 5.5rem;  /* push below fixed banner */
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: .5rem;
}

.logo {
  content: url("../images/logo2025.png");
  width: 900px;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.6));
  transition: filter .3s ease-in-out;
}

/* When screen is smaller than 1024px — shrink logo proportionally */
@media (max-width: 1024px) {
  .logo {
    width: 900px;
  }
}

/* Between 768px and 1024px — use 80% width of container */
@media (max-width: 1024px) and (min-width: 769px) {
  .logo {
    width: 80%;
  }
}

/* Below 768px — switch to vertical logo and keep it responsive */
@media (max-width: 768px) {
  .logo {
    content: url("../images/VERTlogo2025.png");
    width: 80%;
    max-width: 500px;
  }
}

.logo:hover {
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.75));
}


.tag {
  margin-top: .5rem;
  color: rgba(255, 255, 0, 0.85);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .02em;
}
.headline {
  font-weight: 800;
  letter-spacing: .06em;
}

/* ===============================
   FEATURES (3 cards row)
   =============================== */
.features {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
  min-height: 180px;

  display: grid;
  align-content: start;
  gap: .5rem;
}
.card h2 { font-size: 1.2rem; }
.card p  { color: rgba(255,255,255,.92); }

/* ===============================
   AUTHOR
   =============================== */
.author {
  max-width: 1200px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
}
.author__content { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .author__content { grid-template-columns: 380px 1fr; align-items: center; }
}
.author__photo {
  width: 100%; height: auto; object-fit: cover;
  border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--card-border); background: var(--bg-overlay);
}
.author__text h2 { margin-bottom: .5rem; }
.author__text p + p { margin-top: .5rem; }

/* ===============================
   LINKS & FOOTER
   =============================== */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;

  background: var(--surface);
  color: var(--text);
  text-align: center;
  padding: .5rem .75rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}

/* Footer text */
footer p {
  font-size: .95rem;
  line-height: 1.4;
  margin: 0;
}
@media (min-width: 768px) {
  footer p { font-size: 1rem; }
}

/* Prevent overlap with fixed footer */
body::after {
  content: "";
  display: block;
  height: 60px; /* equal to footer height */
}