/* ============================================
   TEXTILE SHOP - Main Stylesheet
   Artisanal & Luxurious Design
   ============================================ */

/* CSS Variables - Color Palette */
:root {
  /* Colors */
  --carbon-black: #171A03;
  --beige: #E7E6CE;
  --dry-sage-2: #9C9E84;
  --olive-leaf: #505832;
  --walnut: #794E25;
  --yellow-green: #B0D63F;
  --yellow-green-hover: #B8E055;
  --yellow-green-active: #9BC52F;

  /* Derived */
  --white: var(--beige);
  --black: var(--carbon-black);
  --primary: var(--olive-leaf);
  --accent: var(--yellow-green);
  --text: var(--carbon-black);
  --text-light: var(--dry-sage-2);
  --bg: var(--beige);
  --bg-dark: var(--carbon-black);

  /* Typography */
  --font-display: 'Lora', Georgia, serif;
  --font-logo: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Source Sans Pro', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 20, 2, 0.1);
  --shadow-md: 0 4px 12px rgba(16, 20, 2, 0.15);
  --shadow-lg: 0 8px 24px rgba(16, 20, 2, 0.2);

  /* Overlay Colors */
  --overlay-light: rgba(23, 26, 3, 0.3);
  --overlay-medium: rgba(23, 26, 3, 0.5);
  --overlay-dark: rgba(23, 26, 3, 0.5);

  /* Backdrop Colors */
  --backdrop-bg: rgba(231, 230, 206, 0.55);
  --backdrop-border: rgba(231, 230, 206, 0.5);
  --backdrop-compact: rgba(231, 230, 206, 0.95);

  /* Button Shadow Colors */
  --btn-shadow-inset-dark: rgba(0, 0, 0, 0.2);
  --btn-shadow-inset-light: rgba(255, 255, 255, 0.1);
  --btn-shadow-color: rgba(16, 20, 2, 0.2);
  --btn-shadow-hover: rgba(16, 20, 2, 0.25);
  --btn-shadow-active: rgba(0, 0, 0, 0.3);
}

/* ============================================
   BASE STYLES & RESET
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: url('../img/cursor/scissors.svg') 12 12, auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--black);
}

@media (max-width: 768px) {}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3vw + 0.5rem, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.5rem);
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

a {
  color: var(--olive-leaf);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--walnut);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar.compact {
  padding: 0.5rem 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.navbar.compact .navbar-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  background: var(--backdrop-compact);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  flex-wrap: nowrap;
}

.navbar.compact .logo {
  font-size: 0.95rem;
  white-space: nowrap;
}

.navbar.compact .nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.navbar.compact .nav-links {
  gap: var(--space-sm);
  flex-wrap: nowrap;
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.75rem;
  color: var(--black);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  height: 1.75rem;
  width: auto;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding: var(--space-xs) 0;
}

.navbar-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  background: var(--backdrop-compact);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  flex-wrap: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

/* Wavy Thread Underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0,2 Q5,0 10,2 T20,2' stroke='%23794E25' fill='none' stroke-width='1'/%3E%3C/svg%3E") repeat-x;
  background-size: 20px 4px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--backdrop-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 999;
  padding: calc(var(--space-2xl)) var(--space-lg);
  transition: opacity var(--transition-base), transform var(--transition-base);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.mobile-menu .nav-links {
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}

.mobile-menu .nav-link {
  font-size: 1.25rem;
  display: inline-block;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   TEXTILE BUTTONS WITH STITCH PATTERN
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  min-height: 44px;
  min-width: 44px;
}

/* ============================================
   Loom & Thread — Textile Effects
   Fabric grain buttons, fringe, wave underline
   ============================================ */

