@font-face {
  src: url(../fonts/SuisseIntl-Book.woff);
  font-family: 'Suisse';
  font-weight: normal;
}

@font-face {
  src: url(../fonts/SuisseIntl-Bold.woff);
  font-family: 'Suisse';
  font-weight: bold;
}

html{
  scroll-behavior: smooth
}

* {
  box-sizing: border-box;
}

body {
  color: white;
  font-family: 'Suisse';
  height: 100vh;
  perspective: 20em;
  background-color: #000000;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0px;
  overflow-x: hidden;
} 

.undernav{
  height: 70vh;
  background: url('../images/background.jpg'); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.face {
  backface-visibility: hidden;
}
.face:last-child {
  transform: rotateY(0.5turn);
}

.advice {
  font-size: 50px;
  font-weight: bold;
  line-height: 1.1;
}

.logo{
  position: absolute;
  width: 200px;
  left: 68px;
  top: 13px;  
}


.menu-main {
  list-style: none;
  margin: 0;
  padding: 25px 0 5px;
  text-align: right;
  background: black;
}

.menu-main li {
  display: inline-block;
}

.menu-main li:after {
  color: #606060;
  display: inline-block;
  vertical-align:top;
}

.menu-main li:last-child:after {
  content: none;
}

.menu-main a {
  text-decoration: none;
  font-family: 'Suisse', sans-serif;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
  margin: 0 25px 0 0px;
  font-size: 12px;
  text-transform: uppercase;
  display: inline-block;
  transition: color .2s;
}

.menu-main a, .menu-main a:visited {color: #9d999d;}
.menu-main a.current, .menu-main a:hover{color: #ffffff;}
.menu-main a:before,

.menu-main a:after {
  content: "";
  position: absolute;
  height: 3px;
  top: auto;
  right: 50%;
  bottom: 28px;
  left: 50%;
  background: #ce0000;
  transition: .7s;
}

.menu-main a:hover:before, .menu-main {left: 0;}
.menu-main a:hover:after, .menu-main {right: 0;}   

/* Бургер меню */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1001;
  width: 30px;
  height: 25px;
  justify-content: space-between;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Предотвращение скролла при открытом меню */
body.menu-open {
  overflow: hidden;
}

.main{
  flex-grow: 1;
}

.footer{
  flex-shrink: 0;
  margin-top: 3vw;
}

.subname{
  text-align: center;
  margin-top: 3vw;
}

.show_cards{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card{
  width: 60%;
  height: 150px;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #282828;
  border-radius: 10px;
  margin-top: 1vw;
}


.info{
  height: 70%;
  color: white;
  padding-left: 1vw;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  width: 80%;
}

.poster{
  height: 70%;
  padding-left: 2vw;
}

.date{
  font-family: 'Russo One';
  font-size: 24px;
}

.name{
  font-family: 'Inter';
  font-weight: 200;
}

a{
  text-decoration:none;
  cursor: pointer;
}

.button {
  border: none;
  outline: 0;
  border-bottom: 2px solid transparent;
  border-top: 2px solid transparent;
  padding: 0.5em 1em;
  display: flex;
  border-radius: 3px;
  font-size: 13px;
  background-color: #393939;
  color: #fff;
  cursor: pointer;
  font-family: "Inter";
  justify-content: center;
  align-items: center;
  width: 15%;
  min-width: 80px;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.button:hover {
  background-color: #5A5F73;
  cursor: pointer;
}

.button:active {
  background-color: #1e1f26;
  border-bottom-color: transparent;
  cursor: pointer;
}

.menu_section{
  width: 75%;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.menu_section_card{
  text-align: center;
}



.text{
  text-align: justify;
  padding: 10%;
  font-size: large;
  width: 60%;
  margin: 0 auto;
}

.contacts{
  width: 60%;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.cont{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 15px;
}

.footer-info{
	text-align: center;
    padding-bottom:1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(1);
  transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
  filter: brightness(1.2);
}

.legal-info {
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 5%;
}

.legal-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.company-name {
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 5px;
  color: #cccccc;
}

.company-details {
  font-size: 9px;
  color: #999999;
  margin-bottom: 3px;
}

.company-details span {
  margin: 0 3px;
}

.company-address {
  font-size: 8px;
  color: #888888;
  line-height: 1.3;
  margin-bottom: 2px;
}

.registration-date {
  font-size: 8px;
  color: #888888;
}

/* Планшеты */
@media (max-width: 1024px) {
  .logo {
    width: 150px;
    left: 20px;
    top: 10px;
  }
  
  .menu-main {
    padding: 20px 0 5px;
  }
  
  .menu-main a {
    margin: 0 15px 0 0;
    font-size: 11px;
  }
  
  .advice {
    font-size: 40px;
  }
  
  .text {
    width: 80%;
    padding: 8%;
  }
  
  .contacts {
    width: 90%;
    flex-direction: column;
    gap: 20px;
  }
  
  .contacts iframe {
    width: 100%;
    max-width: 500px;
  }
  
  .menu_section {
    width: 90%;
    flex-direction: column;
    gap: 30px;
  }
  
  .card {
    width: 80%;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  .logo {
    width: 120px;
    left: 15px;
    top: 8px;
  }
  
  /* Показываем бургер меню */
  .burger-menu {
    display: flex;
  }
  
  /* Скрываем обычное меню по умолчанию */
  .menu-main {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  /* Показываем меню когда активно */
  .menu-main.active {
    display: flex;
  }
  
  .menu-main li {
    display: block;
    margin: 15px 0;
    list-style: none;
  }
  
  .menu-main a {
    margin: 0;
    padding: 15px 25px;
    font-size: 18px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    min-width: 200px;
  }
  
  .menu-main a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }
  
  .menu-main a:before,
  .menu-main a:after {
    display: none;
  }
  
  /* Исправляем кнопку "Встреча" */
  .button {
    width: auto;
    min-width: 100px;
    max-width: 120px;
    font-size: 11px;
    padding: 8px 12px;
    margin: 5px auto;
    flex-shrink: 0;
  }
  
  .undernav {
    height: 50vh;
    background-size: cover;
  }
  
  .advice {
    font-size: 28px;
    text-align: center;
    padding: 0 20px;
  }
  
  .text {
    width: 90%;
    padding: 5%;
    font-size: medium;
  }
  
  .contacts {
    width: 95%;
    flex-direction: column;
    gap: 15px;
  }
  
  .contacts iframe {
    width: 100%;
    height: 200px;
  }
  
  .cont {
    margin-left: 0;
    text-align: center;
    gap: 10px;
  }
  
  .address, .time {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .subname {
    font-size: 24px;
    margin-top: 40px;
  }
  
  .menu_section {
    width: 95%;
    flex-direction: column;
    gap: 25px;
  }
  
  .menu_section_card {
    width: 100%;
  }
  
  .menu_section_title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .menu_section_snacks_item,
  .menu_section_meat_item,
  .menu_section_vegan_item {
    font-size: 14px;
    margin: 8px 0;
    padding: 5px 0;
  }
  
  .card {
    width: 95%;
    height: auto;
    flex-direction: column;
    padding: 15px;
    text-align: center;
  }
  
  .poster {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .date {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 5px;
  }
  
  .name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.3;
  }
  
  .footer-info {
    padding: 10px 0;
  }
  
  .social-links {
    gap: 20px;
    padding: 15px 0;
  }
  
  .legal-info {
    padding: 8px 5%;
  }
  
  .company-details {
    font-size: 8px;
  }
  
  .company-details span {
    display: block;
    margin: 1px 0;
  }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
  .logo {
    width: 100px;
    left: 10px;
    top: 5px;
  }
  
  .menu-main a {
    font-size: 9px;
    padding: 8px 10px;
  }
  
  .undernav {
    height: 40vh;
  }
  
  .advice {
    font-size: 22px;
    padding: 0 15px;
  }
  
  .text {
    width: 95%;
    padding: 3%;
    font-size: small;
  }
  
  .contacts iframe {
    height: 180px;
  }
  
  .address, .time {
    font-size: 12px;
  }
  
  .subname {
    font-size: 20px;
    margin-top: 30px;
  }
  
  .menu_section_title {
    font-size: 18px;
  }
  
  .menu_section_snacks_item,
  .menu_section_meat_item,
  .menu_section_vegan_item {
    font-size: 12px;
    margin: 6px 0;
  }
  
  .card {
    padding: 10px;
  }
  
  .social-links {
    gap: 15px;
  }
  
  .social-link {
    width: 35px;
    height: 35px;
  }
  
  .social-icon {
    width: 20px;
    height: 20px;
  }
}

/* Очень маленькие экраны */
@media (max-width: 320px) {
  .logo {
    width: 80px;
    left: 8px;
    top: 3px;
  }
  
  .menu-main a {
    font-size: 16px;
    padding: 12px 20px;
  }
  
  .button {
    font-size: 10px;
    padding: 6px 10px;
    min-width: 90px;
    max-width: 110px;
  }
  
  .advice {
    font-size: 18px;
    padding: 0 10px;
  }
  
  .text {
    font-size: small;
    padding: 2%;
  }
  
  .subname {
    font-size: 18px;
  }
  
  .menu_section_title {
    font-size: 16px;
  }
  
  .menu_section_snacks_item,
  .menu_section_meat_item,
  .menu_section_vegan_item {
    font-size: 11px;
  }
  
  .social-link {
    width: 30px;
    height: 30px;
  }
  
  .social-icon {
    width: 18px;
    height: 18px;
  }
}

