/*
 Theme Name:   GardenPartsPro Child
 Template:     astra
 Description:  Professional Garden Machinery Supplier Theme
 Version:      1.0
*/

/* Orange Color Scheme */
:root {
  --gpp-primary: #FF6600;
  --gpp-accent: #FF8C00;
  --gpp-dark: #CC5200;
  --gpp-light: #FFF5EB;
  --gpp-gray: #666666;
  --gpp-dark-bg: #1a1a1a;
}

/* Import Parent Theme */
@import url("../astra/style.css");

/* Top Bar - Orange Theme */
.site-top-bar {
  background: var(--gpp-dark);
  color: white;
  padding: 8px 0;
  font-size: 13px;
}
.site-top-bar a { color: white; text-decoration: none; }
.site-top-bar a:hover { color: var(--gpp-accent); }
.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header */
.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Hero Section - Orange Theme */
.hero-section {
  background: linear-gradient(135deg, var(--gpp-primary), var(--gpp-dark));
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
}
.hero-section h1 {
  font-size: 52px;
  color: white;
  margin-bottom: 20px;
  font-weight: bold;
}
.hero-section h2 {
  font-size: 26px;
  color: white;
  margin-bottom: 20px;
  opacity: 0.95;
}
.hero-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
}
.hero-btn {
  display: inline-block;
  background: white;
  color: var(--gpp-primary);
  padding: 18px 50px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
}
.hero-btn:hover {
  background: var(--gpp-accent);
  color: white;
  transform: translateY(-2px);
}

/* Category Cards */
.category-section {
  padding: 60px 20px;
  background: white;
}
.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--gpp-primary);
  margin-bottom: 50px;
  font-weight: bold;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}
.category-card {
  padding: 40px 25px;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s;
  text-decoration: none;
  color: #333;
  background: var(--gpp-light);
  border: 2px solid transparent;
}
.category-card:hover {
  border-color: var(--gpp-primary);
  box-shadow: 0 15px 40px rgba(255,102,0,0.2);
  transform: translateY(-5px);
}
.category-card .icon {
  font-size: 55px;
  margin-bottom: 20px;
  display: block;
}
.category-card h3 {
  font-size: 17px;
  color: var(--gpp-dark);
  margin-bottom: 8px;
  font-weight: bold;
}
.category-card p {
  font-size: 14px;
  color: var(--gpp-gray);
  margin: 0;
}

/* Products Section */
.products-section {
  padding: 60px 20px;
  background: #f8f9fa;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.product-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}
.product-image {
  height: 220px;
  background: linear-gradient(135deg, #FFF5EB, #FFE4CC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 65px;
}
.product-info {
  padding: 20px;
}
.product-title {
  font-size: 15px;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.5;
  min-height: 45px;
}
.product-title a {
  text-decoration: none;
  color: #333;
}
.product-title a:hover {
  color: var(--gpp-primary);
}
.product-price {
  font-size: 24px;
  color: var(--gpp-primary);
  font-weight: bold;
}
.product-price .old {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
  font-weight: normal;
}
.product-btn {
  display: block;
  background: var(--gpp-primary);
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  margin-top: 15px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}
.product-btn:hover {
  background: var(--gpp-dark);
  color: white;
}

/* Features Section */
.features-section {
  padding: 60px 20px;
  background: white;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-item {
  text-align: center;
  padding: 35px 25px;
  border-radius: 12px;
  background: var(--gpp-light);
}
.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
}
.feature-item h3 {
  font-size: 18px;
  color: var(--gpp-dark);
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 14px;
  color: var(--gpp-gray);
  margin: 0;
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, var(--gpp-primary), var(--gpp-dark));
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.newsletter-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.newsletter-section p {
  margin-bottom: 25px;
  opacity: 0.9;
}
.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
}
.newsletter-form button {
  background: white;
  color: var(--gpp-primary);
  border: none;
  padding: 15px 35px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  font-size: 15px;
}
.newsletter-form button:hover {
  background: var(--gpp-accent);
  color: white;
}

/* Footer */
.site-footer {
  background: var(--gpp-dark-bg);
  color: white;
  padding: 60px 20px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}
.footer-col h4 {
  color: var(--gpp-accent);
  margin-bottom: 20px;
  font-size: 17px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 12px;
}
.footer-col a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
}
.footer-col a:hover {
  color: var(--gpp-accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  max-width: 1400px;
  margin: 0 auto;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  background: var(--gpp-primary);
  color: white;
  padding: 15px 40px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
}
.cta-btn:hover {
  background: var(--gpp-dark);
  color: white;
  transform: translateY(-2px);
}
