/* 
   TitanFlow Pumps Website Styles
   Dark blue/metallic gray theme
*/

/* ===== Base Styles ===== */
:root {
  --primary: #0d6efd;
  --dark-blue: #0a2c4e;
  --secondary-blue: #185f8c;
  --light-blue: #e9f2fa;
  --metallic-gray: #62727b;
  --light-gray: #f4f7fa;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.section {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  font-weight: 700;
}

.section-title:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  margin: 10px auto 0;
}

.bg-dark-blue {
  background-color: var(--dark-blue);
}

.text-dark-blue {
  color: var(--dark-blue);
}

.btn {
  border-radius: 4px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== Navigation ===== */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: #fff;
}

/* ===== Hero Section ===== */
.hero {
  background-color: var(--dark-blue);
  background-image: linear-gradient(135deg, rgba(10, 44, 78, 0.9) 0%, rgba(24, 95, 140, 0.9) 100%);
  color: #fff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #fff;
  clip-path: polygon(0% 0%, 5% 60%, 10% 0%, 15% 60%, 20% 0%, 25% 60%, 30% 0%, 35% 60%, 40% 0%, 45% 60%, 50% 0%, 55% 60%, 60% 0%, 65% 60%, 70% 0%, 75% 60%, 80% 0%, 85% 60%, 90% 0%, 95% 60%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ===== Features Section ===== */
.feature-card {
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--primary);
}

/* ===== Product Card ===== */
.product-card {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
  height: 180px;
  object-fit: contain;
  padding: 1rem;
}

.product-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.product-rating {
  color: #ffc107;
}

.selected-card {
  border: 2px solid var(--primary);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

/* ===== Recommendation Form ===== */
.recommendation-form {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.recommendation-results {
  padding-top: 2rem;
}

.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* ===== Comparison Table ===== */
.comparison-table th,
.comparison-table td {
  vertical-align: middle;
}

.comparison-highlight {
  background-color: rgba(13, 110, 253, 0.1);
  font-weight: bold;
}

/* ===== Contact Form ===== */
.contact-info {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
  border-radius: 4px;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
}

.contact-form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
  border-color: var(--primary);
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark-blue);
  color: #fff;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .navbar-dark .navbar-nav .nav-link.active:after {
    left: 0;
    right: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* WhatsApp Button will be styled via JavaScript */