/* Base reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #0f172a;
}

/* GLOBAL SECTION SPACING */
.section { margin-top: 56px; }
@media (min-width: 900px){ .section { margin-top: 72px; } }

.wrap{
  width: min(1400px, 92%);
  margin: 0 auto;
}

/* SHELL WRAPPER (NAV + HERO) */
.site-shell {
  width: min(1400px, 92%);
  margin: 14px auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  overflow: hidden;
}

/* NAV */
.topbar { background: #fff; position: relative; z-index: 10; }
.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 28px;
  gap: 16px;
}

.nav-menu{ display: flex; } /* mobile will override */

.nav-left { display: flex; gap: 26px; align-items: center; }

.nav-link {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
}
.nav-link:hover { opacity: 1; }

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img{
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-brand{
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  text-decoration: none;
}
.icon-btn:hover { background: rgba(15, 23, 42, 0.06); }

/* =========================
   MOBILE NAV / HAMBURGER
========================= */
.hamburger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span{
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* Overlay */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 8;
}

/* ACTIVE STATES (JS toggles .open) */
.nav-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

.hamburger.open span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2){
  opacity: 0;
}
.hamburger.open span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  min-height: 520px;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  padding: 56px 20px 70px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 720px;
  padding: 10px 10px;
}
.hero-content h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero-content p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.92;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  background: #0b3fb5;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 6px 18px rgba(11,63,181,0.35);
}
.hero-btn:hover { filter: brightness(0.95); }

/* FEATURED COLLECTIONS (HALF-SIZED + STABLE) */
.fc{
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 28px 0;
}

