@font-face {
  font-family: "Italianno";
  src: url("../fonts/italianno-400.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --primary: #020818;
  --secondary: #cfa958;
  --white: #ffffff;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--primary) url("../img/pattern.png") repeat;
  color: var(--white);
  font-family: "Libre Baskerville", serif;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
}

.header {
  position: relative;
  z-index: 10;
  min-height: 131px;
  padding: 10px 0;
  background: var(--primary) url("../img/pattern.png") repeat;
  border-bottom: 1px solid var(--secondary);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 110px;
}

.header-col {
  display: flex;
  align-items: center;
}

.wrap-mark {
  justify-content: flex-start;
}

.wrap-mark img {
  width: 125px;
  height: 100px;
  object-fit: contain;
}

.logo {
  justify-content: center;
}

.logo img {
  width: 182px;
  height: 110px;
  object-fit: contain;
}

.primary-menu {
  justify-content: flex-end;
}

.mobile-contact {
  display: none;
}

.theme-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 178px;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 25px;
  border: 1px solid var(--white);
  background-color: var(--primary);
  color: var(--white);
  font-family: "Libre Baskerville", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.theme-btn span {
  position: relative;
  z-index: 1;
}

.btn6::before,
.btn6::after {
  position: absolute;
  top: 0;
  display: block;
  width: 100px;
  height: 100%;
  background-color: var(--secondary);
  transition: 0.5s;
  content: "";
}

.btn6::before {
  left: 0;
}

.btn6::after {
  right: 0;
  z-index: -1;
  height: 80px;
}

.btn6:hover::before {
  left: -104px;
}

.btn6:hover::after {
  right: -104px;
}

.hero-banner {
  display: flex;
  width: 100%;
  height: 600px;
  align-items: center;
  justify-content: center;
  background: url("../img/hero_banner.jpg") no-repeat center;
  background-size: cover;
}

.hero-content {
  position: relative;
  display: flex;
  max-width: 563px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  color: var(--white);
  font-family: "Libre Baskerville", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 72px;
  text-align: center;
  text-transform: uppercase;
}

.hero-content h1 span {
  display: block;
  line-height: 36px;
}

.hero-content p {
  max-width: 760px;
  margin: 16px 0 20px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  text-align: center;
  text-transform: uppercase;
}

.hero-button {
  margin-top: 0;
}

.aboutus-section {
  position: relative;
  padding: 60px 0;
}

.about-content {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.about-content h4 {
  margin: 0;
  color: var(--white);
  font-family: "Italianno", cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
}

.about-content h2 {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
  color: var(--secondary);
  font-family: "Libre Baskerville", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  text-transform: uppercase;
}

.about-content h2::before,
.about-content h2::after {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 10px;
  background: url("../img/line.png") no-repeat center;
  content: "";
  transform: translateY(-50%);
}

.about-content h2::before {
  right: 0;
}

.about-content h2::after {
  left: 0;
}

.about-content p {
  margin: 10px 0 20px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
}

footer {
  position: relative;
  padding: 60px 0 30px;
  background: var(--primary) url("../img/pattern.png") repeat;
  border-top: 1px solid var(--secondary);
}

.footer-logo {
  max-width: 300px;
  margin: 0 auto;
}

.footer-logo img {
  width: 300px;
  height: auto;
}

.social-media ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.social-media a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  border-radius: 100%;
  color: var(--white);
  transition: background 0.2s ease;
}

.social-media a:hover {
  background: var(--secondary);
}

.contact-time,
.footer-contact {
  max-width: 300px;
  margin: 30px auto 0;
  text-align: center;
}

.footer-contact {
  margin-top: 40px;
}

footer h4 {
  margin: 0 0 10px;
  color: var(--secondary);
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  font-weight: 700;
}

.contact-time li,
.footer-contact li,
.footer-contact a {
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.footer-contact li:not(:last-child) {
  margin-bottom: 10px;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: currentColor;
  vertical-align: -0.125em;
}

.footer-contact .icon {
  width: 12px;
  height: 12px;
  margin-right: 3px;
  color: var(--secondary);
  vertical-align: -1px;
}

.copy-right {
  padding-top: 50px;
  text-align: center;
}

.copy-right p {
  margin: 0;
  padding: 0;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
}

.footer-credits {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.footer-credits a {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.footer-credits a:hover {
  color: var(--white);
}

.fixed-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  display: none;
  padding: 0 15px;
  background: var(--secondary);
}

.fixed-footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fixed-footer li {
  flex: 1 0 45%;
  padding: 10px 5px;
  text-align: center;
}

.fixed-footer li:not(:last-child) {
  border-right: 1px solid var(--white);
}

.fixed-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
}

.fixed-footer .icon {
  width: 13px;
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 36px;
    line-height: normal;
  }

  .hero-banner {
    height: 450px;
  }

  .aboutus-section {
    padding: 50px 0;
  }

  .about-content h4 {
    font-size: 20px;
  }

  .copy-right p {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .desktop-only {
    display: none;
  }

  .header {
    min-height: 123px;
  }

  .header-row {
    grid-template-columns: 1fr 1fr;
    min-height: 102px;
  }

  .logo {
    justify-content: flex-start;
  }

  .mobile-contact {
    display: block;
    justify-self: end;
  }

  .mobile-contact ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
  }

  .mobile-contact a {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background: var(--secondary);
    color: var(--white);
  }

  .mobile-contact .icon {
    width: 18px;
    height: 18px;
  }

  footer {
    padding: 50px 0 59px;
  }

  .fixed-footer {
    display: block;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 42px;
  }

  .hero-content h1 span {
    line-height: 42px;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 26px;
  }

  .about-content h2 {
    font-size: 28px;
    line-height: normal;
  }

  .hero-banner {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 0 11px;
  }

  .container {
    padding: 0 20px;
  }

  .logo img {
    width: 172px;
    height: auto;
  }

  .hero-banner {
    height: 400px;
    background-position: center;
  }

  .hero-content {
    max-width: 390px;
    padding: 0 8px;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 42px;
  }

  .hero-content h1 span {
    display: inline;
  }

  .hero-content p {
    margin: 7px 0 18px;
    font-size: 16px;
    line-height: 26px;
  }

  .theme-btn {
    min-width: 178px;
    min-height: 45px;
  }

  .aboutus-section {
    padding: 59px 0 58px;
  }

  .about-content {
    max-width: 360px;
  }

  .about-content h4 {
    font-size: 20px;
    line-height: 27px;
  }

  .about-content h2 {
    max-width: 350px;
    font-size: 26px;
    line-height: 34px;
  }

  .about-content h2::before {
    right: -2px;
  }

  .about-content h2::after {
    left: -2px;
  }

  .about-content p {
    margin: 12px 0 22px;
    font-size: 16px;
    line-height: 28px;
  }

  .footer-logo {
    max-width: 286px;
  }

  .footer-logo img {
    width: 286px;
  }

  .contact-time {
    margin-top: 31px;
  }

  .footer-contact {
    margin-top: 40px;
  }

  .copy-right {
    padding-top: 50px;
  }
}

@media (max-width: 375px) {
  .about-content h2::before,
  .about-content h2::after {
    display: none;
  }
}
