* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #000;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
}

/* HEADER */
.site-header {
    height: 238px;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brand {
    text-align: center;
    margin-top: 8px;
}

.name {
    font-family: "Cinzel", Georgia, serif;
    font-size: 31px;
    font-weight: 400;
    letter-spacing: .5px;
}

.tagline {
    margin-top: 4px;
    color: #ddd;
    font-size: 12px;
    font-style: italic;
}

/* NAVIGATION */
.main-nav {
    display: flex;
    align-items: center;
    margin-top: 29px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 18px;
    padding: 0 14px;
    border-right: 1px solid #333;
    transition: color .25s ease;
}

.main-nav a:last-child {
    border-right: 0;
}

.main-nav a:hover {
    color: #c6a36a;
}

/* GALLERY */
.gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: #000;
}

.photo-card {
    position: relative;
    display: block;
    height: 360px;
    overflow: hidden;
    background: #111;
}

.photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .65s ease, filter .65s ease;
}

.photo-card:hover img {
    transform: scale(1.035);
    filter: brightness(1.06);
}

.photo-card span {
    position: absolute;
    top: 12px;
    right: 16px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
    letter-spacing: .1px;
    text-shadow: 0 1px 3px #000;
}

/* FOOTER */
.site-footer {
    min-height: 106px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 370px;
    background: #000;
    padding: 18px 30px;
}

.contact {
    font-family: Georgia, serif;
    font-size: 14px;
    white-space: nowrap;
}

.contact b {
    color: #777;
    font-weight: normal;
    margin: 0 3px;
}

.social {
    display: flex;
    align-items: center;
    gap: 17px;
}

.social a {
    color: #888;
    text-decoration: none;
    font-size: 21px;
    transition: color .25s ease, transform .25s ease;
}

.social a:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* TABLET */
@media (max-width: 1050px) {
    .site-footer {
        gap: 80px;
    }

    .photo-card {
        height: 320px;
    }
}

/* MOBILE */
@media (max-width: 760px) {
    .site-header {
        height: auto;
        padding: 28px 12px 20px;
    }

    .name {
        font-size: 24px;
    }

    .main-nav {
        margin-top: 23px;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 12px;
    }

    .main-nav a {
        font-size: 12px;
        padding: 0 9px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .photo-card {
        height: 290px;
    }

    .site-footer {
        flex-direction: column;
        gap: 20px;
        padding: 25px 12px;
    }

    .contact {
        white-space: normal;
        text-align: center;
        font-size: 12px;
    }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);

}

.modal-content {
  margin: auto;
  display: block;
  width: auto;
  max-width: 700px;

}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}