/* styles.css */

:root {
    --primary-green: #2c5f2d;
    --accent-yellow: #ffcc00;
    --bg-light: #f4f4f4;
    --text-light: #333;
}

[data-theme="dark"] {
    --bg-light: #1a1a1a;
    --text-light: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg-light);
    color: var(--text-light);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

header {
    padding: 0;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
                url('images/cyberskull.jpg') center/cover no-repeat;
    min-height: 210px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1,
.hero .tagline,
.hero p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta {
    background: var(--accent-yellow);
    color: #333;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta:hover {
    transform: scale(1.05);
    background: #ffdd33;
}

section {
    padding: 70px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.about {
    background: white;
}

[data-theme="dark"] .about {
    background: #2a2a2a;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.social-links a {
    color: var(--accent-yellow);
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Dark mode toggle button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    z-index: 100;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .tagline { font-size: 1.3rem; }
}
