/*
Theme Name: Alden Supplies
Theme URI: https://aldensupplies.shop
Author: ALDENMERE LIMITED
Author URI: https://aldensupplies.shop
Description: Premium wholesale packaging supplies theme for Alden Supplies — paper-based products, food packaging, shipping supplies & custom packaging solutions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aldeshop
Tags: e-commerce, wholesale, packaging, custom-menu, featured-images, threaded-comments
*/

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-dark: #111927;
  --green: #2d6a4f;
  --green-light: #40916c;
  --green-dark: #1b4332;
  --gold: #d4a843;
  --gold-light: #e0c068;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --mid-gray: #adb5bd;
  --dark-gray: #495057;
  --text: #212529;
  --text-light: #6c757d;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Inter', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1280px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { margin-bottom: 1rem; }

/* ===== UTILITIES ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-light { background: var(--off-white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.flex { display: flex; align-items: center; gap: 1rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.8rem; font-size: 1.05rem; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
}
.card-glass:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card-text { color: var(--text-light); font-size: 0.92rem; }

/* ===== BADGES ===== */
.badge {
  display: inline-block; padding: 0.3rem 0.8rem;
  border-radius: 50px; font-size: 0.78rem; font-weight: 600;
}
.badge-green { background: rgba(45,106,79,0.12); color: var(--green); }
.badge-gold { background: rgba(212,168,67,0.15); color: #b8922e; }
.badge-navy { background: rgba(26,35,50,0.1); color: var(--navy); }

/* ===== PRODUCT GRID ===== */
.product-card { position: relative; }
.product-card .qty-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--navy);
  padding: 0.3rem 0.7rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
}
.product-card .product-img {
  width: 100%; height: 240px;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--mid-gray);
}
.product-card .product-info { padding: 1.25rem; }
.product-card .product-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.product-card .product-qty { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.75rem; }
.product-card .btn-request {
  width: 100%; padding: 0.7rem;
  background: var(--navy); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-weight: 600; cursor: pointer;
  transition: all var(--transition);
}
.product-card .btn-request:hover { background: var(--green); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-header .divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  margin: 1rem auto 0; border-radius: 2px;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-control {
  width: 100%; padding: 0.85rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--green); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ===== TABLES ===== */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--light-gray); }
th { background: var(--navy); color: var(--white); font-weight: 600; }
tr:hover { background: var(--off-white); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 1rem 0; font-size: 0.85rem; color: var(--text-light);
}
.breadcrumbs a { color: var(--green); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0; color: var(--white); text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* ===== FAQ ACCORDION ===== */
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-question {
  width: 100%; padding: 1.25rem 0;
  background: none; border: none;
  font-size: 1.05rem; font-weight: 600;
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--green); transition: transform var(--transition); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 1.25rem; color: var(--text-light); }
.faq-item.active .faq-answer { max-height: 500px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
  padding: 5rem 0; text-align: center; color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-size: 1.1rem; }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.stat-item { text-align: center; padding: 2rem; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--gold); font-family: var(--font-heading); }
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-top: 0.5rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white); padding: 2rem;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.testimonial-text { font-style: italic; color: var(--dark-gray); margin-bottom: 1rem; line-height: 1.7; }
.testimonial-author { font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 0.85rem; color: var(--text-light); }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--green), var(--gold));
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -2.55rem; top: 0.3rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--white);
}
.timeline-item h4 { color: var(--navy); margin-bottom: 0.3rem; }
.timeline-item p { color: var(--text-light); font-size: 0.92rem; }

/* ===== RESPONSIVE IMPORTS ===== */
@media(max-width:768px) {
  .section { padding: 3rem 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 3rem 0; }
}
@media(max-width:480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
