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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #B8B89A; /* Sage green background from screenshot */
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}



/* ============================================
   PROJECTS PAGE
   ============================================ */

.projects-page {
    flex: 1;
    padding: 120px 60px 60px;
    max-width: 1400px;
    margin: 200px auto;
    width: 100%;
}

.projects-container {
    width: 100%;
}

.projects-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 72px;
    font-weight: 500;
    color: #FEF8E7;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    margin-bottom: 80px;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.project-name {
    font-size: 16px;
    font-weight: 500;
    color: #FEF8E7;
    letter-spacing: 0.02em;
}

.project-arrow {
    color: #FEF8E7;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-arrow svg {
    width: 20px;
    height: 20px;
}

.project-card:hover .project-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */

.projects-footer {
    padding: 40px 60px 60px;
    display: flex;
    justify-content: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 70px;
}

.footer-logo img {
    height: 240px;
    width: auto;
}

.footer-brand {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #5A5A3A;
    font-weight: 500;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .header {
        padding: 0 40px;
    }

    .projects-page {
        padding: 100px 40px 40px;
    }

    .projects-title {
        font-size: 56px;
        margin-bottom: 40px;
    }

    .projects-grid {
        gap: 30px 40px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 24px;
        height: 70px;
    }

    .nav {
        display: none;
    }

    
    .projects-page {
        padding: 90px 24px 40px;
    }

    .projects-title {
        font-size: 42px;
        margin-bottom: 32px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .project-image {
        aspect-ratio: 1/1;
    }

    .projects-footer {
        padding: 30px 24px 40px;
    }
}

@media (max-width: 480px) {
    .projects-title {
        font-size: 36px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-image {
        aspect-ratio: 4/3;
    }
}