/* --- Fabric Grain Texture (button background) --- */
.btn-textile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  background-color: var(--yellow-green);
  color: var(--carbon-black);
  transition: transform 0.15s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
  box-shadow: var(--shadow-sm);
  min-height: 44px;
  min-width: 44px;

  /* Fabric grain via repeating SVG noise pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='2' y='2' width='1' height='1' fill='rgba(0,0,0,0.06)'/%3E%3C/svg%3E");
  background-size: 4px 4px;
}

/* Hover: grain intensifies + slight stretch (yarn pull) */
.btn-textile:hover {
  background-color: var(--yellow-green-hover);
  transform: scaleX(1.04) scaleY(0.97);
  box-shadow: var(--shadow-sm);
  /* Darker, denser grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.18)'/%3E%3Crect x='1.5' y='1.5' width='1' height='1' fill='rgba(0,0,0,0.10)'/%3E%3C/svg%3E");
  background-size: 3px 3px;
}

/* Click: squash + ripple */
.btn-textile:active {
  transform: scaleX(0.97) scaleY(0.93);
  background-color: var(--yellow-green-active);
  box-shadow: var(--shadow-sm);
  transition: transform 0.08s ease, background-color 0.08s ease;
}

/* Ripple span (injected by JS on click) */
.btn-textile .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-fx 0.5s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-fx {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Fringe Details (top + bottom edges) --- */
.btn-textile::before,
.btn-textile::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 6 Q2 0, 4 6 Q6 12, 8 6' stroke='rgba(23,26,3,0.25)' stroke-width='1' fill='none'/%3E%3C/svg%3E") repeat-x;
  background-size: 8px 6px;
  pointer-events: none;
}

.btn-textile::before {
  top: -4px;
}

.btn-textile::after {
  bottom: -4px;
  transform: rotate(180deg);
}

/* --- Accent variant (same as primary) --- */
.btn-accent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  background-color: var(--yellow-green);
  color: var(--carbon-black);
  transition: transform 0.15s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
  box-shadow: none;
  min-height: 44px;
  min-width: 44px;

  /* Fabric grain via repeating SVG noise pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='2' y='2' width='1' height='1' fill='rgba(0,0,0,0.06)'/%3E%3C/svg%3E");
  background-size: 4px 4px;
}

.btn-accent::before,
.btn-accent::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 6 Q2 0, 4 6 Q6 12, 8 6' stroke='rgba(23,26,3,0.25)' stroke-width='1' fill='none'/%3E%3C/svg%3E") repeat-x;
  background-size: 8px 6px;
  pointer-events: none;
}

.btn-accent::before {
  top: -4px;
}

.btn-accent::after {
  bottom: -4px;
  transform: rotate(180deg);
}

.btn-accent:hover {
  background-color: var(--yellow-green-hover);
  transform: scaleX(1.04) scaleY(0.97);
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.18)'/%3E%3Crect x='1.5' y='1.5' width='1' height='1' fill='rgba(0,0,0,0.10)'/%3E%3C/svg%3E");
  background-size: 3px 3px;
}

.btn-accent:active {
  transform: scaleX(0.97) scaleY(0.93);
  background-color: var(--yellow-green-active);
  box-shadow: none;
  transition: transform 0.08s ease, background-color 0.08s ease;
}

/* --- Outline variant --- */
.btn-outline {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(176,214,63,0.08)'/%3E%3Crect x='2' y='2' width='1' height='1' fill='rgba(176,214,63,0.05)'/%3E%3C/svg%3E");
  background-size: 4px 4px;
  color: var(--yellow-green);
  border: 2px solid var(--yellow-green);
  box-shadow: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
  min-height: 44px;
  min-width: 44px;
}

.btn-outline::before,
.btn-outline::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 6 Q2 0, 4 6 Q6 12, 8 6' stroke='rgba(176,214,63,0.25)' stroke-width='1' fill='none'/%3E%3C/svg%3E") repeat-x;
  background-size: 8px 6px;
  pointer-events: none;
}

.btn-outline::before {
  top: -4px;
}

.btn-outline::after {
  bottom: -4px;
  transform: rotate(180deg);
}

.btn-outline:hover {
  background-color: rgba(176, 214, 63, 0.08);
  color: #9BC52F;
  border-color: #B8E055;
  transform: scaleX(1.04) scaleY(0.97);
  box-shadow: none;
}

.btn-outline:active {
  background-color: rgba(176, 214, 63, 0.15);
  transform: scaleX(0.97) scaleY(0.93);
}


/* ============================================
   HERO SECTION WITH PARALLAX
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      var(--overlay-light),
      var(--overlay-medium));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl);
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  color: var(--beige);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: var(--beige);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  max-width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

.hero-cta {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECTIONS & CONTAINERS
   ============================================ */

.section {
  padding: var(--space-2xl) var(--space-lg);
}

.section-reduce-bottom {
  padding-bottom: var(--space-lg);
}

.section-dark {
  background: var(--carbon-black);
  color: var(--beige);
}

.section-dark p {
  line-height: 1.7;
}

.section-dark h2 {
  color: var(--beige);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  margin-bottom: var(--space-sm);
  scroll-margin-top: 100px;
}

.section-subtitle {
  color: var(--dry-sage-2);
  font-size: 1.1rem;
  max-width: 100%;
  line-height: 1.6;
}

.stock-notice {
  color: var(--yellow-green);
  font-weight: 600;
}

.notice-stitch p {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.section-subtitle-list {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--dry-sage-2);
  font-size: 1.1rem;
  line-height: 1.6;
}

.section-subtitle-list li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.section-subtitle-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--olive-leaf);
  font-size: 1rem;
  line-height: inherit;
}

