/* ========================================
   PARTS SHOP - COMING SOON PAGE
   ======================================== */

/* Hero Section */
.parts-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}

.parts-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 50%, var(--brand) 100%);
  z-index: 0;
}

.parts-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 46, 46, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%);
  z-index: 1;
}

.parts-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 2;
}

.parts-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.parts-hero-badge {
  display: inline-block;
  background: rgba(255, 46, 46, 0.9);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(255, 46, 46, 0.4);
  }
  50% { 
    box-shadow: 0 0 0 15px rgba(255, 46, 46, 0);
  }
}

.parts-hero h1 {
  font-family: var(--font-display);
  font-size: 7rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.05;
  margin: 0 0 24px 0;
  font-weight: 400;
}

.parts-hero p {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */

.parts-categories {
  padding: 80px var(--gutter);
  background: var(--bg);
}

.parts-categories-inner {
  max-width: var(--page-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px 0;
}

.section-header p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.section-header-light h2 {
  color: #fff;
}

.section-header-light p {
  color: rgba(255, 255, 255, 0.8);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-600) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(4, 21, 98, 0.15);
  border-color: transparent;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-icon i {
  font-size: 24px;
  color: #fff;
}

.category-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

/* ========================================
   BRANDS SECTION
   ======================================== */

.parts-brands {
  padding: 80px var(--gutter);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
}

.parts-brands-inner {
  max-width: var(--page-max);
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-card img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================
   EMAIL NOTIFY SECTION
   ======================================== */

.parts-notify {
  padding: 100px var(--gutter);
  background: var(--bg-gray);
  position: relative;
  overflow: hidden;
}

.parts-notify::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(4, 21, 98, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.parts-notify::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(4, 21, 98, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.parts-notify-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.notify-content {
  text-align: center;
}

.notify-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  border-radius: 50%;
  animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(0deg); }
}

.notify-icon i {
  font-size: 28px;
  color: #fff;
}

.notify-content h2 {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px 0;
}

.notify-content > p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 32px 0;
  text-align: center;
}

.notify-form {
  width: 100%;
}

.notify-input-group {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 50px;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.notify-input-group:focus-within {
  border-color: var(--brand);
}

.notify-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
}

.notify-input-group input::placeholder {
  color: var(--muted);
}

.notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff2e2e 0%, #e62626 100%);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.notify-btn:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(255, 46, 46, 0.4);
}

.notify-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.notify-btn:hover i {
  transform: translateX(3px);
}

.notify-message {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  text-align: center;
  min-height: 24px;
}

.notify-message.success {
  color: var(--success);
}

.notify-message.error {
  color: var(--danger);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1000px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .parts-hero {
    min-height: 60vh;
    padding: 100px var(--gutter) 60px;
  }
  
  .parts-hero h1 {
    font-size: 4rem;
  }
  
  .parts-hero p {
    font-size: 15px;
  }
  
  .parts-hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .parts-categories,
  .parts-brands {
    padding: 60px var(--gutter);
  }
  
  .parts-notify {
    padding: 80px var(--gutter);
  }
  
  .section-header h2 {
    font-size: 22px;
  }
  
  .section-header p {
    font-size: 15px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .category-card {
    padding: 24px 16px;
  }
  
  .category-icon {
    width: 60px;
    height: 60px;
  }
  
  .category-icon i {
    font-size: 20px;
  }
  
  .category-card h3 {
    font-size: 16px;
  }
  
  .category-card p {
    font-size: 14px;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .brand-card {
    padding: 24px;
    min-height: 80px;
  }
  
  .brand-card img {
    max-width: 100px;
    max-height: 45px;
  }
  
  .notify-content h2 {
    font-size: 22px;
  }
  
  .notify-content > p {
    font-size: 15px;
  }
}

@media (max-width: 500px) {
  .parts-hero h1 {
    font-size: 3rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
    padding: 20px;
  }
  
  .category-icon {
    margin: 0;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
  }
  
  .category-icon i {
    font-size: 18px;
  }
  
  .category-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  
  .category-card p {
    font-size: 14px;
    text-align: left;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .notify-input-group {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 0;
    background: transparent;
    box-shadow: none;
    gap: 16px;
  }
  
  .notify-input-group input {
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
  }
  
  .notify-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
  }
}
