/* GutterFix Experts - style.css */
/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #1a2a45; /* Dark Blue */
    --secondary-color: #f4f7fc; /* Light Grey Background */
    --accent-color: #4caf50; /* Vibrant Green */
    --accent-hover-color: #43a047;
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Global & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fff;
}

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

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover-color);
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--secondary-color);
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* --- Header & Navigation --- */
.header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}


/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(26, 42, 69, 0.8), rgba(26, 42, 69, 0.8)), url('https://placehold.co/1920x1080/4F6B8F/FFFFFF?text=Clean+Gutters') no-repeat center center/cover;
    color: var(--light-text-color);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

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

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent-color);
}

/* --- About & Content Pages --- */
.content-page {
    padding: 80px 0;
}
.content-page h1 {
    text-align: center;
    margin-bottom: 40px;
}
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.content-wrapper h2 {
    text-align: left;
    margin-top: 30px;
}
.content-wrapper ul {
    list-style-position: inside;
    padding-left: 20px;
}
.content-wrapper p {
    margin-bottom: 1rem;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item .icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* --- Affiliate Page --- */
.affiliate-hero {
    padding: 80px 0;
    text-align: center;
    background-color: var(--secondary-color);
}

.affiliate-hero .hero-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.affiliate-hero h1 {
    font-size: 3.2rem;
    color: var(--primary-color);
}

.affiliate-hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: -0.5rem auto 1.5rem;
    max-width: 700px;
}

.affiliate-hero .description {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.affiliate-hero .cta-button {
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.disclaimer {
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
    text-align: center;
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-left: 5px solid var(--accent-color);
}

.review-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.review-card .author {
    font-weight: 600;
    color: var(--primary-color);
}

.review-card .stars {
    color: #ffc107; /* Gold */
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p, .footer-col ul, .footer-col li {
    color: #ccc;
    list-style: none;
}

.footer-col ul li a {
    color: #ccc;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom .disclaimer {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px; /* Header height */
        right: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        text-align: center;
        gap: 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        border-top: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 20px;
    }
    
    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero { padding: 100px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul li a:hover { padding-left: 0; }
}