@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

:root {
  --mantis: #7ac74f;
  --argentinian-blue: #4bb3fd;
  --ghost-white: #f7f7ff;
  --prussian-blue: #0b3954;
  --ut-orange: #ff8811;
}

/* HEADER */

#header,
.navbar-custom {
  background-color: var(--prussian-blue) !important;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: var(--ghost-white) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--mantis) !important;
}

.navbar-toggler {
  border-color: var(--ghost-white) !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.logo {
  height: 40px;
}

/* HEADER */

/* MAIN */

.qurt-section {
  padding: 5.3rem 1rem;
}

.qurt-image-wrapper {
  background-color: var(--prussian-blue);
  border-radius: 10px;
  padding: 10px;
  max-width: 570px;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
}

.qurt-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.qurt-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.qurt-text {
  font-size: 1.25rem;
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .qurt-section {
    text-align: center;
  }
}

/* MAIN */

/* FOOTER */

.grid {
  display: grid;
  column-gap: 64px;
  row-gap: 96px;
}

.footer {
  padding: 64px 0;
  border-top: 1px solid #eee;
  background-color: var(--prussian-blue) !important;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 32px;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
}

.social-icon {
  height: 24px;
  width: 24px;
}

.copyright {
  font-size: 14px;
  line-height: 1.6;
  color: #dedee6;
  margin-top: 24px;
}

.footer-heading {
  padding-top: 24px;
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #f7f7ff;
}

.contacts {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
}

.address {
  margin-bottom: 24px;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 16px;
  color: #dedee6;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #adadb3;
}

.team-col {
  margin-top: 24px;
}

.team-p {
  color: #f7f7ff;
}

/*  */
/* 🌙 Dark Mode – Global */
.dark-mode {
  background-color: #121212 !important;
  color: #e8eef6 !important;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* 🌙 Navbar */
.dark-mode .navbar-custom {
  background-color: #1e1e1e !important;
}

.dark-mode .navbar-dark .nav-link {
  color: #e8eef6 !important;
  transition: color 0.3s ease;
}

.dark-mode .navbar-dark .nav-link:hover {
  color: #00bcd4 !important;
}

.dark-mode .navbar-dark .nav-link.active {
  color: #00bcd4 !important;
}

.dark-mode .btn-outline-dark {
  border-color: #00bcd4 !important;
  color: #00bcd4 !important;
}
.dark-mode .btn-outline-dark:hover {
  background-color: #00bcd4 !important;
  color: #121212 !important;
}

/* 🌙 Qurt Section */

.dark-mode .qurt-title {
  color: #00bcd4 !important;
}

.dark-mode .qurt-text {
  color: #d3d3d3 !important;
}

.dark-mode .qurt-image-wrapper {
  background-color: #202020;
  transition: background-color 0.3s ease;
}

.dark-mode .qurt-image {
  filter: brightness(0.9) contrast(1.05);
}

/* 🌙 Footer */
.dark-mode footer {
  background-color: #0f0f0f !important;
  color: #e8eef6 !important;
  border-top: 1px solid #2e2e2e;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.dark-mode footer a {
  color: #00bcd4 !important;
  transition: color 0.3s ease;
}

.dark-mode footer a:hover {
  color: #76d4ff !important;
}

.dark-mode footer ion-icon {
  color: #00bcd4 !important;
}

/* 🌙 Logo */
.dark-mode .logo {
  filter: brightness(0.9) contrast(1.1);
}

/* Smooth transition for everything */
* {
  transition: background-color 0.4s ease, color 0.4s ease,
    border-color 0.3s ease;
}

.dish-container {
  background-color: #ffffffcc;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  text-align: center;
  transition: transform 0.3s ease;
}
.dark-mode .dish-container {
  background-color: #373030cc;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  text-align: center;
  transition: transform 0.3s ease;
}

.dish-container:hover {
  transform: translateY(-5px);
}

.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}
.notification.show {
  opacity: 1;
  transform: translateY(0);
}
/* Прогресс-бар сверху */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px; /* толщина линии */
  width: 0%;
  background: linear-gradient(90deg, #28a745, #80ed99);
  z-index: 9999;
  transition: width 0.15s ease-out;
}
