/* Reset és bazáris */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif; /* Fő betűtípus modern */
    line-height: 1.7;
    color: #5a5a5a; /* Szürke szín */
    background-color: #f9f5f0; /* Nagyon világos bézs háttér */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Általános szövegigazítás a main és footer részekben */
main, .main-footer {
    text-align: center;
}

/* Lista szövegigazítás visszaállítása a main-ben */
main ul, main ol {
    text-align: left;
    display: inline-block;
    max-width: 900px;
    margin: 0 auto 1.2rem auto;
}

main li {
    text-align: left;
}

/* Kapcsolat űrlap szövegigazítás visszaállítása */
.contact-form-section form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 2rem; /* Kompakt spacing */
    background-color: #ffffff;
    border-radius: 6px; /* UI: Sugárzás 6px */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Kompakt spacing */
}

.contact-form-section form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #a67c52; /* Barnás szín */
    font-size: 0.95rem;
}

.contact-form-section form input,
.contact-form-section form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid #e0d6ca; /* Halvány keret */
    border-radius: 6px; /* UI: Gomb sugárzás */
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fdf6ee; /* Világos bézs háttér */
}

.contact-form-section form input:focus,
.contact-form-section form textarea:focus {
    outline: none;
    border-color: #d4af37; /* Arany szín fókuszban */
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); /* Arany ragyogás */
    background-color: #ffffff;
}

.contact-form-section form button {
    background-color: #a67c52; /* Barnás szín */
    color: white;
    padding: 1rem 1.8rem;
    border: none;
    border-radius: 6px; /* UI: Gomb sugárzás */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.contact-form-section form button:hover {
    background-color: #8a6642; /* Sötétebb barnás szín */
    transform: translateY(-2px);
}

/* Címek */
h1, h2, h3 {
    font-family: 'Merriweather', serif; /* Cím betűtípus */
    color: #8b5a2b; /* Mélyebb barnás szín */
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    color: #777;
}

a {
    color: #d4af37; /* Arany szín */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b8860b; /* Sötétebb arany szín */
}

/* Fejléc */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.05); /* Gyenge árnyék */
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    color: #8b5a2b; /* Mélyebb barnás szín */
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.main-nav a {
    color: #5a5a5a; /* Szürke szín */
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4af37; /* Arany szín */
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Fő tartalom */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Hős szekció */
.hero-section {
    background: linear-gradient(135deg, #d4af37, #a67c52); /* Arany-barnás átmenet */
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #fff8e1; /* Világos arany színű szöveg */
}

.cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #d4af37;
    padding: 1rem 2.2rem;
    border-radius: 6px; /* UI: Gomb sugárzás */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.cta-btn:hover {
    background-color: #a67c52; /* Barnás szín */
    color: white;
    border-color: #a67c52;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Gyenge árnyék */
    text-decoration: none;
}

/* Bevezető szekció */
.intro-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-section h1 { /* Más oldalak h1-jéhez */
    margin-bottom: 2rem;
    color: #8b5a2b;
}

.intro-section p {
    font-size: 1.1rem;
    color: #777;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog előnézet */
.blog-preview {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.blog-preview h2 {
    margin-bottom: 2.5rem;
    color: #8b5a2b;
}

.blog-grid {
    display: grid; /* UI: 2 oszlop */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* 2 oszlop */
    gap: 2rem; /* Kompakt spacing */
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: #f5f0e6; /* Világos bézs háttér */
    padding: 2rem; /* Kompakt spacing */
    border-radius: 6px; /* UI: Sugárzás 6px */
    box-shadow: 0 6px 16px rgba(139, 90, 43, 0.1); /* UI: Árnyék */
    text-align: center;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card h3 {
    color: #8b5a2b; /* Mélyebb barnás szín */
    margin-bottom: 1rem;
}

.blog-card p {
    color: #666;
}

/* Funkciók rács */
.features-grid {
    display: grid; /* UI: 2x2 rács */
    grid-template-columns: repeat(2, 1fr); /* 2 oszlop */
    gap: 2rem; /* Kompakt spacing */
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.feature-card {
    background-color: #ffffff; /* Fehér háttér */
    padding: 2rem; /* Kompakt spacing */
    border-radius: 6px; /* UI: Sugárzás 6px */
    box-shadow: 0 6px 16px rgba(139, 90, 43, 0.1); /* UI: Árnyék */
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: #a67c52; /* Barnás szín */
    margin-bottom: 1.2rem;
}

.feature-card p {
    color: #777;
}

/* Hírlevél CTA */
.cta-newsletter {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f0e6, #e8dcc8); /* Bézs átmenet */
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 6px; /* UI: Sugárzás 6px */
}

.cta-newsletter h2 {
    color: #8b5a2b;
    margin-bottom: 1rem;
}

.cta-newsletter p {
    color: #777;
    margin-bottom: 1.8rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px; /* UI: Gomb sugárzás */
    font-family: inherit;
    font-size: 1rem;
}

.btn-secondary {
    background-color: #d4af37; /* Arany szín */
    color: white;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 6px; /* UI: Gomb sugárzás */
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #b8860b; /* Sötétebb arany szín */
}

/* Lábléc */
.main-footer {
    background-color: #8b5a2b; /* Mélyebb barnás szín */
    color: white;
    padding: 2.5rem 0 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-container ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-container a {
    color: #d7ccc8; /* Világos szín */
}

.footer-container a:hover {
    color: white;
}

/* Reszponzivitás */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .main-nav ul {
        gap: 1.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .blog-grid,
    .features-grid {
        grid-template-columns: 1fr; /* 1 oszlop mobilra */
        margin: 3rem auto;
    }

    .cta-newsletter {
        max-width: 100%;
        margin: 2rem 0;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .contact-form-section form button {
        width: 100%;
        align-self: center;
    }

    .footer-container ul {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}