﻿:root {
  --main-color: #2E4A62;
  --secondary-color: #D4A373;
  --bg-color: #F5F6F5;
  --secondary-bg-color: #E8ECEF;
  --accent-color: #A63D40;
  --text-color: #333333;

  --font-text: "Lora", sans-serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 60px;
  color: var(--text-color);
  font-family: var(--font-text);
  line-height: 1.2;
  background-color: var(--bg-color);
}

body.banner-hidden {
  padding-top: 0;
}

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;
}


/* Promo Banner */
.promo-banner {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1001;
  background: linear-gradient(135deg, #0066CC 0%, #004499 50%, #FF6B00 100%);
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
  animation: slideDown 0.5s ease-out;
}

.promo-banner__container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  height: 60px;
  margin: 0 auto;
  padding: 0 20px;
}

.promo-banner__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.promo-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.promo-banner__title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.promo-banner__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.85rem;
}

.promo-banner__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.promo-banner__btn:hover {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.promo-banner__btn i {
  font-size: 1rem;
  animation: pulse 2s infinite;
}

.promo-banner__close {
  position: absolute;
  top: 50%;
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  transform: translateY(-50%);
  cursor: pointer;
}

.promo-banner__close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}



.header {
  position: fixed;
  top: 60px;
  right: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(46, 74, 98, 0.1);
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--secondary-bg-color) 100%);
  transition: all 0.3s ease;
}

.banner-hidden .header {
  top: 0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  height: 80px;
  margin: 0 auto;
  padding: 0 20px;
}


.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--main-color);
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__logo i {
  color: var(--secondary-color);
  font-size: 2rem;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo__text {
  background: linear-gradient(45deg, var(--main-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.header__nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__item {
  position: relative;
  border-radius: 8px;
  padding: 1rem 0;
  overflow: hidden;
}

.nav__link {
  position: relative;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  overflow: hidden;
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 163, 115, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav__link:hover::before {
  left: 100%;
}

.nav__link:hover {
  color: var(--accent-color);
  background: rgba(212, 163, 115, 0.1);
  transform: translateY(-2px);
}


.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  visibility: hidden;
  min-width: 200px;
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  background: white;
  transition: all 0.3s ease;
  transform: translateY(-10px);
}

.nav__item:hover .nav__dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown__link {
  display: block;
  border-bottom: 1px solid rgba(212, 163, 115, 0.1);
  padding: 0.75rem 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown__link:hover {
  padding-left: 2rem;
  color: white;
  background: var(--secondary-color);
}

.dropdown__link:last-child {
  border-bottom: none;
}


.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__search-btn,
.header__cart-btn {
  position: relative;
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  color: var(--text-color);
  font-size: 1.25rem;
  background: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.header__search-btn:hover,
.header__cart-btn:hover {
  color: white;
  background: var(--secondary-color);
  transform: scale(1.1);
}

.header__cart-btn {
  position: relative;
}

.cart__count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  border-radius: 50%;
  padding: 2px 6px;
  color: white;
  font-size: 0.75rem;
  text-align: center;
  background: var(--accent-color);
}


.header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  padding: 0.5rem;
  background: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.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(5px, -5px);
}



.footer {
  position: relative;
  padding: 3rem 0 1rem;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, var(--main-color) 0%, #1a2f3a 100%);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .footer__column {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}


.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
}

.footer__logo i {
  color: var(--secondary-color);
  font-size: 2rem;
}

.footer__logo .logo__text {
  color: white;
  -webkit-text-fill-color: white;
}

.footer__description {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}


.footer__title {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.25rem;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}


.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  position: relative;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer__link:hover {
  padding-left: 1rem;
  color: var(--secondary-color);
}

.footer__link:hover::before {
  width: 20px;
}


.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  transition: transform 0.3s ease;
  transform: scale(0);
}

.social__link:hover::before {
  transform: scale(1);
}

.social__link:hover {
  box-shadow: 0 5px 15px rgba(212, 163, 115, 0.3);
  transform: translateY(-3px);
}

.social__link i {
  position: relative;
  z-index: 1;
}


.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  transition: all .2s ease;
}

.contact__item i {
  width: 20px;
  margin-top: 0.25rem;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.contact__item:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .contact__item {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}


.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.7);
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.legal__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.legal__link:hover {
  color: var(--secondary-color);
}




/* Promo Banner Mobile Styles */
@media (max-width: 768px) {
  .promo-banner__container {
    height: 50px;
    padding: 0 15px;
  }
  
  .promo-banner__content {
    gap: 1rem;
  }
  
  .promo-banner__text {
    gap: 0.1rem;
  }
  
  .promo-banner__title {
    font-size: 1rem;
  }
  
  .promo-banner__subtitle {
    font-size: 0.75rem;
  }
  
  .promo-banner__btn {
    min-width: 100px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .promo-banner__close {
    right: 10px;
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
  
  body {
    padding-top: 50px;
  }
  
  .header {
    top: 50px;
  }
}

@media (max-width: 480px) {
  .promo-banner__content {
    gap: 0.75rem;
  }
  
  .promo-banner__subtitle {
    display: none;
  }
}

@media (max-width: 1024px) {

  .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .header__container {
    height: 70px;
    padding: 0 15px;
  }

  .header__nav {
    position: fixed;
    top: 130px;
    right: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease;
    transform: translateY(-100vh);
  }

  .banner-hidden .header__nav {
    top: 70px;
  }

  .header__nav.active {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    margin: 0 auto;
    padding: 2rem 0;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    display: block;
    border-bottom: 1px solid rgba(212, 163, 115, 0.1);
    padding: 1rem 2rem;
    text-align: center;
  }

  .nav__dropdown {
    position: static;
    visibility: visible;
    display: none;
    margin-top: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    background: var(--secondary-bg-color);
    transform: none;
  }

  .nav__item.active .nav__dropdown {
    display: block;
  }

  .dropdown__link {
    border-bottom: 1px solid rgba(212, 163, 115, 0.1);
    padding: 0.75rem 3rem;
  }

  .header__burger {
    display: flex;
  }

  .header__logo {
    font-size: 1.25rem;
  }

  .header__logo i {
    font-size: 1.5rem;
  }


  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__legal {
    gap: 1rem;
  }
}


@media (max-width: 1024px) and (min-width: 769px) {
  .header__container {
    padding: 0 20px;
  }

  .nav__list {
    gap: 1.5rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}


@media (min-width: 1200px) {
  .header__container {
    max-width: 1400px;
  }

  .footer__container {
    max-width: 1400px;
  }
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header,
.footer {
  animation: fadeInUp 0.6s ease-out;
}


.header.scrolled {
  box-shadow: 0 2px 30px rgba(46, 74, 98, 0.15);
  background: rgba(245, 246, 245, 0.95);
  backdrop-filter: blur(10px);
}


@media (max-width: 375px) {
  .header__search-btn {
    display: none;
  }
}