/* Partials — must be first, before any rules */
@import url('./styles/layout.css');
@import url('./styles/hero.css');
@import url('./styles/sections.css');
@import url('./styles/projects.css');
@import url('./styles/contact.css');
@import url('./styles/mobile-nav.css');
@import url('./styles/responsive.css');

/* Global Variables */
:root {
    --primary-color: #b6e828;
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --error-color: #ff4d4d;

    --sidebar-width: 120px;
    --section-width: 100vw;
    --transition-speed: 0.3s;
}

@font-face {
    font-family: 'Quantico';
    src: url('./assets/fonts/Quantico-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Outfit — body & UI text */
@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/Outfit-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/Outfit-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/Outfit-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/Outfit-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/Outfit-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Overpass — headings */
@font-face {
    font-family: 'Overpass';
    src: url('./assets/fonts/Overpass-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Overpass';
    src: url('./assets/fonts/Overpass-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Overpass';
    src: url('./assets/fonts/Overpass-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Overpass';
    src: url('./assets/fonts/Overpass-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(to right, #131313 0%, #101010 50%, #0d0d0d 100%);
    background-attachment: fixed;
    color: var(--text-color);
}

/* overflow: hidden nur auf Desktop — auf Mobile übernimmt responsive.css */
@media (min-width: 801px) {
    body {
        overflow: hidden;
    }
}

h1, h2, h3, h4 {
    font-family: 'Overpass', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    gap: 10px;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover:not(:disabled) {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #555;
    border-color: #555;
    color: #888;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 10px;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-muted);
}
