/* styles.css
   Modern responsive styles for SusuKacang landing (matches provided HTML)
   - Mobile-first, then responsive breakpoints
   - Smooth transitions, reveal-on-scroll hooks (JS already present)
*/

/* 1) Fonts & root variables */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root{
  --bg: #fbfbfc;
  --card: #ffffff;
  --muted: #6b7280;
  --primary: #ffb400;     /* mustard */
  --primary-600: #e6a800;
  --accent: #ffdca1;
  --dark: #0f1724;
  --glass: rgba(255,255,255,0.62);
  --shadow: 0 16px 40px rgba(16,24,40,0.08);
  --soft-shadow: 0 8px 22px rgba(16,24,40,0.06);
  --radius: 14px;
  --container: 1100px;
  --gap: 20px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

/* 2) Basic reset */
* { box-sizing: border-box; }
html,body { height: 100%; }
body{
  margin: 0;
  background:linear-gradient(180deg, #fbfbfc 0%, #fff 100%);
  color: var(--dark);
  font-size: 16px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height: 1.45;
}

/* Utility container */
.container{ max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Smooth transitions default */
a,button,input,textarea,img {
  transition: all .22s cubic-bezier(.2,.9,.3,1);
}

/* Focus ring for accessibility */
:focus{ outline: 3px solid rgba(17,119,255,0.12); outline-offset: 3px; border-radius: 8px; }

/* 3) NAVBAR - glass + responsive */
.nav-wrap{
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.70));
  border-bottom: 1px solid rgba(16,24,40,0.04);
  transition: all .18s ease;
}
.nav-wrap.scrolled{
  box-shadow: 0 10px 30px rgba(16,24,40,0.06);
  transform: translateY(-1px);
}

.nav{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 0;
}
.brand{
  font-weight:700;
  color:var(--dark);
  text-decoration:none;
  font-size:1.6rem;
  letter-spacing: -0.02em;
}
.nav-toggle{
  display:none;
  margin-left:auto;
  background:transparent;
  border:0;
  font-size:1.25rem;
  cursor:pointer;
}
.nav-links{
  display:flex;
  gap:8px;
  list-style:none;
  margin-left:auto;
  margin-right:0;
  padding:0;
  align-items:center;
}
.nav-links li{ list-style:none; }
.nav-links a{
  display:inline-block;
  padding:8px 12px;
  border-radius:10px;
  text-decoration:none;
  color:var(--dark);
  font-weight:600;
  font-size:0.95rem;
}
.nav-links a:hover{ background: rgba(17,119,255,0.06); color:var(--dark); }
.nav-links .cta{
  background: linear-gradient(90deg,var(--primary),var(--primary-600));
  color: #0b0b0b;
  padding:9px 14px;
  box-shadow: 0 8px 22px rgba(255,180,0,0.12);
}
.hero{
  margin-bottom: 200px;
}

/* Mobile nav: overlay carsd */


/* 4) HERO - responsive grid */
.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items:center;
  padding:44px 0;
}
.hero-left{ order: 1; }
.hero-right{ order: 2; display:flex; justify-content:center; align-items:center; }

/* Hero text */
.eyebrow{
  color:var(--muted);
  font-weight:700;
  letter-spacing:0.06em;
  font-size:0.85rem;
  margin-bottom:8px;
}
.hero-left h1{
  font-size:1.6rem;
  margin: 6px 0 10px;
  color:var(--dark);
  line-height:1.02;
  font-weight:800;
}
.lead{
  color:var(--muted);
  max-width:640px;
  margin-bottom:16px;
  font-size:1rem;
}

/* Hero CTAs */
.hero-ctas{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:14px; }
.btn{ display:inline-block; border-radius:12px; padding:10px 14px; font-weight:700; text-decoration:none; cursor:pointer; border:0; }
.btn.primary{
  background: linear-gradient(90deg,var(--primary),var(--primary-600));
  color:#111;
  box-shadow: 0 10px 28px rgba(255,180,0,0.12);
}
.btn.primary:hover{ transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255,160,0,0.14); }
.btn.ghost{
  background: transparent;
  border: 1px solid rgba(15,23,36,0.06);
  color: var(--dark);
}

/* hero image card */
.hero-card{

  border-radius: 40px;

  box-shadow: var(--shadow);
  max-width: 480px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
 
}
.hero-card img{ width:100%; height:auto; border-radius: 40px; }

/* Trust chips */
.trust{ display:flex; gap:10px; margin-top: 14px; flex-wrap:wrap; }
.trust-item{
  background: rgba(255,255,255,0.98);
  padding:8px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:700;
  box-shadow: 0 8px 20px rgba(16,24,40,0.03);
  font-size:0.9rem;
}

/* 5) ABOUT section */


.about-grid{
  display:flex;
  flex-direction: row;
  justify-content: center;
  gap:20px;
    margin-bottom: 200px;
 
}
.about-media img{ 
  width:30%; border-radius:40px; box-shadow:var(--soft-shadow); 
  
 }
 .about-media{
  display: flex;
  justify-content: center;
 }
