/* ==========================================================================
   Baybaz Tekstil — Demo Site Styles
   ========================================================================== */

:root {
  --navy: #0b1b35;
  --navy-light: #142b52;
  --navy-soft: #1d3764;
  --gold: #c6a24d;
  --gold-light: #e7cd8c;
  --cream: #f7f2e7;
  --cream-dark: #efe6d2;
  --white: #ffffff;
  --text: #1c2333;
  --muted: #6b7280;
  --muted-light: #9aa3b2;
  --border: #e7e1d4;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(11, 27, 53, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(11, 27, 53, 0.25);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--navy); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .muted { color: #b7c2d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold) 60%, #9c7c2e);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: 0.02em; color: var(--navy); }
.logo-text .sub { font-size: 0.62rem; letter-spacing: 0.32em; color: var(--gold); font-weight: 600; margin-top: 3px; }
.header.scrolled .logo-text .name,
.footer .logo-text .name { color: var(--navy); }
.footer .logo-text .name { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px -8px rgba(11,27,53,0.15);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--white);
  position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.header.scrolled .nav a { color: var(--navy); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.header.scrolled .header-actions .btn-outline { color: var(--navy); border-color: var(--navy); }
.header.scrolled .header-actions .btn-outline:hover { background: var(--navy); color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: all 0.25s ease; }
.header.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
  color: var(--white);
  overflow: hidden;
  padding-top: 110px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(198,162,77,0.16), transparent 45%),
    linear-gradient(100deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 38%, rgba(0,0,0,0.22) 65%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: grayscale(10%);
  z-index: 0;
  pointer-events: none;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9;
}
.hero-inner {
  position: relative; z-index: 2;
  display: block;
  width: 100%;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  color: var(--white);
  margin-bottom: 22px;
}
.hero-copy h1 em { font-style: normal; color: var(--gold-light); }
.hero-copy p.lead { font-size: 1.12rem; color: #cfd8e8; max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--gold-light); font-weight: 700; }
.hero-stats .stat-label { font-size: 0.8rem; color: #aab6cb; margin-top: 4px; }

.hero-badge {
  background: var(--white); color: var(--navy);
  padding: 16px 22px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-badge-inline { margin-top: 4px; }
.hero-badge .badge-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-dark); display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { font-size: 0.78rem; color: var(--muted); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #9aa7bd; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: scaleY(0.4); transform-origin: top; } 50% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); transform-origin: top; } }

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--navy-light);
  padding: 46px 0;
  color: var(--white);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-grid .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-light); font-weight: 700; }
.stat-grid .lbl { font-size: 0.85rem; color: #b7c2d6; margin-top: 6px; }
.stat-grid .divider { display: none; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.about-gallery img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; box-shadow: var(--shadow-sm); }
.about-gallery .tall { grid-row: span 2; height: 100%; }
.about-gallery .g1 { height: 100%; }
.about-gallery .g2 { height: 100%; }

.about-copy .section-head { margin-bottom: 26px; }
.about-points { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.about-point { display: flex; gap: 16px; }
.about-point .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0;
}
.about-point h4 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; }
.about-point p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Products ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.product-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); height: 420px; isolation: isolate;
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover img { transform: scale(1.06); }
.product-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,27,53,0.92) 0%, rgba(11,27,53,0.25) 55%, rgba(11,27,53,0) 75%);
  z-index: 1;
}
.product-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; color: var(--white); }
.product-info .tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.product-info h3 { font-size: 1.3rem; margin-top: 8px; color: var(--white); }
.product-info p { font-size: 0.86rem; color: #cfd8e8; margin-top: 8px; }

/* ---------- Capability / process ---------- */
.capability-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.capability-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.capability-img img { width: 100%; height: 560px; object-fit: cover; }
.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.spec-chip {
  background: var(--navy-soft); color: var(--gold-light); font-weight: 600; font-size: 0.85rem;
  padding: 10px 6px; border-radius: 10px; text-align: center;
}
.capability-list { display: flex; flex-direction: column; gap: 18px; }
.capability-item { display: flex; gap: 16px; align-items: flex-start; }
.capability-item .num {
  font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; font-weight: 700;
  width: 34px; flex-shrink: 0;
}
.capability-item h4 { color: var(--white); font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.capability-item p { color: #b7c2d6; font-size: 0.92rem; }

/* ---------- Quality / sustainability ---------- */
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quality-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; text-align: left; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quality-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.quality-card .icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 20px;
}
.quality-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; font-family: var(--font-body); font-weight: 600; }
.quality-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Private label CTA band ---------- */
.cta-band {
  position: relative; background: var(--navy); color: var(--white); overflow: hidden;
  border-radius: 28px; padding: 70px 60px; margin: 0 24px;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(198,162,77,0.25), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--white); margin-bottom: 16px; }
.cta-band p { color: #c3cce0; font-size: 1rem; max-width: 480px; }
.cta-tags { display: flex; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.cta-tags span {
  border: 1px solid rgba(255,255,255,0.3); padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.04em;
}
.cta-side { text-align: center; border-left: 1px solid rgba(255,255,255,0.15); padding-left: 40px; }
.cta-side .btn { width: 100%; justify-content: center; margin-bottom: 14px; }
.cta-side .contact-line { font-size: 0.88rem; color: #aab6cb; }
.cta-side .contact-line a { color: var(--gold-light); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px;
}
.gallery-grid .gi { border-radius: 12px; overflow: hidden; }
.gallery-grid .gi img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid .gi:hover img { transform: scale(1.08); }
.gallery-grid .span-2 { grid-column: span 2; }
.gallery-grid .span-2-row { grid-row: span 2; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item h4 { font-size: 0.98rem; color: var(--navy); margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.93rem; }
.contact-item a:hover { color: var(--navy); }
.social-row { display: flex; gap: 12px; margin-top: 10px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all 0.2s ease;
}
.social-row a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.contact-form {
  background: var(--cream); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: span 2; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border); font-family: inherit; font-size: 0.92rem;
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 0.8rem; color: var(--muted-light); margin-top: 14px; }

.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 30px; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aab6cb; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 300px; color: #9aa7bd; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 18px; font-weight: 600; letter-spacing: 0.03em; }
.footer ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.82rem; color: #7c8aa3; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .about-grid, .capability-wrap, .contact-grid { grid-template-columns: 1fr; }
  .capability-img img { height: 420px; }
  .cta-band { grid-template-columns: 1fr; padding: 50px 30px; }
  .cta-side { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); padding-left: 0; padding-top: 30px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .header.nav-open .nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px; gap: 18px;
    box-shadow: var(--shadow-sm);
  }
  .header.nav-open .nav a { color: var(--navy); }
  .hero-stats { gap: 24px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  section { padding: 64px 0; }
  .hero { padding-top: 130px; }
  .hero-stats { flex-wrap: wrap; row-gap: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-field.full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .about-gallery { grid-template-columns: 1fr; }
  .about-gallery .tall { grid-row: auto; height: 240px; }
}
