/* style.css */

/* -- Color Variables -- */
:root {
    --background-color: #fff; /* White background */
    --text-color: #000; /* Black text */
    --accent-color: #ff4500; /* Bright orange accent (example) */
    --secondary-color: #555; /* Darker gray for subtext */
    --font-family: "Helvetica Neue", sans-serif;
}

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

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

/* Header */
.site-header {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem; /* Adds spacing between the header and the content */
}
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto 2rem;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}
.cta-button {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}
.cta-button:hover {
    opacity: 0.9;
}

/* Hero Image Gallery */
.hero-image-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.image-card {
    width: 120px;
    height: 200px;
    background-color: #eee;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

/* Email Signup */
.email-signup {
    padding: 2rem;
    text-align: center;
}
.email-signup form {
    margin-top: 1rem;
}
.email-signup input {
    padding: 0.5rem;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.email-signup button {
    margin-left: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* Info Section */
.info-section {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
/* Center the header text and add spacing below the header */
.info-section h2 {
    text-align: center;
    margin-bottom: 1.5rem; /* Adjust the value as needed */
}

/* Optionally, if you have paragraphs under the headers, add spacing below them as well */
.info-section p {
    margin-bottom: 1.5rem;
}
/* Updated Info Grid Using Flex Layout */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; /* Center items if the row isn’t full */
}

.info-box {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    flex: 1 1 calc(25% - 1rem);
    max-width: calc(25% - 1rem);
    text-align: center; /* Centers the text inside the box */
}

/* Responsive adjustments for info boxes */
@media (max-width: 1024px) {
    .info-box {
        flex: 1 1 calc(33.33% - 1rem);
        max-width: calc(33.33% - 1rem);
    }
}

@media (max-width: 768px) {
    .info-box {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .info-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Perks */
.perks {
    padding: 2rem;
    text-align: center;
}
.partner-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.partner-logos img {
    height: 40px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
    margin-top: 2rem;
}
