:root {
    --primary-color: #58442E;
    --primary-hover-color: #725D48;
    --secondary-color: #D4A017;
    --secondary-hover-color: #E6B53B;
    --dark-color: #262626;
    --dark-light-color: #404040;
    --light-color: #F8F4E3;
    --gray-color: #A0A0A0;
    --light-gray-color: #E8E8E8;
    --bg-light: #FBF9F2;
    --bg-lighter: #F5F0E1;
    --bg-card: #FFFFFF;
    --white: #FFFFFF;
    --border-radius-main: 10px;
    --box-shadow-main: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s ease;
}

body {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Merriweather', serif;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 0.5rem 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem; 
}

.main-content {
    flex-grow: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.page-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 3rem;
}

.header {
    background-color: var(--white);
    padding: 1.5rem 3rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.header h1 span {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 1rem;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color var(--transition-speed);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-main);
    transition: background-color var(--transition-speed), transform 0.2s ease, box-shadow var(--transition-speed);
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 1.5rem;
    background-color: var(--bg-lighter);
    border-radius: var(--border-radius-main);
    margin-bottom: 3rem;
}

.hero-text {
    flex: 1;
    padding: 0;
    text-align: center;
}

.hero-text h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-main);
    box-shadow: var(--box-shadow-main);
}

.featured-section {
    padding: 3rem 0;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background-color: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.feature-item h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.latest-articles-section {
    padding-bottom: 3rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 3rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: var(--white);
    border-radius: var(--border-radius-main);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.article-card-content p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-article {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.blog-article h2 {
    font-size: clamp(2rem, 4vw, 2.2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius-main);
    margin-bottom: 1.5rem;
}

.article-content p {
    color: var(--dark-color);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray-color);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.author-info p span {
    font-weight: 600;
    color: var(--dark-color);
}

.no-articles {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-color);
    grid-column: 1 / -1;
}

.about-section {
    padding: 5rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray-color);
    text-align: center;
}
.about-content p {
    margin-bottom: 1.5rem;
}

.mission-section, .team-section {
    text-align: center;
    padding: 3rem 0;
}
.mission-card {
    background-color: var(--bg-lighter);
    padding: 2.5rem;
    border-radius: var(--border-radius-main);
    max-width: 600px;
    margin: 2rem auto 0;
}
.mission-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-gray-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.member-photo:hover {
    transform: translateY(-5px);
}

.team-member h3 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    color: var(--dark-color);
}

.team-member p {
    margin: 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 1.5rem;
    }
    .nav-menu {
        margin-top: 1rem;
        gap: 1.5rem;
    }
    .container {
        padding: 0 1.5rem;
    }
    .main-content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }
    .hero-text {
        padding: 0;
    }
    .hero-text h2 {
        font-size: 2.5rem;
    }
    .hero-image {
        margin-top: 2rem;
        margin-right: 0;
    }
    .about-section {
        padding: 2rem 0;
    }
    .blog-list {
        grid-template-columns: 1fr;
    }
    .article-card {
        max-width: 100%;
    }
    .article-card-image {
        height: 250px;
    }
    .blog-article {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) {
    .hero-section {
        flex-direction: row;
        padding: 5rem 3rem;
    }
    .hero-text {
        padding-right: 3rem;
        text-align: left;
    }
    .hero-image {
        margin-top: 0;
        margin-right: 1rem;
    }
}
