/* Eagle Engineering & Design - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --primary-blue: #0066CC;
  --secondary-gray: #495057;
  --accent-green: #28A745;
  --success-color: #20C997;
  --warning-color: #FFC107;
  --danger-color: #DC3545;
  --light-bg: #F8F9FA;
  --dark-text: #212529;
  --border-color: #DEE2E6;
  --shadow-light: 0 2px 10px rgba(0, 102, 204, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 102, 204, 0.15);
  --gradient-primary: linear-gradient(135deg, #0066CC 0%, #004499 100%);
  --gradient-dark: linear-gradient(135deg, #495057 0%, #343A40 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: #ffffff;
}

.tech-font {
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
}

/* Header Styles */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.main-header.scrolled {
  box-shadow: var(--shadow-medium);
  background: rgba(255, 255, 255, 0.98);
}

.brand-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.brand-logo:hover {
  color: var(--accent-green);
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-gray) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
  background-color: rgba(0, 102, 204, 0.1);
}

/* Hero Section */
.hero-automotive {
  background: var(--gradient-primary);
  color: white;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.hero-automotive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 68, 153, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  background: var(--accent-green);
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.secondary-btn:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Service Cards */
.service-card {
  background: white;
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--secondary-gray);
  margin-bottom: 1rem;
}

/* Team Cards */
.team-member {
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.team-role {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-blue);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-light);
  transform: translateX(5px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-blue);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  padding: 2.5rem;
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--secondary-gray);
  margin-bottom: 0.5rem;
}

.submit-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: var(--gradient-dark);
  transform: translateY(-2px);
}

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

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* FAQ Accordion */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-header {
  background: var(--light-bg);
  padding: 1.5rem;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--dark-text);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header:hover {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-blue);
}

.faq-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-content.active {
  padding: 1.5rem;
  max-height: 500px;
}

/* Cookie Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-consent-banner.show {
  display: block;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 5px;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background: var(--accent-green);
  color: white;
}

.cookie-decline {
  background: var(--secondary-gray);
  color: white;
}

.cookie-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Footer */
.main-footer {
  background: var(--gradient-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-section h5 {
  color: var(--accent-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: white;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .cta-button,
  .secondary-btn {
    width: 100%;
    margin-bottom: 1rem;
    justify-content: center;
  }
  
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}

/* Utility Classes */
.section-padding {
  padding: 4rem 0;
}

.text-primary-custom {
  color: var(--primary-blue) !important;
}

.bg-light-custom {
  background-color: var(--light-bg) !important;
}

.border-primary-custom {
  border-color: var(--primary-blue) !important;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Form Success State */
.form-success {
  background: var(--success-color);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.form-success h4 {
  margin-bottom: 1rem;
}

/* Blog Article Styles */
.article-preview {
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-preview:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.article-excerpt {
  color: var(--secondary-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more-btn {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.read-more-btn:hover {
  background: var(--gradient-dark);
  transform: translateY(-1px);
}

.article-full {
  display: none;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  margin-top: 1rem;
}

.article-full.active {
  display: block;
}

.show-less-btn {
  background: var(--secondary-gray);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.show-less-btn:hover {
  background: #6c757d;
}