/* ========================================
   INTERCOUNTY SUPPLIES - FEATHER & FIBRES PAGE
   Location: assets/css/feather-fibres.css
   Description: Matching homepage style (fonts & colors)
   Dependencies: global.css (must load first)
   ======================================== */

/* ============ VARIABLES - MATCHING HOMEPAGE ============ */
#ics-feather-page {
  /* ACTUAL homepage colors (from global.css) */
  --text: #1A202C;
  --text-light: #4A5568;
  --text-muted: #718096;
  --bg: #FFFFFF;
  --bg-secondary: #F7FAFC;
  --bg-tertiary: #EDF2F7;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --accent: #FF6B35;
  --accent-dark: #E55A28;
  --accent-light: #FFF5F2;
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  
  /* Same font as homepage */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ PAGE WRAPPER ============ */
#ics-feather-page .ics-main {
  background: var(--bg);
  min-height: 100vh;
}

/* ============ PAGE HEADER (SIMPLE - NOT HERO) ============ */
.ics-page-header {
  text-align: center;
  padding: 50px 20px 30px;
  margin-bottom: 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.ics-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.ics-page-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-light);
  margin: 0;
  font-weight: 500;
}

/* ============ TYPOGRAPHY (MATCHING HOMEPAGE) ============ */
#ics-feather-page .ics-h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

#ics-feather-page .ics-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

#ics-feather-page .ics-section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* ============ INTRO SECTION ============ */
.ics-intro-section {
  padding: 80px 20px;
  background: var(--bg);
}

.ics-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ics-intro-content {
  padding: 0;
}

.ics-intro-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
}

/* Image Box with Border */
.ics-intro-image {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ics-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ============ PRODUCTS LIST SECTION ============ */
.ics-products-list-section {
  padding: 80px 20px;
  background: var(--bg);
}

.ics-products-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Image Box with Border */
.ics-list-image {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ics-list-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.ics-list-content {
  padding: 0;
}

.ics-list-content .ics-h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.ics-product-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.ics-product-list li {
  padding: 14px 0 14px 32px;
  position: relative;
  color: var(--text-light);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border-light);
}

.ics-product-list li:last-child {
  border-bottom: none;
}

.ics-product-list li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============ INFO SECTION ============ */
.ics-info-section {
  padding: 80px 20px;
  background: var(--bg);
}

.ics-info-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 1000px;
  margin: 0 auto;
}

.ics-info-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
  text-align: center;
}

/* ============ FEATURES SECTION (MATCHING HOMEPAGE) ============ */
.ics-features-section {
  padding: 80px 20px;
  background: var(--bg);
}

.ics-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.ics-feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.ics-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.ics-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
}

.ics-feature-icon svg {
  width: 32px;
  height: 32px;
}

.ics-feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.ics-feature-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 900px) {
  .ics-intro-grid,
  .ics-products-list-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Image first, text second on mobile */
  .ics-intro-content {
    order: 2;
  }

  .ics-intro-image {
    order: 1;
  }

  .ics-list-content {
    order: 2;
  }

  .ics-list-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .ics-page-header {
    padding: 40px 20px 24px;
    margin-bottom: 32px;
  }

  .ics-intro-section,
  .ics-products-list-section {
    padding: 60px 20px;
  }

  .ics-info-section {
    padding: 60px 20px;
  }

  .ics-info-box {
    padding: 32px 24px;
  }

  .ics-info-text {
    font-size: 1rem;
  }

  .ics-features-section {
    padding: 60px 20px;
  }

  .ics-features-grid {
    grid-template-columns: 1fr;
  }

  .ics-intro-text,
  .ics-product-list li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .ics-feature-card {
    padding: 24px;
  }

  .ics-product-list li {
    font-size: 0.95rem;
  }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============ PRINT STYLES ============ */
@media print {
  .ics-info-section,
  .ics-features-section,
  .ics-intro-section,
  .ics-products-list-section {
    page-break-inside: avoid;
  }
}

/* ========================================
   END OF FEATHER & FIBRES STYLES
   Now matching homepage fonts & colors! ✨
   ======================================== */