/*
Theme Name: Netdaq
Description: Main CSS file for the Netdaq theme
*/

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.site-title a {
    text-decoration: none;
    color: #2271b1;
    font-size: 1.5rem;
    font-weight: bold;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation ul li {
    margin-left: 1.5rem;
}

.main-navigation ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.main-navigation ul li a:hover {
    color: #2271b1;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #2271b1 0%, #0a4b78 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e55d00;
}

/* Features section */
.features {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #2271b1;
}

.feature-item p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.feature-item a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

.feature-item a:hover {
    text-decoration: underline;
}

/* Stats section */
.stats {
    padding: 3rem 0;
    background-color: white;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: #2271b1;
    margin-bottom: 0.5rem;
}

/* Blog section */
.blog-section {
    padding: 4rem 0;
}

.blog-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2271b1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
}

.blog-post h3 a {
    text-decoration: none;
    color: #2271b1;
}

.post-meta {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.excerpt {
    margin-top: 1rem;
}

/* Single post styles */
.entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.entry-title {
    color: #2271b1;
    margin-bottom: 1rem;
}

.entry-meta {
    color: #666;
}

.entry-content {
    margin-bottom: 2rem;
}

.entry-footer {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.post-categories a, .post-tags a {
    text-decoration: none;
    color: #ff6600;
}

.post-categories a:hover, .post-tags a:hover {
    text-decoration: underline;
}

/* Archive styles */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.page-title {
    color: #2271b1;
}

.archive-posts article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.entry-summary {
    margin-top: 1rem;
}

.posts-navigation {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

/* Footer */
.site-footer {
    background-color: #2271b1;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: #ffcc99;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #ffcc99;
    text-decoration: underline;
}

.site-info {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    
    .main-navigation {
        margin-top: 1rem;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-navigation ul li {
        margin: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}