/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* --- Color & Font Variables --- */
:root {
    --color-orange: #F5793B;
    --color-yellow: #FCD031;
    --color-white: #f8f8f8;
    --color-black: #3B3B3B;
    --color-dark-gray: #7B7B7B;
    --color-light-gray: #BBBBBB;
    --color-white-gray: #FAF9FE;
    --color-light-yellow: #FFEEAF;
    --font-main: 'Montserrat', sans-serif;
}

/* --- General Body & Reset Styles --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-dark-gray);
}

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

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

/* --- Navigation Bar --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--color-orange);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav > div:first-child {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-white);
}

.top-nav a {
    color: var(--color-white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.top-nav a:hover {
    opacity: 1;
    color: var(--color-white);
}

/* --- NEW: Section Layout & Styling --- */
.section {
    width: 100%;
    padding: 5rem 5%;
}

.section:nth-of-type(even) {
    background-color: var(--color-light-yellow);
}

.section:nth-of-type(odd) {
    background-color: var(--color-white);
}

.section-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem; /* Space between text and image */
    max-width: 1200px;
    margin: 0 auto;
}

/* Alternate layout direction for even-numbered sections */
.section:nth-of-type(even) .section-container {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1; /* Takes up half the space */
    text-align: left; /* Align text to the left */
}

.section-image {
    flex: 1; /* Takes up the other half */
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Typography --- */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.section-text > div {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: 3rem; /* Made hero headline larger */
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

/* --- Call to Action (CTA) Button --- */
button {
    background: linear-gradient(45deg, var(--color-orange), var(--color-yellow));
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 121, 59, 0.3);
}

/* --- Footer --- */
footer {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-light-gray);
    padding: 2rem 5%;
    text-align: center;
}

footer a {
    color: var(--color-white);
    font-weight: 600;
    margin: 0 1rem;
}

footer a:hover {
    color: var(--color-orange);
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 768px) {
    .section-container {
        flex-direction: column !important; /* Stack columns on mobile, !important overrides row-reverse */
    }

    .section-text {
        text-align: center; /* Center text on mobile */
        margin-bottom: 2rem;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

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