/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


::selection {
    background-color: #39FF14;
    color: #FF6600;
}

::-moz-selection {
    background-color: #39FF14;
    color: #FF6600;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    position: absolute;
    top: 30px;
    left: 30px;
}

.header-content h1 a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0;
    text-decoration: none;
    display: block;
}

.header-content h1 a:hover {
    color: #000000;
}

.header-right {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 30px;
}

.header-right span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
}

.header-right span a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    text-decoration: none;
}

.header-right span a:hover {
    color: #000000;
}

/* Project header */
.project-header {
    margin-top: 100px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.project-header p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0;
}

.link-icon {
    margin-left: 1px;
    vertical-align: middle;
    width: 13px;
    height: 13px;
    transform: translateY(-1px);
}

/* Project description */
.project-description {
    margin-top: 75px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.project-description p {
    font-family: 'EB Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

/* Project description solution */
.project-description-solution {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.project-description-solution p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.project-description-solution p:first-child {
    margin-bottom: 0;
}

.project-description-solution p[style*="text-indent"] {
    margin-bottom: 0;
}

.hero-image {
    margin-top: 200px;
    text-align: center;
    position: relative;
}

.hero-image:first-of-type {
    margin-top: 0px;
}

.hero-image:not(:first-of-type) {
    margin-top: 150px;
}

.hero-image img {
    max-width: 900px;
    width: 100%;
    height: auto;
}

.project-info {
    margin-top: 5px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0;
}

@media (max-width: 960px) {
    .project-info {
        max-width: calc(100vw - 60px);
        margin-left: 30px;
        margin-right: 30px;
    }
}

.project-left,
.project-center,
.project-right {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    position: absolute;
}

.project-left {
    left: 0;
    position: static;
}

.project-center {
    left: 50%;
    transform: translateX(-50%);
}

.project-right {
    right: 0;
    text-decoration: underline;
}

.project-right a {
    color: #000000 !important;
    text-decoration: underline;
}

.about-section {
    margin-top: 200px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-left {
    width: 425px;
    flex-shrink: 0;
}

.about-left h2 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0 0;
}

.about-left p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.about-left p:last-child {
    margin-bottom: 0;
}

.about-right {
    width: 425px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.about-right h2 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0 0;
}

.about-right p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.about-right p:last-child {
    margin-bottom: 0;
}

.about-right img {
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.image-pagination {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #000000;
    text-align: left;
    margin-top: 2px;
}

/* Footer */
footer {
    margin-top: 200px;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-column {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #000000;
    line-height: 1.3;
}

.footer-column div {
    margin-bottom: 0px;
}

.footer-column div:last-child {
    margin-bottom: 0;
}

.footer-column a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #000000;
    text-decoration: none;
}

.footer-column a:hover {
    color: #000000;
}

.underline a {
    text-decoration: underline;
}

.footer-right {
    text-align: right;
}

.underline {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 960px) {
    .project-header {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }
    
    .project-description {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }
    
    .project-description-solution {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0 30px;
    }
    
    .hero-image {
        padding: 0 30px;
    }
    
    .about-section {
        padding: 0 30px;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        gap: 50px;
    }
    
    .about-left {
        flex: 1;
        min-width: 0;
    }
    
    .about-right {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .hero-image,
    .hero-image:first-of-type,
    .hero-image:not(:first-of-type) {
        margin-top: 100px !important;
    }
    
    .about-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 100px;
    }
    
    footer {
        margin-top: 100px;
    }
    
    .about-left,
    .about-right {
        width: 100% !important;
        min-width: auto;
    }
    
    .project-info {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
    
    .project-left,
    .project-center,
    .project-right {
        position: static !important;
        text-align: left;
    }
    
    .project-center {
        left: auto !important;
        transform: none !important;
    }
    
    .hero-image img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    footer {
        margin-bottom: 5px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: start;
    }
    
    .footer-column:nth-child(1) {
        order: 3;
        margin-bottom: 20px;
    }
    
    .footer-column:nth-child(2) {
        order: 2;
        text-align: right;
    }
    
    .footer-column:nth-child(3) {
        order: 1;
        margin-bottom: 20px;
    }
    
    .footer-column:nth-child(4) {
        order: 4;
    }
}
