/* ====================== 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;
  background-color: var(--lrh-color-12);
  font-family: "Commissioner-Regular", sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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;
}

/* Reduced motion support */
@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;
}

/* ====================== Color Palette ====================== */
: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(50% 0.25 135 / 100%);
  --lrh-color-08: oklch(50% 0.25 0 / 100%);
  --lrh-color-09: oklch(91% 0.06 74 / 100%);
  --lrh-color-10: oklch(0.3918 0.0811 71.62 / 100%);
  --lrh-color-11: oklch(0.3918 0.0811 71.62 / 18%); /* glow shadow */
  --lrh-color-12: oklch(100% 0 0);
}

/* ====================== 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;
  box-shadow: 0 0 14px var(--lrh-color-10);
}

.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;
  background: none;
  border: none;
}

.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;
  box-shadow: 0 10px 20px var(--lrh-color-11);
  overflow-y: auto;
}

.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;
  color: var(--lrh-color-12);
  text-align: center;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  background-color: var(--lrh-color-04);
  padding-left: 30px;
}

.nav-links .nav-cta-button {
  padding: 14px 35px;
  font-size: 18px;
  border: 2px solid var(--lrh-color-12);
  border-radius: 40px;
  background: transparent;
  color: var(--lrh-color-12);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 20px auto;
}

.nav-links .nav-cta-button:hover {
  background-color: var(--lrh-color-04);
  transform: scale(1.05);
}

.menu-spacer {
  display: flex;
  justify-content: center;
}

/* Desktop Navigation */
@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;
  }

  .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-radius: 45px;
    height: 44px;
  }
}

/* ====================== Hero Section ====================== */
.hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 350px;
  overflow: hidden;
  border-radius: 0 0 40px 0;
  box-shadow: 0 0 30px 20px var(--lrh-color-11);
}

.hero-picture,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  gap: 1.5rem;
}

.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);
  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);
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards;
  animation-delay: 600ms;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
  .hero-content h3 {
    font-size: 1.4rem;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================== Text & Images ====================== */
.text-section {
  max-width: 100%;
  padding: 0 5%;
  margin: 3rem auto 2rem;
}

.paragraph-text {
  max-width: 100%;
  margin: 1rem auto;
  font-family: "Alike", sans-serif;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--lrh-color-02);
}

.image-wrapper {
  margin: 3.5rem auto;
  text-align: center;
  max-width: 100%;
  padding: 0 5%;
}

.lrh-image {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 10px 10px 30px 10px;
  box-shadow: 0 0 30px 20px var(--lrh-color-11);
}

/* Desktop Content Layout */
@media (min-width: 769px) {
  .text-section,
  .image-wrapper {
    max-width: 680px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .paragraph-text {
    font-size: 1.32rem;
    margin: 2.5rem auto;
  }
}

@media (min-width: 1200px) {
  .text-section,
  .image-wrapper {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .paragraph-text {
    max-width: 90%;
    font-size: 1.15rem;
    margin: 2rem auto;
  }
  .lrh-image {
    width: 90%;
  }
}

/* ====================== Scroll Animation ====================== */
.scroll-move {
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.text-section.scroll-move {
  transform: translateY(80px);
}
.image-wrapper.scroll-move {
  transform: translateY(100px);
}

@media (max-width: 768px) {
  .text-section.scroll-move {
    transform: translateY(50px);
  }
  .image-wrapper.scroll-move {
    transform: translateY(70px);
  }
}
/* ====================== Banner Section ====================== */

.banner {
  width: 100%;
  display: block;
  margin: 4rem auto 4rem; /* Balanced top + bottom margin */
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--lrh-color-11);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Banner */
.banner-mobile {
  height: 200px;
  display: block;
}

/* Desktop Banner */
.banner-desktop {
  height: 300px;
  display: none;
}

/* Show desktop banner on larger screens */
@media (min-width: 769px) {
  .banner-mobile {
    display: none;
  }
  .banner-desktop {
    display: block;
  }
}
/* ====================== Footer ====================== */
.lrh-footer {
  position: relative;
  background: linear-gradient(225deg, var(--lrh-color-01) 0%, var(--lrh-color-04) 100%);
  color: var(--lrh-color-12);
  padding: 70px 20px 50px;
  text-align: center;

  /* Control space above footer here */
  margin-top: 6rem; /* ← Reduced from 10rem / 8rem */
}

.socials-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.socials-container a {
  background-color: var(--lrh-color-12);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px var(--lrh-color-11);
  transition: all 0.3s ease;
}

.socials-container a svg {
  width: 32px;
  height: 32px;
  fill: var(--lrh-color-02);
  transition: fill 0.3s ease;
}

.socials-container a:hover {
  transform: translateY(-4px) scale(1.08);
  background-color: var(--lrh-color-01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.socials-container a:hover svg {
  fill: var(--lrh-color-12);
}

.cc-license {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.95;
}

.cc-license a {
  display: flex;
  gap: 6px;
}

.cc-license img {
  height: 28px;
  width: auto;
}

.cc-license p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Mobile Footer Adjustments */
@media (max-width: 768px) {
  .lrh-footer {
    padding: 60px 20px 45px;
    margin-top: 5rem; /* Smaller on mobile */
  }
}

.socials-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.socials-container a {
  background-color: var(--lrh-color-12);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px var(--lrh-color-11);
  transition: all 0.3s ease;
}

.socials-container a svg {
  width: 32px;
  height: 32px;
  fill: var(--lrh-color-02);
  transition: fill 0.3s ease;
}

/* ====================== Back to Top Arrow ====================== */
.back-to-top {
  position: absolute;
  top: -20px; /* Half sticks out above footer */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 40px; /* Base size for mobile */
  height: 40px;
}

.back-to-top a {
  display: block;
  width: 100%;
  height: 100%;
}

.back-to-top img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Prevents distortion */
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.back-to-top:hover img {
  transform: scale(1.12) translateY(-6px);
}

/* Desktop adjustments */
@media (min-width: 769px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    top: -20px; /* Adjust overlap for larger arrow */
  }
}
