/*
Theme Name: AES HVAC
Theme URI: https://fredericksburg-hvac.com
Author: Advanced Environment Solutions
Author URI: https://fredericksburg-hvac.com
Description: Custom WordPress theme for Advanced Environment Solutions HVAC services
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aes-hvac
*/

/* Import Tailwind CSS */
@import 'https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css';

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(to right, rgba(22, 101, 52, 0.9), rgba(21, 128, 61, 0.9));
}

/* Header Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Hero Section */
.hero-section {
    /*position: relative;
    background: linear-gradient(to right, rgba(22, 101, 52, 0.9), rgba(21, 128, 61, 0.9)); 
	background-image: url('/users/u23/23156/imports/14004/wp-content/themes/aes-hvac/wp-content/uploads/2025/02/Kids-Running-Carrier.jpg');*/
  	background-size: cover; /* Ensure the image covers the entire area */
  	background-position: center; /* Center the image */
  	position: relative; /* For overlay positioning */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('<?php echo get_theme_file_uri("/users/u23/23156/imports/14004/wp-content/themes/aes-hvac/wp-content/uploads/2025/02/Kids-Running-Carrier.jpg"); ?>');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.no-underline {
  text-decoration: none !important;
  color: inherit !important;
  display: block; /* Make the entire card clickable */
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* New - allows wrapping for anything smaller than sm breakpoint */
.cta-buttons > * {
  flex: 1 1 auto;
  min-width: 600px; /* or whatever your desired minimum width is */
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-wrap: nowrap;
    }
	.cta-buttons > * {
      flex: none; /* Remove flex properties on larger screens, let content determine size */
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
    width: 100%;
}

@media (min-width: 640px) {
    .cta-button {
        width: auto;
    }
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Star Rating */
.star-rating {
    display: flex !important;
    gap: 2px;
}

.star-rating svg {
    width: 20px !important;
    height: 20px !important;
    color: #fbbf24;
}

/* Section Backgrounds */
.bg-gray-50 {
    background-color: #f9fafb !important;
}

/* Button Colors */
.bg-green-700 {
    background-color: #15803d !important;
}

.hover\:bg-green-800:hover {
    background-color: #166534 !important;
}

/* Footer Styles */
.service-areas {
    columns: 2;
    column-gap: 2rem;
}

.service-areas li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}