/* Template 1: HomeProBuilder - General Contractor */
/* Color Palette: Navy #2C3E50, Orange #E67E22, Grey #ECF0F1 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #34495E;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
}

/* Header */
header {
    background: #2C3E50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-header {
    background: #E67E22;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-header:hover {
    background: #D35400;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232C3E50" width="1200" height="600"/><text x="50%" y="50%" fill="white" font-size="40" text-anchor="middle" opacity="0.1">Construction Image</text></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #E67E22;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #D35400;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #2C3E50;
}

/* Trust Bar */
.trust-bar {
    background: #ECF0F1;
    padding: 30px 20px;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.trust-item {
    font-weight: 600;
    color: #2C3E50;
}

/* Section Styles */
section {
    padding: 60px 20px;
}

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

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

section p.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 3rem;
    color: #E67E22;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2C3E50;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.learn-more {
    color: #E67E22;
    text-decoration: none;
    font-weight: bold;
}

/* Why Choose Us */
.why-choose {
    background: white;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-image {
    width: 100%;
    height: 400px;
    background: #ECF0F1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95a5a6;
}

.why-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.why-list {
    list-style: none;
}

.why-list li {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #ecf0f1;
}

.why-list li:before {
    content: "✓ ";
    color: #E67E22;
    font-weight: bold;
    margin-right: 10px;
}

/* Testimonials */
.testimonials {
    background: #ECF0F1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stars {
    color: #F39C12;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: #2C3E50;
}

.testimonial-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
    background: #E67E22;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

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

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-light {
    background: white;
    color: #E67E22;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-light:hover {
    background: #ECF0F1;
}

/* Footer */
footer {
    background: #2C3E50;
    color: white;
    padding: 40px 20px 20px;
}

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

.footer-section h3 {
    margin-bottom: 15px;
    color: #E67E22;
}

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: #E67E22;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Contact Form */
.contact-page {
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.btn-submit {
    background: #E67E22;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #D35400;
}

.privacy-note {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 15px;
    text-align: center;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    color: #2C3E50;
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.contact-item strong {
    color: #2C3E50;
    min-width: 60px;
}

.emergency-box {
    background: #E67E22;
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.emergency-box h3 {
    color: white;
    margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .header-phone {
        flex-direction: column;
        gap: 10px;
    }
    
    section h2 {
        font-size: 2rem;
    }
}
