/*
Theme Name: GetProKnow Custom
Theme URI: https://getproknow.com
Author: Rajasekaran
Description: Professional Networking & Knowledge Platform
Version: 1.0
Text Domain: getproknow
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background: #1e3a8a;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #60a5fa;
}

/* Sidebar */
.main-sidebar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1e3a8a;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

/* Main Content */
.main-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .layout {
        flex-direction: column;
    }
    
    .sidebar-column {
        order: 2;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* You can add mobile menu later */
    }
    
    .header-main {
        padding: 12px 0;
    }
}
/* ===================== STEP 2 IMPROVEMENTS ===================== */

/* Header Enhancements */
.header-main {
    flex-wrap: wrap;
}

.mobile-menu-toggle {
    display: none;
}

/* Search Bar */
.search-form {
    margin-left: 20px;
}

.search-input {
    padding: 8px 16px;
    border: none;
    border-radius: 30px;
    width: 280px;
    background: rgba(255,255,255,0.2);
    color: white;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

/* Main Layout */
.layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.main-column {
    flex: 1;
    min-width: 0;
}

.sidebar-column {
    width: 300px;
    flex-shrink: 0;
}

/* Card Style for Content */
.content-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 25px;
}

/* Buttons */
.gpk-btn {
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.gpk-btn-primary {
    background: #1e3a8a;
    color: white;
}

.gpk-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Responsive Improvements */
@media (max-width: 992px) {
    .layout {
        flex-direction: column;
    }
    .sidebar-column {
        width: 100%;
        order: 2;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        background: #1e3a8a;
    }
    .nav-menu a {
        padding: 8px 0;
    }
    
    .search-input {
        width: 100%;
        margin-top: 10px;
    }
}