.fc-panel{
  width: min(1400px, 92%);
  margin: 0 auto;
  background: #f3f4f6;
  border-radius: 18px;
  padding: 22px 22px;

  min-height: 44vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fc-title{
  margin: 6px 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.fc-grid{
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: stretch;
  flex: 1;
}

.fc-card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.fc-big{
  border: 1px solid rgba(15, 23, 42, 0.12);
  height: 100%;
  min-height: 300px;
}

.fc-stack{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 100%;
  min-height: 300px;
}

.fc-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-badge{
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.fc-glass{
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: min(420px, calc(100% - 44px));
  padding: 18px 18px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  z-index: 3;
}

.fc-glass h3{
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.fc-glass p{
  margin: 0 0 14px;
  font-size: 13px;
  opacity: 0.9;
}

.fc-cta{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px 0 16px;
  border-radius: 12px;
  background: #0b3fb5;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(11, 63, 181, 0.35);
}

.fc-cta-icon{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 16px;
  line-height: 1;
}

.fc-stroke{
  background: transparent;
  border: 2px solid #0b3fb5;
  border-radius: 16px;
  overflow: hidden;
}

.fc-inner{
  margin: 10px;
  border-radius: 12px;
  overflow: hidden;
  height: calc(100% - 20px);
  background: #fff;
}

/* ABOUT */
.about-card{
  background: #f3f4f6;
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}

.about-left{
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.about-kicker{
  margin: 0 0 6px;
  font-size: 12px;
  opacity: .7;
}

.about-title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.about-text{
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  opacity: .8;
  max-width: 560px;
}

.about-points{
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  opacity: .85;
}

.about-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #0b3fb5;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(11,63,181,0.25);
}

.about-right{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  background: #fff;
  height: 100%;
  min-height: 320px;
}

.about-right img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* WHY */
.why { padding: 0 0 10px; }
.why-head { margin-bottom: 14px; }
.why-kicker { margin: 0; font-size: 12px; opacity: .7; }
.why-title { margin: 4px 0 0; font-size: 22px; font-weight: 900; }
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.why-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}
.why-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(11,63,181,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color:#0b3fb5;
  margin-bottom: 10px;
}
.why-card h3{ margin: 0 0 6px; font-size: 14px; }
.why-card p{ margin: 0; font-size: 13px; opacity: .75; line-height: 1.5; }

/* SHOP */
.shop-top{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.shop-title{ margin: 0; font-size: 22px; font-weight: 900; }
.shop-controls{
  display:flex;
  gap: 12px;
  align-items:flex-end;
  flex-wrap: wrap;
}
.select{
  display:flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  opacity: .85;
}
.select select{
  height: 38px;
  min-width: 170px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.14);
  padding: 0 12px;
  outline: none;
  background: #fff;
}

.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.p-card{
  background:#fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}
.p-card img{
  width:100%;
  height: 160px;
  object-fit: cover;
  display:block;
}
.p-body{ padding: 14px; }
.p-body h3{ margin: 0 0 8px; font-size: 14px; }
.p-meta{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 12px;
  font-size: 12px;
  opacity: .85;
}
.p-price{ font-weight: 800; }
.p-stars{ letter-spacing: 1px; }
.p-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width: 100%;
  height: 38px;
  border-radius: 12px;
  background:#0b3fb5;
  color:#fff;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
}
.p-btn:hover{ filter: brightness(.96); }

/* FOOTER (MATCHING SCREENSHOT) */
.footer2{
  padding: 34px 0 22px;
  background: #fff;
}

.footer2-top{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 24px;
  padding: 18px 0 26px;
}

.footer2-left{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}

.footer2-logo{
  width: 34px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.footer2-info p{
  margin: 0;
  line-height: 1.45;
  font-size: 18px;
  color: #344054;
}

.footer2-info a{
  color: #344054;
  text-decoration: none;
}

.footer2-info a:hover{
  text-decoration: underline;
}

.footer2-sub{
  display:flex;
  gap: 14px;
  align-items:center;
  margin-top: 10px;
}

.footer2-sub input{
  width: min(420px, 52vw);
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,0.12);
  padding: 0 18px;
  font-size: 18px;
  outline: none;
}

.footer2-sub button{
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  background: #0b3fb5;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(11,63,181,0.25);
}

.footer2-sub button:hover{
  filter: brightness(.95);
}

.footer2-line{
  height: 1px;
  background: rgba(15,23,42,0.12);
  margin: 18px 0 18px;
}

.footer2-bottom{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 16px;
  padding-bottom: 8px;
}

.footer2-socials{
  display:flex;
  gap: 18px;
}

.soc{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(15,23,42,0.08);
  color: #0f172a;
  text-decoration:none;
  font-weight: 800;
  font-size: 14px;
}

.soc:hover{
  background: rgba(11,63,181,0.14);
  color: #0b3fb5;
}

.footer2-copy{
  font-size: 18px;
  color: rgba(52,64,84,0.7);
  text-align: right;
}

.muted{ opacity: .65; }

/* Responsive */
@media (max-width: 980px){
  .fc{
    min-height: auto;
    padding: 28px 0 44px;
    align-items: stretch;
  }

  .fc-panel{
    min-height: auto;
    justify-content: flex-start;
  }

  .fc-grid{
    grid-template-columns: 1fr;
  }

  .fc-big{
    min-height: 340px;
  }

  .fc-stack{
    min-height: auto;
    grid-template-rows: 220px 220px;
  }

  .about-card{
    grid-template-columns: 1fr;
  }
  .about-right{
    min-height: 240px;
  }

  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 820px){
  .footer2-top{
    flex-direction: column;
  }
  .footer2-sub{
    width: 100%;
  }
  .footer2-sub input{
    width: 100%;
  }
  .footer2-bottom{
    flex-direction: column;
    align-items:flex-start;
  }
  .footer2-copy{
    text-align:left;
  }
}

/* Mobile nav + rest */
@media (max-width: 520px){
  .nav-grid{
    grid-template-columns: auto 1fr auto;
    padding: 14px 16px;
  }

  /* Menu becomes a dropdown panel */
  .nav-menu{
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(15,23,42,0.1);
    transform: translateY(-120%);
    transition: transform .25s ease;
    z-index: 9;
    padding: 22px 22px 28px;
  }

  .nav-menu.open{
    transform: translateY(0);
  }

  .nav-left{
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .nav-link{ font-size: 16px; }

  .hamburger{
    display: flex;
  }

  .hero{ min-height: 460px; }
  .hero-content h1{ font-size: 34px; }
  .hero-content p{ font-size: 13px; }

  .why-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: 1fr; }
}
