:root{
    --white:#fff;
    --grey:#a5a5a5;
    --cardgrey:#808c9c;
    --categoriesgrey:#929191;
    --black:#000;
    --blackTitle:#404551;
    --orange:#fa9e1b;
    --textSize:1.2rem;
    --textNav:1.3rem;
    --textLarge:1.4rem;
    --textLogo:2.2rem;
    --textLogoMobile:1.5rem;
    --textOrderButtonMobile:1.2rem;
    --textCardDay:3rem;
    --textCardPrice:2.2rem;
    --textCardTHotel:1.9rem;
    --textCardInfo:1.6rem;
    --textInfoSize:7.2rem;
    --textTitle:1.8rem;
    font-size: 62.5%;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

*,
*::before,
*::after{
    box-sizing: border-box;
    scroll-padding-top:3rem;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6{
    margin: 0;
}

a{
    color:var(--white);
    text-decoration: none;
}

.container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 1.5rem;
}

/****************
    Header
*****************/
.header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../images/home_slider.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index:1000;
}
    
.header__top{
   position:fixed;
   width: 100%;
   color: #fff;
   font-size:var(--textSize);
   background-color: #350a4e;
}

.header__top-inner{
   display:flex;
   align-items: center;
   gap:1rem;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__whatsup{
   display:flex;
   align-items: center;
   gap:0.5rem;
}

.header__top-inner a{
    color:#fff;
    font-size:var(--textSize);

}

.header__address{
    color:var(--grey);
    font-size:var(--textSize);
}

.header__worktime{
    margin-left: auto;
    color:var(--grey);
    font-size:var(--textSize);
}

.header__content {
    padding-top:16%;
    text-align: center;
}

.header__content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__logo{
    position:fixed;
    width:100%;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(54, 19, 84, 0.6);
}
.logo_container{
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--textLogo);
}

.logoHeader{
  display:flex;
  align-items: center;
  gap: 1rem;
  line-height: 0;
}

