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

body {
    font-family: 'Titillium Web';
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Navigation */
.topbar {
    width: 100%;
    padding: 30px 0;
    background-color: #ffffff;
    border-bottom: 1px dashed #ccc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-logo{
    width: 60px!important;
    height: auto!important;
    position: absolute!important;
    left: 10px;
    top:2vh;
    transform: translateY(-50%);
    object-fit: contain;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #666;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.geometric-shape {
    margin-bottom: 40px;
    position: relative;
}

.shape {
    width: 220px;
    height: 220px;
    /* border: 2px solid #333; */
    background: transparent;
    transform: perspective(400px) rotateX(15deg) rotateY(-10deg);
    transition: transform 0.3s ease;
}

.shape:hover {
    transform: perspective(400px) rotateX(20deg) rotateY(-15deg);
}

.studio-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1em;
    text-align: center;
}

.studio-subtitle {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.studio-name-small {
            font-size: 1rem;
            color: #000000;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

/* Footer */
.footer {
    background-color: #e8e8e8;
    padding: 40px 0;
    border-top: 1px dashed #ccc;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #333;
}

.social-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        gap: 40px;
    }

    .nav-link {
        font-size: 13px;
    }

    .left-logo {
        left: 20px;
        width: 40px!important;
    }

    .studio-name {
        font-size: 17px;
        letter-spacing: 0.7em;
    }

    .shape {
        width: 220px;
        height: 220px;
    }

    .main-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        gap: 30px;
        padding: 0 20px;
    }

    .left-logo {
        left: 15px;
        width: 35px!important;
    }

    .studio-name {
        font-size: 12px;
        letter-spacing: 5px;
    }

    .shape {
        width: 220px;
        height: 220px;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-text {
        font-size: 11px;
    }

    .social-media {
        gap: 12px;
    }

    .social-link {
        width: 20px;
        height: 20px;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 30px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 40px;
    font-weight: 400;
    color: #333;
    letter-spacing: 2px;
}

.projects-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 70px; /* increased from 40px to 56px */
}

.project-item {
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

/* .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
} */

.project-image {
    /* width: 945px; */
    height: 945px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 80px);
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}

/* .project-item:hover .project-image {
    transform: scale(1.02);
} */

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-item:hover .project-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.project-item {
    position: relative;
}

/* Modal for project details */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-info {
    padding: 30px;
    text-align: center;
}

.modal-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.modal-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        gap: 40px;
    }

    .nav-link {
        font-size: 13px;
    }

    .page-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .projects-grid {
        gap: 30px;
    }

    .project-image {
        width: 100vw;
        height: auto;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 40px);
        aspect-ratio: 1 / 1;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-image {
        height: 250px;
    }

    .modal-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        gap: 30px;
        padding: 0 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .main-content {
        padding: 20px 20px;
    }

    .project-image {
        width: 100vw;
        height: auto;
        max-width: calc(100vw - 40px);
        max-height: calc(100vh - 20px);

        aspect-ratio: 1 / 1;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-text {
        font-size: 11px;
    }

    .social-media {
        gap: 12px;
    }

    .social-link {
        width: 20px;
        height: 20px;
    }
}