/* Root variables */
:root {
  --font-main: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Raleway", sans-serif;
  --color-bg: #242424;
  --color-text: #ffffff;
  --color-text-2: #242424;

  --color-accent: #2563eb;
  --color-muted: #6b7280;
  --container-width: 1200px;
  --border-radius: 0.5rem;
  --transition-fast: 0.2s ease-in-out;

  --color-nav-bg: #FFFDF2;

  --color-header-bg: #000;
  --color-border: #000;

  /* === locales === */
  --color-locales-text-selected: #000000;
  --color-locales-text: #ffffff;
  --color-locales-border: #000000;
  /* === End locales === */
}

/* === Header === */
.header__buisness {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 2rem;
}

.header__brand-logo {
  width: 100px;
}

.header__brand {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  /* background-color: var(--color-header-bg); */
}

.brand-name {
  font-size: 20px;
  color: var(--color-text-2);
  font-family: sans-serif;
}

.phone__brand-name {
  display: none;
}
@media (max-width: 468px) {
  .brand-name {
    font-size: 1.15rem;
  }

  .phone__brand-name {
    display: block;
    font-size: 24px;
  }

  .header__brand-logo {
    width: 100px;
  }
}





/* fa-location-dot */
.fa-location-dot {
  font-size: 2rem; /* размер иконки */
  
  /* Градиент */
  background: linear-gradient(45deg, #de8c08, #bd6812);
  
  /* WebKit-браузеры */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Стандартное свойство для совместимости */
  background-clip: text;
  color: transparent;
  
  /* Дополнительно */
  cursor: pointer;

  /* Animations */
  transition: transform 0.3s ease, filter 0.3s ease;
  /* Дополнительно: плавная анимация градиента */
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
}

/* Gradien animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.fa-location-dot:hover {
  transform: scale(1.2) rotate(-10deg);
  filter: drop-shadow(0 0 6px #00c6ff) drop-shadow(0 0 4px #1DA1F2);
}
/* End fa-location-dot */




a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text-2);
  transition: 
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    color 0.3s ease,
    text-shadow 0.3s ease;
}

a:not(.header__brand, .card__button):hover {
  transform: translateY(-4px) scale(1.05);
  color: #1558b0;
  text-shadow: 0 4px 10px rgba(26, 115, 232, 0.4);
}

.sign-up {
  display: flex;
  gap: 0.5rem;
}

.sign-up__button {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.fa-regular .fa-circle-user {
  color: #000;
  font-size: 1.75rem;
}

.sign-up__text { 
  color: var(--color-text-2);
}

.kreis {
  border: 1px solid var(--color-text-2);
  border-radius: 50%;
}



  /* === header__content === */
.header__content {
  z-index: 9;
  position: fixed;
  top: 40px;
  width: 90%;
  left: 5%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--color-border);
  border-radius: 0.6rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-nav-bg);
  transition: padding 0.2s ease, box-shadow 0.2s ease;

}

.header__content ul {
  display: flex;

  gap: 1.5rem;
}
  /* === End header__content === */
/* === End Header === */




/* ===== Language ===== */
.custom-select {
  position: relative;
  width: auto;
  font-family: sans-serif;
}

.selected {
  cursor: pointer;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-locales-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-locales-text-selected);
}

.options {
  display: none; /* <-- важно */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #2a2a2a;
  color: var(--color-locales-text);
  border: 1px solid #666;
  border-radius: 6px;
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
  z-index: 10;
}

.custom-select.open .options {
  display: block; /* <-- показываем только при открытии */
}

.options li {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.options li:hover {
  background: #444;
}

.custom-select .options {
  display: none !important;
}
.custom-select.open .options {
  display: block !important;
}

.flag-locales {
  width: 24px;
  height: 18px;
}
/* ===== End Language ===== */



.custom-select-wrapper {
  margin-left: 2rem;
}





/* =============================
   BURGER MENU
============================= */
.burger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 11; /* чтобы была над меню */
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-text-2);
  border-radius: 2px;
  transition: 0.3s ease;
}



/* === При больших экранах — меню обычное === */
@media (min-width: 1367px) {
  .nav {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .nav ul {
    flex-direction: row;
  }
}


/*  ==========================================================
  adaptation
    ========================================================== */

/* === burger === */
/* ====== Мобильная логика ====== */
@media (max-width: 1366px) {
  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-nav-bg);
    border: 2px solid var(--color-border);
    border-radius: 0.6rem;
    padding: 1.5rem 2rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;

  }

  .nav.active {
    display: flex;
  }

  /* — Иконка крестика при активном меню — */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px);
  }

  /* locales */
  .custom-select-wrapper {
    width: 2.5rem;
    margin-left: 0;
  }
  /* End locales */

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .sign-up {
    display: none;
  }
}

@media (max-width: 1024px) {
  
}

/* Для экранов до 768px (планшеты) */
@media (max-width: 768px) {
  
}

/* iPhone 15 Pro Max */
@media (max-width: 480px) {

}

/* iPhone 12 Pro */
@media (max-width: 390px) {

}