
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500&display=swap');

:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Roboto', sans-serif;
    --color-text: #333;
    --color-background: #fdfdfd;
    --color-accent: #d32f2f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header & Nav */
header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

header h1 {
    font-size: 3rem;
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Main Content */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 3fr 1fr;
    }
}


/* Hero Section */
.hero {
    position: relative;
    color: white;
    text-align: center;
}

.hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    margin: 0;
    width: 80%;
}

/* Blog Posts */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-posts article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-posts article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-posts article img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content .category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.post-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
}

.post-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

/* Sidebar */
aside .widget {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

aside h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.search input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search button {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--color-text);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease;
}

.search button:hover {
    background-color: var(--color-accent);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid #eee;
}

.social-links a {
    margin: 0 1rem;
    font-size: 1.2rem;
}

footer p {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: #888;
}

/* Issue Tracker */
.issue-tracker {
    display: flex;
    gap: 2rem;
}

.add-issue-form {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.add-issue-form input, .add-issue-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.add-issue-form button {
    padding: 0.8rem;
    background-color: var(--color-text);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-issue-form button:hover {
    background-color: var(--color-accent);
}

.issue-board {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.issue-column {
    background-color: #f4f4f4;
    border-radius: 8px;
    padding: 1rem;
    min-height: 300px;
}

.issue-column h3 {
    text-align: center;
    margin-top: 0;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.issue-card {
    background: white;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    cursor: grab;
}

.issue-card h4 {
    margin: 0 0 0.5rem;
}

.issue-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* meetings.css */

.meeting-notes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#editor-container {
    height: 300px; /* Or any other height */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#save-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--color-text);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Align button to the left */
}

#save-btn:hover {
    background-color: var(--color-accent);
}

#saved-notes {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.saved-note-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.note-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.note-content {
    font-size: 1rem;
}

.delete-btn {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    float: right; /* Position to the right */
    font-size: 0.8rem;
}

.delete-btn:hover {
    background-color: #cc0000;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .issue-tracker {
        flex-direction: column;
    }
    .add-issue-form {
        width: 100%;
    }
}
