/*
Theme Name: Durga Spintex
Theme URI: https://durgaspintex.co.in/
Author: Durga Spintex India Pvt. Ltd.
Description: Custom single-page WordPress theme for Durga Spintex India Pvt. Ltd.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: durga-spintex
*/

:root {
  --ink: #17201d;
  --muted: #66736c;
  --paper: #fbfbf7;
  --line: #d9ded6;
  --forest: #143b32;
  --saffron: #c96d2c;
  --gold: #d8a448;
  --aqua: #317b7c;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid rgba(217, 222, 214, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 84px;
  height: 42px;
  border: 1px solid rgba(217, 222, 214, 0.9);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #23312c;
  font-weight: 700;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.site-nav a:hover {
  border-color: var(--saffron);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) 96px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(23, 32, 29, 0.08), rgba(23, 32, 29, 0.22)),
    url("assets/cta.jpg") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 59, 50, 0.88), rgba(20, 59, 50, 0.48) 48%, rgba(20, 59, 50, 0.08)),
    linear-gradient(0deg, rgba(23, 32, 29, 0.68), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc56f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--saffron);
  box-shadow: 0 12px 28px rgba(201, 109, 44, 0.28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-strip div {
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--white);
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  color: var(--forest);
  font-size: 1.25rem;
}

.intro-strip span {
  color: var(--muted);
}

.section {
  padding: 96px clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section-copy {
  max-width: 620px;
}

.section-copy p,
.section-heading p,
.contact-copy p,
.product-card p,
.process-card p {
  color: var(--muted);
}

.image-panel {
  min-height: 440px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background-position: center;
  background-size: cover;
}

.about-image {
  background-image: url("assets/about.png");
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 24px;
}

.apparel-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.apparel-details article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8f3;
}

.apparel-details p {
  margin-bottom: 0;
  color: var(--muted);
}

.process {
  background:
    linear-gradient(135deg, rgba(20, 59, 50, 0.96), rgba(49, 123, 124, 0.92)),
    url("assets/mission.jpg") center / cover;
  color: var(--white);
}

.process .section-heading p,
.process .section-heading .eyebrow {
  color: #ffd08b;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: #ffd08b;
  font-weight: 800;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  color: var(--forest);
  font-weight: 800;
}

.enquiry-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.enquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fdfdfb;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(201, 109, 44, 0.22);
  border-color: var(--saffron);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--aqua);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--forest);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .hero {
    min-height: 88vh;
    padding-top: 130px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(20, 59, 50, 0.9), rgba(20, 59, 50, 0.46)),
      linear-gradient(0deg, rgba(23, 32, 29, 0.72), transparent 42%);
  }

  .intro-strip,
  .split,
  .product-grid,
  .apparel-details,
  .process-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand strong {
    max-width: 170px;
    overflow-wrap: anywhere;
  }

  .brand-logo {
    width: 58px;
    height: 40px;
  }

  .hero {
    min-height: 86vh;
    padding: 118px 16px 64px;
  }

  h1 {
    font-size: 3rem;
  }

  .section {
    padding: 68px 16px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .enquiry-form {
    padding: 20px;
  }
}
