* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik Dirt', cursive;
    background-color: #1a1a1a;
    color: #e5e5e5;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 1000;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #e5e5e5;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 50px;
}

.lang-buttons {
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 6px 12px;
    background-color: #2d2d2d;
    color: #e5e5e5;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Rubik Dirt', cursive;
    font-size: 12px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #3d3d3d;
}

.lang-btn.active {
    background-color: #a855f7;
    border-color: #a855f7;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 64px;
    left: -300px;
    width: 300px;
    height: calc(100vh - 64px);
    background-color: #242424;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-content {
    padding: 2rem 0;
}

.menu-item {
    display: block;
    padding: 1rem 2rem;
    color: #e5e5e5;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background-color: #2d2d2d;
    border-left-color: #a855f7;
}

.menu-item.active {
    background-color: #2d2d2d;
    border-left-color: #a855f7;
    color: #a855f7;
}

/* Page Content */
.page-content {
    margin-top: 64px;
    padding: 3rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: #242424;
    padding: 1.5rem;
    border-radius: 12px;
}

.info-card h3 {
    font-size: 1.25rem;
    color: #a855f7;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: #d1d5db;
    line-height: 1.6;
}

.contact-form {
    background-color: #242424;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #e5e5e5;
    font-family: 'Rubik Dirt', cursive;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #a855f7;
}

.contact-form button {
    background-color: #a855f7;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Rubik Dirt', cursive;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #9333ea;
}

.social-links {
    text-align: center;
}

.social-links h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #242424;
    color: #e5e5e5;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #a855f7;
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
}


.flashing-link {
    text-decoration: none; /* Убираем подчеркивание ссылки */
    display: inline-block;
  }

  .flashing-link p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    /* Название анимации | Длительность | Тип сглаживания | Бесконечно | Туда-обратно */
    animation: whiteToRed 2s ease-in-out infinite alternate;
  }

  @keyframes whiteToRed {
    from {
      color: #ffffff; /* Белый */
    }
    to {
      color: #ffcccc; /* Светло-красный */
    }
  }



  #submit-btn {
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
}

/* Класс, который добавится при успешной отправке */
#submit-btn.sent {
  background-color: #2ecc71; /* Зеленый */
  pointer-events: none;      /* Кнопка перестает быть активной */
}

#status {
  margin-top: 10px;
  font-family: sans-serif;
  opacity: 0;
  transition: opacity 0.5s;
}

#status.show {
  opacity: 1;
}