/* Avila's Radiator Service - Professional Theme CSS */

/* Global Reset and Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
}

/* Professional Color Palette */
:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #3b82f6;
  --accent-orange: #f97316;
  --dark-gray: #374151;
  --light-gray: #f8fafc;
  --white: #ffffff;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --success-green: #10b981;
  --hover-blue: #1d4ed8;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Critical Fix for Strong Elements */
.text-white strong,
.text-white b,
[class*="text-"] strong,
[class*="text-"] b,
.style-color strong,
.style-color b {
  color: inherit;
}

/* Header and Navigation */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-blue) !important;
}

.navbar-toggler {
  border: 2px solid var(--primary-blue);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

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

.hero-title {
  color: var(--white) !important;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  background: var(--accent-orange);
  color: var(--white) !important;
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.hero-cta:hover {
  background: #ea580c;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.hero-secondary {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
  padding: 13px 33px;
  margin-left: 15px;
}

.hero-secondary:hover {
  background: var(--white);
  color: var(--primary-blue) !important;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Cards and Components */
.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
}

.service-title {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-price {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.service-btn {
  background: var(--secondary-blue);
  color: var(--white) !important;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
}

.service-btn:hover {
  background: var(--hover-blue);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* About Section */
.about-section {
  background: var(--light-gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.feature-content h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-light);
  margin: 0;
}

/* Testimonials */
.testimonials-section {
  background: var(--primary-blue);
  color: var(--white);
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
}

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

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--white);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--white) !important;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: #ea580c;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
  background: var(--light-gray);
  border-radius: 15px;
  padding: 2.5rem;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h5 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.contact-details p {
  margin: 0;
  color: var(--text-light);
}

/* Cookie Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--dark-gray);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-consent-banner h6 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cookie-consent-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.cookie-decline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

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

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-gray) 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

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

.footer-widget {
  margin-bottom: 2rem;
}

.footer-widget h5 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-widget h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-blue);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background: rgba(59, 130, 246, 0.3);
  transform: scale(1.1);
}

.footer-contact-icon i,
.footer-contact-icon span {
  font-size: 1.1rem;
}

.footer-contact-content h6 {
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.footer-contact-content p,
.footer-contact-content a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.footer-contact-content a:hover {
  color: var(--secondary-blue);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
  background: var(--secondary-blue);
  color: var(--white);
  transform: translateY(-2px);
  border-color: var(--secondary-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.footer-bottom a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter {
  margin-bottom: 2rem;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.footer-newsletter-input:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-btn {
  background: var(--accent-orange);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-secondary {
    margin-left: 0;
    margin-top: 1rem;
    display: block;
    text-align: center;
  }
  
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-secondary {
    margin-left: 0;
    margin-top: 1rem;
    display: block;
    text-align: center;
  }
  
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  /* Footer Mobile Styles */
  .site-footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-widget {
    margin-bottom: 1.5rem;
  }
  
  .footer-widget h5 {
    font-size: 1.2rem;
  }
  
  .footer-social {
    gap: 0.75rem;
    margin-top: 1rem;
  }
  
  .footer-social-link {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .footer-contact-item {
    gap: 0.75rem;
  }
  
  .footer-contact-icon {
    width: 35px;
    height: 35px;
  }
  
  .footer-newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-newsletter-input,
  .footer-newsletter-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card,
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  /* Footer Small Mobile Styles */
  .site-footer {
    padding: 2.5rem 0 1rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-widget {
    margin-bottom: 1.25rem;
  }
  
  .footer-widget h5 {
    font-size: 1.1rem;
  }
  
  .footer-links {
    margin-bottom: 1rem;
  }
  
  .footer-contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .footer-contact-icon {
    align-self: flex-start;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-primary { background-color: var(--primary-blue) !important; }
.bg-light { background-color: var(--light-gray) !important; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-5 { padding: 3rem 0; }