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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0a0a0a;
    color: #d8d8d8;
    line-height: 1.8;
}

html {
    scroll-behavior: smooth;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid #1f1f1f;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.7rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: #bbb;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #ffffff;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), url('hero-bg.jpg') center/cover no-repeat;
    position: relative;
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
}

.tagline {
    font-size: 1.85rem;
    margin-top: 0.5rem;
    color: #CAEFD9;
    font-weight: 600;
}

.subline {
    font-size: 1.3rem;
    max-width: 620px;
    margin: 1.8rem auto 0;
    opacity: 0.9;
    font-weight: 400;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    color: #aaa;
    text-align: center;
    font-size: 0.95rem;
}

.scroll-indicator i {
    display: block;
    font-size: 1.8rem;
    margin-top: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20% { transform: translateY(0); }
    50% { transform: translateY(15px); }
    100% { transform: translateY(0); }
}

/* Sections */
.section {
    padding: 130px 0 100px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

h2 {
    font-size: 2.9rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    color: #fff;
}

/* About - Text only, centered, smaller */
.about-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.6rem;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Projects */
.project {
    margin-bottom: 160px;
}

.project-header {
    width: 100vw;
    height: 420px;
    object-fit: cover;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 3rem;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.project-text h3 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.meta {
    color: #CAEFD9;
    font-size: 1rem;
    margin-bottom: 1.8rem;
    font-weight: 500;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.project-images img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Download Buttons */
.project-downloads {
    margin: 1.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 44px;
    border: 2px solid #CAEFD9;
    color: #CAEFD9;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background: #CAEFD9;
    color: #0a0a0a;
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.project-note {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 1rem;
    font-style: italic;
}

/* Contact */
.contact {
    text-align: center;
    background: #111;
}

footer {
    background: #0a0a0a;
    color: #555;
    padding: 2rem 5%;
    border-top: 1px solid #1f1f1f;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icons a {
    color: #888;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #CAEFD9;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .project-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .project-header {
        height: 320px;
    }
    .hero-content h2 {
        font-size: 3.4rem;
    }
    
    .project-downloads {
        flex-direction: column;
    }
}

/* Mobile nav fixes to prevent squishing */
@media (max-width: 768px) {
    .nav-content {
        padding: 1rem 4%;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    nav h1 {
        font-size: 1.35rem;
        white-space: nowrap;
    }
    
    nav ul {
        gap: 1.1rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    nav a {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }
}

/* Expandable Downloads - raw filenames for full transparency */
.project-downloads details {
    width: fit-content;
}

.project-downloads summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #CAEFD9;
    color: #CAEFD9;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.project-downloads summary:hover {
    background: #CAEFD9;
    color: #0a0a0a;
}

.project-downloads summary::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.project-downloads details[open] summary::after {
    transform: rotate(90deg);
}

.project-downloads .download-list {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 420px;
}

.download-link {
    color: #CAEFD9;
    text-decoration: none;
    font-family: "SF Mono", "Monaco", "Consolas", monospace;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.download-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.download-link:visited {
    color: #CAEFD9;
}

.download-link::before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
    opacity: 0.8;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.file-info {
    font-size: 0.75rem;
    color: #888888;
    font-family: "SF Mono", "Monaco", "Consolas", monospace;
}

.file-count {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 0.35rem;
}
