/* ===================================
   CSS Variables & Reset
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    --accent: #D97827;
    --text: #f0f0f0;
    --subtle: #c5c5c5;
    font-family: 'Orbitron', sans-serif;
    color: var(--text);
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow: hidden;
    position: relative;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: -1;
    image-rendering: -webkit-optimize-contrast;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: fixed;
    top: 40px;
    left: 40px;
    text-align: left;
}

h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

p {
    font-size: 1.8rem;
    margin-top: 0.5rem;
    color: var(--subtle);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    opacity: 0.6;
}

/* ===================================
   Social Media Buttons
   =================================== */
.socials {
    position: fixed;
    bottom: 80px;
    right: 40px;
    display: flex;
    gap: 0.9rem;
}

.socials a {
    color: var(--accent);
    font-size: 1.35rem;
    text-decoration: none;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.3s ease;
}

.socials a:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(217, 120, 39, 0.8);
}

/* ===================================
   CV Button
   =================================== */
.cv-button {
    position: fixed;
    bottom: 80px;
    left: 40px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--accent);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.9;
}

.cv-button:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(217, 120, 39, 0.8);
}

/* ===================================
   Accessibility
   =================================== */
a:focus,
button:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 600px) {
    .hero {
        top: 30px;
        left: 25px;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1.2rem;
    }

    .socials {
        bottom: 60px;
        right: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
