: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;
}

.container {
    font-family: var(--heading);
    max-width: 1536px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

.header {
    background-image: url(image/Section\ \(1\).jpeg);
    background-attachment: fixed;
    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;
    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: rgb(249, 250, 251);
    margin-bottom: 80px;
}
.dostopnew{
     padding: 80px 0;
}

.section2_inner {
    text-align: center;
    padding-top: 22px;
    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: 32px;
}

.btna {
    display: inline-block;
    background-color: var(--btnbackc);
    width: 176px;
    height: 48px;
    text-decoration: none;
    padding-top: 15px;
    color: var(--colortext);
    border-radius: 8px;
}

.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;
    background-image: url(image/beatch.png);
    background-size: cover;
    max-width: 100%;
}

.back_beach1 {
    width: 480px;
    height: 192px;
    background-image: url(image/kultura.png);
    background-size: cover;
}

.back_beach2 {
    width: 480px;
    height: 192px;
    background-image: url(image/restavr.png);
    background-size: cover;
}

.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;
}

.itemcult {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 480px;
    /* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
    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);
}

.image_culture {
    max-width: 430px;
    height: 430px;
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 25px;
}

.image_culture img {
    max-width: 100%;
    border-radius: 10px;
}

.text_culture {
    padding-left: 25px;
}

.text_culture h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

.text_culture p {
    max-width: 409px;
}

.item_culture {
    display: flex;
    align-items: center;
    gap: 33px;
}

.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;
}

.gallery_kitchen {
    display: flex;
    align-items: center;
    gap: 16px;
}

.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: 166px;
}




.gallery_inner {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .gallery_inner h3 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            position: relative;
            display: inline-block;
        }
        
        .gallery_inner h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #ff6b6b, #ffa8a8);
            border-radius: 2px;
        }
        
        /* Стили для слайдера */
        .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;
            }
            
            .gallery_inner h3 {
                font-size: 2.2rem;
            }
        }
        
        @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_inner h3 {
                font-size: 1.8rem;
            }
        }












.overflow {
    width: 100%;
    max-width: 300px;
    /* или любой другой размер по вашему вкусу */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}





.overflow:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.sct_gallery {
    margin-bottom: 120px;
}

/* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
.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);
    /* УБРАЛ ФИКСИРОВАННУЮ ВЫСОТУ */
    padding: 50px 0;
}

.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;
}