:root {
    --bg: #ffffff;
    --text: #111827;
    --accent: #1e40af;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --text: #e5e7eb;
    --accent: #60a5fa;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.contact-links a:hover {
  text-decoration: underline;
}


.container {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--accent), #020617);
    color: #ffffff;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-weight: 400;
    margin-top: 0;
}

.tagline {
    max-width: 700px;
    margin: 20px auto;
    opacity: 0.9;
}

.cta {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: #ffffff;
    color: #020617;
    text-decoration: none;
    font-weight: 600;
}

h3 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.skill-grid span {
    padding: 12px;
    background: #f1f5f9;
    border-left: 4px solid var(--accent);
}

[data-theme="dark"] .skill-grid span {
    background: #020617;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
}

button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    cursor: pointer;
}
