﻿:root {
    --bg-main: #0f0f12;
    --bg-card: #1a1a1f;
    --bg-soft: #222229;

    --text-main: #f2f2f2;
    --text-muted: #c7c7c7;

    --border-soft: #2e2e36;
    --accent-blue: #4da3ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
}

.hero-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-soft);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding-right: 40px;
    padding-left: 40px;
}

.hero-content h1 {
    font-size: 50px;
    margin: 0 0 20px 0;
    color: var(--text-main);
}

.hero-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--text-main);
}

.hero-content p {
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-actions a {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid transparent;
    color: #000;
}

.hero-actions a.resume {
    background: #f5a623;
}

.hero-actions a.projects {
    background: #ff3b30;
    /*color: #fff;*/
}

.hero-actions a.contact {
    background: #6fd3d3;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        padding-right: 0;
        margin-bottom: 18px;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* CARDS */
.resume-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 20px;
    margin: 16px 20px;
}

.resume-card.education {
    width: auto;
}

.resume-card h3 {
    margin-top: 0;
    color: var(--text-main);
}

.resume-card p,
.resume-card li {
    color: var(--text-muted);
}

.resume-card strong {
    color: var(--text-main);
}

/* SECTIONS */
section {
    margin: 0 20px;
}

#campaigns h2,
.contact h2 {
    margin: 10px 0 16px 0;
    color: var(--text-main);
}

/* SLIDER */
.slider {
    max-width: 900px;
    margin: 0 auto;
}

.slider img {
    display: none;
    width: 50%;
    margin: 0 auto;
    border-radius: 12px;
    background-color: var(--bg-soft);
}

.slider img.active {
    display: block;
}

.slider-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.slider-buttons button {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.slider-buttons button:hover {
    background: #ffffff;
    color: #000;
    border-color: #ffffff;
    transform: translateY(-1px);
}

.slider-buttons button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* CONTACT */
.contact a {
    display: inline-block;
    margin-right: 20px;
    text-decoration: none;
    color: var(--accent-blue);
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--border-soft);
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 30px;
}
