/* Commit CEO Updates Hub - Global Styles */

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

:root {
    --commit-blue: #4A8FCC;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --hover-bg: #f8f8f8;
}

body {
    font-family: 'Barlow', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d2d 100%);
    color: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 50px;
}

.site-title {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.home-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 4px;
    transition: all 0.3s;
}

.home-link:hover {
    background: white;
    color: var(--dark-bg);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Page Title */
.page-title {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Three Column Grid */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 968px) {
    .updates-grid {
        grid-template-columns: 1fr;
    }
}

/* Column Card */
.update-column {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.update-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.column-header {
    background: var(--dark-bg);
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.column-header h2 {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.column-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.column-content {
    padding: 20px;
}

/* Update List */
.update-list {
    list-style: none;
}

.update-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.update-item:last-child {
    border-bottom: none;
}

.update-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    padding: 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.update-link:hover {
    background: var(--hover-bg);
}

.update-date {
    font-weight: 600;
    font-size: 1.05rem;
}

.update-arrow {
    color: var(--commit-blue);
    font-size: 1.2rem;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-style: italic;
}

/* Add New Button */
.add-new-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.add-new-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--commit-blue);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.add-new-btn:hover {
    background: #3a7fbc;
}

/* Individual Update Page */
.update-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px;
    margin-top: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--dark-bg);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
    margin-bottom: 30px;
}

.back-button:hover {
    background: #2d2d2d;
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}
