/* Golf Cart Parts - Main Stylesheet */
:root {
  --primary: #1a5632;
  --primary-light: #2d8a4e;
  --accent: #f0a500;
  --bg: #f9fafb;
  --text: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --radius: 8px;
  --max-width: 1280px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: var(--max-width); margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text); }
.nav-links a:hover { color: var(--primary); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 200px; padding: 8px 0; }
.nav-links .dropdown:hover .dropdown-menu { display: block; }
.nav-links .dropdown-menu a { display: block; padding: 8px 16px; font-size: 0.9rem; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Breadcrumb */
.breadcrumb { padding: 12px 0; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb span { margin: 0 6px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #0d3d1f 100%); color: var(--white); padding: 80px 0; text-align: center; }
.hero h1 { font-size: 2.8rem; margin-bottom: 16px; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 0 auto 32px; }
.hero .btn { display: inline-block; background: var(--accent); color: #000; padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; }
.hero .btn:hover { background: #d49200; }

/* Section */
.section { padding: 64px 0; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px; color: var(--primary); }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 40px; font-size: 1.05rem; }

/* Brand Cards */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand-card { background: var(--white); border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform 0.2s; }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.brand-card h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--primary); }
.brand-card p { color: var(--text-light); margin-bottom: 16px; }
.brand-card .btn-sm { display: inline-block; background: var(--primary); color: var(--white); padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; }

/* Category Grid */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { background: var(--white); border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; color: var(--text); transition: all 0.2s; }
.cat-card:hover { border-color: var(--primary); color: var(--primary); }

/* Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.product-card .product-img { height: 200px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.9rem; }
.product-card .product-info { padding: 16px; }
.product-card h4 { font-size: 1rem; margin-bottom: 8px; }
.product-card .compat { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.product-card .sku { font-size: 0.75rem; color: var(--accent); font-weight: 600; }

/* Why Choose */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 24px; }
.why-card .icon { font-size: 2.5rem; margin-bottom: 12px; }
.why-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.why-card p { font-size: 0.9rem; color: var(--text-light); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.review-card .stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 8px; }
.review-card .text { font-style: italic; margin-bottom: 12px; color: var(--text); }
.review-card .author { font-weight: 600; font-size: 0.9rem; }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.blog-card .blog-img { height: 180px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.blog-card .blog-info { padding: 20px; }
.blog-card .blog-date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.blog-card h4 { margin-bottom: 8px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; padding: 20px; }
.faq-item h4 { color: var(--primary); margin-bottom: 8px; }
.faq-item p { color: var(--text-light); }

/* CTA */
.cta { background: var(--primary); color: var(--white); text-align: center; padding: 64px 0; }
.cta h2 { font-size: 2rem; margin-bottom: 12px; }
.cta p { opacity: 0.9; margin-bottom: 24px; }
.cta .btn { display: inline-block; background: var(--accent); color: #000; padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; }

/* Page Header */
.page-header { background: var(--primary); color: var(--white); padding: 48px 0; text-align: center; }
.page-header h1 { font-size: 2.2rem; }
.page-header p { opacity: 0.85; margin-top: 8px; }

/* Content Page */
.content-page { padding: 48px 0; }
.content-page h2 { color: var(--primary); margin: 32px 0 16px; font-size: 1.5rem; }
.content-page h3 { color: var(--text); margin: 24px 0 12px; font-size: 1.2rem; }
.content-page p { margin-bottom: 16px; color: var(--text-light); }
.content-page ul { margin: 16px 0; padding-left: 24px; }
.content-page li { margin-bottom: 8px; color: var(--text-light); }

/* Table */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--primary); color: var(--white); padding: 12px 16px; text-align: left; font-size: 0.9rem; }
.data-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.data-table tr:last-child td { border-bottom: none; }

/* Factory / Wholesale */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); }
.feature-card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.feature-card h4 { color: var(--primary); margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; }

/* Footer */
.site-footer { background: #111827; color: #9ca3af; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #9ca3af; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 32px; margin-top: 32px; border-top: 1px solid #1f2937; font-size: 0.85rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; background: var(--white); }
.pagination a.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Guide Table of Contents */
.toc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.toc h3 { margin-bottom: 12px; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }

/* Responsive */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
