/* ============================================================
   CLOTHING MAFIA — Design tokens
   Concept: garment "spec tag" / factory care-label aesthetic.
   Palette: ink charcoal, denim blue accent, brick-thread red,
   raw canvas paper background. Type: condensed industrial display
   + clean body sans + mono for specs (GSM, fabric codes, MOQs).
   ============================================================ */

:root{
  --ink: #1c1d1f;          /* near-black charcoal, primary text/bg */
  --ink-soft: #4a4c50;     /* secondary text */
  --paper: #eceae4;        /* raw canvas background (cool, not cream) */
  --paper-2: #dfdcd3;      /* slightly deeper panel */
  --denim: #2b4570;        /* accent blue, denim/thread */
  --thread: #a8412f;       /* brick-red accent, stitch/thread */
  --line: #c9c5b8;         /* hairline borders on paper */
  --white: #f7f6f2;

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, Segoe UI, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius: 2px;
  --container: 1550px; /*1180px  */
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1,h2,h3,h4{
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
h1{ font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3{ font-size: 1.15rem; letter-spacing: 0.04em; }
p{ margin:0 0 16px; color: var(--ink-soft); }
.eyebrow{
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--thread);
  display:block;
  margin-bottom: 10px;
}

/* ---------- stitch rule: signature device ---------- */
.stitch{
  border: none;
  border-top: 2px dashed var(--ink);
  opacity: 0.65;
  margin: 28px 0;

}
.stitch-thin{ border-top: 1px dashed var(--line); margin: 20px 0; }

/* ---------- header / nav ---------- */
header.site{
  position: sticky; top:0; z-index: 50;
  /*background: var(--ink); */
  border-bottom: 3px solid var(--thread);

}

.brand{
    color:#1d2430;
    text-decoration:none;
}

.brand small{
    color:#6d6256;
}

.navlinks a{
    color:#1d2430;

}

.navlinks a:hover,
.navlinks a.active{
    color:#c85d3b
}


/*--------------------------------------*/



/* ---------- Header ---------- */
.site{
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ece7dc;
    border-bottom: 2px solid #000;
}

.nav{
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;      /* anchor for the mobile dropdown */
    flex-wrap: wrap;          /* let items drop to a new line instead of overlapping */
}

/* Logo */
.brand{
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    color: var(--ink);
    font-size: 1.3rem;
    text-transform: uppercase;
    text-decoration: none;
    min-width: 0;             /* allow the brand block to shrink instead of forcing overflow */
}

.brand .logo{
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand small{
    display: block;
    font-family: var(--mono);
    font-size: .65rem;
    color: var(--ink-soft);
}

/* Navigation */
.navlinks{
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navlinks li{
    list-style: none;
}

.navlinks a{
    color: var(--ink);
    font-family: var(--mono);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.navlinks a:hover,
.navlinks a.active{
    color: var(--thread);
    border-bottom-color: var(--thread);
}

.navtoggle{
    display:none;
}

/* ---------- Mobile nav ---------- */
/* Below this width the full link row can't fit next to the logo without
   crushing/overlapping it (this was hiding "Home" / "About Us"), so we
   switch to a hamburger + dropdown instead of a horizontal row. */
@media (max-width: 900px){

  .brand{
      font-size: 1.05rem;
  }
  .brand .logo{
      width: 46px;
      height: 46px;
  }

  .navtoggle{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      padding: 0;
      background: transparent;
      border: none;
      font-size: 1.7rem;
      line-height: 1;
      color: var(--ink);
      cursor: pointer;
      order: 3;
  }
  .navtoggle:focus-visible{ outline: 2px solid var(--thread); outline-offset: 3px; }

  .navlinks{
      order: 4;
      flex-basis: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      max-height: 0;
      overflow: hidden;
      background: var(--paper);
      border-top: 0 dashed var(--line);
      transition: max-height .3s ease;
  }
  .navlinks.open{
      max-height: 600px;
      border-top-width: 1px;
      margin-top: 14px;
  }
  .navlinks li{
      width: 100%;
      border-bottom: 1px dashed var(--line);
  }
  .navlinks a{
      display: block;
      padding: 14px 4px;
      border-bottom: none;
  }
  .navlinks a:hover,
  .navlinks a.active{
      background: var(--paper-2);
  }
}

/* ---------- hero ---------- */
.hero{
  background: var(--ink);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 18px);
  pointer-events:none;
}
.hero .eyebrow{ color:#d98c78; }
.hero h1{ color:#fff; max-width: 780px; }
.hero p.lead{ color:#c4c2ba; max-width: 620px; font-size:1.05rem; }
.hero-tags{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }

/* spec tag: signature component, styled like a garment hang-tag */
.spec-tag{
  border: 1px dashed #8a8880;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #e7e5df;
  position: relative;
  background: rgba(255,255,255,0.03);
}
.spec-tag::before{
  content:"";
  position:absolute; left:-5px; top:50%; transform:translateY(-50%);
  width:8px; height:8px; border-radius:50%;
  background: var(--paper); border:1px solid #8a8880;
}
.spec-tag b{ color:#fff; display:block; font-size:1.05rem; font-family:var(--display); letter-spacing:0.03em; }

/* ---------- sections ---------- */
section{ padding: 64px 0; }
section.alt{ background: var(--paper-2); }
.grid{ display:grid; gap: 28px; }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
}
.card .num{
  font-family: var(--mono); color: var(--thread); font-size:0.75rem; letter-spacing:0.1em;
}

/* product / fabric tag card - the signature element reused across pages */
.tagcard{
  background: var(--white);
  border: 1px dashed var(--ink);
  padding: 22px 20px 20px;
  position: relative;
}
.tagcard::before{
  content:"";
  position:absolute; top:16px; left:-6px;
  width:11px; height:11px; border-radius:50%;
  background: var(--paper); border:1px dashed var(--ink);
}
.tagcard h3{ margin-bottom:6px; }
.tagcard .spec{
  font-family: var(--mono); font-size:0.74rem; color: var(--ink-soft);
  border-top: 1px dashed var(--line); margin-top:14px; padding-top:10px;
}

/* buttons */
.btn{
  display:inline-block;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding: 13px 24px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}
.btn:hover{ background: var(--thread); border-color: var(--thread); }
.btn.ghost{ background: transparent; color: var(--ink); }
.btn.ghost:hover{ background: var(--ink); color: var(--white); }
.btn.on-dark{ border-color:#fff; background:#fff; color:var(--ink); }
.btn.on-dark:hover{ background: var(--thread); border-color:var(--thread); color:#fff; }

/* process timeline (manufacturing page) - order genuinely matters here */
.process{ counter-reset: step; }
.step{
  display:grid; grid-template-columns: 70px 1fr; gap:20px;
  padding: 22px 0; border-top: 1px dashed var(--line);
}
.step:last-child{ border-bottom: 1px dashed var(--line); }
.step .stepnum{
  counter-increment: step;
  font-family: var(--display); font-size:2rem; color: var(--thread);
}
.step .stepnum::before{ content: counter(step, decimal-leading-zero); }

/* market list */
.marketlist{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns: repeat(3,1fr); gap:10px 24px; }
.marketlist li{ font-family: var(--mono); font-size:0.9rem; padding:8px 0; border-bottom:1px dashed var(--line); }
@media (max-width:700px){ .marketlist{ grid-template-columns: 1fr 1fr; } }

/* gallery */
.gallerygrid{ display:grid; grid-template-columns: repeat(4,1fr); gap:10px; }
.gallerygrid .ph{
  aspect-ratio: 1; background: var(--paper-2); border:1px dashed var(--ink);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--mono); font-size:0.7rem; color: var(--ink-soft); text-align:center; padding:8px;
}
@media (max-width:700px){ .gallerygrid{ grid-template-columns: 1fr 1fr; } }

/* forms */
form.inquiry{ display:grid; gap:16px; max-width:640px; }
form.inquiry label{
  font-family: var(--mono); font-size:0.75rem; text-transform:uppercase; letter-spacing:0.08em;
  color: var(--ink-soft); display:block; margin-bottom:6px;
}
form.inquiry input, form.inquiry select, form.inquiry textarea{
  width:100%; padding:12px 14px; font-family: var(--body); font-size:0.95rem;
  border:1px solid var(--ink); background: var(--white); color: var(--ink);
}
form.inquiry .row2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:600px){ form.inquiry .row2{ grid-template-columns:1fr; } }
.formnote{ font-family: var(--mono); font-size:0.75rem; color: var(--ink-soft); }

/* contact info blocks */
.contactblock{ font-family: var(--mono); font-size:0.92rem; line-height:1.9; }
.contactblock a{ color: var(--denim); border-bottom:1px dashed var(--denim); }

/* whatsapp float */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:60;
  background:#25d366; color:#fff; width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.6rem;
  box-shadow:0 4px 14px rgba(0,0,0,0.25);
}
.wa-float:hover{ filter:brightness(1.05); }

/* footer */
footer.site{ background: var(--ink); color:#c4c2ba; padding: 46px 0 26px; margin-top:40px; }
footer.site h4{ color:#fff; font-size:0.9rem; }
.footgrid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:30px; }
@media (max-width:700px){ .footgrid{ grid-template-columns: 1fr; } }
.footgrid ul{ list-style:none; margin:0; padding:0; }
.footgrid li{ margin-bottom:8px; font-size:0.9rem; }
.footgrid a:hover{ color:#fff; }
.footbottom{
  margin-top:30px; padding-top:18px; border-top:1px dashed #4a4c50;
  font-family: var(--mono); font-size:0.72rem; color:#8b8980;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
}

/* utility */
.mb-0{ margin-bottom:0; }
.text-center{ text-align:center; }
.small{ font-size:0.85rem; }


/* adding code.For Pictures */

/* Gallery Images */

.ph{
    overflow:hidden;
    border-radius:10px;
}

.ph img{
    width:100%;
    height:300px;
    object-fit:cover;
    cursor:pointer;
    transition:.4s;
}

.ph img:hover{
    transform:scale(1.08);
}

/* Lightbox */

.lightbox{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.92);

    justify-content:center;
    align-items:center;
}

.lightbox img{
    max-width:80%;
    max-height:80%;
    transition:.3s;
}

.close{
    position:absolute;
    top:25px;
    right:35px;
    color:#fff;
    font-size:45px;
    cursor:pointer;
}

.zoom-btn{

    position:absolute;

    right:35px;

    width:45px;

    height:45px;

    border:none;

    background:#fff;

    font-size:24px;

    cursor:pointer;

    border-radius:6px;
}

.zoom-in{
    top:90px;
}

.zoom-out{
    top:145px;
}

/* End*/
