/* Google Fonts - Optional, if you want a specific font like Chowdeck's */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');

/* General Body and Base Styles */
body {
    font-family: 'Space Grotesk', sans-serif; /* Using a modern sans-serif font */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #FFF8EE; /* The light creamy yellow from Chowdeck */
    color: #333; /* Dark gray for general text */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll on small screens */
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%; /* Adjust padding for spacing */
    background-color: transparent; /* No background, background is body's */
    position: relative;
    z-index: 10;
}

.logo a {
    font-weight: 700;
    font-size: 1.5em;
    color: #000; /* Dark color for logo text */
    text-decoration: none;
    background-color: #388E3C; /* Green background for logo similar to Chowdeck */
    color: white;
    padding: 10px 20px;
    border-radius: 50px; /* Rounded pill shape */
}

/* Navigation Menu */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px; /* Space between navigation items */
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.main-nav a {
    color: #555; /* Default link color */
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 20px;
}

.main-nav a.active,
.main-nav a:hover {
    color: #000; /* Darker on hover/active */
    background-color: #FFC107; /* Chowdeck's highlight color */
    font-weight: 700;
}

/* Main Content Area */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 5%; /* Generous padding around main content */
    text-align: center;
}

/* Hero Section (Main Heading and Description) */
.hero-section {
    max-width: 800px; /* Constrain width for readability */
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 4.5em; /* Large, impactful font size */
    font-weight: 700;
    color: #000; /* Black for the main heading */
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em; /* Tighten letter spacing */
}

.hero-section p {
    font-size: 1.1em;
    color: #555; /* Slightly lighter for description */
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px; /* Slightly rounded corners for buttons */
    font-weight: 600;
    font-size: 1.05em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
    background-color: #000; /* Black filled button */
    color: white;
    border: 2px solid #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.button-secondary {
    background-color: transparent; /* Outlined button */
    color: #000;
    border: 2px solid #000;
}

.button-secondary:hover {
    transform: translateY(-2px);
    background-color: #000; /* Fills on hover */
    color: white;
}

/* Example Content Section (general content) */
.content-section {
    width: 100%;
    max-width: 960px;
    padding: 40px 20px;
    margin-top: 50px; /* Space from hero section */
    background-color: #ffffff; /* White background for internal content */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left; /* Adjust text alignment for readability within a section */
}

.content-section h2 {
    font-size: 2.5em;
    color: #000;
    margin-bottom: 30px;
    text-align: center; /* Center heading within section */
}

.content-section p {
    margin-bottom: 1em; /* Spacing between paragraphs */
}


/* Footer Styles */
footer {
    background-color: #1a1a1a; /* Dark footer */
    color: #ccc;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .hero-section h1 {
        font-size: 3.5em;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .main-nav ul {
        margin-top: 15px;
        gap: 15px;
        padding: 8px 15px;
    }

    .hero-section h1 {
        font-size: 2.8em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
        width: 80%; /* Make buttons take more width on small screens */
    }
    .button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2em;
    }
    .main-nav ul {
        flex-wrap: wrap; /* Allow nav items to wrap */
        justify-content: center;
    }
}