/* ChatbotFarm.ai – Global Styles (static, framework-free) */

:root{
  --ink:#0a0a0a;
  --muted:#4b5563;         /* slate-600 */
  --bg:#ffffff;
  --panel:#f8fafc;         /* slate-50 */
  --line: rgba(10,10,10,.12);

  /* complementary accents (subtle) */
  --blue:#1f4e79;
  --green:#2f6b3f;
  --orange:#f2a140;

  --radius:16px;
  --radius-lg:22px;
  --shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* Base reset */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.5;
}

/* IMPORTANT: no global main padding (per your requirement) */
main{ padding:0; }

/* Reasonable defaults */
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Type scale */
h1,h2,h3{ line-height:1.15; margin:0 0 .5rem; letter-spacing:-0.02em; }
h1{ font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; }
h2{ font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; }
p{ margin:.5rem 0 1rem; color: var(--muted); }
ul{ margin:.5rem 0 1rem; padding-left: 1.25rem; color: var(--muted); }
li{ margin:.35rem 0; }

/* ---------------------------------------------
   HEADER / NAV
--------------------------------------------- */
.site-header{
  width:100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  display:flex;
  align-items:center;
  gap:12px;
}

.nav-brand{
  font-weight: 900;
  letter-spacing:-0.02em;
  font-size: 1.1rem;
  color: var(--ink);
  white-space: nowrap;
}

/* Mobile toggle */
.mobile-toggle{
  margin-left:auto;
  border:1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  cursor:pointer;
}

/* Desktop nav container */
.site-header nav{
  margin-left:auto;
}

/* Primary menu */
.nav-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 14px;
}

/* Links */
.nav-menu > li > a,
.nav-menu > li > span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--ink);
  border:1px solid transparent;
}

/* CTA */
.nav-menu > li:last-child > a{
  background: var(--ink);
  color:#fff;
  border-color: rgba(0,0,0,.12);
  text-decoration:none;
}

/* Hover */
.nav-menu > li > a:hover,
.nav-menu > li > span:hover{
  background: var(--panel);
  border-color: var(--line);
  text-decoration:none;
}

/* Dropdown positioning */
.nav-menu > li{
  position:relative;
}

/* Dropdown hidden by default */
.dropdown-menu{
  display:none;
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  list-style:none;
  margin:0;
  padding: 8px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 1000;
}

/* Show dropdown on hover (desktop) */
.nav-menu > li:hover > .dropdown-menu{
  display:block;
}

/* Dropdown items */
.dropdown-menu li{ margin:0; }
.dropdown-menu a{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration:none;
}
.dropdown-menu a:hover{
  background: var(--panel);
}

/* ---------------------------------------------
   MOBILE NAV BEHAVIOR
--------------------------------------------- */
/* On mobile, hide the nav list by default; JS toggles "hidden" class */
@media (max-width: 900px){
  .site-header{
    flex-wrap: wrap;
  }
  .site-header nav{
    width:100%;
    margin-left:0;
  }
  .nav-menu{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
  }
  .nav-menu > li > a,
  .nav-menu > li > span{
    justify-content: space-between;
    width:100%;
    border:1px solid var(--line);
    background:#fff;
  }

  /* Disable hover dropdown on mobile; keep dropdown visible inside the flow */
  .dropdown-menu{
    position: static;
    display:block;
    box-shadow:none;
    border:none;
    padding: 6px 6px 0 6px;
    background: transparent;
    min-width: 0;
  }
  .dropdown-menu a{
    border: 1px solid var(--line);
    background: var(--panel);
    margin-top: 6px;
  }

  /* On mobile, CTA remains bold and full width */
  .nav-menu > li:last-child > a{
    background: var(--ink);
    color:#fff;
    border-color: rgba(0,0,0,.12);
  }
}

/* Utility "hidden" (used by site.js toggleMenu) */
.hidden{ display:none !important; }

/* ---------------------------------------------
   MAIN SECTIONS (full width, minimal spacing)
   You can refine per page later. This keeps
   the content readable without wasting width.
--------------------------------------------- */
main > section{
  padding: 26px 16px;  /* safe edge spacing, not stacked containers */
  border-bottom: 1px solid rgba(0,0,0,.06);
}

@media (min-width: 900px){
  main > section{
    padding: 34px 24px;
  }
}

/* Make the first section feel like a hero without heavy design */
.hero{
  background: #fff;
}
.hero .hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Default button style for simple <a> CTAs inside content */
.hero .hero-actions a,
.pricing a[href="#book"],
.booking a[href="#book"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  text-decoration:none;
}
.hero .hero-actions a:first-child{
  background: var(--ink);
  color:#fff;
  border-color: rgba(0,0,0,.12);
}
.hero .hero-actions a:hover{
  filter: brightness(0.98);
}

/* Booking iframe: full width */
.booking iframe{
  width:100%;
  border:0;
  border-radius: 12px;
  overflow:hidden;
  background:#fff;
}

/* ---------------------------------------------
   FOOTER
--------------------------------------------- */
.site-footer{
  border-top: 1px solid var(--line);
  background:#fff;
  padding: 22px 16px;
}

.footer-brand{
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.site-footer nav{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 14px;
}

.site-footer nav a{
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid transparent;
}
.site-footer nav a:hover{
  background: var(--panel);
  border-color: var(--line);
  text-decoration:none;
}

.site-footer p{
  margin: 8px 0;
  color: var(--muted);
}
