@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

a {
  text-decoration: none;
}

/* Добавь в CSS */
html {
  scroll-behavior: smooth;  /* Плавная прокрутка */
}

/* Или для конкретных секций */
#sales, #assort, #contacts {
  scroll-margin-top: 100px;
}

:root {
  --bg-dark: #0d0d0d;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --accent: #e8b15d;
  --text-light: #f5f5f5;
  --text-muted: #cfcfcf;
  --blur: 18px;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(135deg, #141414, #1c1c1c);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 0;
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.logo img:hover {
  /* transform: scale(1.05); */
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.nav a {
  margin: 0 20px;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger span {
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 90px;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('./images/butchery_main.jpg') center/cover no-repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 40px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 0 20px rgba(232, 177, 93, 0.5);
}

/* ===== MAIN CONTENT ===== */
.main {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  width: 100%;
  max-width: 1100px;
  margin-bottom: 80px;
  text-align: center;
}

.section h2 {
  font-size: 28px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

/* ===== CAROUSEL ===== */
.carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.slide {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  width: 280px;
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide:hover {
  /* transform: translateY(-6px); */
  border-color: rgba(232, 177, 93, 0.6);
  box-shadow: 0 8px 30px rgba(232, 177, 93, 0.25);
}

.slide img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.slide p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ===== ASSORTMENT GRID ===== */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px 25px;
  width: 280px;
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.card_image {
  height: 250px;
  object-fit: cover;
  width: 100%;
  padding: 20px 0;
}

.card_name {
  font-weight: 800;
  padding-bottom: 10px;
}

.footer_primary {
  background: rgba(15, 15, 15, 0.5);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
  padding: 20px 10px;
  text-align: end;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== MAP SECTION ===== */
#location {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 80px;
  text-align: center;
}

.contacts_info {
  text-align: left;
  padding: 10px 0;
}

#location h2 {
  font-size: 28px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.map {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  /* padding: 15px; */
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;

  /* ДОБАВЬ ЭТИ 4 СТРОКИ: */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  border-left: none;
  border-right: none;
}

#map {
  width: 100%;
  height: auto;
}

.map iframe {
  width: 100%;
  max-width: 100%;
  height: 400px;
  border: 0;
  border-radius: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1350x) {
  #location h2 {
    font-size: 24px;
  }

  .nav {
    text-align: end;
  }

  .nav a {
    margin-right: 15px;
  }

  .map iframe {
    height: 300px;
  }

  .logo img {
    height: 30px;
  }
  
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .header {
    max-width: 100vw;
  }

  .footer_primary {
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #location h2 {
    font-size: 20px;
  }

  .map iframe {
    height: 250px;
  }

  .logo img {
    height: 27px;
  }

  .header {
    max-width: 100vw;
  }
}