:root {
    --bg-main: #0C0C0C;
    --text-main: #D7E2EA;
    --text-muted: rgba(215, 226, 234, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body.theme-dark {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
}

/* Background Gradients */
.radial-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: 
        radial-gradient(48% 42% at 50% 62%, rgba(0,230,118,0.28), transparent 72%),
        radial-gradient(40% 34% at 22% 34%, rgba(0,191,165,0.16), transparent 70%),
        radial-gradient(38% 32% at 80% 30%, rgba(16,185,129,0.14), transparent 70%),
        radial-gradient(70% 50% at 50% 108%, rgba(52,211,153,0.20), transparent 70%);
}

.radial-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(75% 62% at 50% 50%, transparent 40%, rgba(12,12,12,0.72) 100%);
}

/* Header */
header {
    width: 100%;
    padding: 2rem;
    position: absolute;
    top: 0;
    z-index: 50;
}

nav {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    font-size: 14vw;
    z-index: 10;
    position: absolute;
    top: 25%;
    pointer-events: none;
}

/* Blobs for 3D effect replacement */
.hero-blobs {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-green1 {
    width: 300px; height: 300px;
    background: #00E676;
    transform: translate(-150px, -50px);
}
.blob-green2 {
    width: 250px; height: 250px;
    background: #00BFA5;
    transform: translate(150px, 100px);
    animation-delay: -3s;
}
.blob-green3 {
    width: 200px; height: 200px;
    background: #10B981;
    transform: translate(0, -100px);
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(var(--x, 0), var(--y, 0)) scale(1); }
    100% { transform: translate(calc(var(--x, 0) + 30px), calc(var(--y, 0) + 30px)) scale(1.1); }
}

.hero-bottom-text {
    position: absolute;
    bottom: 3rem;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 20;
    max-width: 1400px;
}

.hero-bottom-text p {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.2rem;
    max-width: 300px;
    line-height: 1.4;
}

.btn-hero {
    background: linear-gradient(123deg, #011F14 7%, #00BFA5 37%, #00E676 72%, #10B981 100%);
    box-shadow: 0px 4px 4px rgba(0, 230, 118, 0.25), inset 4px 4px 12px #00BFA5;
    outline: 2px solid white;
    outline-offset: -3px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: transform 0.2s, filter 0.2s;
}

.btn-hero:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Projects Section */
.projects-scroll {
    padding: 5rem 0;
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
}

.projects-scroll::-webkit-scrollbar {
    display: none;
}

.projects-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 5vw;
}

.project-item {
    flex: 0 0 auto;
    width: 400px;
    height: auto;
    background: transparent;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: center;
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 1rem;
    overflow: hidden;
    background: #161616;
    border: 1px solid #222;
    margin-bottom: 1rem;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.3s, opacity 0.3s;
}

.project-item:hover .project-img {
    transform: scale(1.05);
    opacity: 1;
}

.project-info {
    padding: 0.5rem;
    text-align: left;
}


.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Skills */
.skills-section {
    padding: 10rem 5vw;
    text-align: center;
}

.skills-section h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.skills-list span {
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
}

.skills-list span.highlight {
    background: linear-gradient(123deg, #B600A8, #BE4C00);
    border: none;
    font-weight: 700;
}

/* Contact */
.contact-section {
    padding: 10rem 5vw;
    text-align: center;
    background: rgba(0,0,0,0.3);
}

.contact-section h2 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-contact {
    background: white;
    color: black;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.2s;
}

.btn-contact.outline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-contact:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-title { font-size: 20vw; }
    .hero-bottom-text { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
    .project-item { width: 300px; height: 225px; }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00E676;
}

.btn-submit {
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
    }
}
