/*
Theme Name: Fountain Coastal Construction
Theme URI: https://fountaincoastal.com
Description: Custom theme for Fountain Coastal Construction - Hilton Head Island
Version: 1.0
Author: Fountain Electric & Services
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.contact-info {
    text-align: right;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-info a:hover {
    text-decoration: underline;
}

.hero {
    /* Add your own background image here - just upload it to your theme folder */
    background: linear-gradient(rgba(26, 84, 144, 0.7), rgba(26, 84, 144, 0.7)),
                url('/wp-content/uploads/2025/12/FountainCoastalConstructionHeaderAlt.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #e67e22;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px 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 5px 20px rgba(0,0,0,0.15);
}

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

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1a5490;
    margin-bottom: 1rem;
}

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

.why-choose {
    background: #f8f9fa;
    padding: 2.5rem 0;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #1a5490;
    margin-bottom: 0.5rem;
}

.contact-section {
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

footer a:visited {
    color: #ffffff;
}

footer a:hover {
    color: #f39c12;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
        margin-top: 1rem;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}