.logoHeader img{
  width:6.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a img{
    width:2.5rem;
}

.logo span{
    font-size:var(--textLogo);
    font-weight:700;
}

.logo a strong{
    color:var(--grey);
}

nav{
  width:15rem;
  position: relative;
  top:0.5rem;
  z-index:100;
  margin:0 auto;
}
.header__nav li{
  position:absolute;
  top:0%;
  text-align: center;
  font-size:var(--textNav);
  text-transform: uppercase;
  list-style: none;
  margin:0;
}

.header__nav-item ::after{
  display: block;
  margin-top:0.5rem;
  width: calc(100% + 0.2rem);
  height: 0.2rem;
  background: linear-gradient(to right, #fa9e1b, #8d4fff);
  content: '';
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  opacity:0;
}

.header__nav-item:hover ::after{
  opacity:1;
}

.header__nav-item:hover {
    color:var(--grey);
}


.orderButton{
    margin-left:auto;
}
.header-request-btn {
  background-color: var(--orange);
  font-family: 'Roboto', sans-serif;
  font-size:1.5rem;
  text-transform: uppercase;
  color: white;
  padding: 18px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 15px;
  transition: background-color 0.3s;
}

.header-request-btn:hover {
  background-color: #218838;
}

/****************
    Footer
*****************/
footer{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size:var(--textSize);
    background: #350a4e;
}

.footer__inner{
    display: flex;
    justify-content: space-between;
    padding:1rem;
}

.footer__inner-block{
    flex:1 1 0;
}

.footer__info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
    gap: 1rem;
}


.footer__bottom{
    width:100%;
    display:flex;
    background-color:#1f0733;
}

.footer__bottom-inner{
   text-align: center;
}

.footer__info-contacts{
    display:flex;
    align-items: center;
    gap:1rem;
}




/***************
Addmin styles
***************/
.header__adminBlock{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:30rem;
    margin:auto;
}


/**************
HOT DEALS SECTION
***************/
/* Стили для раздела горящих туров */
.hot-tours {
    padding: 4rem 0;
    background: #f9f9f9;
  }
  
  .tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .hot-tours__title{
    font-size:var(--textLogo);
    text-align: center;
    margin-bottom:1rem;
    color:var(--grey);
  }

  .no-tours{
    font-size:var(--textLarge);
  }

  .tour-card {
    background: white;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .tour-card:hover {
    transform: translateY(-0.5rem);
  }
  

  .tour-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
  }
  
  .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .tour-info{
    font-size:var(--textCardInfo);
  }

  .tour-hotel{
    font-size:var(--textCardTHotel);
    font-weight:600;
  }
  
  .tour-country{
    font-size:var(--textCardInfo);
    font-weight:400;
    color:var(--cardgrey);
  }
  
  
  
  .hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
  }
  
  .tour-info {
    padding: 1.5rem;
  }
  
  .tour-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size:var(--textCardPrice);
  }

  .hot-tours__important{
    font-size:var(--textSize);
    font-weight:600;
    margin-top:3rem;
  }
  
  .tour-rating {
    font-size: 14px;

  }
  
  .book-btn {
    display:block;
    background: #350a4e;
    color: white;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight:600;
    border:none;
    padding: 1.4rem 1.5rem;
    margin: 1rem auto 0;
    border-radius: 0.4rem;
    cursor: pointer;
  }

  .book-btn:hover {
    background: #523d5e;
  }
  
  .loading, .no-tours, .error {
    text-align: center;
    padding: 4rem;
    grid-column: 1 / -1;
  }

  /***************
  INFO SECTION
  ***************/
  .info__inner{
    display:flex;
    min-height: 40rem;
    background: url("../images/info_background.jpg");
    background-repeat: no-repeat;
    background-position:center;
    background-size:cover;
    justify-content: center;
    align-items: center;
    margin-bottom:10.8rem;
  }

  .info__inner-title{
    font-size:clamp(var(--textLogo), 5vw, var(--textInfoSize));
    font-weight:700;
    color:#fff;
    text-shadow:0.2rem 0.2rem 0.2rem rgba(0,0,0,0.5);
    text-transform: uppercase;
  }

  .info__content-inner{
    display:flex;
    gap:1.5rem;
  }

  .info__content-column{
    flex:1 1 0;
    display:flex;
    flex-direction: column;
  }
  
  .article-card{
    position:relative;
    margin-bottom:7.4rem;
    max-width:73rem;
  }

  .artticle__card-date{
    position:absolute;
    width:11.4rem;
    height:7.4rem;
    border-radius: 3.7rem;
    top:2.5rem;
    left:3.5rem;
    background:#fa9e1b;
    color:#fff;
    text-align: center;
  }

  .artticle__card-day{
    font-size:var(--textCardDay);
    color:#fff;
    font-weight: 700;
    line-height: 1.5;
  }

  .artticle__card-monthYear{
    font-size:var(--textLarge);
    text-transform:capitalize;
    color:#fff;
    line-height: 1;
  }
  .article-card img{
    max-width:73rem;
    min-width:32rem;
    border-radius: 0.5rem;
    text-align: center;
  }
  .article-tags{
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
    align-items: center;
    font-size:var(--textSize);
    margin-top: 1rem;
    margin-bottom:1rem;
  }
  .article-tag{
    padding-right:1rem;
    border-right:0.1rem solid var(--cardgrey);
  }

  .article-tag:last-child{
    border-right:none;
  }

  .article__tag-title{
    font-size:var(--textLogo);
  }

  .article-text-container{
    font-size: var(--textLarge);
    text-align: justify;
    line-height: 1.5;
  }

  .article__card-button{
    font-size:var(--textSize);
    text-decoration: none;
    text-transform: uppercase;
    color:var(--orange);
    font-weight: bold;
    cursor:pointer;
    margin-top:2rem;
  }

  .info__content-searchBlock{
    position:relative;
    width:100%;
    top:0;
    left:0;
    margin-bottom:7rem;
    z-index:100;
  }

  .info__content-search{
    width:100%;
    height:4.4rem;
    border: none;
    border-bottom: solid 0.2rem #e6e7f4;
    outline: none;
  }

  .info__content-searchIcon{
    position:absolute;
    top:1.4rem;
    right:0;
    color:var(--orange );
    z-index:500;
    cursor:pointer;
  }

  .info__content-searchIcon:hover{
    color:var(--black);
  }

/*************
CATEGORIES SECTION
*************/
.info__content-categories{
  text-align: left;
  margin-bottom:7rem;
}
.info__content-categories-title{
  font-size:var(--textTitle);
  margin-bottom:1rem;
  color:var(--blackTitle);
}

.info__content-categories-items{
  list-style: none;
  text-decoration: none;
  padding:0;
}

.categories-item{
  text-transform: capitalize;
  font-size:var(--textLarge);
  color:var(--categoriesgrey);
  line-height: 3;
}

