/* =====================================================
   Mountain Travel
   Основной файл стилей
   Автор: ChatGPT
   ===================================================== */


/* ==========================
   Сброс стандартных стилей
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* ==========================
   Основные настройки
========================== */

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    color:#ffffff;

    background:#07111f;

    line-height:1.6;

}


/* ==========================
   Ссылки
========================== */

a{
    text-decoration:none;
    color:white;
}


/* ==========================
   Шапка сайта
========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 60px;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(12px);

    z-index:1001;

}


/* ==========================
   Логотип
========================== */

.logo{

    font-size:28px;

    font-weight:700;

    color:#ffffff;

}
.logo{

    text-decoration:none;

    color:white;

}

/* ==========================
   Меню
========================== */

nav ul{

    display:flex;

    gap:35px;

    list-style:none;

}

nav a{

    transition:.3s;

    font-weight:600;

}

nav a:hover{

    color:#49d2ff;

}
/* ==========================
   Бургер-меню
========================== */

.burger{

    display:none;

    flex-direction:column;

    justify-content:center;

    gap:6px;

    cursor:pointer;

}

.burger span{

    width:30px;

    height:3px;

    background:#ffffff;

    border-radius:3px;

    transition:.3s;

}

/* Затемнение фона */

.menu-overlay{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.5);

    z-index:998;

}

.menu-overlay.active{

    display:block;

}

/* ==========================
   Главный экран
========================== */

.hero{

    position:relative;

    height:100vh;

    background-image:url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;
	
	padding-top: 160px; /*удалить если сломалась шапка */

}


/* Затемнение картинки */

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

}


/* Контент */

.hero-content{

    position:relative;

    z-index:2;

    width:80%;

    max-width:900px;

}

.hero h1{

    font-size:64px;

    margin-bottom:25px;

    font-weight:800;

}

.hero p{

    font-size:22px;

    margin-bottom:40px;

}


/* ==========================
   Кнопки
========================== */

.button{

    display:inline-block;

    padding:18px 42px;

    background:#ff8f00;

    border-radius:40px;

    color:white;

    font-weight:700;

    transition:.3s;

}

.button:hover{

    transform:translateY(-4px);

    background:#ffab2e;

    box-shadow:0 15px 35px rgba(255,170,0,.4);

}


/* ==========================
   Общие секции
========================== */

section{

    padding:90px 8%;

}

section h2{

    text-align:center;

    margin-bottom:50px;

    font-size:42px;

}


/* ==========================
   Карточки
========================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}


/* Glassmorphism */

.card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    border-radius:20px;

    padding:30px;

    transition:.35s;

    text-align:center;

}

.card:hover{

    transform:translateY(-10px);

}

.card img{

    width:100%;

    height:260px;

    object-fit:cover;

    display:block;

    border-radius:18px;

}

.card h3{

    min-height:72px;

    display:flex;

    align-items:center;
    justify-content:center;

    text-align:center;

}
.card p{

    min-height:60px;

}

/* ==========================
   Слайдер
========================== */

.slider{

    position:relative;

    overflow:hidden;

    border-radius:25px;

    height:500px;

}

.slide{

    display:none;

    width:100%;

    height:100%;

}

.slide.active{

    display:block;

}


.slide img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}


/* Стрелки */

.prev,
.next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.3);

    color:white;

    font-size:24px;

    cursor:pointer;

}

.prev{

    left:20px;

}

.next{

    right:20px;

}


/* ==========================
   Блок призыва
========================== */

