/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --border-color: #000000;
    --gray-color: #666666;
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    /* Reduced padding for cleaner look */
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    background: transparent;
    /* Start transparent */
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 15px 0;
    /* Slightly compact on scroll */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
    /* Fix vertical alignment */
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

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

.lang-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 10px;
    /* Add some space before lang switcher */
}

.header-cta {
    display: inline-block;
    padding: 8px 25px;
    /* Slightly more side padding for round look */
    background-color: var(--text-color);
    color: var(--bg-color);
    border-radius: 50px;
    /* Fully rounded */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.header-cta:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--gray-color);
    padding: 2px;
    transition: color 0.2s;
}

.lang-btn.active {
    color: var(--text-color);
    font-weight: 700;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 100px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-color);
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--text-color);
    color: var(--bg-color);
    border-radius: 50px;
    /* Fully rounded */
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    border-left: 4px solid var(--text-color);
    padding-left: 15px;
    letter-spacing: -0.5px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Slightly wider items */
    gap: 40px;
}

.portfolio-item-link {
    display: block;
}

.portfolio-item {
    border: 1px solid transparent;
    padding: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.portfolio-image-container {
    width: 100%;
    height: 280px;
    background-color: #f5f5f5;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* Removed filter: grayscale(100%); to show colors */
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid #fff;
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 20px 0 5px;
    color: var(--text-color);
}

.portfolio-category {
    font-size: 0.95rem;
    color: var(--gray-color);
    margin: 0;
    font-weight: 500;
}

/* About Section */
.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    font-size: 1.25rem;
}

.contact-cta {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--text-color);
    color: var(--bg-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.contact-cta:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 30px;
}

.social-links a {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* Footer */
/* Footer */
.footer {
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    text-align: left;
    /* Align text left */
}

.footer .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row;
    justify-content: flex-start;
}

.footer .social-links {
    margin: 0;
    justify-content: flex-start;
}

.footer p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        /* Allow scrolling if too wide */
        padding-bottom: 5px;
        /* Space for scrollbar if needed */
        -webkit-overflow-scrolling: touch;
    }

    .nav-list {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
        /* Wrap items if they don't fit */
        width: 100%;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .header-cta {
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 80px 0 60px;
        text-align: center;
        /* Center hero on mobile */
    }

    .hero-title {
        font-size: 2.2rem;
        /* Smaller for mobile */
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .section {
        padding: 60px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 30px;
    }

    .portfolio-image-container {
        height: 240px;
        /* Slightly shorter items */
    }

    .about-content {
        text-align: left;
        /* Keep text readable */
    }

    .contact-content {
        text-align: center;
    }

    .contact-cta {
        width: 100%;
        /* Full width button on mobile */
        text-align: center;
    }

    .footer {
        text-align: center;
        /* Center footer on mobile */
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
        /* Center align items */
        gap: 20px;
    }

    .footer .social-links {
        justify-content: center;
    }
}