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

:root {
    --back_color: #070707;
    --front_st1_color: #9ed2d0;
    --front_type1_color: #5b8c5a;
    --front_type2_color: #7A9E7A;
    --front_type3_color: #8AAB8A;
    --front_type4_color: #7C948C;
    --front_type5_color: #94A69E;
    --front_type6_color: #A3B5A8;
    --front_type7_color: #B5C2B5;
    --front_type8_color: #9E8F8A;
    --front_type9_color: #A89E96;
    --front_type10_color: #8C96A3;
    --front_type1_color: #9E8A96;
    --front_type10_color: #A3968C;
    --front_type11_color: #8E9E8C;
    --front_type12_color: #5b8c5a;
    --h2_color: white;
    --span_color: rgb(220, 170, 83);
    --a_color: #C05A5A;
    --button-next-prew: white;
}

@font-face {
	font-family: raleway_m;
	src: url(../fonts/raleway-v22-cyrillic-300.woff2);
	font-weight: 300;
}

@font-face {
    font-family: pacifico-p;
    src: url(../fonts/Pacifico-Regular.ttf);
    font-weight:400;
}

@font-face {
    font-family: comfortaa-bold;
    src: url(../fonts/Comfortaa-Bold.ttf);
    font-weight:400;
}

@font-face {
    font-family: logo_txt;
    src: url(../fonts/OpenSans_Condensed-Bold.ttf);
    font-weight:400;
}

@font-face {
	font-family: raleway_m;
	src: url(../fonts/raleway-v22-cyrillic-900.woff2);
	font-weight: 900;
}


body, html {
    font-family: raleway_m, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--back_color);
}

.menu-container {
    width: 100%;
    max-width: 480px;
    height: 900px;
    min-height: 80vh;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.st1 {
    background-color: var(--front_st1_color);
}

.Type1 {
    background-color: var(--front_type1_color);
}

.Type2 {
    background-color: var(--front_type2_color);
}

.Type3 {
    background-color: var(--front_type3_color);
}

.Type4 {
    background-color: var(--front_type4_color);
}

.Type5 {
    background-color: var(--front_type5_color);
}

.Type6 {
    background-color: var(--front_type6_color);
}

.Type7 {
    background-color: var(--front_type7_color);
}

.Type8 {
    background-color: var(--front_type8_color);
}

.Type9 {
    background-color: var(--front_type9_color);
}

.Type10 {
    background-color: var(--front_type10_color);
}

.Type11 {
    background-color: var(--front_type11_color);
}

.Type12 {
    background-color: var(--front_type12_color);
}

.swiper-slide img {
    width: 80%;
}

.swiper-slide h2 {
    margin-bottom: 24px;
    font-size: 38px;
    color: var(--h2_color);
}
.swiper-slide p {
    font-family: comfortaa-bold;
    font-size: 18px;
    color: var(--h2_color);
}

.swiper-slide span {
    font-family: logo_txt;
    font-size: 18px;
    color: var(--span_color);
}

.swiper-slide a {
    text-decoration: none;
    color: var(--a_color);
} 

.swiper-slide ul {
    list-style-type: none;
    padding: 0;
}

.swiper-slide ul li {
    margin: 10px 0;
    font-size: 18px;
    color: #555;
}
 
.st2 .list {
    position: relative;
    top: 90px;
    text-align:left;
}

.list div {
    margin-bottom:  2vh;
    text-align:left;
}

.list h2 {
    margin-bottom: 0px;
    font-size: 28px;
}
.list p {
    margin-top: 5px;
    font-size: 15px;
}

.list span {
    font-size: 15px;
    color: var(--a_color);
}


/* Стилі для кнопок навігації Swiper */
.swiper-button-next, .swiper-button-prev {
    color: var(--button-next-prew);
}
/* Адаптивність для планшетів (ширина до 1024px) */
@media only screen and (max-width: 1024px) {
    .menu-container {
        max-width: 500px;
        height: 1000px;
    }

    .swiper-slide h2 {
        font-size: 32px;
    }

    .swiper-slide p {
        font-size: 16px;
    }

    .list h2 {
        font-size: 24px;
    }

    .list p {
        font-size: 14px;
    }
}

/* Адаптивність для телефонів (ширина до 767px) */
@media only screen and (max-width: 767px) {
    .menu-container {
        max-width: 400px;
        height: 800px;
    }

    .swiper-slide h2 {
        font-size: 28px;
    }

    .swiper-slide p {
        font-size: 14px;
    }

    .list h2 {
        font-size: 20px;
    }

    .list p {
        font-size: 13px;
    }
}

/* Адаптивність для смартфонів */
/* 2. Для дуже маленьких телефонів (старі iPhone SE, вузькі Android) */
@media screen and (max-width: 350px) {
    .swiper-slide h2 { font-size: 20px; }
    .list div { padding: 0 10px 10px; }
}

/* 3. Для стандартних смартфонів (iPhone 13/14/15/16, середні Android) */
@media screen and (min-width: 351px) and (max-width: 450px) {
    .swiper-slide h2 { font-size: 24px; }
    .list div { padding: 0 20px 20px; }
}

/* 4. Для Plus/Pro Max версій та широких Android */
@media screen and (min-width: 451px) {
    .menu-container {
        max-width: 500px;
    }   
}

/* --- Адаптивність для планшетів --- */

/* 5. Планшети у вертикальній орієнтації (iPad mini, стандартні Android-планшети) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .menu-container {
        max-width: 700px;
    }
    .swiper-slide h2 { 
        font-size: 28px; 
    }
    .list div { 
        padding: 0 30px 30px; 
    }
}

/* 6. Планшети у горизонтальній орієнтації (iPad Pro, великі Android-планшети) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .menu-container {
        max-width: 900px;
    }
    .swiper-slide h2 { 
        font-size: 32px; 
    }
    .list div { 
        padding: 0 40px 40px; 
    }
}

/* --- Адаптація спеціально для Samsung Galaxy Tab A9 та аналогічних планшетів --- */
@media screen and (min-width: 800px) and (max-width: 1340px) {
    .menu-container {
        max-width: 750px; /* Оптимальна ширина для читання на цьому планшеті */
        margin: 0 auto;   /* Центруємо контейнер */
    }

    .swiper-slide h2 { 
        font-size: 30px; /* Збільшений розмір для кращої читабельності */
    }

    .list div { 
        padding: 0 25px 25px; 
    }
    
}

.price-header {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;

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

    pointer-events: none;
}

.price-header__home,
.language-switcher {
    pointer-events: auto;
}

.price-header__home,
.language-switcher {
    padding: 10px 16px;
    border: 1px solid #111;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-header__home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switcher__link {
    color: #111;
    text-decoration: none;
    opacity: 0.5;
}

.language-switcher__link:hover,
.language-switcher__link.is-active {
    opacity: 1;
}

.language-switcher__link.is-active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.language-switcher__separator {
    color: #777;
}

@media (max-width: 600px) {
    .price-header {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .price-header__home,
    .language-switcher {
        padding: 8px 12px;
        font-size: 13px;
    }
}


