:root {
    --primary-color: #ff5a5f;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: var(--glass-blur);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.5rem;
    gap: 0.5rem;
}

.logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.logo span {
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Main Content */
.main {
    padding: 4rem 0;
    min-height: calc(100vh - 160px);
}

/* Blog Feed Styles (to be used in page/home.html) */
.featured-post {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 4rem;
    height: 500px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.featured-content {
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 3rem;
    width: 100%;
}

.featured-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.post-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.post-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.post-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #070b14;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 25px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header .nav {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .featured-content h2 {
        font-size: 2rem;
    }
}