.section-link {
  color: var(--olive-leaf);
  text-decoration: none;
  border-bottom: 1px solid var(--olive-leaf);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.section-link:hover {
  color: var(--yellow-green);
  border-color: var(--yellow-green);
}

#materijali,
#faq {
  scroll-margin-top: 120px;
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: row;
}

/* .product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
} */

.product-image {
  position: relative;
  width: 40%;
  min-width: 200px;
  overflow: hidden;
  background: var(--dry-sage-2);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

/* .product-card:hover .product-image img {
  transform: scale(1.05);
} */

.product-info {
  padding: var(--space-md);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--black);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--olive-leaf);
  margin-bottom: var(--space-xs);
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.featured-image {
  position: relative;
}

.featured-image img {
  width: 100%;
  height: auto;
  max-width: 400px;
  object-fit: cover;
}

.featured-content h3 {
  margin-bottom: var(--space-md);
  color: var(--beige);
}

.featured-content p {
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.value-card {
  text-align: center;
  padding: calc(var(--space-xl) * 0.56);
  background: var(--beige);
  border: 1px solid var(--dry-sage-2);
  border-radius: 8px;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--olive-leaf);
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.value-text {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Process Timeline */
.process-section {
  margin-top: var(--space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--dry-sage-2);
}

.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--yellow-green);
  line-height: 1;
  min-width: 80px;
}

.process-content h4 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.process-content p {
  color: var(--text-light);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.section-contact-header {
  padding-top: 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.map-container {
  grid-column: 1 / -1;
  scroll-margin-top: 100px;
}

.contact-form {
  background: var(--white);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  color: var(--black);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--dry-sage-2);
  background: var(--beige);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--olive-leaf);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  background: var(--carbon-black);
  color: var(--beige);
  padding: var(--space-xl);
  border-radius: 8px;
}

.contact-info p {
  line-height: 1.7;
}

.contact-item {
  margin-bottom: var(--space-lg);
}

.contact-item h4 {
  color: var(--yellow-green);
  margin-bottom: var(--space-md);
}

.contact-item p {
  font-size: 1.1rem;
  color: var(--beige);
  margin: 0;
}

.contact-item p a {
  color: var(--beige);
}

.working-hours {
  background: var(--carbon-black);
  color: var(--beige);
  padding: var(--space-xl);
  border-radius: 8px;
}

.working-hours p {
  line-height: 1.7;
}

.working-hours h4 {
  color: var(--yellow-green);
  margin-bottom: var(--space-md);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--olive-leaf);
}

.hours-list li:last-child {
  border-bottom: none;
}

/* Instagram Link - Small Icon Only */
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-lg);
  width: 40px;
  height: 40px;
  background: var(--carbon-black);
  color: var(--beige);
  border-radius: 8px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.instagram-link:hover {
  transform: translateY(-2px);
  background: var(--olive-leaf);
  color: var(--beige);
}

.instagram-link span {
  display: none;
}

/* Map Container */
.map-container {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

/* ============================================
   MATERIALS INFO SECTION
   ============================================ */

.materials-info {
  background: var(--carbon-black);
  color: var(--beige);
  padding: var(--space-xl);
  border-radius: 12px;
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .materials-info {
    padding: var(--space-md);
    margin-left: -20px;
    margin-right: -20px;
  }
}

.materials-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow-green);
  margin-bottom: var(--space-md);
}

.materials-intro {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.materials-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.materials-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.materials-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--yellow-green);
  margin-bottom: var(--space-sm);
}

.materials-list {
  list-style: none;
  padding: 0;
}

.materials-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.materials-list li::before {
  content: "•";
  color: var(--yellow-green);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.materials-footer {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.materials-cta {
  color: var(--beige);
  line-height: 1.7;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  margin-bottom: var(--space-2xl);
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  background: var(--carbon-black);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.faq-card:hover {
  box-shadow: var(--shadow-md);
}

.faq-card.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  cursor: pointer;
  background: var(--carbon-black);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--olive-leaf);
}

.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--beige);
  margin: 0;
  flex: 1;
  padding-right: var(--space-sm);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-green);
  transition: transform var(--transition-base);
}

.faq-card.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  background: rgba(231, 230, 206, 0.1);
}

.faq-card.active .faq-answer {
  max-height: 200px;
  padding: 0 var(--space-md) var(--space-md);
}

.faq-answer p {
  margin: var(--space-md) 0 0;
  color: var(--beige);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--carbon-black);
  color: var(--beige);
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}

.footer p {
  line-height: 1.7;
}

/* ============================================
   GO TO TOP BUTTON
   ============================================ */

