/*
Theme Name: IAH Home Services
Description: Professional WordPress theme for IAH Home Services - Gutter Cleaning, Gutter Guards & Window Cleaning
Author: IAH Home Services
Version: 1.0
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header and Navigation - Matching Original */
header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #f0f0f0;
}

.header-cta {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
}

/* Hero Section - Matching Original Layout */
.hero {
    padding: 120px 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.hero-text {
    flex: 1;
    max-width: 50%;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.2;
}

.blue-text {
    color: #4285f4;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.trust-badge::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Hero Form - In place of hero image */
.hero-form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 500px;
    border: 1px solid #e1e5e9;
    flex: 1;
    max-width: 50%;
}

.hero-form h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.form-subtitle {
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.hero-form input, 
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: #4285f4;
}

.hero-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Buttons - Matching Original Style */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4285f4;
    border: 2px solid #4285f4;
}

.btn-secondary:hover {
    background: #4285f4;
    color: white;
}

.hero-form .btn-primary {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Sections General Styles */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

section > p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section - Matching Original Cards */
.services {
    background-color: #fff;
    border-radius: 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.service-icon.blue { background-color: #4285f4; }
.service-icon.green { background-color: #34a853; }
.service-icon.yellow { background-color: #fbbc04; }

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Why Choose Section */
.why-choose {
    background-color: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-icon.blue { color: #4285f4; }
.benefit-icon.green { color: #34a853; }
.benefit-icon.yellow { color: #fbbc04; }
.benefit-icon.red { color: #ea4335; }

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit p {
    color: #666;
}

/* Testimonials */
.testimonials {
    background-color: #fff;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fbbc04;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.customer strong {
    display: block;
    color: #333;
    margin-bottom: 0.3rem;
}

.customer span {
    color: #666;
    font-size: 0.9rem;
}

/* About Section */
.about {
    background-color: #f8f9fa;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 1rem;
    color: #666;
}

.about .btn {
    margin-top: 2rem;
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f8f9fa;
    margin-bottom: 1rem;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    text-align: center;
    border-radius: 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: white;
    color: #4285f4;
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
}

/* Footer - Matching Original */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-nav a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.contact-info h4,
.footer-benefits h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.contact-item {
    margin-bottom: 0.5rem;
}

.contact-item strong {
    display: inline-block;
    width: 80px;
    color: #bdc3c7;
}

.contact-item a {
    color: #4285f4;
    text-decoration: none;
}

.footer-benefits ul {
    list-style: none;
}

.footer-benefits ul li {
    padding: 0.3rem 0;
    color: #bdc3c7;
}

.footer-benefits ul li:before {
    content: "✓ ";
    color: #34a853;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-form {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav ul li a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-form {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