.categories-item:hover{
  color:var(--orange);
  cursor:pointer;
}

/*************
TAGS SECTION
*************/

.info__content-tags{
  margin-bottom:7rem;
}
.info__content-tags-title{
  font-size:var(--textTitle);
  margin-bottom:1rem;
  color:var(--blackTitle);
}
.info__content-tags-items{
  width:35rem;
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  text-decoration: none;
  font-size:var(--textSize);
  padding:0;
  margin-top:3rem;
  cursor:pointer;
}

.tags-item{
  text-transform: lowercase;
  padding-top:1rem;
  padding-bottom:1rem;
  padding-left:2.5rem;
  padding-right:2.5rem;
  border: solid 1px #fa9e1b;
}
.tags-item:hover{
  background-color:var(--orange);
  color:#fff;
}

/***************
PAGINATION SECTION
***************/
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pagination-button {
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border: 0.1rem solid var(--white);
  background-color: var(--white);
  cursor: pointer;
  border-radius: 0.4rem;
  color:var(--orange);
  border: solid 0.1rem var(--orange);
  font-weight: bold;
}

.pagination-button:hover:not(:disabled) {
  background-color: #f0f0f0;
}

.pagination-button.active {
  background-color: #350a4e;
  color: var(--white);
  border-color: #350a4e;
}

.pagination-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-ellipsis {
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
}


/***************
MODAL WINDOW
***************/
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close-modal {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}



/**************
ADVERTISING
***************/
.advert{
    width:100%;
    max-width:67rem;
    height:49.1rem;
    background-image: url("../images/advertImage.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin:0 auto;
   
}

.advert__content{
    width:1005;
    max-width:60rem;
    text-align: center;
}

  
  .advert h2 {
    color: #2c3e50;
    margin-top: 0;
    font-size:2rem;
  }

.advert p{
  font-size:1.6rem;
}
  
  .buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    font-size:1.4rem;
  }

.advert_link{
  text-decoration:underline;
  color:blue;
}
  
  .btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .hot-tours-btn {
    background-color: #e74c3c;
    color: white;
    border: 2px solid #e74c3c;
  }
  
  .hot-tours-btn:hover {
    background-color: #c0392b;
    border-color: #c0392b;
  }
  
  .search-btn {
    background-color: #3498db;
    color: white;
    border: 2px solid #3498db;
  }
  
  .search-btn:hover {
    background-color: #2980b9;
    border-color: #2980b9;
  }

/***************
MEDIA QUERIES
***************/

@media(max-width:1200px){
  .info__content-inner{
    display:flex;
    flex-direction:column;
  }

  .TVBButtonCaption:after{
    font-size:var(--textLogoMobile);
  }
}

@media(max-width:600px){

  .header__top-inner {
    gap:0;
  }
  .header__whatsup img{
    width:1.5rem;
    height:1.5rem;
  }
  .header__phone{
    flex-direction: column;
    line-height: 0.3;
  }
  .header__phone a:first-child {
    margin-left: 2.05rem;
    margin-top: 0.5rem;
}

    .header__address{
        display: none;
    }

    .header__content-inner{
    margin-top:5%;
    }

    .logoHeader span{
        width:14.4rem;
        font-size:var(--textSize);
        line-height: 1.5;
        text-align: center;
    }

    .logo span{
        font-size:var(--textLogoMobile);
        text-align: center;
    }
  

    nav{
      display:none;
      top:0;
    }

    .header__nav-item{
      display:none;
    }

    .TVBButton{
      width:12rem;
      text-align: center !important;

    }
    .TVBButtonCaption:after{
      font-size:var(--textSize);
    }

    .artticle__card-date{
     width:9.4rem;
     height:5.4rem;
    }

    .artticle__card-day{
      font-size:var(--textLogo);
    }

    .article-card img{
      width:100%;
      max-width:73rem;
      min-width:32rem;
      border-radius: 0.5rem;
    }

    .footer__phone{
        display:none;
    }
    .header__content {
        padding-top:31%;
        text-align: center;
    }

    .footer__inner{
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding-bottom:0;
    }
}

  @media (max-width: 600px) {
    .buttons {
      flex-direction: column;
    }
    
    .btn {
      width: 100%;
      box-sizing: border-box;
    }

    .advert{
      background-size: cover;
    }

    .adevrt h2{
      font-size:1.5rem;
    }
    .adevrt p{
      font-size:1.2rem;
    }
  }