/* RESET & GLOBALS ------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #E6E0D4;
  color: #1F2933;
  line-height: 1.6;
}

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

/* HEADER --------------------------------------------------- */
header {
  background-color: #18353A;
  color: #E6E0D4;
  padding: 1rem 1.2rem;
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-group img {
  height: 80px;
  width: 80px;
}

.site-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

/* LAYOUT WRAPPER ------------------------------------------ */
main {
  max-width: 960px;
  margin: 1rem auto 3.5rem;
  padding: 0 1.5rem;
}

/* HERO SECTION -------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero-text h2 {
  font-size: 1.25rem;
  color: #4B5563;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-primary {
  background-color: #C58F5C;
  color: #1F2933;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-secondary {
  border-radius: 999px;
  border: 1px solid #C58F5C;
  padding: 0.6rem 1.3rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.35);
}

/* CONTENT SECTIONS ---------------------------------------- */
.section {
  margin-top: 3rem;
}

.section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.section p {
  margin-bottom: 0.75rem;
}

.section ul {
  margin-left: 1.25rem;
  margin-top: 0.2rem;
}

.section li {
  margin-bottom: 0.4rem;
}

/* PRICING CARDS -------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background-color: #F5F1E8;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 4px 10px rgba(15,23,42,0.08);
}

.card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.card .price {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card small {
  display: block;
  color: #6B7280;
  margin-bottom: 0.5rem;
}

/* PRICING CTA ---------------------------------------------- */
.pricing-row {
  margin-top: 1.75rem;
}

.pricing-row .hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.5rem;
}

.pricing-row .btn-primary {
  flex-shrink: 0;
}

.pricing-note {
  flex: 1;
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.5;
  margin: 0;
}

/* ABOUT SECTION -------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 2rem;
}

.about-layout img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.35);
}

/* CONTACT --------------------------------------------------- */
.contact-block {
  background-color: #F5F1E8;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(15,23,42,0.08);
  margin-top: 1.5rem;
}

/* FOOTER ---------------------------------------------------- */
footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  color: #4B5563;
  font-size: 0.8rem;
}

/* RESPONSIVE BREAKPOINTS ---------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */
@media (max-width: 768px) {

  /* Hide nav links */
  nav ul {
    display: none;
  }

  .nav-container {
    justify-content: flex-start;
  }

  /* Stack hero vertically */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  /* Ensure hero image is 100% centered */
  .hero-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-image img {
    margin: 0 auto;
  }

  /* Hide the top hero image entirely on mobile */
  .mobile-hide {
    display: none !important;
  }

  /* About section stacked + nicer spacing */
  .about-layout {
    grid-template-columns: 1fr;
  }

  #about p {
    margin-bottom: 0.9rem;
  }

  #about ul {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }

  /* Pricing CTA wraps nicely */
  .pricing-row .hero-actions {
    flex-wrap: wrap;
  }
}

/* VERY SMALL MOBILE */
@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-lower-btn {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .logo-group {
    gap: 0.2rem;
  }

  .logo-group img {
    height: 55px;
    width: auto;
  }
}
  
/* Desktop: fixed header */
@media (min-width: 900px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  /* Push content down so it doesn't hide under the header */
  body {
    padding-top: 120px;
  }
}

/* Offset in-page anchors so fixed header doesn't cover them */
@media (min-width: 900px) {
  #home,
  #pricing,
  #about,
  #contact {
    scroll-margin-top: 120px; /* match or slightly less than your header height */
  }
}

/* Mobile: reduce top margin so the hero sits higher */
@media (max-width: 600px) {
  main {
    margin-top: 1rem;   /* or 0 if you want it tight */
  }
}

