:root {
    --heading: "Montserrat", sans-serif;
    --btnbackc: rgb(86, 118, 195);
    --btnback2: rgb(241, 166, 21);
    --colortext: rgb(255, 255, 255);
}

html {
    scroll-behavior: smooth;
}

.list li {
    list-style-type: none;
}

.list a {
    text-decoration: none;
    color: var(--colortext);
    font-size: 16px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.container {
    font-family: var(--heading);
    max-width: 1536px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

.header {
    background-image: url(Section.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 1100px;
}

.header_inner {
    font-family: var(--heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    margin-bottom: 230px;
}

.list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.block_last p {
    color: var(--colortext);
}

.list a:hover {
    color: bisque;
    transition: 0.3s;
}

.header_hero {
    font-family: var(--heading);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.logogagra {
    margin-bottom: 35px;
}

.potd {
    font-size: 24px;
    margin-bottom: 58px;
    margin-top: 18px;
    color: rgb(241, 166, 21);
    font-size: 24px;
    font-weight: 400;
}

.blockp {
    max-width: 768px;
    color: var(--colortext);
    margin-bottom: 78px;
}

.blockp p {
    font-size: 23px;
    text-align: center;
}

.buttons_head {
    display: flex;
    gap: 20px;
    align-items: center;
}

.buttons_head a {
    width: 275px;
    height: 56px;
    display: inline-block;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    color: var(--colortext);
    padding-top: 18px;
}

.btn {
    background-color: var(--btnbackc);
}

.btn:hover {
    transition: 0.5s ease;
    background-color: var(--btnback2);
}

.btn1:hover {
    transition: 0.5s ease;
    background-color: var(--btnbackc);
}

.btn1 {
    background-color: var(--btnback2);
}

.burger {
    background-color: inherit;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    display: none;


}

.burger span {
    width: 40px;
    height: 3px;
    background-color: rgb(10, 10, 10);
}

.list.active {
    transition: 0.9s;
    z-index: 9;
    transform: translateY(0%);
}

/* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
.sct1 {
    padding: 80px 0;
    padding-top: 5px;

    margin-bottom: 150px;
}

.block_item_sct {
    display: flex;
    align-items: center;
    gap: 60px;
}

.item1 {
    padding-top: 15px;
    width: 213px;
    height: 88px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.item1 img {
    margin-bottom: 10px;
}

.blocl_sct1 {
    margin-top: 128px;
    display: flex;
    flex-direction: column;
}

.block_item_sct {
    max-width: 523px;
}

.Gagratext {
    margin-bottom: 25px;
}

.blocl_sct1 h1 {
    margin-bottom: 48px;
    font-weight: 400;
    font-size: 48px;
}

.sct_inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.block_image {
    max-width: 760px;
    padding-top: 128px;
}

/* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
.sct2 {
    padding: 80px 0;
    background-color: #fff;


}

.dostopnew {
    padding: 80px 0;
}

.section2_inner {
    text-align: center;
    padding-top: 122px;
    margin-bottom: 50px;
    
}

.section2_inner h2 {
    
    margin-bottom: 32px;
    font-size: 36px;
    font-weight: 400;
}

.section2_inner p {
    color: rgb(75, 85, 99);
    font-size: 20px;
    margin-bottom: 42px;
}

.btna {
    display: inline-block;
    background-color: var(--btnbackc);
    width: 176px;
    height: 48px;
    text-decoration: none;
    padding-top: 15px;
    color: var(--colortext);
    border-radius: 8px;
    margin-bottom: 40px;
}

.btna:hover {
    background-color: var(--btnback2);
    transition: 0.3s;
}

.str {
    position: relative;
}

.strelka {
    position: fixed;
    right: 0;
    bottom: 0;
    display: none;
}

.block_image_sct9 {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 480px;
}

.itemimage {
    border-radius: 8px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.paragraph_colanada {
    max-width: 430px;
}

.paragraph_colanada h2 {
    padding-top: 25px;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.paragraph_colanada p {
    color: rgb(55, 65, 81);
    margin-bottom: 16px;
    font-size: 16px;
}

.geo_div img {
    position: relative;
    top: -10px;
}

.geo_div {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.linklast {
    text-decoration: none;
    position: relative;
    top: -15px;
    color: rgb(86, 118, 195);
    font-size: 16px;
}

.news_item {
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255);
}

/* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
.sct_news {
    padding: 80px 0;
}

.back_beach {
    width: 480px;
    height: 192px;
   display: flex;

    background-size: cover;
    max-width: 100%;
}
 .back_beach img{
    width: 300px;
      margin: 0 auto;
    height: 192px;
 }


.section_news {
    padding-top: 50px;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 420px;
}

.back_text {
    padding-top: 24px;
    padding-left: 24px;
    padding-right: 24px;
}

.data {
    color: rgb(107, 114, 128);
    font-size: 14px;
    margin-bottom: 8px;
}

.back_text h3 {
    color: rgb(9, 9, 11);
    margin-bottom: 10px;
    font-size: 15px;
}

.textGagra {
    color: rgb(55, 65, 81);
    font-size: 16px;
    margin-bottom: 26px;
}


.section2_inner {
    text-align: center;
    margin-bottom: 10px;
}

.section2_inner h2 {
    font-size: 2.8rem;
    margin-bottom: 45px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}



.section2_inner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Стили для слайдера культуры */
.culture-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.culture-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.culture-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
}

.image_culture {
    width: 100%;
    height: 450px;
    /* Увеличена высота изображения */
    overflow: hidden;
}

.image_culture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.culture-slide:hover .image_culture img {
    transform: scale(1.05);
}

.text_culture {
    padding: 30px;
    /* Увеличен padding */
    text-align: center;
    min-height: 250px;
    /* Минимальная высота текстового блока */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
}

.text_culture h3 {
    font-size: 2rem;
    /* Увеличен размер шрифта */
    margin-bottom: 20px;
    color: #ffd166;
}

.text_culture p {
    font-size: 1.2rem;
    /* Увеличен размер шрифта */
    line-height: 1.7;
    color: #000000;
    max-width: 800px;
    margin: 0 auto;
}

/* Кнопки навигации */
.culture-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    width: 60px;
    /* Увеличен размер кнопок */
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    /* Увеличен размер иконок */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    z-index: 10;
}


.culture-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    width: 60px;
    /* Увеличен размер кнопок */
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    /* Увеличен размер иконок */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    z-index: 10;
}


.culture-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.culture-control.prev {
    left: 20px;
}

.culture-control.next {
    right: 20px;
}

/* Индикаторы */
.culture-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    /* Увеличен промежуток между индикаторами */
    z-index: 10;
}

.culture-indicator {
    width: 16px;
    /* Увеличен размер индикаторов */
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.culture-indicator.active {
    background: white;
    transform: scale(1.3);
    /* Увеличен масштаб активного индикатора */
}



/* Адаптивность */
@media (max-width: 968px) {
    .section2_inner h2 {
        font-size: 2.5rem;
    }

    .image_culture {
        height: 380px;
    }

    .text_culture {
        padding: 25px;
        min-height: 220px;
    }

    .text_culture h3 {
        font-size: 1.8rem;
    }

    .text_culture p {
        font-size: 1.1rem;
    }

    .culture-control {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

@media (max-width: 749px) {
    .none749px {
        display: none;
    }

    .image_culture {
        height: 320px;
    }

    .text_culture {
        padding: 20px;
        min-height: 200px;
    }

    .text_culture h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .text_culture p {
        font-size: 1rem;
    }

    .culture-control {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }



}

@media (max-width: 506px) {
    .none506px {
        display: none;
    }

    .section2_inner h2 {
        font-size: 2.2rem;
    }

    .section2_inner p {
        font-size: 1.1rem;
    }

    .image_culture {
        height: 280px;
    }

    .text_culture {
        padding: 15px;
        min-height: 180px;
    }

    .text_culture h3 {
        font-size: 1.5rem;
    }

    .culture-control {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .culture-indicator {
        width: 14px;
        height: 14px;
    }

    .main_under_div {
        padding: 20px;
    }

    .main_under_div h3 {
        font-size: 1.8rem;
    }

    .main_under_div>p {
        font-size: 1.1rem;
    }


}




.main_under_div {
    max-width: 732px;
    /* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.1);
    padding: 33px;
}

.main_under_div h3 {
    color: rgb(0, 0, 0);
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 15px;
}

.main_under_div p {
    font-size: 16px;
    color: rgb(0, 0, 0);
    margin-bottom: 24px;
}



.undersctcult {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media(max-width:1495px) {
    .undersctcult {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 33px;
    }
}

.hiddeninp {
    display: none;
}

.block_input {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.block_input a {
    text-decoration: none;
    color: var(--colortext);
}

.sct_culture {
    margin-bottom: 36px;
}






/* Стили для слайдера */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    text-align: center;
}

.slide-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Кнопки навигации */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

/* Индикаторы */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Информация о слайдере */
.slider-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.highlight {
    color: #ffd166;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .slider {
        height: 400px;
    }

    .slide-caption {
        padding: 15px;
    }

    .slide-caption h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 300px;
    }

    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slide-caption h4 {
        font-size: 1.1rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }


}





.gallery-section {
    padding: 80px 0;

}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 3rem;
    color: rgb(0, 0, 0);
    margin-bottom: 10px;

}

.gallery-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 600px;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px;
    text-align: center;
}

.slide-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffd166;
}

