/* - - - - - - - -  2026 css reset  - - - - - - - - */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

ol,
ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fonts */
@font-face {
  font-family: "Commissioner-Regular";
  src: url("../fonts/Commissioner-Regular.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cookie";
  src: url("../fonts/Cookie-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alike";
  src: url("../fonts/Alike-Regular.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* - - - - - - - lrh-palette-01 - - - - - - - */
:root {
  --lrh-color-01: oklch(53% 0.12 60 / 100%);
  --lrh-color-02: oklch(33% 0.06 74 / 100%);
  --lrh-color-03: oklch(20% 0.12 244 / 100%);
  --lrh-color-04: oklch(33% 0.06 74 / 100%);
  --lrh-color-05: oklch(60% 0.06 74 / 100%);
  --lrh-color-06: oklch(70% 0.06 74 / 100%);
  --lrh-color-07: oklch(81.774% 0.2 150 / 100%);
  --lrh-color-08: oklch(90% 0.06 74 / 100%);
  --lrh-color-09: oklch(91% 0.06 74 / 100%);
  --lrh-color-10: oklch(92% 0.06 74 / 100%);
  --lrh-color-11: oklch(90% 0 0 / 10%); /* text drop shadow */
  --lrh-color-12: oklch(90% 0 0 / 100%); /* bace off-white */
}

body {
  background-color: var(--lrh-color-12);
  margin: 0;
  font-family: "Commissioner-Regular", sans-serif;
}

/* - - - - - - - navigation - - - - - - - */

nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  background: linear-gradient(225deg, var(--lrh-color-01) 0%, var(--lrh-color-04) 100%);
  height: 70px;
  z-index: 1000;
}

.logo {
  margin-left: 20px;
  display: flex;
  align-items: center;
  height: 80%;
}

.logo img {
  height: 100%;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: var(--lrh-color-12);
  border-radius: 3px;
  transition: all 0.4s ease-in-out;
  transform-origin: center center;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* - - - - - - - mobile menu - - - - - - - */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--lrh-color-04) 0%, var(--lrh-color-01) 100%);
  padding: 20px 0;
  overflow-y: auto;
  box-shadow: 0 10px 20px var(--lrh-color-11);
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  width: 100%;
}

.nav-links a:not(.nav-cta-button) {
  display: block;
  padding: 16px 20px;
  font-size: 18px;
  width: 100%;
  color: var(--lrh-color-12);
  text-align: center;
  font-family: "Commissioner-Regular", sans-serif;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  background-color: var(--lrh-color-04);
  padding-left: 30px;
  color: var(--lrh-color-12);
}

.nav-links .nav-cta-button {
  padding: 14px 35px;
  font-size: 18px;
  border: 2px solid var(--lrh-color-12);
  border-radius: 40px;
  background-color: transparent;
  color: var(--lrh-color-12);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  font-family: "Commissioner-Regular", sans-serif;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-links .nav-cta-button:hover {
  background-color: var(--lrh-color-04);
  color: var(--lrh-color-12);
  transform: scale(1.05);
}

.nav-links li.menu-spacer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0 20px 0;
}

/* - - - - - - - desktop nav - - - - - - - */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  nav {
    padding: 0 40px 0 100px;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    background: none;
    padding: 0;
    box-shadow: none;
    align-items: center;
    gap: 8px;
  }

  .nav-links li.menu-spacer {
    margin-left: auto;
    padding-right: 20px;
  }

  .nav-links a:not(.nav-cta-button) {
    padding: 0 18px;
    font-size: 16px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .nav-links .nav-cta-button {
    margin-left: 12px;
    padding: 0 24px;
    font-size: 16px;
    border: 2px solid var(--lrh-color-12);
    border-radius: 45px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* - - - - - - - hero section - - - - - - - */

.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 450px;
  overflow: hidden;
}

.hero-picture,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Container - Clean & Reliable Centering */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column; /* Stack h1 and h3 vertically */
  align-items: center; /* Horizontal center */
  justify-content: center; /* Vertical center */
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  gap: 0.4rem; /* Space between h1 and h3 */
}

.hero-content h1 {
  color: var(--lrh-color-12);
  font-family: "Cookie", sans-serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 0.9;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  margin: 0;
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards;
  animation-delay: 300ms;
}

.hero-content h3 {
  color: var(--lrh-color-12);
  font-family: "Alike", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 0.95;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  margin: 0;
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards;
  animation-delay: 600ms; /* Slight delay so h3 appears after h1 */
}
/* --- Make h3 slightly smaller on mobile ----  */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
  .hero-content h3 {
    font-size: 1.4rem;
  }
}
/* - - - - - - - dark overlay - - - - - - - */
/* .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
} */

