/* Rainwater System Installer Template - Main Styles */

/* Color Palette */
:root {
  --primary-blue: #3498db;
  --primary-green: #27ae60;
  --primary-gray: #34495e;
  --primary-light: #ecf0f1;
  --primary-dark: #2c3e50;
  
  /* Light shades */
  --light-blue: #85c1e9;
  --light-green: #7fb3d3;
  --light-gray: #bdc3c7;
  
  /* Dark shades */
  --dark-blue: #2471a3;
  --dark-green: #1e8449;
  --dark-gray: #1b2631;
}

/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-gray);
    overflow-x: hidden;
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

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

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Header */
.navbar {
  background-color: var(--primary-light);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  color: var(--primary-dark);
}

.nav-link {
  color: var(--primary-gray);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-blue);
}

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

.hero-content {
  color: var(--primary-dark);
    padding-top: 100px;
}

.hero-image {
  position: relative;
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-blue);
  opacity: 0.1;
  z-index: 1;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  left: -30px;
  background: var(--primary-green);
}

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

.section-alt {
  background-color: var(--primary-light);
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Services Cards */
.service-card {
  height: 100%;
  border-left: 4px solid var(--primary-blue);
}

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

/* Team Cards */
.team-member {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-light);
}

/* Testimonials */
.testimonial-card {
  border-left: 4px solid var(--primary-green);
  background-color: #fff;
}

/* FAQ Cards */
.faq-card {
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-blue);
}

/* Contact Form */
.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-info {
  background-color: var(--primary-dark);
  color: white;
  padding: 2rem;
  border-radius: 8px;
}

.form-control {
  border-radius: 4px;
  border: 2px solid var(--light-gray);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

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

.footer-section h5 {
  color: var(--light-blue);
  margin-bottom: 1rem;
}

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

.footer-link:hover {
  color: var(--light-blue);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

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

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

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Price Plans */
.price-card {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  position: relative;
  background: white;
}

.price-card.featured {
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Process Steps */
.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary-blue);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% - 12px);
  background: var(--light-gray);
}

.timeline-item:last-child::after {
  display: none;
}

/* Breadcrumbs */
.breadcrumb-container {
  background-color: var(--primary-light);
  padding: 1rem 0;
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .hero,
  .navbar,
  .footer {
    display: none;
  }
}



/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

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