*            /* style is changed to index */
 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 25px 50px;
    font-size: large;
}

.logo {
    grid-column: 2;
    justify-self: center;
    font-weight: bold;
    font-size: larger;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    grid-column: 3;
    justify-self: end;
    font-size: x-small;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Georgia", "Times New Roman", serif;
    color: #000;
    text-decoration: none;
}

.nav-links a {
    color: #000;
    text-decoration: none;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.photo-grid img:nth-child(4) {
    object-position: 20% center;
}

.photo-grid img:nth-child(5) {
    object-position: 30% center;
}

.photo-grid img:nth-child(7) {
    object-position: 90% center;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    color: #000;
    font-family: "Georgia", "Times New Roman", serif;
}

footer p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.social-links a:hover {
    border-color: #000;
}

@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

html {
    scroll-behavior: smooth;
}

.line-button {
    display: inline-block;
    margin-bottom: 25px;
    padding: 12px 28px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.line-button:hover {
    background: #333;
}