/* ==========================================================================
   Abishek Naiya - Indian Fashion Catalogues (Pure CSS)
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;

  /* OKLCH Color Tokens */
  --ground: oklch(0.973 0.009 83);
  --surface: oklch(0.995 0.003 85);
  --ink: oklch(0.215 0.04 253);
  --ink-soft: oklch(0.49 0.025 253);
  --brand: oklch(0.42 0.105 244);
  --brand-soft: oklch(0.93 0.026 236);
  --gold: oklch(0.59 0.075 78);
  --gold-light: oklch(0.82 0.07 83);
  --footer: oklch(0.16 0.032 249);
  --whatsapp: oklch(0.72 0.2 145);
  --whatsapp-foreground: #ffffff;
  --border: oklch(0.875 0.014 83);
  --muted: var(--brand-soft);

  --font-display: "Instrument Serif", serif;
  --font-body: "Work Sans", sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button, input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

em {
  font-style: italic;
}

/* Typography Utilities */
.font-display {
  font-family: var(--font-display);
}

.text-gold {
  color: var(--gold);
}

.text-gold-light {
  color: var(--gold-light);
}

.text-brand {
  color: var(--brand);
}

.text-ink {
  color: var(--ink);
}

.text-ink-soft {
  color: var(--ink-soft);
}

.text-surface {
  color: var(--surface);
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Layout Utilities */
.page-container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .page-container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-container {
    padding-inline: 2.5rem;
  }
}

.page-section {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .page-section {
    padding-block: 7rem;
  }
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: oklch(0.995 0.003 85 / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(0.875 0.014 83 / 0.8);
}

.header-inner {
  display: grid;
  height: 76px;
  max-width: 1480px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .header-inner { padding-inline: 1.5rem; }
}

@media (min-width: 1024px) {
  .header-inner {
    display: flex;
    padding-inline: 2.5rem;
  }
}

.brand-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

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

.brand-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.nav-desktop {
  display: none;
  margin-inline: auto;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1280px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--brand);
}

.header-actions {
  margin-left: auto;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
}

.icon-link {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.125rem;
  color: var(--ink);
  transition: background-color 180ms ease, color 180ms ease;
}

@media (min-width: 640px) {
  .icon-link { display: grid; }
}

.icon-link:hover {
  background-color: var(--brand-soft);
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 180ms ease;
}

.btn-primary {
  background-color: var(--brand);
  color: var(--surface);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-outline {
  border: 1px solid oklch(0.995 0.003 85 / 0.5);
  background-color: transparent;
  color: var(--surface);
}

.btn-outline:hover {
  background-color: var(--surface);
  color: var(--ink);
}

.btn-lg {
  height: 3rem;
  padding-inline: 1.75rem;
  letter-spacing: 0.14em;
}

.btn-header {
  display: none;
  height: 2.5rem;
  padding-inline: 1.25rem;
}

@media (min-width: 1024px) {
  .btn-header { display: inline-flex; }
}

.menu-toggle {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: var(--radius-sm);
}

@media (min-width: 1280px) {
  .menu-toggle { display: none; }
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  padding: 1.25rem 1rem;
}

.mobile-nav.active {
  display: block;
}

@media (min-width: 1280px) {
  .mobile-nav.active { display: none; }
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.25rem;
  max-width: 1480px;
  margin-inline: auto;
}

.mobile-nav-link {
  border-bottom: 1px solid var(--border);
  padding-block: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: color 180ms ease;
}

.mobile-nav-link:hover {
  color: var(--brand);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background-color: var(--ink);
  color: var(--surface);
}

@media (min-width: 640px) {
  .hero-section { min-height: 700px; }
}

@media (min-width: 1024px) {
  .hero-section { min-height: calc(100vh - 76px); }
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .hero-bg-grid { grid-template-columns: repeat(4, 1fr); }
}

.hero-bg-col {
  position: relative;
  overflow: hidden;
}

.hero-bg-col img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-bg-col:nth-child(3),
.hero-bg-col:nth-child(4) {
  display: none;
}

@media (min-width: 1024px) {
  .hero-bg-col:nth-child(3),
  .hero-bg-col:nth-child(4) { display: block; }
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.1 0.025 250 / 0.48),
    oklch(0.1 0.025 250 / 0.3) 42%,
    oklch(0.1 0.025 250 / 0.72)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1480px;
  margin-inline: auto;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-content { min-height: 700px; }
}

@media (min-width: 1024px) {
  .hero-content {
    min-height: calc(100vh - 76px);
    padding-inline: 2.5rem;
  }
}

.hero-title {
  margin-top: 1.25rem;
  max-width: 56rem;
  font-family: var(--font-display);
  font-size: 3.125rem;
  line-height: 0.98;
  color: var(--surface);
}

@media (min-width: 640px) {
  .hero-title { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 92px; }
}

.hero-desc {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: oklch(0.995 0.003 85 / 0.8);
}

@media (min-width: 640px) {
  .hero-desc { font-size: 1rem; }
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: oklch(0.995 0.003 85 / 0.75);
}

/* Marquee Strip */
.marquee-strip {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding-block: 1rem;
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.marquee-strip span {
  color: var(--gold);
  margin-inline: 1rem;
}

/* Section Title Row */
.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.section-heading > p {
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.section-heading > h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
  color: var(--ink);
}

@media (min-width: 640px) {
  .section-heading > h2 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .section-heading > h2 { font-size: 3.75rem; }
}

.view-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  color: var(--brand);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Editorial Cards (Collections) */
.editorial-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .editorial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .editorial-grid { margin-top: 3.5rem; }
}

.editorial-card {
  display: block;
  scroll-margin-top: 6rem;
}

