/* GLOBAL STYLES & VARIABLES */
:root {
    --bg-color: #0c0a1a;
    --card-bg-color: #1a182b;
    --text-color: #e0e0e0;
    --text-light-color: #a0a0c0;
    --accent-cyan: #2de2e6;
    --accent-purple: #5c4b99;
    --glow-color: rgba(92, 75, 153, 0.4);
    --font-family: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
}

.section {
    padding: 6rem 5%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

h1, h2 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    text-align: left;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

p {
    color: var(--text-light-color);
    font-size: 1.1rem;
    max-width: 700px;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: white;
}

/* HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background-color: rgba(12, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    text-decoration: underline;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    max-width: 500px;
    margin-bottom: 1rem;
}

.hero-content .small-text {
    font-size: 0.9rem;
    font-style: italic;
}

.hero-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
}

.hero-contacts span, .hero-contacts a {
    font-weight: 500;
}

.hero-image-container {
    flex: 1;
    max-width: 500px;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* CARD STYLES */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--accent-purple);
    box-shadow: 0 0 15px var(--glow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--glow-color);
}

/* METRICS SECTION */
#metrics .subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.metric-label {
    max-width: 250px;
    color: var(--text-light-color);
}

.clients {
    text-align: center;
    margin-top: 3rem;
}

/* PORTFOLIO / CASES */
.case-grid {
    grid-template-columns: 1fr;
}

.case-card p {
    margin-bottom: 1rem;
}

/* SOFT SKILLS */
.soft-skills-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.soft-skills-column {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 15px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.soft-skills-column ul {
    list-style-type: none;
    padding-left: 0;
}

.soft-skills-column li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.soft-skills-column li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* CONTACT & FOOTER */
.contact-section {
    text-align: center;
}

.contact-section p {
    margin: 1.5rem auto;
}

.final-contacts {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
}

.footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: var(--text-light-color);
    border-top: 1px solid var(--card-bg-color);
}

/* RESPONSIVENESS */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-content {
        text-align: center;
    }
    h1 {
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-contacts {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 2rem;
    }
    .metric-number {
        font-size: 3rem;
    }
    .final-contacts {
        font-size: 1.2rem;
    }
}