* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #3e2723;
  background-color: #faf6f1;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(62, 39, 35, 0.97);
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}

.logo {
  height: 2.75rem;
  width: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  color: #f5e6d3;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover {
  color: #e8a87c;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #f5e6d3;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Hero */
.hero {
  position: relative;
  min-height: clamp(22rem, 70vh, 36rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/banner.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fffaf5;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(62, 39, 35, 0.75) 0%, rgba(121, 85, 72, 0.65) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fffaf5;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: #f5e6d3;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background-color: #c4784a;
  color: #fffaf5;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #a85f35;
  transform: translateY(-2px);
}

/* Sections common */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  color: #5d4037;
  text-align: center;
  margin-bottom: 1.75rem;
  font-weight: 700;
}

.about,
.drinks,
.contacts {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.about {
  background-color: #faf6f1;
}

.about__content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.about__content p {
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #4e342e;
}

.about__content p:last-child {
  margin-bottom: 0;
}

/* Drinks */
.drinks {
  background-color: #f0e6dc;
}

.drinks__content {
  max-width: 48rem;
  margin: 0 auto;
  background-color: #fffaf5;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.08);
}

.drinks__content > p,
.drinks__content > ul {
  margin-bottom: 1.25rem;
  color: #4e342e;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.drinks__content h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: #6d4c41;
  margin: 1.75rem 0 0.85rem;
}

.drinks__content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.drinks__content li {
  margin-bottom: 0.6rem;
  color: #4e342e;
  padding-left: 0.25rem;
}

/* Contacts */
.contacts {
  background-color: #faf6f1;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contacts__card {
  background-color: #fffaf5;
  padding: 1.5rem 1.25rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.07);
  border-top: 3px solid #c4784a;
}

.contacts__card h3 {
  font-size: 1.15rem;
  color: #6d4c41;
  margin-bottom: 0.65rem;
}

.contacts__card p {
  color: #5d4037;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contacts__card a {
  color: #a85f35;
  font-weight: 600;
}

.contacts__card a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #3e2723;
  color: #d7ccc8;
  text-align: center;
  padding: 1.5rem 1.25rem;
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(62, 39, 35, 0.98);
    padding: 1rem 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  .nav.open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav__link {
    display: block;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(245, 230, 211, 0.1);
  }

  .burger {
    display: flex;
  }

  .header__inner {
    position: relative;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about,
  .drinks,
  .contacts {
    padding: 2rem 0;
  }

  .drinks__content {
    padding: 1.15rem;
  }

  .hero__content {
    padding: 2.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 2.25rem;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
  }

  .contacts__card {
    padding: 1.25rem 1rem;
  }
}