/* - - - - - - - title animation - - - - - - - */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* - - - - - - -  paragraph text - - - - - - -  */

.text-section {
  max-width: 100%;
  padding: 0 5%; /* fallback for very small screens */
  margin: 0 auto;
}

.paragraph-text {
  max-width: 60%; /* 20% margin each side on desktop */
  margin: 2.5rem auto; /* centers the text */
  font-family: "Alike", sans-serif;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--lrh-color-02);
  text-align: justify;
  hyphens: auto;
  word-spacing: -0.02em;
}

/* Make text slightly wider on mobile and tablets */
@media (max-width: 768px) {
  .paragraph-text {
    max-width: 80%;
    font-size: 1.1rem;
    margin: 1.5rem auto;
  }
}

/* Responsive adjustment for tablets & mobile */
@media (max-width: 768px) {
  .about-text {
    max-width: 70%; /* more breathing room on smaller screens */
    font-size: 1.05rem;
    word-spacing: -0.05em;
  }
}

/* ====================== IMAGE SECTION ====================== */

.image-section {
  max-width: 100%;
  margin: 0 auto;
  /* padding: 0 5%; */
}

.about-image {
  max-width: 60%;
  margin: 0 auto;
  display: block;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 25px var(--lrh-color-11);
}

/* ====================== MOBILE ADJUSTMENTS (15% margin) ====================== */

@media (max-width: 768px) {
  .paragraph-text {
    max-width: 70%; /* 15% margin each side on mobile */
    font-size: 1.1rem;
    margin: 2rem auto;
  }

  .about-image {
    max-width: 70%; /* 15% margin each side on mobile */
  }
}

/* Optional: Extra spacing control */
.image-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* - - - - - - - lrh-footer-01 - - - - - - - */
.lrh-footer {
  background: linear-gradient(225deg, var(--lrh-color-01) 0%, var(--lrh-color-04) 100%);
  color: var(--lrh-color-12);
  text-align: center;
  padding: 15px;
  font-family: "Alike", serif;
  font-size: 1.75rem;
  border-radius: 0px 0px 0px 0px;
  place-items: center;
}

/* - - - - - - - socials container - - - - - - - */
.socials-container {
  padding-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.socials-container a {
  background-color: var(--lrh-color-12);
  padding: 0.75em;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 10px var(--lrh-color-11);
}

.socials-container a svg {
  height: 32px;
  fill: var(--lrh-color-02);
}

.socials-container a::before {
  content: attr(data-social);
  position: absolute;
  background-color: var(--lrh-color-01);
  color: var(--lrh-color-12);
  font-size: 18px;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 100px;
  box-shadow: 0 5px 10px var(--lrh-color-11);
  transform: translateY(-30px) rotate(25deg);
  opacity: 0;
  /* - - - - - - - a wee bit of a bounce - - - - - - - */
  transition: 200ms cubic-bezier(0.42, 0, 0.44, 1.68);
}

.socials-container a:hover {
  background-color: var(--lrh-color-01);
  fill: var(--lrh-color-12);
}

.socials-container a:hover svg {
  fill: var(--lrh-color-12);
}

/* - - - - - - - triangle - - - - - - -  */
.socials-container a::after {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 11px solid var(--lrh-color-01);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(0.42, 0, 0.44, 1.68);
}

.socials-container a:hover::before {
  transform: translateY(-65px) rotate(0);
  opacity: 1;
}

.socials-container a:hover::after {
  transform: translateY(-42px) rotate(0);
  opacity: 1;
}
