@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    background-color: #fff;
    margin: 0px;
    padding: 0px;
    background-image: url(../img/backk.png);
    background-repeat: no-repeat;
    background-size: cover ;
}

.menu_action_inner p {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #FFFFFF;
}

.menu_container {
    max-width: 1920px;
    margin: auto;
    padding: 0 346px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.menu_inner img {
    max-width: 150px;
    height: auto;
    display: block;
}

.pizda {
  max-width: 150px;
  height: auto;
  display: block;
}

.menu_inner:last-child {
    display: flex;
    gap: 16px;
}

.menu_nav {
    display: flex;
    gap: 48px;
}

.menu_nav li {
    list-style: none;
}

.menu_link {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    text-decoration: none;
    color: #FFFFFFCC;
}

.menu_link:hover {
    color: #FFFFFF;
}

.menu_language {
    width: 165px;
    height: 46px;
    background-color: #FFFFFF29;
    border-radius: 1111px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #FFFFFF;
    border: 0px;
    cursor: pointer;
    padding: 0 20px;
    transition: all 0.3s ease;
    display: flex;
}

.menu_language:hover {
    background-color: #ffffff47;
}

.menu_order {
    width: 160px;
    height: 46px;
    background-color: #8B60FF;
    border-radius: 1111px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #FFFFFF;
    border: 0px;
    cursor: pointer;
    padding: 0 20px;
    transition: all 0.3s ease;
    display: flex;
}

.menu_order:hover {
    background-color: #7853dd;
}

.footer_container {
    max-width: 1920px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 346px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 53px;
}

.footer_left {
    display: flex;
    align-items: center;
}

.footer_nav {
    display: flex;
    list-style: none;
    gap: 24px;
}

.footer_link {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    color: #1C1B27;
    text-decoration: none;
}

.footer_copy {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    text-align: center;
    color: #1C1B2780;
    margin-left: 13px;
}

.footer_right {
    display: flex;
    gap: 8px;
}

.footer_right button {
    background-color: #1C1B2714;
    border-radius: 1111px;
    cursor: pointer;
    border: 0px;
    height: 40px;            
    padding: 0 16px;          
    display: inline-flex;    
    align-items: center;   
    justify-content: center;  
    gap: 12px;
    color: #1C1B27;
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
}

.offer_container { 
    max-width: 1920px;
    margin: auto;
    padding: 0 346px;
    margin-top: 80px;
}

.offer_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer_inner h1 {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 36px;
    color: #FFFFFF;
}

.offer_inner button {
    width: 228px;
    height: 46px;
    border: 1px solid #FFFFFF;
    border-radius: 1111px;
    background-color: inherit   ;
    color: #FFFFFF;
    font-family: Onest;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer_inner button:hover {
    background-color: #ffffff20;
}

.offer_screens_container {
    max-width: 1920px;
    margin: auto;
    padding-left: 346px;
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto;  
    overflow-y: hidden;  
    position: relative;
    scrollbar-width: none; 
    -ms-overflow-style: none;  
}

.offer_screens_container::-webkit-scrollbar {
    display: none;
}

.offer_screens_inner {
  width: 329px;
  flex: 0 0 auto;
  margin-right: 10px;
  position: relative;
  overflow: hidden;
}

.offer_screens_inner img {
  display: block;
  width: 100%;
  height: auto;
}

.offer_screens_inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  pointer-events: none;
  z-index: 1;
}

.offer_screens_title,
.offer_screens_text {
  position: absolute;
  left: 16px;
  margin: 0;
  color: #fff;
  z-index: 2;
}

.offer_screens_text {
  bottom: 40px; 
  font-family: Onest;
  font-weight: 600;
  font-size: 16px;
}

.offer_screens_title {
  bottom: 20px;  
  font-family: Onest;
  font-weight: 400;
  font-size: 14px;
}

/* Бургер-меню */
.burger_menu_toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: fixed;
    top: 20px;
    right: 20px;
    transition: all 0.3s ease;
}

.burger_menu_toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.burger_line {
    width: 20px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    margin: 2.5px 0;
}

.burger_menu_toggle.active {
    background: rgba(139, 96, 255, 0.2);
    border-color: #8B60FF;
}

.burger_menu_toggle.active .burger_line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger_menu_toggle.active .burger_line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger_menu_toggle.active .burger_line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Мобильное меню */
.mobile_menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #100D26 0%, #1A1538 100%);
    backdrop-filter: blur(30px);
    z-index: 10000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile_menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile_menu_content {
    position: relative;
    z-index: 1;
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    max-width: 100%;
}

