* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f6f6f6;
    font-family: 'Afacad Flux', sans-serif;
    overflow-x: hidden;
}

/* ANIMATION */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: #d63a33;
    padding: 20px 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.logo:hover {
    transform: scale(1.08);
}

.navbar.scrolled .logo {
    height: 60px;
}

nav {
    display: flex;
    margin-left: 30px;
    flex: none;
}

.review-link {
    margin-left: auto;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    position: relative;
    transition: 0.3s;
}

nav a:hover {
    color: #ffe0c2;
}

nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #ffe0c2;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after,
nav .active::after {
    width: 100%;
}

.review-btn {
    background: white;
    color: #d63a33;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.review-btn:hover {
    box-shadow: 0 4px 15px rgba(255, 224, 194, 0.6),
                0 0 10px rgba(255, 224, 194, 0.8);
}

/* TITLE */
.title {
    text-align: center;
    margin: 50px 0;
}

.title h1 {
    font-family: "acumin-variable", sans-serif;
    font-weight: 900;
    font-stretch: semi-condensed;
    font-size: 52px;
    color: #d63a33;
}

/* GALLERY STRICT */
.gallery-section {
    width: 82%;
    margin: 0 auto 70px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.9fr;
    grid-template-rows: 320px 220px 220px;
    gap: 28px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* EXACT LAYOUT */
.big {
    grid-column: 1 / 3;
    grid-row: 1;
}

.tall {
    grid-column: 3;
    grid-row: 1 / 3;
}

.medium:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
}

.medium:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
}

.small:nth-of-type(5) {
    grid-column: 1;
    grid-row: 3;
}

.small:nth-of-type(6) {
    grid-column: 2;
    grid-row: 3;
}

.small:nth-of-type(7) {
    grid-column: 3;
    grid-row: 3;
}

/* REVIEW SECTION */
.review-section {
    background: #e58b3b;
    padding: 48px 20px;
    display: flex;
    justify-content: center;
}

.review-card {
    background: white;
    border-radius: 40px;
    padding: 26px 56px;
    text-align: center;
}

.review-card h3 {
    color: #e58b3b;
    font-size: 20px;
    margin-bottom: 12px;
}

.review-card a {
    display: inline-block;
    background: #e58b3b;
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    transition: 0.3s;
}

.review-card a:hover {
    background: #d97827;
}

/* FOOTER */
.footer {
    background: linear-gradient(to right, #2b1e1e, #1a1414);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.footer-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-size: 14px;
    opacity: 0.9;
    transition: 0.3s;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-socials img {
    width: 35px;
    transition: 0.3s;
}

.footer-socials img:hover {
    transform: translateY(-5px) scale(1.05);
    opacity: 0.7;
}

.footer-copy {
    font-size: 12px;
    opacity: 0.7;
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #d63a33;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: 0.3s;
}

#backToTop:hover {
    background: #b52d27;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
}

.close,
.prev,
.next {
    position: absolute;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

.close {
    top: 30px;
    right: 40px;
}

.prev {
    left: 40px;
}

.next {
    right: 40px;
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    margin-left: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .logo {
        height: 60px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #d63a33;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: 0.3s;
        margin-left: 0;
    }

    nav.active {
        max-height: 300px;
    }

    nav a {
        margin: 15px 0;
        font-size: 14px;
    }

    .review-link {
        display: none;
    }

    .title h1 {
        font-size: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 260px);
    }

    .big,
    .tall,
    .medium,
    .small {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-socials img {
        width: 30px;
    }

    #backToTop {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev,
    .next {
        font-size: 28px;
    }
}