/* City Landing Page Styles */

/* 
   Landing Page CSS para ciudades de Able Heating & Cooling
   Versión 1.0
*/

:root {
  --primary-color: #44C37C;
  --secondary-color: #34495e;
  --accent-color: #fed136;
  --text-color: #555555;
  --light-color: #f8f9fa;
  --dark-color: #2c3e50;
  --gray-color: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--secondary-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #2a9d5c;
  text-decoration: none;
}

section {
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.btn {
  padding: 10px 25px;
  border-radius: 50px;
  transition: var(--transition);
  font-weight: 500;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: #3aad6e;
  border-color: #3aad6e;
}

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

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

.text-primary {
  color: var(--primary-color) !important;
}

.btn-outline-light:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: -1px;
  padding-top: 70px; /* Added padding to account for fixed navbar */
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  margin-top: 50px;
  max-width: 800px;
  padding-top: 30px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p.lead {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  margin-right: 15px;
  margin-bottom: 10px;
  padding: 12px 24px;
  font-weight: 500;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* Navigation */
.navbar {
  padding-top: 10px; 
  padding-bottom: 10px;
  transition: all 0.3s;
  background-color: rgba(0, 0, 0, 0.8);
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar-brand img {
  max-height: 40px;
}

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

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

.navbar-dark .navbar-nav .nav-link.contact-btn {
  background: var(--primary-color);
  border-radius: 4px;
  color: white;
  padding: 0.5rem 1.25rem;
  margin-left: 10px;
}

.contact-btn {
  background-color: var(--primary-color);
  border-radius: 50px;
  padding: 8px 20px !important;
}

.contact-btn:hover {
  background-color: #2a9d5c;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 15px;
}

.section-title h2:after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.service-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 15px 0;
  color: var(--dark-color);
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.service-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.service-card ul li {
  margin-bottom: 8px;
  color: var(--gray-color);
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--primary-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-img {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.city-map {
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
}

.stats-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

.stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-color);
}

.about-content {
  padding-left: 30px;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.city-description {
  margin-bottom: 30px;
}

.city-features h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature-item i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.testimonial-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
}

.quote-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray-color);
}

.client-info {
  display: flex;
  align-items: center;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 15px;
}

.client-info h5 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.client-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-color);
}

.rating {
  margin-left: auto;
}

.rating i {
  color: var(--warning-color);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: white;
}

.info-box {
  display: flex;
  margin-bottom: 25px;
}

.info-box .icon {
  width: 60px;
  height: 60px;
  background: #f7f7f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.info-box .icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-box .text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-box .text p {
  color: var(--gray-color);
  margin-bottom: 0;
}

.contact-form-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Footer */
.landing-footer {
  padding-top: 60px;
  background-color: var(--dark-color);
  color: white;
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

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

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
}

.landing-footer hr {
  background-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

/* Service Areas Section */
.service-areas {
  background-color: white;
  border-top: 1px solid #eee;
}

.area-link {
  display: inline-block;
  color: var(--gray-color);
  text-decoration: none;
  padding: 5px;
  transition: color 0.3s ease;
}

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

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

.financing-info {
  background-color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    min-height: 650px;
    height: auto;
    padding-bottom: 100px;
    padding-top: 90px; /* Increased padding for smaller screens */
  }
  
  .hero-content {
    margin-top: 120px; /* Increased margin for mobile screens */
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    height: auto;
    padding: 100px 0 100px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .about-img {
    height: 350px;
    margin-bottom: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    margin-top: 80px;
  }
  
  .stats-overlay {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    margin-bottom: 15px;
  }
}
