/* Main CSS - Common styles shared across all pages */

/* CSS Variables */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #6366f1;
    --gradient: linear-gradient(135deg, #ff9800 0%, #ffb74d 50%, #ffc107 100%);
    --glass: rgba(255, 255, 255, 0.9);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Navigation Styles */
nav {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

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

nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Container Layout */
.container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 2rem;
    display: flex;
    gap: 3rem;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    position: sticky;
    top: 5rem;
    height: fit-content;
    text-align: center;
}

.profile-pic-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 1.5rem;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.profile-pic-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    z-index: 1;
}

.profile-pic-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass);
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--shadow);
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-icons a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
}

/* Main Content Area */
.blog-content {
    flex: 1;
    margin-top: 1rem;
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.status-badge.active {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 1rem;
        align-items: center;
        min-height: 60px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: var(--shadow);
        border-radius: 0 0 1rem 1rem;
    }

    nav ul.active {
        display: flex;
    }

    .container {
        flex-direction: column;
        padding: 1rem;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .profile-pic-container {
        width: 200px;
        height: 200px;
        margin: 0 auto 1.5rem;
    }

    .status-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 0.75rem;
    }
}