﻿:root {
  --main-text-color: #212806;
  --secondary-text-color: #212806CC;
  --bg-color: #F5EEE6;
  --accent-color: #212806;

  --font-text: "RobotoMono", sans-serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--main-text-color);
  font-family: var(--font-text);
  line-height: 1.2;
  background-color: var(--bg-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
  cursor: pointer;
}

input {
  font-family: inherit;
  font-size: inherit;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  visibility: hidden;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(33, 40, 6, 0.5);
  backdrop-filter: blur(2px);
  transition: all 0.3s ease;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(33, 40, 6, 0.1);
  background: var(--bg-color);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  height: 70px;
  margin: 0 auto;
  padding: 0 20px;
}


.logo {
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--main-text-color);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--bg-color);
  font-weight: 700;
  font-size: 18px;
  background: var(--accent-color);
  transition: transform 0.3s ease;
  transform: rotate(-3deg);
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.05);
}


.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: var(--secondary-text-color);
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--main-text-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


.order-btn {
  position: relative;
  border-radius: 6px;
  padding: 12px 24px;
  overflow: hidden;
  color: var(--bg-color);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  background: var(--accent-color);
  transition: all 0.3s ease;
}

.order-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.order-btn:hover::before {
  left: 100%;
}

.order-btn:hover {
  box-shadow: 0 8px 25px rgba(33, 40, 6, 0.3);
  transform: translateY(-2px);
}


.burger-menu {
  z-index: 1001;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.burger-line {
  width: 24px;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  z-index: 999;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  border-bottom: 1px solid rgba(33, 40, 6, 0.1);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(33, 40, 6, 0.1);
  opacity: 0;
  background: var(--bg-color);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-100%);
}

.mobile-nav.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav .nav-link {
  border-bottom: 1px solid rgba(33, 40, 6, 0.1);
  padding: 12px 0;
  font-size: 16px;
  animation: slideInLeft 0.3s ease forwards;
  text-align: center;
}

.mobile-nav .nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-nav .nav-link:nth-child(2) {
  animation-delay: 0.15s;
}

.mobile-nav .nav-link:nth-child(3) {
  animation-delay: 0.2s;
}

.mobile-nav .nav-link:nth-child(4) {
  animation-delay: 0.25s;
}

.mobile-nav .nav-link:nth-child(5) {
  animation-delay: 0.3s;
}

.mobile-nav .nav-link:nth-child(6) {
  animation-delay: 0.35s;
}

.mobile-nav .order-btn {
  margin-top: 10px;
  text-align: center;
  animation: slideInLeft 0.3s ease forwards;
  animation-delay: 0.4s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.footer {
  margin-top: auto;
  padding: 60px 0 20px;
  color: var(--bg-color);
  background: var(--accent-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--bg-color);
  font-weight: 600;
  font-size: 16px;
}


.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--bg-color);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}

@media (max-width: 830px) {
  .footer-logo {
    justify-content: center;
    text-align: center;
  }
}

.footer-logo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 18px;
  background: var(--bg-color);
  transition: transform 0.3s ease;
  transform: rotate(3deg);
}

.footer-logo:hover .footer-logo-icon {
  transform: rotate(0deg) scale(1.05);
}

.footer-slogan {
  margin-bottom: 24px;
  color: rgba(245, 238, 230, 0.8);
  font-size: 14px;
  line-height: 1.5;
}


.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--bg-color);
  font-size: 18px;
  background: rgba(245, 238, 230, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--accent-color);
  background: var(--bg-color);
  transform: translateY(-3px);
}


.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  position: relative;
  padding-left: 0;
  color: rgba(245, 238, 230, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-nav a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -16px;
  width: 0;
  height: 1px;
  background: var(--bg-color);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer-nav a:hover {
  padding-left: 20px;
  color: var(--bg-color);
}

.footer-nav a:hover::before {
  width: 12px;
}


.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(245, 238, 230, 0.8);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media (max-width: 830px) {
  .contact-item {
    justify-content: center;
    text-align: center;
  }
}

.contact-item i {
  flex-shrink: 0;
  width: 16px;
  margin-top: 2px;
  color: var(--bg-color);
}

.contact-item:hover {
  color: var(--bg-color);
  transform: translateX(4px);
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(245, 238, 230, 0.2);
  padding-top: 30px;
  font-size: 12px;
}

.copyright {
  color: rgba(245, 238, 230, 0.6);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(245, 238, 230, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg-color);
}


.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: calc(100vh - 70px);
  margin-top: 70px;
  padding: 40px 20px;
}

.content h1 {
  color: var(--main-text-color);
  font-weight: 700;
  font-size: 48px;
  text-align: center;
}

.content p {
  max-width: 600px;
  color: var(--secondary-text-color);
  font-size: 18px;
  text-align: center;
}


@media (max-width: 830px) {
  .header-container {
    height: 60px;
    padding: 0 16px;
  }

  .nav,
  .order-btn {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .mobile-nav {
    top: 60px;
    gap: 16px;
    padding: 16px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .content {
    margin-top: 60px;
    padding: 20px 16px;
  }

  .content h1 {
    font-size: 32px;
  }

  .content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 12px;
  }

  .mobile-nav {
    padding: 12px;
  }

  .footer {
    padding: 40px 0 16px;
  }

  .footer-container {
    padding: 0 12px;
  }

  .footer-main {
    gap: 24px;
  }

  .content h1 {
    font-size: 28px;
  }
}