@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-dark: #1a1a1a;
    --gray-medium: #333333;
    --gray-light: #666666;
    --gray-lighter: #999999;
}
html {
    scroll-behavior: smooth;
}
ul:not(.modal ul) {
    list-style: none;
    padding: 0;
}

footer a {
    display: inline-block;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}
footer a:hover {
    color: white;
    transform: translateX(6px);
}
body {
    font-family: "Inter", sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}
section {
    padding: 1.9rem !important;
}
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}
nav {
    position: sticky !important;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-brand {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white) !important;
}
.nav-link {
    color: var(--gray-lighter) !important;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s;
    padding: 0.5rem 1rem !important;
    text-transform: uppercase;
}
.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s;
}
.nav-link:hover {
    color: var(--white) !important;
}
.nav-link:hover::before {
    width: calc(100% - 2rem);
}
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 9rem;
    position: relative;
    overflow: hidden;
}
.hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}
.hero-presentation-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-lighter);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
}
.btn-dark {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-dark:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}
section:not(.hero-section, .projects-section) {
    padding: 8rem 0;
}
.section-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 4rem;
    margin-top: 4rem;
    letter-spacing: -0.02em;
}
.featured-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    margin: 4rem 0;
}
.featured-img {
    width: 100%;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.about-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.about-text {
    font-size: 1.1rem;
    color: var(--gray-lighter);
    line-height: 1.8;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.stat-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: all 0.3s;
    text-align: center;
}
.stat-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}
.stat-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--gray-lighter);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.projects-section {
    padding: 4rem 0;
}
.projects-container {
    position: relative;
    padding: 2rem 0;
}
.project-card {
    position: sticky;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    margin-bottom: 2rem;
    transition: all 0.5s;
    min-height: 400px;
    display: flex;
    background-color: black;
    flex-direction: column;
    justify-content: center;
}
.project-1 {
    top: 80px;
}
.project-2 {
    top: 100px;
}
.project-3 {
    top: 120px;
}
.project-4 {
    top: 140px;
}
.project-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}
.project-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.project-context {
    color: var(--gray-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.project-description {
    color: var(--gray-lighter);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.project-tech {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}
.project-tech li {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    color: var(--gray-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.btn-outline-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}
.btn-outline-secondary:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.skills-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.skill-category {
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: all 0.3s;
}
.skill-category:hover {
    border-color: rgba(255, 255, 255, 0.2);
}
.skill-category h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.skill-list {
    list-style: none;
    padding: 0;
}
.skill-list li {
    color: var(--gray-lighter);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.skill-list li:last-child {
    border-bottom: none;
}
.contact-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    text-align: center;
}
.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.contact-method {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 3rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s;
    min-width: 250px;
}
.contact-method:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-5px);
}
.contact-method-label {
    font-size: 0.85rem;
    color: var(--gray-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.contact-method:hover .contact-method-label {
    color: var(--gray-medium);
}
.contact-method-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}
.footer-complete {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--black);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}
.social-icon:hover {
    background: var(--gray-lighter);
    transform: translateY(-3px);
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.box {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.box.visible {
    opacity: 1;
    transform: translateY(0);
}
.modal-content {
    background: var(--gray-dark);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-close {
    filter: invert(1);
}
