/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-offwhite: #f5f3f0;
  --color-gray: #6b6b6b;
  --color-light-gray: #e0ddd9;
  --font-main: "General Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

p strong {font-size: inherit;
  font-weight: 700;
color:#000;}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  font-size: 1.05rem;
  color: var(--color-gray);
}

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Header ─── */
.header {
  position: relative;
  z-index: 100;
  background: var(--color-white);
  padding: 2.2rem 2rem 1.4rem;
  text-align: center;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.header__logo img {
  height: 100px;
  width: auto;
}

.header__nav ul {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.header__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: var(--color-gray);
}

/* ─── Mobile menu (CSS-only, checkbox hack) ─── */
.menu-checkbox {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 26px;
  height: 16px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 200;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-black);
  border-radius: 1px;
}

/* Full-screen overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 150;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.mobile-menu__close {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
}

.mobile-menu__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu__nav a {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.mobile-menu__nav a:hover {
  color: var(--color-gray);
}

/* When checkbox is checked: show overlay, hide hamburger */
.menu-checkbox:checked ~ .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.menu-checkbox:checked ~ .header__top .menu-icon {
  visibility: hidden;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* ─── About Section ─── */
.about {
  padding: 6rem 0;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  border-radius: 8px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.about__content h2 {
  margin-bottom: 1.5rem;
}

.about__content p {
  margin-bottom: 1rem;
}

.about__content p:last-child {
  margin-bottom: 0;
}

.about__content h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.about__content a {
  color: var(--color-gray);
  transition: color 0.2s;
}

.about__content a:hover {
  color: var(--color-black);
}

/* ─── Features / Cards Section ─── */
.features {
  padding: 6rem 0;
  background: var(--color-offwhite);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
}

.card__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.8rem;
}

.card__body h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card__body p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─── Image Break Section ─── */
.image-break {
  height: 70vh;
  min-height: 350px;
  overflow: hidden;
}

.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}

/* ─── Footer ─── */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--color-light-gray);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__logo img {
  height: 50px;
  width: auto;
}

.footer__col h3 {
  margin-bottom: 1rem;
  color: var(--color-black);
}

.footer__col p,
.footer__col a {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.8;
}

.footer__col a:hover {
  color: var(--color-black);
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-black);
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-light-gray);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--color-gray);
}

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

  .about__image {
    order: -1;
  }

  .about__image img {
    aspect-ratio: 16 / 9;
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 1rem 1.5rem;
  }

  .header__top {
    justify-content: space-between;
    margin-bottom: 0;
  }

  .header__logo img {
    height: 60px;
  }

  .header__nav {
    display: none;
  }

  .menu-icon {
    display: flex;
  }

  .hero {
    height: 50vh;
  }

  .about {
    padding: 4rem 0;
  }

  .features {
    padding: 4rem 0;
  }

  .image-break {
    height: 40vh;
  }

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