﻿:root {
  --main-color: #1E3A5F;
  --secondary-color: #F0F0F0;
  --bg-color: #FFFFFF;
  --secondary-bg-color: #F5F5DC;
  --accent-color: #D4AF37;
  --text-color: #000000;

  --font-text: "Lato", sans-serif;
  --font-heading: "Playfair Display", serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--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;
  font-family: var(--font-heading);
  font-weight: 700;
}

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: fixed;
  top: 63px;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  min-height: 80px;
  margin: 0 auto;
  padding: 0 20px;
}


.header__logo {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--main-color);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo i {
  color: var(--accent-color);
  font-size: 28px;
}

.logo__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
}


.header__nav {
  display: flex;
  flex: 1;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  position: relative;
  padding: 8px 0;
  color: var(--main-color);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav__link:hover {
  color: var(--accent-color);
}

.nav__link:hover::after {
  width: 100%;
}


.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__search,
.header__cart {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--main-color);
  background: transparent;
  transition: all 0.3s ease;
}

.header__search:hover,
.header__cart:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.header__search i,
.header__cart i {
  font-size: 18px;
}

.cart__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: white;
  font-weight: 600;
  font-size: 12px;
  background: var(--accent-color);
}


.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 30px;
  height: 30px;
  background: transparent;
  transition: all 0.3s ease;
}

.burger__line {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: var(--main-color);
  transition: all 0.3s ease;
}

.header__burger.active .burger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.header__burger.active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


body.menu-open {
  overflow: hidden;
}

.footer {
  padding: 60px 0 0;
  color: white;
  background: linear-gradient(135deg, var(--main-color) 0%, #2c5282 100%);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 50px;
}


.footer__brand {
  max-width: 350px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__logo i {
  color: var(--accent-color);
  font-size: 32px;
}

.footer__logo .logo__text {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
}

.footer__description {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.social__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.social__link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.social__link i {
  font-size: 18px;
}


.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__title {
  position: relative;
  margin-bottom: 25px;
  color: white;
  font-family: var(--font-heading);
  font-size: 20px;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  position: relative;
  padding-left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer__link:hover {
  padding-left: 10px;
  color: var(--accent-color);
}


.newsletter__text {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.newsletter__form {
  display: flex;
  gap: 0;
  border-radius: 50px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.newsletter__input {
  flex: 1;
  border: none;
  border-radius: 50px;
  padding: 15px 20px;
  outline: none;
  color: white;
  font-size: 14px;
  background: transparent;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter__button {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  background: var(--accent-color);
  transition: all 0.3s ease;
}

.newsletter__button:hover {
  background: #b8941f;
  transform: scale(1.05);
}


.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer__legal {
  display: flex;
  gap: 30px;
}

.legal__link {
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.legal__link:hover {
  color: var(--accent-color);
}




@media (max-width: 1024px) {
  .header__container {
    padding: 0 15px;
  }

  .nav__list {
    gap: 30px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}


@media (max-width: 768px) {
  .header__container {
    min-height: 70px;
  }

  .header {
    top: 76px;
  }

  .logo__text {
    font-size: 20px;
  }

  .logo i {
    font-size: 24px;
  }

  .header__nav {
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 999;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    transform: translateX(-100%);
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
    height: 100%;
    padding: 50px 20px;
  }

  .nav__link {
    font-weight: 600;
    font-size: 18px;
  }

  .header__burger {
    display: flex;
  }

  .header__search,
  .header__cart {
    width: 35px;
    height: 35px;
  }

  .header__actions {
    gap: 15px;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer__legal {
    gap: 20px;
  }
}


@media (max-width: 480px) {
  .header__container {
    padding: 0 10px;
  }

  .header {
    top: 68px;
  }

  .footer__container {
    padding: 0 15px;
  }

  .footer__top {
    gap: 30px;
  }

  .footer__links {
    gap: 25px;
  }

  .newsletter__form {
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
    padding: 10px;
  }

  .newsletter__input {
    border-radius: 10px;
  }

  .newsletter__button {
    width: 100%;
    height: 45px;
    border-radius: 10px;
  }
}

.MB-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, #003d82 0%, #0066cc 25%, #ff6b35 75%, #ff4500 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 61, 130, 0.3);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.MB-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/mb-img.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  filter: blur(1px);
}

.MB-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 61, 130, 0.8) 0%, rgba(255, 107, 53, 0.6) 100%);
  z-index: 1;
}

.MB-banner__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.MB-banner__container p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.MB-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 25px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.MB-banner__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.MB-banner__btn:hover {
  background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.MB-banner__btn:hover::before {
  left: 100%;
}

.MB-banner__btn:active {
  transform: translateY(0) scale(1.02);
}

@media (max-width: 768px) {
  .MB-banner {
    min-height: 55px;
  }
  
  .MB-banner__container {
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px;
    text-align: center;
  }
  
  .MB-banner__container p {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .MB-banner__btn {
    width: auto;
    min-width: 140px;
    padding: 8px 20px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .MB-banner__container p {
    font-size: 0.8rem;
  }
  
  .MB-banner__btn {
    font-size: 0.75rem;
    padding: 6px 16px;
  }
}

body {
  padding-top: 60px;
}

@media (max-width: 768px) {
  body {
    padding-top: 55px;
  }
}

@media (max-width: 445px) {
  .header {
    top: 80px;
  }
}