/*
Theme Name:   Toothbrush Embroidery
Theme URI:    https://toothbrushembroidery.com
Description:  GeneratePress Child Theme for toothbrushembroidery.com — B2B Toothbrush Embroidery Manufacturer
Author:       DBSQ1
Author URI:   https://toothbrushembroidery.com
Template:     generatepress
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:  toothbrush-embroidery
*/

/* ===== CSS Custom Properties (Design Tokens) ===== */
:root {
  --te-primary: #1a2a4a;       /* Deep Navy */
  --te-primary-light: #2d4373;
  --te-accent: #c8a84e;        /* Gold accent */
  --te-accent-light: #e0c97a;
  --te-white: #ffffff;
  --te-off-white: #f8f9fa;
  --te-gray-100: #f0f1f3;
  --te-gray-200: #e2e4e7;
  --te-gray-600: #6b7280;
  --te-gray-800: #374151;
  --te-gray-900: #111827;
  --te-radius: 8px;
  --te-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --te-shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

/* ===== Global Typography ===== */
body {
  color: var(--te-gray-800);
  -webkit-font-smoothing: antialiased;
}

/* ===== Utility Classes ===== */
.te-section {
  padding: 5rem 0;
}

.te-section-alt {
  background: var(--te-off-white);
  padding: 5rem 0;
}

.te-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

.te-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--te-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.te-section-subtitle {
  font-size: 1.125rem;
  color: var(--te-gray-600);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.te-section-title-center {
  text-align: center;
}

.te-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--te-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.te-btn-primary {
  background: var(--te-accent);
  color: var(--te-primary);
}

.te-btn-primary:hover {
  background: var(--te-accent-light);
  transform: translateY(-1px);
}

.te-btn-outline {
  background: transparent;
  color: var(--te-white);
  border: 2px solid var(--te-white);
}

.te-btn-outline:hover {
  background: var(--te-white);
  color: var(--te-primary);
}

.te-btn-secondary {
  background: var(--te-primary);
  color: var(--te-white);
}

.te-btn-secondary:hover {
  background: var(--te-primary-light);
  transform: translateY(-1px);
}

/* ===== Trust Bar ===== */
.te-trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.te-trust-item {
  padding: 2rem 1rem;
}

.te-trust-icon {
  font-size: 2rem;
  color: var(--te-accent);
  margin-bottom: 0.75rem;
}

.te-trust-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--te-primary);
}

.te-trust-label {
  font-size: 0.875rem;
  color: var(--te-gray-600);
  margin-top: 0.25rem;
}

/* ===== Category Cards ===== */
.te-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.te-cat-card {
  background: var(--te-white);
  border-radius: var(--te-radius);
  overflow: hidden;
  box-shadow: var(--te-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.te-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--te-shadow-lg);
}

.te-cat-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--te-gray-100);
}

.te-cat-card-body {
  padding: 1.5rem;
}

.te-cat-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--te-primary);
  margin-bottom: 0.5rem;
}

.te-cat-card-desc {
  font-size: 0.875rem;
  color: var(--te-gray-600);
  line-height: 1.5;
}

/* ===== Why Us ===== */
.te-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.te-why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.te-why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--te-primary);
  color: var(--te-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.te-why-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--te-primary);
  margin-bottom: 0.5rem;
}

.te-why-content p {
  font-size: 0.9375rem;
  color: var(--te-gray-600);
  line-height: 1.6;
}

/* ===== Process Steps ===== */
.te-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: process;
}

.te-process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.te-process-step::before {
  counter-increment: process;
  content: counter(process);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--te-accent);
  color: var(--te-primary);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
}

.te-process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--te-primary);
  margin-bottom: 0.5rem;
}

.te-process-step p {
  font-size: 0.875rem;
  color: var(--te-gray-600);
}

/* ===== Gallery Grid ===== */
.te-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.te-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--te-radius);
  cursor: pointer;
}

.te-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.te-gallery-item:hover img {
  transform: scale(1.05);
}

.te-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26,42,74,0.85));
  color: var(--te-white);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.te-gallery-item:hover .te-gallery-overlay {
  opacity: 1;
}

/* ===== Blog Cards ===== */
.te-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.te-blog-card {
  background: var(--te-white);
  border-radius: var(--te-radius);
  overflow: hidden;
  box-shadow: var(--te-shadow);
}

.te-blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--te-gray-100);
}

.te-blog-card-body {
  padding: 1.5rem;
}

.te-blog-card-date {
  font-size: 0.8rem;
  color: var(--te-gray-600);
  margin-bottom: 0.5rem;
}

.te-blog-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--te-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.te-blog-card-link {
  color: var(--te-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

/* ===== RFQ Form ===== */
.te-rfq-section {
  background: var(--te-primary);
  color: var(--te-white);
  padding: 5rem 0;
}

.te-rfq-section .te-section-title {
  color: var(--te-white);
}

.te-rfq-section .te-section-subtitle {
  color: rgba(255,255,255,0.8);
}

/* ===== Footer ===== */
.te-footer {
  background: var(--te-gray-900);
  color: var(--te-gray-200);
  padding: 3rem 0 2rem;
}

.te-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.te-footer h4 {
  color: var(--te-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.te-footer p,
.te-footer a {
  font-size: 0.9rem;
  color: var(--te-gray-200);
  line-height: 1.7;
}

.te-footer a:hover {
  color: var(--te-accent);
}

.te-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--te-gray-600);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .te-category-grid,
  .te-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .te-trust-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .te-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .te-section { padding: 3rem 0; }
  .te-section-title { font-size: 1.75rem; }
  .te-category-grid,
  .te-gallery-grid,
  .te-why-grid,
  .te-process-steps,
  .te-blog-grid,
  .te-trust-bar {
    grid-template-columns: 1fr;
  }
  .te-container { padding: 0 1.25rem; }
  .te-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
