/* 3D-Printed Spare Parts Marketplace - Main Styles */
/* Bootstrap 5 base framework - NO OVERRIDES ALLOWED */

:root {
  /* Color Palette - 5 primary colors + shades */
  --primary-color: #6B73FF;
  --primary-light: #9BA3FF;
  --primary-dark: #4A52CC;
  
  --secondary-color: #00D4AA;
  --secondary-light: #66E5CC;
  --secondary-dark: #00A085;
  
  --accent-color: #FF6B6B;
  --accent-light: #FF9999;
  --accent-dark: #E55555;
  
  --neutral-color: #2D3748;
  --neutral-light: #718096;
  --neutral-dark: #1A202C;
  
  --background-color: #F7FAFC;
  --background-light: #FFFFFF;
  --background-dark: #EDF2F7;
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Conservative font sizes */
  --fs-h1: 2.25rem;
  --fs-h2: 1.875rem;
  --fs-h3: 1.5rem;
  --fs-h4: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-brand: 1.5rem; /* Conservative navbar-brand size */
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 1.5rem;
}

/* Typography */
body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--neutral-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

/* Conservative navbar-brand sizing */
.navbar-brand {
  font-size: var(--fs-brand) !important;
  font-weight: 700;
  color: var(--primary-color);
}

/* Section Layouts */
.section {
  padding: var(--section-padding);
}

.section-light {
  background-color: var(--background-light);
}

.section-dark {
  background-color: var(--background-dark);
}

/* Hero Section - Fullscreen */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background-dark) 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
  transform: rotate(15deg);
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 30%;
  height: 150%;
  background: var(--secondary-color);
  opacity: 0.05;
  border-radius: 50%;
  transform: rotate(-15deg);
}

/* Services Cards */
.service-card {
  background: var(--background-light);
  border: 1px solid var(--background-dark);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(107, 115, 255, 0.1);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* Features Grid */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

/* Team Cards */
.team-card {
  background: var(--background-light);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-role {
  color: var(--neutral-light);
  font-size: var(--fs-small);
}

/* Reviews/Testimonials - Static Cards Only */
.review-card {
  background: var(--background-light);
  border: 1px solid var(--background-dark);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* FAQ - Static Cards Only (NO Accordion) */
.faq-card {
  background: var(--background-light);
  border: 1px solid var(--background-dark);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--neutral-light);
  margin: 0;
}

/* Price Plan Cards */
.price-card {
  background: var(--background-light);
  border: 2px solid var(--background-dark);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  height: 100%;
}

.price-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--background-dark);
}

/* Contact Form */
.contact-form {
  background: var(--background-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--background-dark);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: var(--fs-body);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(107, 115, 255, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--neutral-dark);
  color: var(--background-light);
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--background-light);
  margin-bottom: 1rem;
}

footer a {
  color: var(--neutral-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--background-light);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog Grid */
.blog-card {
  background: var(--background-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Utilities */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Conservative approach - minimal decorative elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.03;
  pointer-events: none;
}


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
