/* Custom CSS for Indur Septic Tank Cleaning Website */

/* Color Palette - Blue and Green Theme */
:root {
  --primary-blue: #0066cc;
  --secondary-blue: #004499;
  --primary-green: #28a745;
  --secondary-green: #20c997;
  --light-blue: #e6f3ff;
  --light-green: #e8f5e8;
  --dark-text: #333333;
  --light-text: #666666;
  --white: #ffffff;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  scroll-behavior: smooth;
  padding-top: 80px;
}

/* Navbar Styling */
.navbar {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-green) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--secondary-green);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.logo-placeholder {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-weight: bold;
  margin-right: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url("images/Whisk_4074b8e0505da219ffd40e85d35eb913dr(1).jpeg")
    no-repeat center center/cover;
  color: var(--white);
  padding: 6rem 1rem;
  text-align: center;
  overflow: hidden;
}

/* Dark overlay */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 20, 50, 0.7),
    /* stronger dark blue tint */ rgba(0, 20, 50, 0.85)
      /* even darker near bottom */
  );
  z-index: 1;
}

/* Keep text above overlay */
.hero-section .hero-content {
  position: relative;
  z-index: 2;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: slideInUp 1s ease 0.2s both;
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  color: var(--white);
  text-decoration: none;
}

.btn-outline-custom {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--light-text);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styling */
.card-custom {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-custom .card-body {
  padding: 2rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* Carousel Styling */
.carousel-custom .carousel-item img {
  height: 400px;
  object-fit: cover;
  width: 100%;
  border-radius: 15px;
}

.carousel-custom .carousel-caption {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 1rem;
}

/* Contact Form */
.contact-form {
  background: var(--light-blue);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.form-control {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.3);
}

/* Map Container */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-text), #1a1a1a);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer h5 {
  color: var(--secondary-green);
  margin-bottom: 1rem;
}

.footer a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--secondary-green);
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #999;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: slideInUp 0.8s ease;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease;
}

/* Service Icons */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }

  .carousel-custom .carousel-item img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-blue) !important;
}

.text-green-custom {
  color: var(--primary-green) !important;
}

.bg-light-blue {
  background-color: var(--light-blue) !important;
}

.bg-light-green {
  background-color: var(--light-green) !important;
}

/* Contact Info Cards */
.contact-info-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

.logo {
  height: 90; /* keeps it same size as the droplet */
  width: auto; /* maintains aspect ratio */
  max-width: 100%; /* prevents overflow */
}
