/* --- Global Styles & Fonts --- */
body {
    font-family: 'Lato', sans-serif; /* Readable sans-serif for body text */
    line-height: 1.7;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* Light background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif; /* Elegant serif for headings */
    color: #8B0000; /* Dark Red - Hungarian paprika color */
    margin-bottom: 0.8em;
}

h1 {
    font-size: 3em; /* Larger main title */
    text-align: center;
    margin-bottom: 0.2em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 2em;
    border-bottom: 2px solid #dcdcdc; /* Subtle separator */
    padding-bottom: 0.3em;
    margin-top: 1.5em; /* Space above section titles */
}

p {
    margin-bottom: 1em;
    text-align: justify; /* Justify text for a cleaner look */
}

a {
    color: #006400; /* Dark Green - Another Hungarian color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: #555;
}

/* --- Layout & Containers --- */
header {
    background-color: #eee; /* Light grey header background */
    color: #fff; /* White text for contrast */
    padding: 4em 1em; /* Generous padding */
    text-align: center;
    /* Optional: Add a background image */
    /* background: url('images/placeholder_hero.jpg') no-repeat center center/cover; */
    /* Uncomment and replace 'placeholder_hero.jpg' */
    /* background-blend-mode: multiply; Add a dark overlay if image is too bright */
    /* background-color: rgba(0, 0, 0, 0.4); */
    border-bottom: 5px solid #8B0000; /* Accent border */
}

/* Override H1 color for header if needed */
header h1 {
    color: #8B0000; /* Dark red title stands out on light bg */
     /* If using a dark background image, use: color: #fff; */
}


.subtitle {
    font-size: 1.2em;
    color: #444; /* Slightly darker grey for subtitle */
     /* If using a dark background image, use: color: #eee; */
    font-style: italic;
    max-width: 700px;
    margin: 0 auto; /* Center subtitle */
}

main {
    max-width: 960px; /* Content width */
    margin: 2em auto; /* Center main content with spacing */
    padding: 0 1.5em; /* Padding on sides */
    background-color: #fff; /* White background for content */
    box-shadow: 0 0 15px rgba(0,0,0,0.1); /* Subtle shadow */
    border-radius: 8px; /* Rounded corners */
    padding-bottom: 2em; /* Ensure space before footer */
}

section {
    margin-bottom: 2.5em; /* Space between sections */
}

/* --- Content Blocks (Image & Text Layout) --- */
.content-block {
    display: flex;
    align-items: center; /* Vertically align items */
    gap: 2em; /* Space between image and text */
    margin-bottom: 1.5em;
}

.content-block.reverse {
    flex-direction: row-reverse; /* Switch image and text order */
}

.content-block img.culture-image {
    flex: 0 0 300px; /* Fixed width for image column */
    max-width: 300px; /* Ensure it doesn't exceed */
    height: auto;
    border-radius: 8px; /* Rounded corners for images */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Image shadow */
    object-fit: cover; /* Ensure image covers the area nicely */
    aspect-ratio: 4 / 3; /* Maintain a consistent aspect ratio */
}

.content-block div {
    flex: 1; /* Text block takes remaining space */
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 3em;
    padding: 1.5em;
    background-color: #333; /* Dark footer */
    color: #ccc; /* Light grey text */
    font-size: 0.9em;
}

footer p {
    margin-bottom: 0.5em;
    text-align: center; /* Center footer text */
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.8em;
    }

    .content-block,
    .content-block.reverse {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center; /* Center items when stacked */
        gap: 1.5em;
    }

    .content-block img.culture-image {
        flex: 0 0 auto; /* Reset flex basis */
        max-width: 90%; /* Allow image to be wider on small screens */
        width: auto; /* Let it size based on max-width */
        margin-bottom: 1em; /* Add space below image */
    }

     .content-block div {
       width: 100%; /* Text takes full width */
    }

    p, .content-block p {
        text-align: left; /* Left align text on smaller screens */
    }

    main {
        padding: 0 1em;
        margin: 1em auto;
    }

    header {
        padding: 2em 1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .subtitle {
        font-size: 1em;
    }
}