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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #faf9f7;
    color: #1a1a1a;
    line-height: 1.8;
}

.hdr {
    background-color: #111;
    color: #faf9f7;
    padding: 15px 30px;
    border-bottom: 3px solid #800020;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hdr-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    font-size: 1.8rem;
    color: #faf9f7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: #faf9f7;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 1rem;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: #800020;
    border-bottom-color: #800020;
}

.lang-toggle {
    background: none;
    border: 1px solid #faf9f7;
    color: #faf9f7;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.lang-toggle:hover {
    background: #faf9f7;
    color: #111;
}

.main-home {
    padding: 0;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/1.jpg") center/cover no-repeat;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-hero {
    background-color: #800020;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
}

.btn-hero:hover {
    background-color: #a00028;
    transform: scale(1.05);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.intro-section h2,
.features h2,
.terminology h2,
.about-hero h1,
.team-section h2,
.values h2,
.blog-hero h1,
.posts-list h2,
.contact-info h1,
.contact-form-section h2 {
    font-size: 2rem;
    color: #800020;
    margin-bottom: 20px;
    border-bottom: 2px solid #800020;
    padding-bottom: 10px;
}

.intro-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.features {
    background: #f0ece8;
    padding: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

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

.feature-card h3 {
    color: #111;
    margin-bottom: 10px;
}

.terminology {
    background: #fff;
}

.terminology p {
    margin-bottom: 10px;
    background: #faf9f7;
    padding: 15px;
    border-left: 4px solid #800020;
}

.ftr {
    background-color: #111;
    color: #faf9f7;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 3px solid #800020;
}

.ftr a {
    color: #faf9f7;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.ftr a:hover {
    color: #800020;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    color: #faf9f7;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner button {
    background-color: #800020;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin: 0 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.cookie-banner button:hover {
    background-color: #a00028;
}

.cookie-banner a {
    color: #faf9f7;
    text-decoration: underline;
    margin-left: 10px;
}

/* About */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/2.jpg") center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    max-width: 200px;
    margin: 0 auto 15px;
}

.team-card h3 {
    color: #800020;
    margin-bottom: 5px;
}

.team-card p:last-child {
    font-size: 0.9rem;
    color: #555;
}

/* Blog */
.blog-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../images/3.jpg") center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.posts-list .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.post-card h2 {
    padding: 15px 15px 5px;
}

.post-card h2 a {
    text-decoration: none;
    color: #111;
    transition: color 0.3s;
}

.post-card h2 a:hover {
    color: #800020;
}

.post-card p {
    padding: 0 15px 15px;
    font-size: 0.9rem;
    color: #555;
}

.read-more {
    display: inline-block;
    margin: 0 15px 15px;
    color: #800020;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.read-more:hover {
    border-bottom-color: #800020;
}

/* Contact */
.main-contact {
    padding-bottom: 40px;
}

.contact-info {
    background: #faf9f7;
    padding: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info-item h3 {
    color: #800020;
    margin-bottom: 8px;
}

.contact-form-section {
    padding: 40px 0;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #111;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

#contact-form button {
    background: #800020;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

#contact-form button:hover {
    background: #a00028;
}

.form-success {
    text-align: center;
    font-size: 1.2rem;
    color: green;
    padding: 30px;
}

/* Posts */
.main-post {
    padding: 40px 0;
}

.post-article .container {
    max-width: 800px;
}

.post-article img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.post-article h1 {
    font-size: 2.2rem;
    color: #800020;
    margin-bottom: 20px;
}

.post-article p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Media Queries */
@media (max-width: 768px) {
    .hdr-inner {
        flex-direction: column;
        gap: 10px;
    }
    .nav {
        flex-direction: column;
        align-items: center;
    }
    .features-grid,
    .posts-list .container {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}

h1, h2, h3, h4, h5, h6 {word-break: break-word;}
