/* style.css
   Color palette chosen to match the logo:
   - deep navy: #0B3B6F
   - cyan-teal:  #2EC4D6
   - soft gray:  #F5F7FA
   - text dark:  #0B2A44
*/

/* ---------- Global ---------- */
* { box-sizing: border-box; }
html,body { height: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #F5F7FA; /* soft light background */
  color: #0B2A44;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ---------- Header ---------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(11,58,111,0.06);
  z-index: 120;
  box-shadow: 0 6px 18px rgba(11,58,111,0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

/* logo */
.logo img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* nav (desktop) */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #0B3B6F; /* navy */
  text-decoration: none;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .18s ease, color .18s ease, transform .12s ease;
}

.nav-link:hover {
  background: rgba(46,196,214,0.08);
  color: #0B2A44;
  transform: translateY(-1px);
}

/* hamburger (mobile) */
.hamburger {
  display: none; /* mobile shows it */
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
}
.hamburger svg rect { fill: #0B3B6F; }

/* ---------- Mobile Sidebar (hidden by default) ---------- */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -8px 0 24px rgba(11,58,111,0.08);
  transition: right .28s ease;
  z-index: 220;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 24px rgba(11,58,111,0.08);
  transition: right .28s ease;
  z-index: 220;
}

.mobile-sidebar.open {
 right: 0;
}

.mobile-nav-links {
 display: flex;
 flex-direction: column;
 gap: 2rem;
 list-style: none;
}

.mobile-nav-links a {
  color: #0B3B6F;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .18s ease, color .18s ease, transform .12s ease;
}

.mobile-nav-links .active {
 color: #2EC4D6;
}


.mobile-sidebar-inner {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-close {
  background: #2EC4D6;
  border-color: #ddd;
  border-style: solid;
  border-width: 2px;
  color: #fff;
  border-radius: 0.5rem;
  height: 2rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 20px 60px; /* leave room for fixed header */
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

/* flyer image */
.flyer img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(11,58,111,0.08);
  display: block;
}

/* hero copy */
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1;
  color: #0B3B6F; /* navy headline */
  margin: 0;
}

.hero-copy .tagline {
  font-size: 18px;
  color: #2EC4D6; /* accent teal */
  font-weight: 600;
  margin-top: -6px;
}

.lead {
  color: #34495e;
  font-size: 16px;
  max-width: 560px;
}

/* buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-primary {
  background: #0B3B6F; /* navy */
  color: #fff;
  box-shadow: 0 6px 20px rgba(11,58,111,0.12);
}
.btn-primary:hover { transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: #0B3B6F;
  border: 2px solid rgba(11,58,111,0.12);
}
.btn-outline:hover {
  background: rgba(46,196,214,0.06);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 48px;
  padding: 30px 20px;
  text-align: center;
  color: #6b7a89;
  font-size: 14px;
  border-top: 1px solid rgba(11,58,111,0.04);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .flyer img { max-width: 720px; margin: 0 auto; }
  .header-inner { padding: 12px 16px; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }        /* hide desktop nav on small screens */
  .hamburger { display: inline-flex; } /* show hamburger */
  .logo img { height: 48px; }

  .hero {
    padding: 92px 18px 40px;
  }

  .hero-copy h1 { font-size: 26px; }
  .hero-copy .tagline { font-size: 14px; }
}

/* Smallest phones */
@media (max-width: 420px) {
  .hero-copy .lead { font-size: 14px; }
  .hero-inner { gap: 20px; }
}

/* Highlight active nav link */
.nav-link.active {
  color: #2EC4D6; /* teal highlight */
  font-weight: 600;
}

/* Optional: lock scroll when sidebar open */
body.no-scroll {
  overflow: hidden;
}

/* Sidebar open state */
#mobileSidebar.open {
  transform: translateX(0);
  opacity: 1;
}

/* ensure this appears after the .mobile-sidebar rule or in your store.css/search.css */
.mobile-sidebar {
  right: -100%;
  transition: right .28s ease;
}
.mobile-sidebar.open {
  right: 0;
}