/* General Body & Typography */
:root {
    --primary-color: #007BFF;
    --secondary-color: #0056b3;
    --accent-color: #FFC107;
    --text-color: #333;
    --bg-color: #FFFFFF;
    --light-gray: #f8f9fa;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Header & Navigation */
.navbar {
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: bold;
    font-size: 1rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ffca2c;
    color: var(--text-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
}

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

/* Services Section */
.services {
    padding: 4rem 0;
    text-align: center;
}

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

.grid-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.grid-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background-color: var(--light-gray);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin: 0;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.content-section .container {
    max-width: 800px;
}

.contact-info {
    margin-top: 2rem;
    background: var(--light-gray);
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
}

/* Affiliate Landing Page */
.affiliate-hero {
    padding: 8rem 0;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}

.affiliate-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 100, 0.6);
    z-index: 1;
}

.affiliate-hero .container {
    position: relative;
    z-index: 2;
}

.affiliate-hero h1 {
    color: var(--accent-color);
    font-size: 3.5rem;
}
.affiliate-hero h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.affiliate-hero .description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2.5rem;
}
.cta-button-large {
    background: var(--accent-color);
    color: #333;
    font-size: 1.5rem;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.3s ease;
}
.cta-button-large:hover {
    background-color: #ffda70;
    transform: scale(1.05);
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
    text-align: center;
}

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

.review-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.review-card p {
    font-style: italic;
}
.reviewer {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 1rem;
}


/* Footer */
footer {
    background: var(--text-color);
    color: #ccc;
    padding: 2rem 0 1rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-info, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-info p {
    margin: 0.3rem 0;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-links a:hover {
    color: white;
}

.affiliate-disclaimer {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-top: 1rem;
    color: #aaa;
}

.copyright {
    text-align: center;
    margin-top: 1.5rem;
    border-top: 1px solid #555;
    padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .nav-links.active {
        max-height: 250px;
        padding-bottom: 1rem;
    }

    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    h1, .hero h1, .affiliate-hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
    }
}