/* =====================================================
   BUILDING LAB PRESENTATION
   BRAND COLORS
===================================================== */

:root {
    --orange: #EA7937;
    --orange-dark: #c85f24;

    --purple: #484658;
    --purple-dark: #343341;

    --black: #070707;
    --white: #ffffff;

    --text-muted: rgba(255, 255, 255, 0.65);
    --border: rgba(255, 255, 255, 0.18);

    --transition: 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--black);
    color: var(--white);

    font-family:
        "Inter",
        "Noto Sans Georgian",
        sans-serif;

    overflow-x: hidden;
}


button,
a {
    font-family: inherit;
}


button {
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =====================================================
   LOADING SCREEN
===================================================== */

.loading-screen {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 30px;

    background: var(--purple);

    transition:
        opacity 1s ease,
        visibility 1s ease;
}


.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}


.loading-logo {
    font-size: 18px;

    font-weight: 600;

    letter-spacing: 5px;
}


.loading-bar {
    width: 180px;
    height: 2px;

    background:
        rgba(255, 255, 255, 0.2);

    overflow: hidden;
}


.loading-bar-inner {
    width: 0%;
    height: 100%;

    background: var(--orange);

    transition: width 0.3s ease;
}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    padding: 0 5vw;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 1000;

    pointer-events: none;

    transition:
        background 0.5s ease,
        backdrop-filter 0.5s ease;
}


.brand,
.top-controls {
    pointer-events: auto;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


.brand-dot {
    width: 9px;
    height: 9px;

    background: var(--orange);

    border-radius: 50%;

    box-shadow:
        0 0 15px rgba(234, 121, 55, 0.7);
}


.brand-name {
    font-size: 12px;

    font-weight: 600;

    letter-spacing: 3px;
}


.top-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}


.language-button {
    font-size: 11px;

    letter-spacing: 2px;

    color:
        rgba(255, 255, 255, 0.5);

    transition:
        color 0.3s ease;
}


.language-button:hover,
.language-button.active {
    color: var(--orange);
}


.language-divider {
    color:
        rgba(255, 255, 255, 0.3);

    font-size: 11px;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    position: relative;

    width: 100%;
    height: 100svh;

    min-height: 650px;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity 1s ease,
        transform 1s ease;
}


.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.02);

    filter:
        brightness(0.72)
        contrast(1.05);
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.48),
            rgba(72, 70, 88, 0.12) 45%,
            rgba(0, 0, 0, 0.82)
        );
}


.hero-content {
    position: relative;

    z-index: 2;

    text-align: center;

    max-width: 1000px;

    padding: 30px;

    animation:
        heroAppear 1.5s
        cubic-bezier(0.77, 0, 0.175, 1)
        both;
}


@keyframes heroAppear {

    from {
        opacity: 0;

        transform:
            translateY(35px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


.hero-small-text {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-bottom: 28px;

    font-size: 10px;

    letter-spacing: 4px;

    color:
        rgba(255, 255, 255, 0.8);
}


.line {
    width: 35px;
    height: 1px;

    background: var(--orange);
}


.hero-content h1 {
    font-size:
        clamp(48px, 8vw, 120px);

    line-height: 0.95;

    font-weight: 500;

    letter-spacing:
        -0.055em;

    margin-bottom: 30px;
}


.hero-content p {
    font-size: 15px;

    color:
        rgba(255, 255, 255, 0.75);

    letter-spacing: 2px;

    margin-bottom: 50px;
}


/* =====================================================
   PRESENTATION BUTTON
===================================================== */

.presentation-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 25px;

    min-width: 250px;

    padding: 18px 28px;

    border:
        1px solid var(--orange);

    background:
        rgba(234, 121, 55, 0.05);

    color: var(--white);

    font-size: 11px;

    letter-spacing: 3px;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.presentation-button:hover {
    background: var(--orange);

    color: white;

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 40px
        rgba(234, 121, 55, 0.25);
}


.button-arrow {
    font-size: 18px;

    color: var(--orange);

    transition:
        transform 0.4s ease,
        color 0.4s ease;
}


.presentation-button:hover
.button-arrow {
    transform:
        translateY(4px);

    color: white;
}


/* =====================================================
   SCROLL INDICATOR
===================================================== */

.scroll-indicator {
    position: absolute;

    z-index: 2;

    left: 5vw;
    bottom: 40px;

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 9px;

    letter-spacing: 3px;

    color:
        rgba(255, 255, 255, 0.65);
}


.scroll-line {
    width: 45px;

    height: 1px;

    background: var(--orange);
}


/* =====================================================
   PRESENTATION
===================================================== */

.presentation-section {
    position: relative;

    width: 100%;

    height: 100svh;

    min-height: 650px;

    overflow: hidden;

    background: var(--purple);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 1;
}


.presentation-image-wrapper {
    position: absolute;

    inset: 0;

    overflow: hidden;
}


.presentation-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.05);

    opacity: 1;

    transition:
        opacity 0.9s
        cubic-bezier(0.77, 0, 0.175, 1),

        transform 7s
        cubic-bezier(0.16, 1, 0.3, 1);
}


.presentation-image.zooming {
    transform: scale(1.13);
}


.presentation-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(72, 70, 88, 0.12),
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.82)
        );

    z-index: 1;
}


