/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.7;
    color: #ffffff;
    background: #000; /* black */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000;
    border-bottom: 1px solid #1f2937; /* slate-800 */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 16px;
    max-width: 960px;
    margin: 0 auto;
}

.logo {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.logo strong {
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.25rem;
}

.nav-links a { color: #ffffff; font-weight: 500; }
.nav-links a[aria-current="page"] {
    text-decoration: underline;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: block;
    background: none;
    color: inherit;
    text-align: left;
    padding: 4.75rem 20px 1.5rem;
}

.hero-content {
    max-width: 960px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.25rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.25;
    animation: none;
}

.hero h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #ffffff;
    animation: none;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    animation: none;
}

.hero .cta-button {
    display: inline-block;
}

/* About Section */
.about {
    padding: 1rem 0 2rem;
    background: #000;
}

.about h2, .portfolio h2, .contact h2 {
    text-align: left;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: static;
}

.about h2::after, .portfolio h2::after, .contact h2::after {
    content: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skills {
    background: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.skills h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0;
}

.skills li {
    background: #111;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #e5e7eb;
}

/* Portfolio Section */
.portfolio {
    padding: 2rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-item {
    position: relative;
    background: #0b0b0b;
    border: 1px solid #1f2937; /* slate-800 */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.portfolio-item:hover { 
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    border-color: #334155; /* slate-700 */
}

/* remove old list hover background */

.portfolio-image {
    position: relative;
    padding-top: 66%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.0));
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    transition: opacity 0.25s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 0.95rem;
    margin: 0 0 0.15rem;
    color: #ffffff;
}

.overlay p {
    font-size: 0.85rem;
    margin: 0;
    color: #e5e7eb;
}

.view-project {
    display: inline;
    color: #ffffff;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.view-project::after {
    content: ' ↗';
}

/* CV Section */
.cv {
    padding: 2rem 0;
    background: #000;
}

.cv-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.cv-section {
    margin-bottom: 2rem;
}

.cv-section h3 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.cv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.cv-list li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 0.35rem 0;
    border-top: 1px solid #1f2937;
}

.cv-list li:first-child {
    border-top: none;
}

.cv-when {
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.cv-what {
    color: #ffffff;
}

.cv-download {
    margin-top: 1.5rem;
}

.cv-download a {
    color: #ffffff;
    text-decoration: underline;
}

.cv-download a::after {
    content: ' ↗';
}

/* Contact Section removed */

/* Footer */
footer { display: none; }

/* Floating Audio Player */
.audio-player {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #1f2937; /* slate-800 */
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.audio-player .audio-title {
    color: #e5e7eb; /* slate-200 */
    font-size: 0.85rem;
    margin-right: 4px;
}

.audio-player audio {
    width: 240px;
    max-width: 52vw;
}

.audio-player .audio-toggle {
    background: transparent;
    border: none;
    color: #e5e7eb;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    line-height: 0;
}

.audio-player .audio-toggle:hover {
    background: #111827; /* slate-900 */
}

.audio-player.minimized audio,
.audio-player.minimized .audio-title {
    display: none;
}

.audio-player.minimized {
    padding: 8px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1rem; }
}

@media (max-width: 768px) {
    .logo { font-size: 1rem; }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #000;
        padding: 12px 20px;
        border-top: 1px solid #1f2937;
    }
    .nav-links li { margin: 0; }
    .hamburger { display: block; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .hero { padding-top: 4rem; }
}

@media (max-width: 480px) {
    .logo { font-size: 0.95rem; }
    .hero h1 { font-size: 1.6rem; }
    .hero h2 { font-size: 0.95rem; }
    .hero p { font-size: 0.95rem; }
    .cta-button { padding: 8px 14px; font-size: 0.85rem; }
}
