* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Golos', sans-serif;
    background: #ffffff; 
    color: #333;
    min-height: 100vh;
    margin-top: 64px;
    z-index: 0;
}

@font-face {
  font-family: 'Golos';
  src: url('golos/Golos\ Text_Bold.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Golos';
  src: url('golos/GolosText-Regular.ttf') format('truetype'); /* ← нужен regular файл */
  font-weight: normal;
  font-style: normal;
}

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* ШАПКА */

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 64px;
    background: #71c3e6dd;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;
    box-sizing: border-box;
    backdrop-filter: blur(3px);
}




.logo {
    padding:2px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;     
}

.burger {
    width: 26px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
}

.burger span {
    height: 3px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}


/* КОНТЕНТ */

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 8px;
    min-height: 0;             
    overflow-y: auto;          
}

@media(min-width:1000px){
    .app-main-blocks {
        flex: 1;
        display: flex;
        flex-direction: row;
        padding: 8px;
        gap: 8px;
        min-height: 0;             
        overflow-y: auto;          
    }
    .block-link{
        width: 40%;
        height: 30%;
    }
}

/*.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

h1 {
    display: inline-block;
    white-space: nowrap;
    font-size: 1.5em;
    text-align: center;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}*/

.block{
    background-color: rgba(0, 138, 205, 0.52);
    border-radius: 16px;
    margin-bottom: 8px;
    padding: 8px;
    text-decoration: none;
}

.block-link{
    text-decoration: none;
}

.block-img{
    width: 100%;
    display: block;
    height: 80%;
    border-radius: 8px;
}

.block-text{
    font-weight: bold;
    color: black;
}

.block-text-name{
    font-size: 16pt;
}

.location-info{
    margin-top: 0px;
    display: flex;
    align-items: center;
}

.location-icon{
    height: 16px;
    margin-right: 10px;
}

.address-text {
    margin: 0;
    color: white;
    text-decoration: none;
    font-size: 10pt;
}


footer{
    margin-top: 16px;
    gap: 16px;
    background-color: black;
    color: white;
    height: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.logos{
    width: 48px;
    gap: 16px;
    display: flex;
    flex-direction:row;
    position: relative;
}

.footer-logo{
    width: auto;
    height: 32px;
}


/* ШТОРКА МЕНЮ */
.menu {
    position: fixed; /* Фиксируем на весь экран */
    top: 63px; /* Под шапкой */
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    font-weight: 100;
    backdrop-filter: blur(5px);
}

.menu.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background-color: #fffffff7;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.menu.active .menu-panel {
    transform: translateX(0);
}

.menu-item {
    width: 100%;
    padding: 8px 5%;
    color: #000000;
}

.menu-item p {
    font-weight: normal;
    margin: 0;
}

.route-bar {
    margin-top: 0;         
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: env(safe-area-inset-bottom); 
}

.route-bar__action {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: #0b83cc;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    font-family: 'Golos', sans-serif;
}

.route-bar__action {
    background: linear-gradient(
        90deg,
        #0b83cc 0%,
        #2a9df4 25%,
        #0b83cc 50%,
        #2a9df4 75%,
        #0b83cc 100%
    );
    background-size: 200% 100%;
    animation: flow 4s infinite linear;
}

@keyframes flow {
    0% { background-position: 200% 0; }
    100% { background-position: 0 0; }
}