@media (min-width: 768px) {
  .editorial-card:nth-child(2) {
    margin-top: 3rem;
  }
}

.editorial-img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--muted);
}

.editorial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.editorial-card:hover .editorial-img-wrap img {
  transform: scale(1.025);
}

.editorial-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  border-inline: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  padding: 1.25rem;
}

.editorial-info h3 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
}

.editorial-info p {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: var(--ink-soft);
}

.editorial-arrow {
  margin-bottom: 0.25rem;
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 180ms ease;
}

.editorial-card:hover .editorial-arrow {
  transform: translateX(4px);
}

/* Feature Band (Tradition, framed for today) */
.feature-band {
  background-color: var(--ink);
  color: var(--surface);
}

.feature-band-inner {
  max-width: 1480px;
  margin-inline: auto;
  display: grid;
}

@media (min-width: 1024px) {
  .feature-band-inner {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.feature-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 430px;
}

@media (min-width: 640px) {
  .feature-images { min-height: 580px; }
}

.feature-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text-content {
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
}

@media (min-width: 640px) {
  .feature-text-content { padding: 4rem 3rem; }
}

@media (min-width: 1024px) {
  .feature-text-content { padding: 5rem 4rem; }
}

.feature-text-box {
  max-width: 36rem;
}

.feature-heading {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
}

@media (min-width: 640px) {
  .feature-heading { font-size: 3.75rem; }
}

.feature-desc {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: oklch(0.995 0.003 85 / 0.7);
}

@media (min-width: 640px) {
  .feature-desc { font-size: 1rem; }
}

.feature-stats {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-block: 1px solid oklch(0.995 0.003 85 / 0.15);
  padding-block: 1.5rem;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.995 0.003 85 / 0.6);
}

/* Search Field */
.search-field {
  display: flex;
  width: 100%;
  max-width: 44rem;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--ink);
  padding: 0.85rem 0;
  margin-top: 2.25rem;
}

@media (min-width: 1024px) {
  .search-field { margin-top: 3rem; }
}

.search-input {
  min-width: 0;
  flex: 1;
  background: transparent;
  font-size: 0.875rem;
  color: var(--ink);
}

.search-input::placeholder {
  color: oklch(0.49 0.025 253 / 0.65);
}

/* Catalogue Grid & Cards */
.catalogue-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 0.75rem;
}

@media (min-width: 640px) {
  .catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .catalogue-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .catalogue-grid {
    gap: 3.5rem 1.75rem;
  }
}

.catalogue-card {
  display: block;
}

.catalogue-card article {
  height: 100%;
}

.catalogue-img-wrap {
  position: relative;
  aspect-ratio: 349 / 375;
  overflow: hidden;
  background-color: var(--muted);
}

.catalogue-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out;
}

.catalogue-card:hover .catalogue-img-wrap img {
  transform: scale(1.025);
}

.catalogue-hover-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  background-color: var(--brand);
  color: var(--surface);
  transform: translateY(100%);
  transition: transform 300ms ease;
}

.catalogue-card:hover .catalogue-hover-badge {
  transform: translateY(0);
}

.catalogue-details {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.catalogue-group {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.catalogue-name {
  margin-top: 0.375rem;
  min-height: 40px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .catalogue-name { font-size: 1.5rem; }
}

.catalogue-count {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.no-results {
  border-block: 1px solid var(--border);
  padding-block: 5rem;
  text-align: center;
}

/* Contact Band */
.contact-band {
  background-color: var(--brand);
}

.contact-band-inner {
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding: 4rem 1.25rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .contact-band-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 5rem 2.5rem;
    text-align: left;
  }
}

.contact-band-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.25;
  color: var(--surface);
}

@media (min-width: 640px) {
  .contact-band-title { font-size: 3rem; }
}

.btn-whatsapp-cta {
  margin-inline: auto;
  height: 3rem;
  padding-inline: 1.75rem;
  background-color: var(--surface);
  color: var(--ink);
}

@media (min-width: 1024px) {
  .btn-whatsapp-cta { margin-inline: 0; }
}

.btn-whatsapp-cta:hover {
  background-color: var(--gold-light);
}

/* Footer */
.footer {
  background-color: var(--footer);
  color: var(--surface);
}

.footer-inner {
  max-width: 1480px;
  margin-inline: auto;
  display: grid;
  gap: 2.75rem;
  padding: 3.5rem 1.25rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1.3fr 0.8fr 1.2fr 0.7fr;
    padding-inline: 2.5rem;
    padding-block: 5rem;
  }
}

.footer-heading {
  color: var(--gold-light);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: oklch(1 0 0 / 0.62);
}

.footer-link {
  width: fit-content;
  color: oklch(1 0 0 / 0.62);
  transition: color 180ms ease;
}

.footer-link:hover {
  color: var(--surface);
}

.footer-social-row {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.footer-social {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: 9999px;
  color: var(--surface);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.footer-social:hover {
  border-color: var(--gold-light);
  background-color: oklch(1 0 0 / 0.07);
}

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.1);
}

.footer-bottom-inner {
  max-width: 1480px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem;
  font-size: 0.75rem;
  color: oklch(1 0 0 / 0.45);
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-bottom-inner {
    padding-inline: 2.5rem;
  }
}

/* Floating WhatsApp Badge */
.whatsapp-floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--whatsapp);
  padding: 0.8rem;
  color: var(--whatsapp-foreground);
  box-shadow: 0 12px 32px oklch(0.2 0.03 250 / 0.25);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.whatsapp-floating:hover {
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .whatsapp-floating {
    padding: 0.8rem 1rem;
  }
}

.whatsapp-floating span {
  display: none;
}

@media (min-width: 640px) {
  .whatsapp-floating span {
    display: inline;
  }
}
