/* Import Google Fonts directly in CSS */
@import url('https://fonts.googleapis.com/css?family=Outfit:400,500,600,700|Poiret+One:400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tilt+Warp&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Dives+Akuru&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manjari:wght@100;400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Archivo+Black');


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manjari', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Archivo+Black', sans-serif !important;
    font-size: 1.5rem;
    font-weight: 400 !important;
    color: #2c3e50;
}

.logo a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    color: #8dad8f;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8dad8f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Styles */
section {
    scroll-margin-top: 80px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Video Games Section */
.videogames-section {
    padding: 120px 0 100px;
    background: #fcfff7;
}

.videogames-section h2 {
    font-family: 'Noto Serif Dives Akuru', serif !important;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400 !important;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.videogame-item {
    display: flex;
    flex-direction: column;
}

.videogame-title {
    margin-top: 1rem;
    text-align: center;
}

.videogame-title h3 {
    font-family: 'Manjari', sans-serif !important;
    font-size: 1rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 400;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.portfolio-item.clickable {
    cursor: pointer;
}

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

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

/* Illustration Section */
.illustration-section {
    padding: 100px 0;
    background: white;
}

.illustration-section h2 {
    font-family: 'Noto Serif Dives Akuru', serif !important;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400 !important;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    grid-auto-flow: row dense;
}

.illustration-item {
    overflow: hidden;
}

.illustration-item[data-aspect="1:1"] {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1;
}

.illustration-item[data-aspect="2:1"] {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2;
}

.illustration-item[data-aspect="1:2"] {
    grid-column: span 1;
    grid-row: span 2;
    aspect-ratio: 0.5;
}

.illustration-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #fcfff7;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    font-family: 'Noto Serif Dives Akuru', serif !important;
    font-size: 2.5rem;
    font-weight: 400 !important;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.about-text p {
    font-family: 'Manjari', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.4;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Project Pages Styles */
.project-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.back-button {
    margin-bottom: 2rem;
}

.back-button a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button a:hover {
    text-decoration: underline;
}

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

.project-images .image-item {
    margin-bottom: 2rem;
}

.project-images img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.project-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.project-meta {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.project-meta p {
    margin-bottom: 0.5rem;
    color: #666;
}

.project-description h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.project-description p,
.project-description li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #8dad8f;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .illustration-grid {
        grid-template-columns: 1fr;
    }
    
    /* About section mobile layout */
    .about-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Project page mobile layout */
    .project-content {
        grid-template-columns: 1fr;
    }
    
    .project-info {
        order: -1;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 1rem;
    }
    
.illustration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.illustration-item[data-aspect="2:1"] {
    grid-column: span 2;
    grid-row: span 1;
}

.illustration-item[data-aspect="1:2"] {
    grid-column: span 1;
    grid-row: span 2;
}
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
