/* Palette inspired by the provided logo */
:root{
  --brown-900:#5a3518;
  --brown-700:#7b4f25;
  --brown-500:#9a6a3b;
  --sand-100:#f6efe5;
  --sand-50:#fbf7f2;
  --ink:#2b2622;
  --muted:#7c6f66;
  --white:#ffffff;

  /* Accent now uses the warm brown instead of purple */
  --accent: var(--brown-700);
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(154,106,59,0.08), transparent 50%),
    radial-gradient(900px 500px at 110% 10%, rgba(122,90,58,0.06), transparent 50%),
    linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding-bottom: 3rem;
}

/* ——— Top navigation (copied from attached login file) ——— */
.navbar {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 40;
}
.navbar-brand {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--brown-900); /* changed to brown */
  text-decoration: none;
  font-family: "Playfair Display", serif;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand img {
  height: 32px;
  width: auto;
}
.navbar-menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items:center;
}
.navbar-menu a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  font-size: .94rem;
}
.navbar-menu a:hover { color: var(--brown-700); }

/* Layout container */
.container {
  max-width: 1100px;
  margin: 1rem auto;
  padding: 0 1rem;
}

/* MOBILE-FIRST: Hero stacks vertically on small screens, expands to two-column at larger breakpoints */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 0.5rem;
}

.kicker{
  display:inline-block;
  background: rgba(154,106,59,0.10);
  color: var(--brown-900);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .4px;
}

.hero h1{
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.6rem; /* mobile-first */
  color: var(--brown-900);
  margin: .6rem 0 .5rem;
  letter-spacing: -.02em;
}
.hero p.lead{
  color: var(--muted);
  font-size: .98rem;
  max-width: 60ch;
  margin-bottom: .6rem;
}

.cta-row{
  display:flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .7rem;
}
.cta-btn{
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-size:.95rem;
}
/* Primary CTA uses warm browns now */
.cta-primary{
  background: linear-gradient(180deg, var(--brown-700), var(--brown-900));
  color: #fff;
  box-shadow: 0 8px 18px rgba(90,53,24,.14);
}
/* Ghost / secondary CTA uses creams and browns */
.cta-ghost{
  background: linear-gradient(180deg, var(--sand-50), var(--sand-100));
  color: var(--brown-900);
  border: 1px solid rgba(90,53,24,0.06);
}

/* Carousel placeholder with subtle film look */
.carousel-shell{
  position: relative;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
}
.film-top,
.film-bottom{
  height: 12px;
  background:
    repeating-linear-gradient(
      to right,
      rgba(90,53,24,.18) 0 12px,
      transparent 12px 44px
    ),
    linear-gradient(180deg, rgba(122,90,58,.14), rgba(122,90,58,.10));
  opacity: 0;
}
.carousel-stage{
  height: 220px; /* mobile-first height */
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.pane{
  border-radius: 10px;
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-900);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  width: 100%;
  height: 100%;
}
.pane.single-image {
  background: transparent;
}
.tag{
  position:absolute;
  top:8px;
  left:8px;
  background: rgba(255,255,255,.85);
  color: var(--muted);
  border: 1px solid rgba(0,0,0,.04);
  font-size:.78rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  transition: opacity 0.5s ease-in-out;
}

.carousel-image.fade-out {
  opacity: 0;
}

.carousel-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.btn-carousel-cta {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 2rem;
  background: linear-gradient(180deg, #7b4f25, #5a3518);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(90, 53, 24, 0.2);
}

.btn-carousel-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(90, 53, 24, 0.3);
}

.btn-carousel-cta:active {
  transform: translateY(0);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #7b4f25;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.carousel-dot:hover {
  transform: scale(1.2);
}

.carousel-dot.active {
  background: #7b4f25;
}

/* Feature grid */
.features{
  display:grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1.25rem;
}
.feature{
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 8px 14px rgba(0,0,0,0.04);
}
.feature h3{
  font-family:"Playfair Display", serif;
  color: var(--brown-900);
  margin-bottom: .3rem;
  font-size: 1.05rem;
}
.feature p{ color: var(--muted); font-size:.95rem; }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-top: 1rem;
}
.step{
  background: rgba(154,106,59,0.06);
  border: 1px solid rgba(90,53,24,0.08);
  padding: 12px;
  border-radius: 10px;
}
.step .num{
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--brown-900);
  color: #fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  margin-bottom: 6px;
}
.step h4{
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--brown-900);
  font-size:.98rem;
}
.step p{ color: var(--ink); font-size: .94rem; }

/* Bottom CTA */
.bottom-cta {
  max-width: 1100px;
  margin: 2.5rem auto 2rem;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
}

/* Footer */
footer{
  max-width: 1100px;
  margin: 1.5rem auto 2rem;
  padding: 0 1rem;
  color: var(--muted);
  text-align: center;
  font-size:.95rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Hamburger Menu */
.navbar-hamburger {
  display: none; /* Hidden by default (desktop) */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.navbar-hamburger span {
  width: 100%;
  height: 3px;
  background: var(--brown-900);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation when active */
.navbar-hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.navbar-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 759px) {
  .navbar-hamburger {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 60px; /* Below navbar */
    right: -100%; /* Hidden off-screen */
    width: 250px;
    height: calc(100vh - 60px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 9;
  }

  .navbar-menu.active {
    right: 0; /* Slide in from right */
  }

  .navbar-menu li {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .navbar-menu a {
    display: block;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(90, 53, 24, 0.1);
  }
}

/* Larger screens: switch hero to two columns and expand carousel */
@media (min-width: 760px){
  .hero { grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
  .carousel-stage{ height: 300px; grid-template-columns: 1fr 1fr; padding:12px; }
  .features{ grid-template-columns: repeat(3,1fr); margin-top:1.75rem; gap:1rem; }
  .steps{ grid-template-columns: repeat(3,1fr); margin-top:1.75rem; gap:1rem; }
  .hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
  
  /* Button left-aligned on tablet and desktop */
  .carousel-cta {
    justify-content: flex-start;
  }
  
  .btn-carousel-cta {
    width: auto;
    min-width: 200px;
  }
  
  .bottom-cta {
    justify-content: flex-start;
  }
}
@media (min-width: 1100px){
  .carousel-stage{ height: 360px; }
}
