/* Main CSS for Home Energy Storage Installation Service */

:root {
  /* Color Palette - Energy-focused pastel high-contrast colors */
  --primary-green: #3fa346;
  --primary-blue: #358df7;
  --primary-orange: #fc6f00;
  --primary-teal: #007e6a;
  --primary-purple: #8528a0;
  
  /* Light and dark shades */
  --green-light: #c9e8ca;
  --green-dark: #419648;
  --blue-light: #d4edfc;
  --blue-dark: #1577d6;
  --orange-light: #eac6a9;
  --orange-dark: #d44e00;
  --teal-light: #c2f5ea;
  --teal-dark: #097b60;
  --purple-light: #cf9ed8;
  --purple-dark: #680fa5;
  
  /* Text colors */
  --text-primary: #2e3133;
  --text-secondary: #667586;
  --text-light: #ffffff;
  
  /* Background colors */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #2d3439;
}

/* Conservative typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  font-size: 16px;
}

/* Conservative heading sizes */
h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

h4 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
}

h5 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Conservative navbar brand */
.navbar-brand {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* Hero section styling */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-decorative {
  position: absolute;
  background: var(--primary-teal);
  opacity: 0.1;
  border-radius: 50%;
}

.hero-blob-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
}

.hero-blob-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  background: var(--primary-orange);
}

/* Section styling */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Service cards */
.service-card {
  background: var(--bg-white);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-header {
  background: var(--green-light);
  border: none;
  padding: 1.5rem;
  border-radius: 12px 12px 0 0;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
}

/* Team member cards */
.team-card {
  background: var(--bg-white);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-3px);
}

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

/* Reviews/Testimonials cards */
.review-card {
  background: var(--bg-white);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-green);
}

/* FAQ cards */
.faq-card {
  background: var(--bg-white);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

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

.faq-answer {
  color: var(--text-secondary);
}

/* Process/Timeline items */
.process-item {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
}

.process-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: var(--primary-green);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

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

.form-control {
  border: 2px solid #e2e2e2;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 16px;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(70, 188, 84, 0.25);
}

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

.btn-primary:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

/* Gallery */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer - no gradients, high contrast colors only */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

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

.footer a:hover {
  color: var(--primary-green);
}

/* Breadcrumbs - image only */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Utility classes */
.text-primary-green {
  color: var(--primary-green);
}

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

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

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
  
  .hero-section {
    animation: none;
  }
  
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover img,
  .btn-primary:hover {
    transform: none;
  }
} 

.hero-section h1 {
    padding-top: 250px;
}


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
