/* Reset și bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', sans-serif; /* Font principal modern */
    line-height: 1.7;
    color: #6d4c41; /* Cafeniu închis */
    background-color: #fff3e0; /* Fundal portocaliu deschis */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Aliniere generală pentru text în main și footer */
main, .main-footer {
    text-align: center;
}

/* Resetare aliniere pentru liste în main */
main ul, main ol {
    text-align: left;
    display: inline-block;
    max-width: 900px;
    margin: 0 auto 1.2rem auto;
}

main li {
    text-align: left;
}

/* Resetare aliniere pentru formularul de contact */
.contact-form-section form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 3rem; /* Spacing generos */
    background-color: #ffffff;
    border-radius: 24px; /* UI: Radius 24px */
    border: 1px solid #ffcc80; /* UI: Caroță cu bordură */
    box-shadow: 0 10px 28px rgba(255, 152, 0, 0.15); /* UI: Umbre medii */
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Spacing generos */
}

.contact-form-section form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fb8c00; /* Portocaliu */
    font-size: 0.95rem;
}

.contact-form-section form input,
.contact-form-section form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #ffe0b2; /* Bordură medie */
    border-radius: 12px; /* UI: Gomb radius */
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff8e1; /* Fundal ușor colorat */
}

.contact-form-section form input:focus,
.contact-form-section form textarea:focus {
    outline: none;
    border-color: #f57c00; /* Portocaliu închis */
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.15); /* Glow portocaliu */
    background-color: #ffffff;
}

.contact-form-section form button {
    background-color: #ef6c00; /* Portocaliu închis */
    color: white;
    padding: 1rem 1.8rem;
    border: none;
    border-radius: 12px; /* UI: Gomb radius */
    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: #e65100; /* Portocaliu foarte închis */
    transform: translateY(-2px);
}

/* Titluri */
h1, h2, h3 {
    font-family: 'Playfair Display', serif; /* Font pentru titluri */
    color: #e65100; /* Portocaliu foarte închis */
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    color: #8d6e63; /* Cafeniu */
}

a {
    color: #fb8c00; /* Portocaliu */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ef6c00; /* Portocaliu mai închis */
}

/* Header */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 108, 0, 0.08); /* Umbre moi */
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

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

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    color: #d84315; /* Portocaliu roșiatic */
    margin: 0;
}

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

.main-nav a {
    color: #6d4c41; /* Cafeniu */
    font-weight: 500;
    position: relative;
}

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

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

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffab91, #ff8a65); /* Gradient portocaliu */
    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: #fff3e0; /* Text portocaliu deschis */
}

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

.cta-btn:hover {
    background-color: #f57c00; /* Portocaliu închis */
    color: white;
    border-color: #f57c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Umbre moi */
    text-decoration: none;
}

/* Intro Section */
.intro-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-section h1 { /* Pentru h1 pe alte pagini */
    margin-bottom: 2rem;
    color: #e65100;
}

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

/* Blog Preview */
.blog-preview {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

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

.blog-grid {
    display: grid; /* UI: 3 coloane */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 coloane */
    gap: 3rem; /* Spacing generos */
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: #fff3e0; /* Fundal portocaliu deschis */
    padding: 2.5rem 2rem; /* Spacing generos */
    border-radius: 24px; /* UI: Radius 24px */
    border: 1px solid #ffcc80; /* UI: Caroță cu bordură */
    box-shadow: 0 10px 28px rgba(255, 152, 0, 0.1); /* UI: Umbre medii */
    text-align: center;
    transition: transform 0.3s ease;
}

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

.blog-card h3 {
    color: #ef6c00; /* Portocaliu */
    margin-bottom: 1rem;
}

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

/* Features Grid */
.features-grid {
    display: grid; /* UI: 2x2 grid */
    grid-template-columns: repeat(2, 1fr); /* 2 coloane */
    gap: 3rem; /* Spacing generos */
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.feature-card {
    background-color: #ffffff; /* Fundal alb */
    padding: 2.5rem 2rem; /* Spacing generos */
    border-radius: 24px; /* UI: Radius 24px */
    border: 1px solid #ffcc80; /* UI: Caroță cu bordură */
    box-shadow: 0 10px 28px rgba(255, 152, 0, 0.15); /* UI: Umbre medii */
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    color: #fb8c00; /* Portocaliu */
    margin-bottom: 1.2rem;
}

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

/* CTA Newsletter */
.cta-newsletter {
    padding: 5rem 2rem; /* Spacing generos */
    background: linear-gradient(135deg, #ffccbc, #ffab91); /* Gradient portocaliu */
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 24px; /* UI: Radius 24px */
}

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

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

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

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

.btn-secondary {
    background-color: #ef6c00; /* Portocaliu */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px; /* UI: Gomb radius */
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e65100; /* Portocaliu mai închis */
}

/* Footer */
.main-footer {
    background-color: #d84315; /* Portocaliu roșiatic */
    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; /* Spacing mediu */
}

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

.footer-container a {
    color: #ffcc80; /* Portocaliu deschis */
}

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

/* Responsivitate */
@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;
    }

    .blog-grid,
    .features-grid {
        grid-template-columns: 1fr; /* O coloană pe mobil */
        margin: 3rem auto;
    }

    .cta-newsletter {
        max-width: 100%;
        margin: 3rem 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;
    }
}