.slide-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 25px;
}

.gallery-next {
    right: 25px;
}

.gallery-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.gallery-pagination-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-pagination-item.active {
    background: white;
    transform: scale(1.3);
}

.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Анимации */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-slide {
    animation: slideIn 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-slider {
        height: 400px;
    }

    .gallery-header h2 {
        font-size: 2.2rem;
    }

    .slide-caption {
        padding: 20px;
    }

    .slide-caption h3 {
        font-size: 1.4rem;
    }

    .gallery-prev,
    .gallery-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-slider {
        height: 300px;
    }

    .gallery-header h2 {
        font-size: 1.8rem;
    }

    .slide-caption {
        padding: 15px;
    }

    .slide-caption h3 {
        font-size: 1.2rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}






.overflow {
    width: 100%;
    max-width: 300px;
    /* или любой другой размер по вашему вкусу */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.gallery_inner h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 30px;
}




.overflow:hover {
    opacity: 0.7;
    transform: scale(1.1);
}



/* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
.contacts_sct {
    padding: 80px 0;
}

.form_block_left {
    border-radius: 8px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255);
    max-width: 716px;
    /* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
    height: auto;
}

.form_block_right {
    width: 716px;
    /* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    background: white;
}

.addresblock {
    display: flex;
    gap: 15px;
    margin-bottom: 52px;
}

.innerform {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 60px 30px;
}

.innerform input {
    width: 652px;
    height: 50px;
}

.formtext p {
    margin-bottom: 8px;
    color: rgb(55, 65, 81);
    font-family: Montserrat;
    font-size: 14px;
}

.formtext {
    margin-bottom: 50px;
}

.formlast input {
    height: 146px;
    margin-bottom: 31px;
}

.formlast p {
    font-weight: 500;
    margin-bottom: 8px;
    color: rgb(55, 65, 81);
    font-size: 14px;
}

.formbtn {
    border-radius: 6px;
    background: rgb(86, 118, 195);
    width: 652px;
    height: 56px;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 16px;
}

.formbtn:hover {
    background-color: aqua;
    transition: 0.3s;
    color: black;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 180px;
}

.contactblockinner h2 {
    font-family: var(--heading);
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 32px;
}

.contactblockinner {
    padding: 32px;
}

.strongblock {
    padding-top: 5px;
}

.social_network {
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.addresblocklast {
    display: flex;
    gap: 15px;
    margin-bottom: 32px;
}

.footer {
    background: rgba(243, 244, 246, 1);
    /* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */


}

.undercontact {
    display: flex;
    flex-direction: column;
    padding-top: 52px;
    padding-bottom: 32px;
}

.contactform {
    display: flex;
}

.contactsfoot {
    margin-bottom: 25px;
}

.imagefoot {
    margin-bottom: 20px;
}

.footerinner {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.social_media h3 {
    margin-bottom: 23px;
}

.imagegalleryfooter {
    display: flex;
    gap: 14px;
}

.addressgeofooter h3 {
    margin-bottom: 27px;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    padding: 20px;
    text-align: center;
}