/* Custom CSS properties for minimalist design system */
:root {
    --bg-color: #FAFAFA;
    --text-primary: #1A1A1A;
    --text-secondary: #737373;
    --accent: #000000;
    --bg-light: #EEEEEE;
    
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 300;
    letter-spacing: -0.02em;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    color: var(--text-secondary);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    background-color: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition-smooth);
}

#main-header.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo span {
    font-weight: 300;
    color: var(--text-secondary);
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

nav a:hover::after {
    width: 100%;
}

.lang-btn {
    background: none;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 0.2rem 0.6rem;
    margin-left: 2rem;
    font-family: var(--font-stack);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.lang-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Hero Section */
#hero {
    height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.hero-content h2 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 4rem 2rem;
}

.project-card {
    cursor: pointer;
}

.image-wrapper {
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 4/5;
    background-color: #E0E0E0; /* Placeholder loading color */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.project-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

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

/* About Section */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 300;
}

/* Contact Section */
.contact-container {
    text-align: center;
    padding: 5rem 0;
}

.contact-container p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-link {
    font-size: 3rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 300;
    position: relative;
    display: inline-block;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

footer p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .about-text {
        font-size: 1.5rem;
    }
    
    .contact-link {
        font-size: 2rem;
    }
    
    nav {
        display: none; /* Add a hamburger menu for mobile in v2 */
    }
}