.cta{

    text-align:center;

    background:linear-gradient(120deg,#0d2744,#173b60);

}

.cta p{

    margin:25px 0 35px;

    font-size:20px;

}


/* ==========================
   Подвал
========================== */

footer{

    background:#020913;

    padding:35px;

    text-align:center;

}

footer p{

    margin:8px;

    color:#b9b9b9;

}


/* ==========================
   Анимация появления
========================== */

.card{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================
   Адаптация планшетов
========================== */
/* ==========================
   Бургер-меню
========================== */

.burger{

    display:none;

    flex-direction:column;

    gap:6px;

    cursor:pointer;

}

.burger span{

    width:28px;

    height:3px;

    background:#fff;

    border-radius:2px;

}
@media(max-width:900px){

header{

    flex-direction:column;

    gap:20px;

    padding:20px;

}

.hero h1{

    font-size:46px;

}

.hero p{

    font-size:20px;

}

}


/* ==========================
   Телефоны
========================== */

@media(max-width:768px){
.burger{

    display:flex;

}

nav{

    display:none;

}

nav.active{

    display:block;

    position:absolute;

    top:80px;

    right:20px;

    background:#1f2937;

    padding:20px;

    border-radius:16px;

    z-index:999;

}

nav ul{

    flex-direction:column;

    gap:15px;

}

}
@media(min-width:769px){

    .burger{

        display:none !important;

    }

    nav{

        display:block !important;

    }

}
/* ==========================
        FAQ
========================== */

.faq{

max-width:900px;

margin:auto;

}

.faq-item{

margin-bottom:20px;

border-radius:15px;

overflow:hidden;

background:rgba(255,255,255,.08);

backdrop-filter:blur(10px);

}

.faq-question{

width:100%;

padding:22px;

background:none;

border:none;

color:white;

font-size:20px;

cursor:pointer;

display:flex;

justify-content:space-between;

align-items:center;

}

.faq-question span{

font-size:32px;

}

.faq-answer{

max-height:0;

overflow:hidden;

transition:.4s;

background:rgba(255,255,255,.05);

}

.faq-answer p{

padding:20px;

}
/* ==========================
        Overlay
========================== */

.overlay{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.55);

opacity:0;

visibility:hidden;

transition:.35s;

z-index:900;

}

.overlay.active{

opacity:1;

visibility:visible;

}
/* ==========================
      Кнопка вверх
========================== */

.top-button{

position:fixed;

right:30px;

bottom:30px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#ff8f00;

color:white;

font-size:24px;

cursor:pointer;

opacity:0;

visibility:hidden;

transition:.35s;

z-index:999;

box-shadow:0 8px 20px rgba(0,0,0,.35);

}

.top-button:hover{

transform:translateY(-4px);

}

.top-button.show{

opacity:1;

visibility:visible;

}
/* ==========================
      Анимация появления
========================== */

.animate{

opacity:0;

transform:translateY(50px);

transition:all .8s ease;

}

.animate.visible{

opacity:1;

transform:translateY(0);

}
nav a.active{

    color:#ff9800;

}

nav a.active::after{

    width:100%;

}
/* ==========================
   Цена тура
========================== */

.tour-price{

  display:flex;

    justify-content:center;

    align-items:baseline;

    gap:8px;

    margin:18px 0;

}

.price-prefix{

    font-size:18px;

    color:#999;
 
	text-transform:uppercase;

    letter-spacing:1px;
	
    margin-right:10px;

    font-weight:500;

}

.price-value{

    color:#ff9800;

     font-size:32px;

    font-weight:700;

}
.price-note{

    font-size:14px;

    color:#777;

    line-height:1.6;

    margin-top:15px;

}
.contact-form{

    width:100%;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:none;

    border-radius:12px;

    font-size:16px;

    background:#fff;

}

.contact-form textarea{

    resize:vertical;

    min-height:160px;

}

.contact-form button{

    width:100%;

}.contacts-layout{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

    align-items:stretch;

}

@media (max-width:768px){

    .announcement-bar{
        display:none;
    }

}

.contact-card{

    background:#202936;

    border-radius:25px;

    padding:40px;

    height:100%;

    box-sizing:border-box;

}
.contact-item{

    margin-bottom:10px;

}
.contact-item:last-child{

    margin-bottom:0;

}
/* =====================================
      Контакты — мобильная версия
===================================== */

@media (max-width:768px){

    .contacts-layout{

        display:flex;
        flex-direction:column;

        gap:25px;
    }

    .contact-card{

        width:100%;

        padding:25px;
    }

    .contact-form{

        max-width:100%;
    }

    .contact-form input,
    .contact-form textarea{

        font-size:16px;
    }

    .contact-form button{

        width:100%;
    }

}
/* =====================================
   Feedback Status
===================================== */

.feedback-status {

    margin-top: 20px;

    text-align: center;

    font-size: 15px;

    line-height: 1.5;

    min-height: 24px;

}

.feedback-status.success {

    color: #4CAF50;

}

.feedback-status.error {

    color: #F44336;

}

/* =====================================
      Announcement Bar
===================================== */

.announcement-bar{

    position: fixed;

    top: 80px;

    left: 0;

    width: 100%;

    z-index: 1000;

    background: linear-gradient(90deg,#ff9800,#ff6b00);

    color:#fff;

}

.announcement-content{

    max-width:1200px;

    margin:0 auto;

    padding:12px 30px;

    display:grid;

    grid-template-columns:1fr auto auto;

    align-items:center;

    gap:30px;

}

.announcement-text{

    font-weight:600;
	
	 justify-self:start; /*/ удалить если не работает /*/

}

.announcement-button{

    background:#fff;

    color:#111;

    padding:10px 22px;

    border-radius:30px;

    font-weight:700;
	
	justify-self:center; /*/ удалить если не работает /*/

}

.announcement-button:hover{

    transform:translateY(-2px);

}

.announcement-close{
	justify-self:end;

    margin-left:0;

    font-size:24px;

    width:36px;

    height:36px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:none;

    border:none;

    color:white;

    cursor:pointer;

}