.about-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about-text h2{ 
  font-size:2.3rem; margin-bottom:10px; 
justify-content: center;}
.features{ display:flex; gap:12px; margin-top:14px; flex-wrap:wrap; }

/* feature card */
.feat{
  display:flex;
  gap:12px;
  align-items:center;
  background: linear-gradient(180deg,#fff,#fff);
  padding:10px;
  border-radius:12px;
  box-shadow: 0 6px 16px rgba(16,24,40,0.04);
  min-width: 180px;
}
.feat .icon{ font-size:1.4rem; }


/* note small */
.note{ color:var(--muted); font-size:0.92rem; margin-top:12px; }

/* 7) GALLERY */
.gallery{ padding:44px 0; }
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:14px;
}
.gallery-item img{
  width:100%;
  height: 220px;
  object-fit: cover;
    border-radius:14px;
  box-shadow: var(--soft-shadow);
  display:block;
  transition: transform .28s ease, box-shadow .28s ease;
}
.gallery-item img:hover{ transform: scale(1.04); box-shadow: 0 18px 60px rgba(16,24,40,0.12); }

/* 8) TESTIMONIALS */
.testimonials{ padding:36px 0; }
.test-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.test{
  background:var(--card);
  padding:16px;
  border-radius:12px;
  box-shadow:var(--soft-shadow);
}

/* 9) FAQ */
.faq{ padding:36px 0; }
details{
  background: var(--card);
  padding:12px;
  border-radius:10px;
  margin-bottom:10px;
  box-shadow:var(--soft-shadow);
}
summary{ font-weight:700; cursor:pointer; }



/* 11) FOOTER */
.site-footer{
  background: #fafafa;
  padding:20px 0;
  margin-top:40px;
}
.footer-grid{ display:flex; gap:20px; justify-content:space-between; align-items:center; flex-wrap:wrap; }
.footer-grid strong{ font-size:1.05rem; }

/* 12) Reveal animation hook (JS will add .in) */
.reveal{ opacity:0; transform: translateY(12px); transition: all .7s cubic-bezier(.2,.9,.3,1); }
.reveal.in{ opacity:1; transform:none; }

/* 13) Responsive breakpoints (tablet & desktop) */
@media (min-width: 760px){
 
  .hero{ grid-template-columns: 1fr 480px; padding:56px 0; }
  .hero-left h1{ font-size:2.2rem; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .test-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 1000px){
  .steps{ grid-template-columns: repeat(4, 1fr); }
  .hero-left h1{ font-size:2.6rem; }
  .order-card{ align-items:center; }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .nav .container{ display:flex; align-items:center; gap:12px; }
}

/* 14) Very small phones */
@media (max-width: 420px){
  .hero-left h1{ font-size:1.25rem; }
  .lead{ font-size:0.95rem; }
  .hero-card{ padding:12px; }
  .order-aside img{ width:160px; }
  .nav-links{ right:8px; top:64px; min-width:160px; }
}

/* 15) Minor helpers */
.muted{ color:var(--muted); }
.small{ font-size:0.9rem; }
.container.center{ display:flex; justify-content:center; align-items:center; }

/* End of stylesheet */

  .testimonials .stars {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  .test-grid {
    display: grid;
    gap: 1rem;
  }
  .test {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
@media (max-width: 768px) {

  .hero-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
  }
  .hero-left h1{
    font-size: 30px;
    font-weight:550;
  }
  .trust{
    display: flex;
    justify-content: center;
 
  }
  
   .hero-right {
    margin-top: 1rem; /* space from text */
  }
  .hero-card img {
    max-width: 80%;    /* limit size on mobile */
  }
  

  .features {
    justify-content: center;
  }
  .about-grid{
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: center;  
    flex-wrap: wrap;   /* center text */
  gap: 1.5rem;     

  }
  .about-media
{
  display: flex;
 justify-content: center;

}
  .about-media img{
    width: 35%;
    height: auto  ;
    
  }
 
  .nav-toggle{ display: flex;
  font-size: 40px; 
  color: #797575;
font-weight: 200;}
  .nav-links{
    position: fixed;
    right: 16px;
    top: 70px;
    background: rgba(255,255,255,0.98);
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
    padding: 12px;
    flex-direction: column;
    min-width: 180px;
    transform-origin: top right;
    transform: scale(.98);
    opacity: 0;
    pointer-events: none;
  }
  .nav-links.open{
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a{ padding:10px 14px; width:100%; }
 .nav {
  display: flex;              /* make nav children align in a row */
  justify-content: space-between; /* brand on left, menu on right */
  align-items: center;        /* vertically center everything */
  flex-wrap: wrap;            /* allow wrapping on small screens */
  gap: 1rem;  
              /* breathing space between elements */
}
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;         /* important: make it span full width */
  background: white;   /* so it doesn’t look transparent */
  z-index: 999;        /* stay above other content */
}
.nav-links {
  display: flex;
  gap: 1rem;                  /* space between menu items */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  flex: 0 1 auto;              /* prevent all from stretching equally */
}
}
.faviconsusukacang{
  border-radius: 40%;
}