/* ===== BASE STYLES ===== */
body {
    font-family: system-ui, Arial, sans-serif;
    margin: 0;
    color: #222;
    background: #fafafa;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

nav a {
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    text-decoration: underline;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== MAIN CONTENT ===== */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1 {
    font-size: 2rem;
    text-align: center;
}

section {
    text-align: center;
    margin-bottom: 30px;
    background: #fff;
    color: #333;
}

.image-section {
    background: #f5f5f5;
    text-align: center;
}

.image-section img {
    display: block;
    margin: 0 auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== FORM STYLES ===== */
form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

form input,
form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

form input:focus,
form textarea:focus {
    border-color: #555;
    outline: none;
}

form button {
    background: #333;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background 0.3s;
}

form button:hover {
    background: #555;
}

/* ===== FOOTER ===== */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #fff;
    margin: 0 0.75rem;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links i {
    margin-right: 0.3rem;
}

/* ===== NEWS SECTION ===== */
.news-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-table tr {
    border-bottom: 1px solid #eee;
}

.news-table tr:last-child {
    border-bottom: none;
}

.news-table td {
    padding: 1.5rem;
    vertical-align: top;
}

.news-cover {
    width: 120px;
}

.news-cover img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.news-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.news-title a:hover {
    text-decoration: underline;
    color: #555;
}

.news-description {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

.news-author {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #777;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(245, 245, 245, 0.7);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ffm-bio-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    gap: 10px;
}

.ffm-bio-button:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE STYLES ===== */
@media (min-width: 640px) {
    form {
        grid-template-columns: 1fr 1fr;
    }

    form label,
    form input,
    form textarea,
    form button {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        margin-top: 10px;
    }

    nav {
        gap: 0.8rem;
    }

    nav a {
        padding: 0.5rem;
    }

    nav a span {
        display: none;
    }

    nav a i {
        font-size: 1.2rem;
    }

    .news-table td {
        display: block;
        padding: 1rem;
    }

    .news-cover {
        width: 100%;
        margin-bottom: 1rem;
        text-align: center;
    }

    .news-cover img {
        max-width: 200px;
    }
}

@media (prefers-color-scheme: dark) {
    .cta-section {
        background: rgba(99, 95, 95, 0.7);
    }
}