:root {
    --primary-color: #c4a75a; /* Goldish brown from site */
    --secondary-color: #2e4a3e; /* Dark green */
    --text-color: #333;
    --bg-color: #fdfaf2;
    --white: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.container:nth-of-type(1){
    max-width: 100vw;
    .block-content {max-width: 700px; margin: 0 auto;}
}

header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 2px;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

main {
    padding-bottom: 50px;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--secondary-color);
}

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

.block-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.block-hero .text-content {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 30px;
}

.block-hero img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Cards Grid */
.blocks-grid.type-cards {
    display: grid; max-width: 743px; margin: 0px auto 60px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.block-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.block-card:hover {
    transform: translateY(-5px);
}

.block-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.block-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Content Sections */
.block-text_image {
    display: flex;
    align-items: center;
    gap: 40px;
}

.block-text_image:nth-child(even) {
    flex-direction: row-reverse;
}

.block-text_image .block-media, .block-text_image .block-content {
    flex: 1;
}

.block-text_image img {
    width: 100%;
    border-radius: 8px;
}

/* Team Section */
.blocks-grid.type-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.block-member {
    text-align: center;
}

.block-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
}

/* Partners */
.blocks-grid.type-partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.block-partner img {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.block-partner img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

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

footer p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .block-text_image {
        flex-direction: column !important;
    }
    .nav-links {
        display: none; /* Simple for now */
    }
}
