* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Removes mobile blue overlay */
    outline: none;
}

body::selection {
    background: #000000;
    color: #ffffff;
}

html, body {
    height: auto;
    overflow-x: hidden;
}

html, body {
  scroll-snap-type: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
nav {
    background: transparent;
    padding: 2rem 2rem 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-header {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2.6rem;
    letter-spacing: -0.03em;
    text-align: center;
    color: #000;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.project-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2rem;
}

.info-item {
    font-size: 1rem;
    line-height: 1.5;
}

.info-label {
    font-weight: 600;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1000px;
}

.project-details {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.detail-content {
    font-size: 1rem;
    line-height: 1.5;
}

.business-impact {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 3rem;
}


.impact-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.impact-list {
    list-style: none;
    counter-reset: impact-counter;
}

.impact-item {
    counter-increment: impact-counter;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 2rem;
}

.impact-item::before {
    content: counter(impact-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 3rem;
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Other Case Studies Section */
.other-case-studies {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 3rem;
    /* border-top: 2px solid #000; */
    padding-top: 3rem;
}

.other-studies-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
    color: #000;
    letter-spacing: -0.02em;
}

.case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.case-study-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #000;
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s ease;
}

.case-study-item:hover {
    opacity: 0.7;
}

.case-study-item:last-child {
    border-bottom: none;
}

.case-study-name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Footer */
footer {
    background: transparent;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.email {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
    font-size: 1rem;
}

.social-links a:hover {
    opacity: 0.7;
}

@media (max-width: 848px) {
    nav {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .hero-image {
        height: 250px;
    }

    .project-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 200px;
    }

    .case-study-item {
        padding: 1rem 0;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }

    .social-links {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 200px;
    }

    .project-description {
        font-size: 1rem;
    }

    .gallery-image {
        height: 150px;
    }
}