.mobile_menu_nav {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile_menu_nav li {
    list-style: none;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.mobile_menu.active .mobile_menu_nav li:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile_menu.active .mobile_menu_nav li:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile_menu.active .mobile_menu_nav li:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile_menu_link {
    font-family: Onest;
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
    color: #FFFFFF;
    display: block;
    padding: 16px 20px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile_menu_link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 96, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.mobile_menu_link:hover::before,
.mobile_menu_link:active::before {
    left: 100%;
}

.mobile_menu_link:hover,
.mobile_menu_link:active {
    color: #FFFFFF;
    background: rgba(139, 96, 255, 0.15);
    border-color: rgba(139, 96, 255, 0.5);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(139, 96, 255, 0.2);
}

.mobile_menu_actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}

.mobile_menu.active .mobile_menu_actions {
    opacity: 1;
    transform: translateY(0);
}

.mobile_menu_language {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile_menu_language:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.mobile_language_dropdown {
    width: 100%;
}

/* Адаптация для MacBook 13 дюймов (1280px - 1440px) */
@media (max-width: 1440px) and (min-width: 1024px) {
  .menu_container,
  .footer_container,
  .offer_container {
    padding-left: 80px;
    padding-right: 80px;
  }

  .offer_screens_container {
    padding-left: 80px;
  }

  .offer_inner h1 {
    font-size: 28px;
  }
  
  .menu_nav {
    gap: 32px;
  }
  
  .menu_language {
    width: 140px;
    font-size: 14px;
    padding: 0 16px;
  }
  
  .footer_nav {
    gap: 16px;
  }
  
  .footer_right button {
    font-size: 13px;
    padding: 0 12px;
    height: 36px;
  }
}

/* Адаптация для телефонов (до 768px) */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .menu_container,
  .footer_container,
  .offer_container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .menu_container {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  
  .menu_inner {
    width: 100%;
  }
  
  .menu_inner img {
    max-width: 120px;
    height: auto;
  }

  .menu_nav {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    width: 100%;
  }
  
  .menu_nav_flex {
    width: 100%;
  }

  .menu_inner:first-child {
    flex: 0 0 auto;
    z-index: 10002;
  }

  .menu_inner:first-child img {
    max-height: 40px;
    width: auto;
  }

  .menu_inner.menu_nav_flex {
    display: none;
  }

  .menu_inner:last-child {
    display: none;
  }

  .burger_menu_toggle {
    display: flex;
    flex-shrink: 0;
  }

  .mobile_menu {
    display: block;
  }

  .mobile_menu_content {
    padding-top: 80px;
  }
  
  .menu_link {
    font-size: 16px;
  }

  .footer_container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .footer_left {
    display: none;
  }

  .footer_nav {
    flex-direction: column;
    gap: 12px;
  }

  .footer_copy {
    margin-left: 0;
  }

  .footer_right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .footer_right button {
    font-size: 12px;
    padding: 0 12px;
    height: 36px;
    gap: 8px;
  }
  
  .footer_right button svg {
    width: 16px;
    height: 16px;
  }

  .offer_container {
    margin-top: 40px;
  }

  .offer_inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .offer_inner h1 {
    font-size: 24px;
  }

  .offer_inner button {
    width: 100%;
    font-size: 14px;
    height: 44px;
    margin-bottom: 15px;
  }

  .offer_screens_container {
    padding-left: 16px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .offer_screens_inner {
    width: 280px;
    max-width: calc(100% - 16px);
  }

  .offer_inner {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Адаптация для маленьких телефонов (до 480px) */
@media (max-width: 480px) {
  .menu_container {
    margin-top: 16px;
    gap: 16px;
  }
  
  .menu_inner img {
    max-width: 100px;
  }
  
  .menu_link {
    font-size: 14px;
  }
  
  .menu_language {
    font-size: 14px;
    height: 40px;
  }

  .offer_inner h1 {
    font-size: 20px;
  }

  .offer_inner button {
    font-size: 13px;
    height: 40px;
  }

  .offer_screens_inner {
    width: 240px;
  }
  
  .offer_screens_title {
    font-size: 12px;
    bottom: 16px;
  }
  
  .offer_screens_text {
    font-size: 14px;
    bottom: 32px;
  }
  
  .footer_right button {
    font-size: 11px;
    padding: 0 10px;
    height: 32px;
  }
  
  .footer_copy {
    font-size: 12px;
  }
  
  .footer_link {
    font-size: 13px;
  }
}