/* =====================================================
   PRESENTATION CONTENT
===================================================== */

.presentation-content {
    position: relative;

    z-index: 3;

    width: 90%;

    max-width: 1300px;

    margin-top: 20vh;

    text-align: center;

    pointer-events: none;
}


.presentation-counter {
    margin-bottom: 25px;

    font-size: 11px;

    letter-spacing: 4px;

    color: var(--orange);
}


.presentation-content h2 {
    font-size:
        clamp(50px, 9vw, 130px);

    line-height: 0.9;

    font-weight: 500;

    letter-spacing:
        -0.06em;

    margin-bottom: 30px;

    text-shadow:
        0 4px 30px
        rgba(0, 0, 0, 0.5);
}


.presentation-content p {
    max-width: 550px;

    margin: auto;

    font-size: 14px;

    line-height: 1.7;

    color:
        rgba(255, 255, 255, 0.8);
}


/* =====================================================
   PRESENTATION PROGRESS
===================================================== */

.presentation-progress {
    position: absolute;

    z-index: 5;

    top: 120px;

    left: 5vw;

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 10px;

    letter-spacing: 2px;
}


.progress-line {
    width: 80px;

    height: 1px;

    background: var(--orange);
}


.presentation-navigation {
    position: absolute;

    z-index: 5;

    right: 5vw;

    bottom: 50px;

    display: flex;

    gap: 10px;
}


.presentation-navigation button {
    width: 50px;
    height: 50px;

    border:
        1px solid
        rgba(255, 255, 255, 0.4);

    font-size: 18px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.presentation-navigation button:hover {
    background: var(--orange);

    color: white;

    border-color: var(--orange);
}


/* =====================================================
   PROGRESS BAR
===================================================== */

.presentation-progress-bar {
    position: absolute;

    z-index: 5;

    left: 0;
    bottom: 0;

    width: 100%;

    height: 3px;

    background:
        rgba(255, 255, 255, 0.12);
}


.progress-bar-inner {
    width: 0%;

    height: 100%;

    background: var(--orange);

    box-shadow:
        0 0 10px
        rgba(234, 121, 55, 0.5);

    transition:
        width 0.2s linear;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    position: relative;

    min-height: 100svh;

    padding:
        150px 5vw 40px;

    background:
        var(--purple-dark);
}


.contact-container {
    max-width: 1400px;

    margin: auto;
}


.contact-heading {
    max-width: 850px;

    margin-bottom: 100px;
}


.section-label {
    display: block;

    margin-bottom: 25px;

    font-size: 10px;

    letter-spacing: 4px;

    color: var(--orange);
}


.contact-heading h2 {
    font-size:
        clamp(50px, 8vw, 110px);

    font-weight: 500;

    letter-spacing:
        -0.055em;

    line-height: 0.95;

    margin-bottom: 30px;
}


.contact-heading p {
    max-width: 600px;

    color:
        rgba(255, 255, 255, 0.65);

    line-height: 1.7;

    font-size: 15px;
}


/* =====================================================
   LOCATIONS
===================================================== */

.locations {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 1px;

    background:
        rgba(255, 255, 255, 0.15);

    border-top:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.15);

    margin-bottom: 80px;
}


