/* --- Root Variables --- */
:root {
  --bg: #FFFFFF;
  --cream: #FDF7F4;
  --peach: #F9E8E0;
  --text: #0C0907;
}

/* --- Base Styles --- */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.9;
  letter-spacing: 0.2px;
  margin: 0;
  padding: 0;
}

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

/* --- Typography --- */
h1 {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

h3, h4, h5 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 30px;
}

p {
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Spacing --- */
section {
  padding-top: 220px;
  padding-bottom: 220px;
}

.hero {
  padding-top: 280px;
  padding-bottom: 280px;
  background-color: var(--cream);
}

.container {
    margin-top: 8em;
    margin-bottom: 8em;
}

footer {
  padding-top: 220px;
  padding-bottom: 180px;
  background-color: var(--cream);
  font-size: 1rem;
}

/* --- Buttons --- */
.btn {
  padding: 18px 36px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.btn-dark {
  background-color: var(--text);
  color: #fff;
  border: none;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.btn:hover {
  opacity: 0.9;
}

/* --- Footer Layout --- */
footer .row > div {
  margin-bottom: 50px;
}

footer h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* --- GSAP Animation Classes --- */
.gs-fade,
.gs-fade-up {
  opacity: 0;
  transform: translateY(40px);
}

.gs-fade.delay-1 { transition-delay: 0.2s; }
.gs-fade.delay-2 { transition-delay: 0.4s; }

.gs-fade-up.delay-1 { transition-delay: 0.2s; }
.gs-fade-up.delay-2 { transition-delay: 0.4s; }


/* --- Media Queries --- */
@media (max-width: 992px) {
  section {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .hero {
    padding-top: 200px;
    padding-bottom: 200px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  footer {
    padding-top: 140px;
    padding-bottom: 100px;
  }
}

.carousel-grid-wrapper {
  overflow-x: hidden;
  width: 100%;
}

.carousel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  width: max-content; /* Needed for GSAP scrolling */
}

.carousel-tile {
  width: 350px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.carousel-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.carousel-tile img:hover {
  transform: scale(1.03);
}
