﻿:root {
  --main-text-color: #0B0B0B;
  --secondary-text-color: #7E7E7E;
  --bg-color: #FFFFFF;
  --accent-color: #008139;

  --font-text: "Philosopher", 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;
}

.header {
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-color);
}

.header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--main-text-color);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 129, 57, 0.3);
  overflow: hidden;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--accent-color);
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s ease;
  transform: rotate(45deg);
}

.logo:hover .logo-icon::before {
  opacity: 1;
  animation: shimmer 0.8s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  color: var(--main-text-color);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-color);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--accent-color);
  font-weight: 700;
}

.order-btn {
  position: relative;
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 129, 57, 0.3);
  overflow: hidden;
  color: white;
  font-weight: 700;
  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 6px 25px rgba(0, 129, 57, 0.4);
  transform: translateY(-2px);
}


.burger-menu {
  position: relative;
  display: none;
  flex-direction: column;
  border-radius: 8px;
  padding: 0.5rem;
  background: rgba(0, 129, 57, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.burger-menu:hover {
  background: rgba(0, 129, 57, 0.2);
  transform: scale(1.05);
}

.burger-line {
  position: relative;
  width: 25px;
  height: 3px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
}

.burger-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: var(--accent-color);
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.burger-menu:hover .burger-line::after {
  transform: scaleX(1);
}


.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 100%;
  border-top: 2px solid var(--secondary-text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-20px);
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav .nav-link,
.mobile-nav .order-btn {
  position: relative;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(158, 158, 158, 0.2);
  padding: 1rem 2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.mobile-nav .nav-link::before {
  bottom: 0;
  height: 2px;
}

.mobile-nav .nav-link:hover {
  padding-left: 2.5rem;
  background: rgba(0, 129, 57, 0.05);
}

.mobile-nav .order-btn {
  width: calc(100% - 2rem);
  margin: 1rem;
  border-radius: 0;
  border-radius: 10px;
  color: white;
  text-align: center;
  background: var(--accent-color);
}


.footer {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
}

.footer-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 1rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  width: 100%;
}

.footer-section h3 {
  position: relative;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: translateX(5px);
}

.footer-logo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 129, 57, 0.4);
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--accent-color);
}

.footer-slogan {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.social-link:hover {
  box-shadow: 0 8px 25px rgba(0, 129, 57, 0.4);
  background: var(--accent-color);
  transform: translateY(-3px) scale(1.1);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav a {
  position: relative;
  width: max-content;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-nav a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -15px;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer-nav a:hover {
  padding-left: 1rem;
  color: white;
}

.footer-nav a:hover::before {
  width: 10px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  border-radius: 8px;
  padding: 0.5rem;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  word-wrap: break-word;
  transition: all 0.3s ease;
  white-space: normal;
}

.contact-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.contact-item i {
  width: 20px;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  color: white;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}


@media (max-width: 1024px) {
  .header-container {
    padding: 1rem 1.5rem;
  }

  .nav {
    gap: 1.5rem;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 840px) {
  .header-container {
    padding: 1rem;
  }

  .nav {
    display: none;
  }

  .order-btn {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-container {
    padding: 2rem 1rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .mobile-nav .nav-link,
  .mobile-nav .order-btn {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.mobile-nav .nav-link {
  text-align: center;
}