/* ============================
   CWDocs - Core Stylesheet
   ============================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #eaeaea;
    font-family: "Fira Code", monospace;
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ============================
   Header
   ============================ */
header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid #1f1f1f;
    backdrop-filter: blur(6px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 18px 0;
}

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

.logo {
    background: url('../logo.png') no-repeat left center;
    background-size: 30px;
    padding-left: 45px;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00bfff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #00bfff;
    transition: width 0.3s ease;
}

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

/* ============================
   Hero Section
   ============================ */
.hero {
    height: 100vh;
    background: linear-gradient(180deg, #0b0b0b 0%, #000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #00bfff;
    text-transform: uppercase;
}

.hero p {
    font-size: 18px;
    color: #aaa;
    max-width: 700px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #00bfff;
    color: #00bfff;
    background: transparent;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #00bfff;
    color: #000;
}

/* ============================
   Sections
   ============================ */
.section {
    padding: 100px 0;
    position: relative;
}

.dark-section {
    background: #0e0e0e;
}

.light-section {
    background: #111;
}

.section-title {
    text-align: center;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 60px;
    color: #00bfff;
}

/* ============================
   Articles
   ============================ */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.article-list article {
    background: #141414;
    border: 1px solid #1e1e1e;
    padding: 25px;
    transition: all 0.3s ease;
}

.article-list article:hover {
    border-color: #00bfff;
    transform: translateY(-6px);
}

.article-list h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.article-list p {
    color: #ccc;
    margin-bottom: 15px;
}

.read-more {
    color: #00bfff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-color: #00bfff;
}

/* ============================
   Contact
   ============================ */
.contact {
    background: #0a0a0a;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 14px;
    color: #ccc;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #1f1f1f;
    background: #141414;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #00bfff;
    outline: none;
}

/* ============================
   Footer
   ============================ */
footer {
    background: #0b0b0b;
    border-top: 1px solid #1f1f1f;
    text-align: center;
    padding: 50px 0;
}

.social-links a {
    color: #00bfff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

footer p {
    color: #777;
    margin-top: 20px;
    font-size: 14px;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 26px;
    }
}
