/* Main CSS for SolarShade Pro - Solar Canopy Installer */

/* ===== ROOT VARIABLES ===== */
:root {
  /* Primary Color Palette */
  --primary-blue: #4a90e2;
  --primary-green: #50c878;
  --primary-orange: #ff8c42;
  --primary-purple: #8b5cf6;
  --primary-teal: #14b8a6;
  
  /* Light Shades */
  --light-blue: #e8f4fd;
  --light-green: #e8f5e8;
  --light-orange: #fff2e8;
  --light-purple: #f3f0ff;
  --light-teal: #e6fffa;
  
  /* Dark Shades */
  --dark-blue: #2563eb;
  --dark-green: #059669;
  --dark-orange: #ea580c;
  --dark-purple: #7c3aed;
  --dark-teal: #0d9488;
  
  /* Additional Colors */
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  --border-light: #e5e7eb;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 80px 0;
  --border-radius: 8px;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
}

.text-muted {
  color: var(--text-muted);
}

/* ===== HEADER STYLES ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* ===== BUTTON STYLES ===== */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: white;
  box-shadow: var(--shadow-medium);
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  color: white;
}

.btn-warning {
  background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
  color: white;
  box-shadow: var(--shadow-medium);
}

.btn-warning:hover {
  background: linear-gradient(135deg, var(--dark-orange), var(--primary-orange));
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  color: white;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(80, 200, 120, 0.8));
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../XIR_images/hero-bg.webp') center/cover no-repeat;
  z-index: -1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* ===== CARD STYLES ===== */
.card {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.card-img-top {
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* ===== SECTION STYLES ===== */
section {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--bg-light);
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-blue), var(--light-green));
  margin: 0 auto;
}

/* ===== PROCESS NUMBERS ===== */
.process-number {
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-medium);
}

/* ===== TIMELINE STYLES ===== */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-blue), var(--primary-green));
}

.timeline-item {
  position: relative;
  padding-left: 80px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-blue);
  border: 4px solid white;
  box-shadow: var(--shadow-medium);
}

.timeline-content {
  background: white;
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: var(--shadow-medium);
  transform: translateX(5px);
}

/* ===== FORM STYLES ===== */
.form-control {
  border-radius: var(--border-radius);
  border: 2px solid var(--border-light);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* ===== ACCORDION STYLES ===== */
.accordion-item {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.accordion-button {
  background: white;
  border: none;
  font-weight: 600;
  color: var(--text-dark);
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--light-blue), var(--light-green));
  color: var(--primary-blue);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.accordion-body {
  padding: 1.5rem;
  background: white;
}

/* ===== GALLERY STYLES ===== */
#gallery img {
  transition: all 0.3s ease;
  cursor: pointer;
}

#gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ===== FOOTER STYLES ===== */
footer {
  background: linear-gradient(135deg, #1f2937, #111827);
}

footer h5, footer h6 {
  color: aliceblue !important;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-blue);
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-blue); }
.text-success { color: var(--primary-green); }
.text-warning { color: var(--primary-orange); }
.text-info { color: var(--primary-teal); }
.text-secondary { color: var(--text-muted); }

.bg-primary { background-color: var(--primary-blue); }
.bg-success { background-color: var(--primary-green); }
.bg-warning { background-color: var(--primary-orange); }
.bg-info { background-color: var(--primary-teal); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  :root {
    --font-size-base: 14px;
    --section-padding: 60px 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .timeline {
    padding-left: 0;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-item::before {
    left: 7px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

/* ===== FOCUS STYLES ===== */
*:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
  outline: none;
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== CUSTOM UTILITIES ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.decoration-line {
  position: relative;
}

.decoration-line::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
  border-radius: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  footer,
  .btn,
  #gallery {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
} 

.hero-section h1 {
    padding-top: 275px;
}


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