.go-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--yellow-green);
  color: var(--carbon-black);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.go-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-to-top:hover {
  background: var(--yellow-green-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.go-to-top:active {
  transform: translateY(-1px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  font-size: 2rem;
  color: var(--beige);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--dry-sage-2);
  max-width: 300px;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--yellow-green);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--dry-sage-2);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--beige);
}

.footer-bottom {
  border-top: 1px solid var(--olive-leaf);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--dry-sage-2);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for grid items */
.product-card.animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.product-card.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.product-card.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.product-card.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.product-card.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.product-card.animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

.product-card.animate-on-scroll:nth-child(7) {
  transition-delay: 0.6s;
}

.product-card.animate-on-scroll:nth-child(8) {
  transition-delay: 0.7s;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */

.page-transition {
  animation: pageEnter 0.6s ease;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    flex-direction: column;
  }

  .product-image {
    width: 100%;
    min-width: auto;
    aspect-ratio: 3/4;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .materials-image {
    display: none;
  }

  .featured-image img {
    max-width: 78.125%;
    margin: 0 auto var(--space-md);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Desktop - 3 column layout */
@media (min-width: 1400px) {
  .contact-grid {
    grid-template-columns: 400px 400px 350px;
  }

  .map-container {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu .nav-links {
    display: flex;
  }

  .hero-content {
    padding: var(--space-lg) var(--space-sm);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    margin: 0 -1.25rem;
  }

  /* CSS grid trick: product-info becomes display:contents so h3 and p
     participate directly in the card's grid — title spans full width above
     the image+description row, without touching the HTML structure */
  .product-card {
    display: grid;
    grid-template-columns: 32% 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "title title"
      "image info";
    border-radius: 0;
  }

  .product-image {
    grid-area: image;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    align-self: center;
  }

  .product-info {
    display: contents;
  }

  .product-name {
    grid-area: title;
    font-size: 0.95rem;
    padding: 0.4rem var(--space-sm);
    margin-bottom: 0;
    border-bottom: 1px solid rgba(156, 158, 132, 0.3);
    background: var(--white);
    align-self: center;
  }

  .product-description {
    grid-area: info;
    font-size: 0.82rem;
    padding: var(--space-xs) var(--space-sm);
    margin-bottom: 0;
    align-self: center;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }

  .section-contact-header {
    padding-top: 160px !important;
  }

  .section[style*="padding-top"] {
    padding-top: 160px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content {
    padding: var(--space-md) var(--space-xs);
  }

  .hero-subtitle {
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow-green);
  color: var(--carbon-black);
  padding: 1rem 2rem;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--carbon-black);
  outline-offset: -3px;
}

/* Focus visible styles */
:focus-visible {
  outline: 3px solid var(--olive-leaf);
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--carbon-black);
  outline-offset: 2px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Notice Box with Sewing Stitch Pattern */
.notice-stitch {
  position: relative;
  padding-top: calc(var(--space-md) + 12px);
  padding-bottom: calc(var(--space-md) + 12px);
}

.notice-stitch::before,
.notice-stitch::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background:
    radial-gradient(ellipse 3px 1.5px at center, var(--beige) 0%, transparent 100%),
    radial-gradient(ellipse 3px 1.5px at center, var(--beige) 0%, transparent 100%);
  background-size: 16px 4px;
  background-position: 0 0, 8px 0;
  background-repeat: repeat-x;
}

/* ============================================
   TYPEWRITER ANIMATION
   ============================================ */

.typewriter {
  display: inline;
}

.cursor {
  display: inline-block;
  width: 0.1em;
  height: 1em;
  background-color: var(--beige);
  margin-left: 2px;
  animation: blink 0.7s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.cursor.hidden {
  display: none;
}

/* ============================================
   SUBTITLE HIGHLIGHT ANIMATION
   ============================================ */

.subtitle-animate {
  display: inline-block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.subtitle-animate.active {
  transform: scale(1.2);
}

.highlight-marker {
  position: relative;
  z-index: 1;
}

.highlight-marker::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.4em;
  background-color: var(--yellow-green);
  opacity: 0.3;
  z-index: -1;
  transform: skewX(-15deg);
}

.subtitle-animate.active .highlight-marker::after {
  animation: drawHighlight 0.8s ease forwards;
}

@keyframes drawHighlight {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.notice-stitch::before {
  top: 6px;
}

.notice-stitch::after {
  bottom: 6px;
}

/* ============================================
   PRODUCT IMAGE LIGHTBOX
   ============================================ */

.product-image {
  cursor: pointer;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 26, 3, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.88);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--beige);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--carbon-black);
  transition: background var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  background: var(--yellow-green);
  transform: scale(1.1);
}