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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Header Styles */
.header {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.site-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Blog Section */
.blog-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.blog-section p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

/* Admin Dashboard Styles */
.admin-header {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-header h1 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-button:hover {
    color: #0077ff;
}

.tab-button.active {
    color: #0077ff;
    border-bottom-color: #0077ff;
    font-weight: 500;
}

.tab-content {
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
        text-align: center;
    }
}

/* Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-weight: 500;
    color: #333;
    background: #f8f9fa;
}

/* Button Styles */
.admin-button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.add-button {
    background: #0077ff;
    color: #fff;
    margin-bottom: 1rem;
}

.edit-button {
    background: #28a745;
    color: #fff;
    margin-right: 0.5rem;
}

.delete-button {
    background: #dc3545;
    color: #fff;
}

.admin-button:hover {
    opacity: 0.9;
} 