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

:root {
    /* Bold Color Palette */
    --color-bg: #FFFFFF;
    --color-text: #000000;
    --color-text-light: #666666;
    --color-accent: #000000;
    --color-overlay: rgba(0, 0, 0, 0.7);
    
    /* Bold Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 10rem;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700;900&family=Work+Sans:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-weight: 400;
}

/* Navigation - Minimal & Fixed */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-icon {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-icon:hover {
    opacity: 0.6;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

/* Full-Screen Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1.2s ease 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Work Sections */
.work-section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    padding: 0 3rem;
    margin-bottom: var(--spacing-lg);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

/* Bold Gallery Grid - Spaced Layout (Yoomi-style) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;  /* Reduced from 3rem to 1.5rem */
    padding: 0 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-item:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;  /* Changed from 4/3 to 16/9 */
    overflow: hidden;
    background: #F5F5F5;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.02);
}

/* Gallery Info - Below Image (Yoomi-style) */
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-overlay {
    position: relative;
    background: white;
    padding: 1.5rem;
    transform: none;
    transition: none;
}

.gallery-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.gallery-category {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* About Section - Simplified */
.about-section {
    padding: var(--spacing-xxl) 3rem;
    background: #FAFAFA;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: #E0E0E0;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

.about-text {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--color-text);
    font-size: 1.05rem;
}

.skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.skill-category h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Contact Section - Bold */
.contact-section {
    padding: var(--spacing-xxl) 3rem;
    text-align: center;
    background: white;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-container .section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: var(--spacing-md);
}

.contact-intro {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.contact-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.contact-icon {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon:hover {
    opacity: 0.6;
}

.contact-icon svg {
    width: 48px;
    height: 48px;
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 3rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer p {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .skills {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
    
    .section-header,
    .gallery-grid {
        padding: 0 1.5rem;
    }
    
    .work-section {
        padding: var(--spacing-lg) 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0;
    }
    
    .about-section,
    .contact-section {
        padding: var(--spacing-lg) 1.5rem;
    }
    
    .skills {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-link {
        font-size: 1.5rem;
    }
}
