/* ==========================================================================
   სექცია 3 - ახალი გაცენტრილი სტრუქტურა
   ========================================================================== */
.sec-three {
    background-color: #161616;
    color: #ffffff;
    padding: 120px 0;
}

.sec-three__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* გაცენტრილი ჰედერი */
.sec-three__header {
    text-align: center;
    margin-bottom: 70px;
}

.sec-three__subtitle {
    display: block;
    font-family: 'BPG_Header', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c5a880;
    margin-bottom: 15px;
}

.sec-three__title {
    font-family: 'BPG_Header', sans-serif;
    font-size: clamp(32px, 3.8vw, 46px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.sec-three__text {
    font-family: 'Arial_Geo', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto; /* ცენტრში მოსაყვანად */
}

/* ქვედა კონტენტის გრიდი (2 სვეტი სათაურის ქვეშ) */
.sec-three__content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.sec-three__card-wrapper {
    display: flex;
    justify-content: flex-start;
}

/* პრემიუმ საინფორმაციო ბარათი */
.floor-details-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid #c5a880;
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    display: flex;
    gap: 30px;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.floor-details-card:hover {
    border-color: rgba(197, 168, 128, 0.3);
    transform: translateY(-5px);
}

.card-floor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.current-floor-num {
    font-family: 'BPG_Header', sans-serif;
    font-weight: 300;
    font-size: 60px;
    line-height: 1;
    color: #c5a880;
    transition: opacity 0.15s ease;
}

.card-floor-label {
    font-family: 'Arial_Geo', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    margin-top: 5px;
}

.card-floor-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex-grow: 1;
}

.card-info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-family: 'Arial_Geo', sans-serif;
    font-size: 12px;
    color: #888888;
}

.info-value {
    font-family: 'Arial_Geo', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    transition: opacity 0.15s ease;
}

/* ზღუდავს კონტეინერს და წევს მაქსიმალურად მარჯვნივ */
.sec-three__building {
    position: relative;
    width: 100%;
    max-width: 540px; /* აქედან აკონტროლებ დესკტოპზე შენობის ოპტიმალურ ვიზუალურ სიგანეს */
    margin-left: auto; /* წევს ბლოკს მარჯვნივ */
}

.building-wrapper {
    position: relative;
    width: 100%;
}

.building-img {
    width: 100%;
    height: auto;
    display: block;
}

.building-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.floor-shape {
    fill: transparent;
    stroke: transparent;
    stroke-width: 2;
    cursor: pointer;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

/* 🟢 მწვანე ეფექტი: მუშაობს დესკტოპზე ჰოვერით, მობილურზე კი პირველი დაჭერით (.active) */
.floor-link:hover .floor-shape,
.floor-link.active .floor-shape {
    fill: rgba(46, 204, 113, 0.25);   /* ნახევრად გამჭვირვალე მწვანე ფონი */
    stroke: #2ecc71;                  /* მყარი მწვანე ჩარჩოს ხაზი */
    stroke-width: 2px;
}

/* რესპონსივი (მობილურები და პლანშეტები) */
@media screen and (max-width: 992px) {
    .sec-three__container {
        padding: 0 24px;
    }
    .sec-three__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sec-three__card-wrapper {
        justify-content: center;
    }
    .floor-details-card {
        max-width: 100%;
    }
}