.location-card {
    min-height: 350px;

    padding: 45px;

    background:
        var(--purple);

    display: flex;

    gap: 30px;

    transition:
        background 0.5s ease,
        transform 0.5s ease;
}


.location-card:hover {
    background:
        #535164;
}


.location-number {
    font-size: 10px;

    color: var(--orange);

    letter-spacing: 2px;
}


.location-content {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.location-label {
    margin-bottom: 20px;

    font-size: 9px;

    letter-spacing: 3px;

    color:
        rgba(255, 255, 255, 0.45);
}


.location-content h3 {
    font-size:
        clamp(35px, 5vw, 65px);

    font-weight: 500;

    letter-spacing:
        -0.04em;

    margin-bottom: 15px;
}


.location-content p {
    color:
        rgba(255, 255, 255, 0.55);

    margin-bottom: 40px;
}


.location-content a {
    display: flex;

    gap: 20px;

    align-items: center;

    padding-bottom: 8px;

    border-bottom:
        1px solid var(--orange);

    font-size: 10px;

    letter-spacing: 2px;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}


.location-content a:hover {
    color: var(--orange);
}


/* =====================================================
   CONTACT DETAILS
===================================================== */

.contact-details {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 40px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.15);

    font-size:
        clamp(18px, 3vw, 35px);

    letter-spacing:
        -0.03em;
}


.contact-details a {
    transition:
        color 0.3s ease;
}


.contact-details a:hover {
    color: var(--orange);
}


.contact-separator {
    color:
        var(--orange);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    display: flex;

    justify-content: space-between;

    padding-top: 30px;

    font-size: 9px;

    letter-spacing: 2px;

    color:
        rgba(255, 255, 255, 0.4);
}


/* =====================================================
   IMAGE TRANSITIONS
===================================================== */

.slide-out {
    opacity: 0 !important;

    transform:
        scale(1.12)
        translateX(-2%);
}


.slide-in {
    animation:
        imageReveal 1s
        cubic-bezier(0.77, 0, 0.175, 1);
}


@keyframes imageReveal {

    0% {
        opacity: 0;

        transform:
            scale(1.14)
            translateX(2%);
    }

    100% {
        opacity: 1;

        transform:
            scale(1.05)
            translateX(0);
    }
}


/* =====================================================
   PRESENTATION ACTIVE STATE
===================================================== */

body.presentation-active .hero-section {
    opacity: 0;

    pointer-events: none;

    transform:
        translateY(-30px);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .top-bar {
        height: 70px;

        padding: 0 25px;
    }


    .brand-name {
        font-size: 10px;

        letter-spacing: 2px;
    }


    .hero-content {
        padding: 20px;
    }


    .hero-small-text {
        font-size: 8px;

        letter-spacing: 2px;

        gap: 10px;
    }


    .hero-content p {
        font-size: 13px;

        letter-spacing: 1px;

        margin-bottom: 35px;
    }


    .presentation-button {
        min-width: 210px;

        padding: 16px 22px;

        font-size: 9px;
    }


    .scroll-indicator {
        left: 25px;

        bottom: 25px;

        font-size: 8px;
    }


    .presentation-progress {
        top: 90px;

        left: 25px;
    }


    .presentation-content {
        margin-top: 15vh;
    }


    .presentation-content p {
        font-size: 13px;

        padding: 0 20px;
    }


    .presentation-navigation {
        right: 25px;

        bottom: 35px;
    }


    .presentation-navigation button {
        width: 45px;
        height: 45px;
    }


    .contact-section {
        padding:
            110px 25px 30px;
    }


    .contact-heading {
        margin-bottom: 70px;
    }


    .locations {
        grid-template-columns: 1fr;
    }


    .location-card {
        min-height: 300px;

        padding:
            35px 25px;
    }


    .contact-details {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }


    .contact-separator {
        display: none;
    }


    .footer {
        flex-direction: column;

        gap: 10px;
    }
}


@media (max-width: 500px) {

    .brand-name {
        display: none;
    }


    .hero-content h1 {
        font-size:
            clamp(42px, 13vw, 70px);
    }


    .hero-small-text .line {
        width: 20px;
    }


    .presentation-content h2 {
        font-size:
            clamp(48px, 15vw, 80px);
    }


    .location-card {
        gap: 15px;
    }
}