﻿:root {
    --bg: #0b1220;
    --text: #eaf0ff;
    --muted: #9fb0d0;
    --line: rgba(255,255,255,.08);
    --primary: #6ea8fe;
    --primary2: #3b82f6;
    --shadow: 0 30px 80px rgba(0,0,0,.35);
}

/* HERO */
.buildings-hero {
    position: relative;
    border-radius: 18px;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: radial-gradient(900px 450px at 20% 10%, rgba(110,168,254,.18), transparent 60%), linear-gradient(180deg, rgba(11,18,32,.92), rgba(11,18,32,.75));
    box-shadow: var(--shadow);
}

    .buildings-hero h1 {
        font-weight: 1000;
        letter-spacing: .2px;
        color: var(--text);
    }

    .buildings-hero p {
        color: rgba(234,240,255,.85);
    }

/* SECTION */
.buildings-section {
    padding: 26px 0;
    color: var(--text);
}

/* ROW */
.building-row {
    display: flex;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    transition: .2s ease;
}

    .building-row:hover {
        transform: translateY(-2px);
        border-color: rgba(110,168,254,.35);
    }

    .building-row.reverse {
        flex-direction: row-reverse;
    }

@media (max-width: 992px) {
    .building-row,
    .building-row.reverse {
        flex-direction: column;
    }
}

/* GALLERY */
.building-gallery {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.02);
}

.main-image {
    border-bottom: 1px solid var(--line);
    background: rgba(10,16,28,.55);
}

.main-photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: opacity .18s ease;
}

.thumbnail-slider {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    background: rgba(11,18,32,.75);
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: .15s ease;
    flex: 0 0 auto;
    opacity: .85;
}

    .thumbnail:hover {
        opacity: 1;
        transform: translateY(-2px);
        border-color: rgba(110,168,254,.35);
    }

/* INFO */
.building-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 8px;
}

    .building-info h2 {
        margin: 0 0 12px;
        font-weight: 1000;
        letter-spacing: .2px;
        color: var(--text);
    }

    .building-info p {
        margin: 0;
        color: rgba(234,240,255,.84);
        line-height: 1.7;
    }

/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil */
@media (max-width: 576px) {
    .main-photo {
        height: 260px;
    }
}
