/* Recruitify Template - Main Styles */

/* ===== Цветовая схема ===== */
:root {
  --primary-color: #008080;
  --secondary-color: #1a1a2e;
  --accent-color: #16213e;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --white: #fff;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* ===== Базовые стили ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

body.loaded {
  overflow: visible;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Прелоадер ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loaderMiniContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.barContainer {
  display: flex;
  gap: 5px;
}

.bar {
  width: 4px;
  height: 30px;
  background: var(--primary-color);
  animation: loading 1s ease-in-out infinite;
}

.bar2 {
  animation-delay: 0.2s;
}

.svgIcon {
  width: 50px;
  height: 50px;
  animation: rotate 2s linear infinite;
}

@keyframes loading {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Кастомный курсор ===== */
.custom-cursor__cursor,
.custom-cursor__cursor-two {
  display: none;
}

@media (min-width: 992px) {
  .custom-cursor .custom-cursor__cursor,
  .custom-cursor .custom-cursor__cursor-two {
    display: block;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
  }

  .custom-cursor__cursor {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .custom-cursor__cursor-two {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
  }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.header.sticky {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-bg {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 10px 30px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 40px;
  width: auto;
}

/* ===== Меню ===== */
.main-menu__list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-menu__list > li {
  position: relative;
}

.main-menu__list > li > a {
  font-weight: 500;
  color: var(--text-color);
  padding: 10px 0;
  display: block;
}

.main-menu__list > li > a:hover,
.main-menu__list > li > a.active {
  color: var(--primary-color);
}

/* Dropdown */
.dropdown > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
}

.dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown > ul > li > a {
  display: block;
  padding: 8px 20px;
  color: var(--text-color);
}

.dropdown > ul > li > a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* ===== Кнопки ===== */
.cus-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cus-btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.cus-btn-icon {
  display: flex;
  align-items: center;
}

.cus-btn-icon svg path {
  fill: currentColor;
}

.button-text {
  margin: 0;
}

/* ===== Мобильное меню ===== */
.mobile-nav__toggler {
  display: none;
}

@media (max-width: 1199px) {
  .main-menu__nav {
    display: none;
  }

  .mobile-nav__toggler {
    display: flex;
    align-items: center;
  }
}

.mobile-nav__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
}

.mobile-nav__wrapper.expanded {
  visibility: visible;
}

.mobile-nav__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: var(--transition);
}

.mobile-nav__wrapper.expanded .mobile-nav__overlay {
  opacity: 1;
}

.mobile-nav__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--white);
  padding: 30px;
  transform: translateX(100%);
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-nav__wrapper.expanded .mobile-nav__content {
  transform: translateX(0);
}

.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

.mobile-nav__container ul {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.mobile-nav__container ul li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.mobile-nav__contact {
  margin-top: 30px;
  list-style: none;
  padding: 0;
}

.mobile-nav__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.mobile-nav__contact i {
  color: var(--primary-color);
}

.mobile-nav__social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.mobile-nav__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding-top: 40px;
  margin-bottom: 0 !important;
}

.footer-wrapper {
  padding: 40px 0;
}

.footer-text {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer-block-1 {
  position: relative;
}

.footer-adresse {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.footer-adresse p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-size: 14px;
}

.foorer-links {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.foorer-links li {
  margin-bottom: 8px;
}

.foorer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.foorer-links a:hover {
  color: var(--primary-color);
}

.news-letter-block {
  background: linear-gradient(135deg, var(--primary-color), #00a0a0);
  border-radius: 32px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.news-letter-block h6 {
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
}

.news-letter-block p {
  color: rgba(255,255,255,0.8);
}

.news-letter-block .form-control {
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  padding: 15px 20px;
  border-radius: 100px;
}

.news-letter-block .form-control::placeholder {
  color: rgba(255,255,255,0.6);
}

.email-spam {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.color-primary {
  color: var(--white) !important;
  opacity: 0.8;
}

.circle-vector-1,
.circle_vector-2,
.circle_vector-3 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.circle-vector-1 {
  top: -100px;
  right: -100px;
}

.circle_vector-2 {
  bottom: -50px;
  left: -50px;
}

.circle_vector-3 {
  top: 50%;
  right: 20%;
  width: 100px;
  height: 100px;
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top__circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.scroll-top__circle path {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
}

.scroll-top::before {
  content: '↑';
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
}

/* ===== Утилиты ===== */
.pt-40 { padding-top: 40px; }
.mb-120 { margin-bottom: 120px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-4p { margin-bottom: 4px; }
.gap-24 { gap: 24px; }
.br-32 { border-radius: 32px; }

.hover-content {
  position: relative;
  display: inline-block;
}

.hover-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: var(--transition);
}

.hover-content:hover::after {
  width: 100%;
}

/* ===== WOW Animations ===== */
.wow {
  visibility: hidden;
}

.wow.animated {
  visibility: visible;
}

/* ===== Logo Box ===== */
.logo-box img {
  max-height: 50px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .header-bg {
    padding: 10px 20px;
  }

  .footer {
    margin-bottom: 0 !important;
  }

  .news-letter-block {
    padding: 30px 20px;
  }

  .news-letter-block h6 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .search-heart-icon {
    display: none !important;
  }

  .email-spam {
    flex-direction: column;
    text-align: center;
  }
}
