/* Optional: host Versailles locally (recommended) */
@font-face {
  font-family: "Versailles";
  src:
    url("../fonts/Versailles.woff2") format("woff2"),
    url("../fonts/Versailles.woff") format("woff");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Professional body font: Inter (system fallback if not installed) */
:root {
  --bg: #c9dbe0;        /* light, muted blue like Canva */
  --ink: #0a2b33;       /* text */
  --brand: #053b49;     /* dark teal */
  --brand2: #0b5d6e;    /* hover teal */
  --white: #ffffff;

  --container: 1150px;

  --shadow: 0 18px 45px rgba(10, 43, 51, 0.12);
  --shadow2: 0 10px 28px rgba(10, 43, 51, 0.16);

  --pill: 999px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);

  /* Body font */
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

img { display: block; max-width: 100%; }

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Hero background (your image) + dark overlay on the left */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.20) 52%,
      rgba(0,0,0,0.00) 100%),
    url("../assets/Hero-image.jpg") center top/cover no-repeat;
  transform: scale(1.02);

}


.hero__inner {
  position: relative;
  min-height: 100vh;
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
  padding: 2.25rem 0 3.25rem;

  display: grid;
  grid-template-rows: auto 1fr;
  gap: 2.25rem;
}

/* top-left logo */
.hero__logo {
  width: 110px;
  height: 110px;
}

.hero__logo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.hero__content {
  max-width: 780px;
  padding-top: 0;
  align-self: center;
}




/* Title uses Versailles when available; otherwise elegant serif fallback */
.hero__title {
  margin: 0 0 1rem 0;

  font-family: "Versailles", "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.02;

  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2.3rem, 4.8vw, 4.3rem);
}

.hero__subtitle {
  margin: 0 0 1.75rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.btn--pill {
  border-radius: var(--pill);
  padding: 0.9rem 1.6rem;
  min-width: 190px;
}

.btn--light {
  background: rgba(255,255,255,0.92);
  color: #102028;
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: var(--shadow2);
}
.btn--light:hover { transform: translateY(-2px); }

.btn--dark {
  background: var(--brand);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow2);
}
.btn--dark:hover {
  background: var(--brand2);
  transform: translateY(-2px);
}

/* ---------------- HUB ---------------- */
/* --- HUB SECTION (3 equal columns) --- */

.hub {
  padding: 4.5rem 0 5.5rem;
  background: var(--bg);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
}

/* One column = one image + one button */
.hub-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Images */
/* Make the image crop nicely when it scales */
.hub-item {
  overflow: hidden; /* ensures zoom stays within bounds if you want it clipped */
}

/* If you prefer only the image clipped (not the whole item), use this instead:
.hub-item img { border-radius: 4px; }
and wrap the image in a div with overflow hidden.
*/

/* Images */
.hub-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);

  /* Hover zoom behavior */
  transform: scale(1);
  transition: transform 220ms ease;
  will-change: transform;
}

/* Subtle zoom on hover */
.hub-item:hover img {
  transform: scale(1.03);
}

/* Optional: slightly lift the button too for cohesion */
.hub-item:hover .hub-btn {
  transform: translateY(-2px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hub-item img,
  .hub-btn {
    transition: none !important;
  }
  .hub-item:hover img {
    transform: none !important;
  }
}


/* Buttons */
.hub-btn {
  margin-top: 0.9rem;

  width: 100%;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--brand);
  color: var(--white);
  text-decoration: none;

  font-weight: 800;
  letter-spacing: 0.12em;

  border-radius: 2px;
  box-shadow: var(--shadow2);

  transition: transform 180ms ease, background 180ms ease;
}

.hub-btn:hover {
  background: var(--brand2);
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}


/* The rectangular dark buttons like Canva */
.hub__btn {
  margin-top: 0.85rem;
  display: inline-flex;
  width: min(320px, 100%);
  height: 58px;
  align-items: center;
  justify-content: center;

  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.12em;

  border-radius: 2px;
  box-shadow: var(--shadow2);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hub__btn:hover {
  background: var(--brand2);
  transform: translateY(-2px);
}

.hub__btn--outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  box-shadow: none;
}
.hub__btn--outline:hover {
  background: rgba(5,59,73,0.10);
  transform: translateY(-2px);
}

.hub__brand {
  justify-self: center;
  text-align: center;
}
.hub__brandLogo {
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
  filter: none;
}

.hub__actions {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

/* ---------------- SPLIT SECTION ---------------- */
.split {
  padding: 5.25rem 0;
  background: var(--bg);
}

.split__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

/* IMPORTANT: no text boxes — open text like your Canva */
.split__text {
  max-width: 680px;
}

.split__text p {
  margin: 0 0 1.35rem 0;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.split__cta {
  margin-top: 1.75rem;
}

.split__media img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* ---------------- SIMPLE SECTIONS ---------------- */
.simple {
  padding: 4.5rem 0;
  background: var(--bg);
}

.simple__inner {
  text-align: left;
}

.section-title {
  margin: 0 0 0.75rem 0;
  font-family: "Versailles", "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lead {
  margin: 0;
  font-weight: 300;
  font-size: 1.15rem;
  max-width: 70ch;
}

/* Contact links (no box) */
.contact {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact__link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(5,59,73,0.25);
}
.contact__link:hover {
  border-bottom-color: rgba(5,59,73,0.60);
}

/* Footer */
.footer {
  padding: 1.6rem 0;
  background: rgba(5,59,73,0.10);
  border-top: 1px solid rgba(10,43,51,0.12);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hub__grid {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    text-align: center;
  }

  .hub__actions {
    width: 100%;
  }

  .split__grid {
    grid-template-columns: 1fr;
  }

  .simple__inner {
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .hub__btn { transition: none; }
}
