/* ==================================================
   RAINWATER HARVESTING SYSTEM INSTALLER TEMPLATE
   Main CSS File - Bootstrap 5 Integration
   ================================================== */

/* Color Palette Variables */
:root {
  --primary-blue: #5288df;
  --primary-green: #81d52c;
  --primary-teal: #4dcaa5;
  --primary-gray: #b0a1a2;
  --primary-navy: #233342;
  
  /* Light shades */
  --light-blue: #ddedfa;
  --light-green: #f6fff0;
  --light-teal: #f0fffb;
  --light-gray: #f8f9fa;
  --light-navy: #ecf0f1;
  
  /* Dark shades */
  --dark-blue: #2368ac;
  --dark-green: #7bcd22;
  --dark-teal: #2ad193;
  --dark-gray: #738394;
  --dark-navy: #101c23;
}

/* Typography Overrides */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary-navy);
  line-height: 1.6;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-navy);
}

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

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

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

p {
  font-size: 1rem;
  color: var(--primary-gray);
}

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

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(88, 143, 222, 0.10);
  border-radius: 50%;
  top: 20%;
  right: 10%;
  z-index: 1;
}

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

/* Button Styles */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

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

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

/* Card Styles */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

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

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 15px;
}

/* Team Member Cards */
.team-card {
  text-align: center;
  padding: 20px;
}

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

/* Review Cards */
.review-card {
  background: var(--light-gray);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-teal);
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  border-left: 4px solid var(--primary-green);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.faq-answer {
  color: var(--primary-gray);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 8px;
  border: 2px solid var(--light-gray);
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

/* Footer */
.footer {
  background-color: var(--primary-navy);
  color: white;
  padding: 50px 0 20px;
}

.footer h5 {
  color: var(--primary-teal);
  margin-bottom: 20px;
}

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

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

/* Gallery */
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

/* Process/Timeline Items */
.process-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-item::before {
  content: counter(process-counter);
  counter-increment: process-counter;
  position: absolute;
  top: -15px;
  left: 30px;
  background: var(--primary-green);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.process-container {
  counter-reset: process-counter;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 20px 0;
}

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

/* Animation Support */
@media (prefers-reduced-motion: no-preference) {
  .sal-animate {
    transition: all 0.3s ease;
  }
}

/* Mobile Animation Disable */
@media (max-width: 768px) {
  .sal-animate {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* Utility Classes */
.text-primary-blue { color: var(--primary-blue); }
.text-primary-green { color: var(--primary-green); }
.text-primary-teal { color: var(--primary-teal); }
.bg-light-blue { background-color: var(--light-blue); }
.bg-light-green { background-color: var(--light-green); }
.bg-light-teal { background-color: var(--light-teal); }

/* No Important Usage - Clean CSS */ 

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


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

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

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

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