

/* ==============================
   GENERAL
   ============================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    background: #b68acf87;
}


/* ==============================
   MENU
   ============================== */

.side-menu {
    position: fixed;

    top: 50px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: row;
    gap: 59px;
    align-items: center;

    width: max-content;

    font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
    font-weight: 900;

    z-index: 1000;
}

.side-menu a {
    display: block;

    color: #333;
    text-decoration: none;

    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 1px;

    transition: color 0.2s ease;
}

.side-menu a:hover {
    color: #777;
}
/* ==============================
   HOME
   ============================== */

.home-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 700px;
    padding: 40px;

    background: transparent;
    border-radius: 5px;
}

.main-image {
    display: block;
    width: 100%;
    height: auto;
}


/* ==============================
   GALLERY
   ============================== */

.gallery-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 10px;

    width: max-content;
    padding: 20px;
}

.gallery-item {
    position: relative;
    width: 250px;
    height: 250px;
    cursor: pointer;

    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    display: block;
    width: 250px;
    height: 250px;

    object-fit: cover;
    border-radius: 5px;

    transition: transform 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}


/* ==============================
   LIGHTBOX
   ============================== */

.lightbox-overlay {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
}

.lightbox-content {
    position: relative;

    width: 900px;
    height: 900px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff7e8;
    border-radius: 5px;
    overflow: hidden;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* ==============================
   LIGHTBOX BUTTONS
   ============================== */

.lightbox-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;

    width: 40px;
    height: 40px;
    padding: 0;

    border: none;
    background: transparent;

    color: #333;
    font: 36px/36px Arial, sans-serif;

    cursor: pointer;
    z-index: 10;
}

.lightbox-close-btn:hover,
.lightbox-nav-btn:hover {
    color: #777;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 70px;
    padding: 0;

    border: none;
    background: transparent;

    color: #333;
    font: 42px/1 Arial, sans-serif;

    cursor: pointer;
    z-index: 10;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 950px) {
    .lightbox-content {
        width: 90vw;
        height: 90vw;
        max-width: 900px;
        max-height: 900px;
    }
}

@media (max-width: 700px) {

    .side-menu {
        top: 15px;
        gap: 15px;
    }

    .side-menu a {
        font-size: 18px;
    }

    .gallery-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;

        width: 100%;
        padding: 70px 0 0;

        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
    }

    .lightbox-content {
        width: 95vw;
        height: 95vw;
    }

    .lightbox-nav-btn {
        width: 40px;
        height: 60px;
        font-size: 32px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}

@media (max-width: 450px) {

    .side-menu {
        gap: 10px;
    }

    .side-menu a {
        font-size: 16px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   BLOG
   ============================== */

#blog {
    position: absolute;

    top: 500px;
    left: 800px;

    width: 260px;
    padding: 20px;

    background-color: #f5e1c6;

    font-family: Arial, sans-serif;
    z-index: 1500
}

/* BLOG heading */

.blog h2 {
    margin: 0 0 18px 0;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Blog content */

.blog-content {
    transition: opacity 0.3s ease;
}

.blog-content.fade {
    opacity: 0;
}

/* Date */

.blog-date {
    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #98717d;
}

/* Post title */

.blog-title {
    margin: 0 0 8px 0;

    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

/* Post text */

.blog-text {
    margin: 0 0 15px 0;

    font-size: 13px;
    line-height: 1.5;
    color: #59464c;
}

/* Read more */

.blog a {
    display: inline-block;

    font-size: 12px;
    font-weight: 600;
    text-decoration: none;

    color: #8c5365;
}

.blog a:hover {
    text-decoration: underline;
}