/* Solar Clean Pro - Main CSS */

/* Color Palette */
:root {
  --primary-color: #1486fd;
  --primary-light: #7dd3fe;
  --primary-dark: #1f69d3;
  
  --secondary-color: #fc9400;
  --secondary-light: #f2da58;
  --secondary-dark: #f7a22f;
  
  --accent-color: #47c24e;
  --accent-light: #7fe084;
  --accent-dark: #37913b;
  
  --neutral-color: #5e7a83;
  --neutral-light: #83969c;
  --neutral-dark: #5f6e7b;
  
  --success-color: #87cd4a;
  --success-light: #a5cc86;
  --success-dark: #579f2d;
  
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #707c8d;
  --dark-gray: #3c4047;
  --black: #000000;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* Respect 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;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.navbar-brand {
  font-size: 1.58rem;
  font-weight: 700;
  color: var(--primary-color);
}

.display-4 {
  font-size: 2.64rem;
}

.display-6 {
  font-size: 2rem;
}

/* Header Styles */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--dark-gray);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-bg {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-bg .container {
  position: relative;
  z-index: 2;
}

.hero-bg h1 {
  color: var(--white);
  text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Button Styles */
.btn {
  border-radius: 6px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 8px rgba(47, 153, 253, 0.30);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Card Styles */
.card {
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 25px rgba(0,0,0,0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Team Photos */
.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Process Steps */
.process-step {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.57rem;
  font-weight: bold;
  margin: 0 auto;
}

/* Timeline Years */
.timeline-year {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.26rem;
  font-weight: bold;
  margin: 0 auto;
}

/* Section Spacing */
section {
  padding: 5rem 0;
}

/* Background Colors */
.bg-light {
  background-color: var(--light-gray);
}

/* Icon Styles */
.fa-3x {
  font-size: 3rem;
}

.fa-2x {
  font-size: 2rem;
}

.text-primary {
  color: var(--primary-color);
}

.text-success {
  color: var(--success-color);
}

.text-warning {
  color: var(--secondary-color);
}

/* Form Styles */
.form-control {
  border-radius: 6px;
  border: 2px solid #d6e0f3;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 155, 242, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.71rem;
}

/* Contact Info */
.contact-info h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.60rem;
}

/* Footer */
footer {
  background-color: var(--success-dark);
}

footer h5, footer h6 {
  color: var(--white);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-light);
}

/* Utility Classes */
.text-muted {
  color: var(--medium-gray);
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Badge Styles */
.badge {
  font-size: 0.78rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-success {
  background-color: var(--success-color);
}

.bg-warning {
  background-color: var(--secondary-color);
  color: var(--dark-gray);
}

/* List Styles */
.list-unstyled li {
  margin-bottom: 0.71rem;
}

/* Responsive Images */
.img-fluid {
  border-radius: 8px;
}

/* Gallery Styles */
#gallery .img-fluid {
  transition: transform 0.3s ease;
  cursor: pointer;
}

#gallery .img-fluid:hover {
  transform: scale(1.05);
}

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.48rem; }
.mb-2 { margin-bottom: 0.68rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.73rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-auto { margin-top: auto; }

/* Flexbox Utilities */
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

/* Text Utilities */
.text-center { text-align: center; }
.text-md-end { text-align: right; }

.fw-bold { font-weight: 700; }
.fw-600 { font-weight: 600; }

/* Custom Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0a5cc6;
    --dark-gray: #000000;
    --medium-gray: #404040;
  }
  
  .card {
    border: 2px solid var(--dark-gray);
  }
}

/* Print Styles */
@media print {
  .navbar,
  #gallery,
  footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
