/* =========================================================
   TANGO UNDER THE STARS
   Landing page
   ========================================================= */


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

html {
    background: #003d60;
}

body {
    min-width: 320px;
    background: #003d60;
    color: #fff3c4;
    font-family: Arial, Helvetica, sans-serif;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
    position: relative;

    width: 100%;
    min-height: 100svh;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: #00517a;
}


/* ---------------------------------------------------------
   SOFIA BACKGROUND
   --------------------------------------------------------- */

.city-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    background-image:
            linear-gradient(
                    to bottom,
                    rgba(0, 30, 52, 0.02) 0%,
                    rgba(0, 30, 52, 0.02) 55%,
                    rgba(0, 35, 58, 0.45) 78%,
                    rgba(0, 35, 58, 0.90) 100%
            ),
            url("../images/sofia-background.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ---------------------------------------------------------
   MAIN VISUAL
   --------------------------------------------------------- */

.visual {
    position: relative;
    z-index: 2;

    width: min(900px, 68vw);

    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: clamp(12px, 2vh, 30px);
}


/* Couple + moon + stars */

.tango-couple {
    display: block;

    width: auto;
    height: min(52vh, 650px);

    max-width: 68vw;

    object-fit: contain;

    position: relative;
    z-index: 1;
}


/* Bulgarian logo */

.tango-title {
    display: block;

    width: min(850px, 65vw);
    height: auto;

    position: relative;
    z-index: 2;

    margin-top: clamp(-85px, -7vh, -45px);
}


/* ---------------------------------------------------------
   TEXT CONTENT
   --------------------------------------------------------- */

.content {
    position: relative;
    z-index: 3;

    width: min(800px, 90vw);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    margin-top: clamp(2px, 0.6vh, 10px);

    padding: 0 20px 30px;
}


/* ---------------------------------------------------------
   UNDER THE STARS
   --------------------------------------------------------- */

.subtitle {
    width: min(700px, 80vw);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(14px, 2vw, 28px);
}

.subtitle p {
    margin: 0;

    color: #fff3c4;

    font-size: clamp(1rem, 1.25vw, 1.45rem);
    font-weight: 800;

    letter-spacing: 0.42em;

    white-space: nowrap;

    text-shadow:
            0 2px 2px rgba(0, 0, 0, 0.45);
}

.line {
    display: block;

    width: clamp(55px, 7vw, 110px);
    height: 2px;

    flex-shrink: 0;

    background: #fff3c4;

    box-shadow:
            0 2px 2px rgba(0, 0, 0, 0.35);
}


/* ---------------------------------------------------------
   LOCATION
   --------------------------------------------------------- */

.location {
    margin: 9px 0 18px;

    color: #ffd93d;

    font-size: clamp(0.75rem, 0.9vw, 1rem);
    font-weight: 900;

    letter-spacing: 0.38em;

    text-shadow:
            0 2px 2px rgba(0, 0, 0, 0.5);
}


/* ---------------------------------------------------------
   COMING SOON
   --------------------------------------------------------- */

.coming-soon {
    position: relative;

    min-width: min(420px, 75vw);

    margin-top: 2px;

    padding:
            clamp(10px, 1.2vh, 15px)
            clamp(45px, 5vw, 80px);

    color: #071d2b;
    background: #ffd93d;

    font-size: clamp(1.6rem, 2vw, 2.25rem);
    font-weight: 900;
    font-style: italic;

    line-height: 1;

    text-transform: uppercase;

    transform: rotate(-1.2deg);

    clip-path: polygon(
            2% 13%,
            99% 0,
            96% 86%,
            3% 100%
    );

    filter:
            drop-shadow(0 4px 0 rgba(0, 0, 0, 0.22));
}


/* ---------------------------------------------------------
   MESSAGE
   --------------------------------------------------------- */

.message {
    margin: clamp(15px, 2vh, 24px) 0 0;

    color: #fff3c4;

    font-size: clamp(0.95rem, 1vw, 1.15rem);
    font-weight: 500;

    line-height: 1.45;

    letter-spacing: 0.02em;

    text-shadow:
            0 2px 3px rgba(0, 0, 0, 0.65);
}


/* =========================================================
   SHORT DESKTOP / LAPTOP
   ========================================================= */

@media (min-width: 701px) and (max-height: 850px) {

    .visual {
        margin-top: 8px;
    }

    .tango-couple {
        height: 48vh;
    }

    .tango-title {
        width: min(760px, 60vw);
        margin-top: -6vh;
    }

    .content {
        margin-top: 0;
        padding-bottom: 20px;
    }

    .location {
        margin-bottom: 12px;
    }

    .message {
        margin-top: 14px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .hero {
        min-height: 100svh;

        justify-content: flex-start;

        background: #003d60;
    }


    /* -----------------------------------------------------
       MOBILE BACKGROUND
       ----------------------------------------------------- */

    .city-background {
        background-image:
                linear-gradient(
                        to bottom,
                        rgba(0, 30, 52, 0.02) 0%,
                        rgba(0, 30, 52, 0.08) 45%,
                        rgba(0, 35, 58, 0.45) 72%,
                        rgba(0, 35, 58, 0.92) 100%
                ),
                url("../images/sofia-background.webp");

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;

        background-color: #00517a;
    }


    /* -----------------------------------------------------
       MOBILE MAIN LOGO
       ----------------------------------------------------- */

    .visual {
        width: 100%;

        margin-top: 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .tango-couple {
        width: auto;

        height: min(43vh, 390px);

        max-width: 90vw;

        object-fit: contain;
    }


    .tango-title {
        width: min(94vw, 500px);

        height: auto;

        margin-top: -30px;
    }


    /* -----------------------------------------------------
       MOBILE CONTENT
       ----------------------------------------------------- */

    .content {
        width: 100%;

        margin-top: 8px;

        padding:
                0
                18px
                max(28px, env(safe-area-inset-bottom));
    }


    /* UNDER THE STARS */

    .subtitle {
        width: 100%;

        gap: 10px;
    }


    .subtitle p {
        font-size: 0.72rem;
        font-weight: 800;

        letter-spacing: 0.25em;

        white-space: nowrap;
    }


    .line {
        width: 30px;
        height: 2px;
    }


    /* LOCATION */

    .location {
        margin: 8px 0 20px;

        font-size: 0.62rem;

        letter-spacing: 0.30em;
    }


    /* -----------------------------------------------------
       MOBILE COMING SOON
       ----------------------------------------------------- */

    .coming-soon {
        min-width: min(310px, 82vw);

        margin-top: 0;

        padding: 11px 32px;

        font-size: clamp(1.35rem, 6.5vw, 1.8rem);

        transform: rotate(-1.2deg);
    }


    /* -----------------------------------------------------
       MOBILE MESSAGE
       ----------------------------------------------------- */

    .message {
        max-width: 310px;

        margin-top: 22px;

        font-size: 0.9rem;
        font-weight: 500;

        line-height: 1.45;

        text-shadow:
                0 2px 4px rgba(0, 0, 0, 0.8);
    }
}


/* =========================================================
   VERY SMALL PHONES
   320px - 380px
   ========================================================= */

@media (max-width: 380px) {

    .tango-couple {
        height: 49vh;
        max-width: 98vw;
    }


    .tango-title {
        width: 98vw;

        margin-top: -32px;
    }


    .content {
        margin-top: 10px;
    }


    .subtitle {
        gap: 8px;
    }


    .subtitle p {
        font-size: 0.78rem;

        letter-spacing: 0.18em;
    }


    .line {
        width: 22px;
    }


    .location {
        margin-top: 7px;
        margin-bottom: 18px;

        font-size: 0.67rem;

        letter-spacing: 0.22em;
    }


    .coming-soon {
        min-width: 290px;

        padding: 11px 30px;
    }


    .message {
        max-width: 300px;

        margin-top: 20px;

        font-size: 0.92rem;
    }
}


/* =========================================================
   VERY LARGE / TALL DESKTOPS
   ========================================================= */

@media (min-width: 1600px) and (min-height: 950px) {

    .tango-couple {
        height: min(54vh, 700px);
    }


    .tango-title {
        width: min(900px, 62vw);
    }


    .content {
        width: min(850px, 90vw);
    }
}