:root {
  --zen-primary: #8B7355;
  --zen-secondary: #A0937D;
  --zen-accent: #C4A484;
  --zen-light: #F5F3F0;
  --zen-white: #FEFDFB;
  --zen-text: #4A4A4A;
  --zen-text-light: #757575;
  --zen-border: #E8E3DE;
  --zen-shadow: rgba(139, 115, 85, 0.1);
  --zen-gradient: linear-gradient(135deg, #F5F3F0 0%, #FEFDFB 100%);
  --zen-bg-light: #efebe9;
  --bs-body-font-family: 'Inter', sans-serif !important;
}
.bg-zen-light{
    background-color: var(--zen-bg-light) !important;
}
.btn {
    font-weight: 600 !important;
}
.btn-primary {
    color: white !important;
}
.btn-outline-primary:hover {
    color: white !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--bs-body-font-family);
  line-height: 1.6;
  color: var(--zen-text);
  background: var(--zen-gradient);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
.container.main-content {
    padding: 0;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.logo {
    color: var(--zen-primary);
}
.logo-link {
    color: inherit;
    transition: all 0.3s ease;
}

.logo-link:hover {
    text-decoration: none;
    opacity: 0.9;
}
.logo-link:hover .mystic-logo {
    box-shadow: 0 0 12px var(--zen-shadow);
}
.logo-title {
    font-size: 1.5rem;
    color: var(--zen-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--zen-text-light);
}
.mystic-logo {
    transition: all 0.3s ease;
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    position: relative;
    border: 4px solid var(--zen-primary);
    box-shadow: 0 0 8px var(--zen-shadow);
}

.mystic-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background-color: var(--zen-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4px var(--zen-shadow);
}

.nav a {
  color: #6B7280;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--zen-primary);
}

#mobileMenu .dropdown-toggle::after {
    display: none !important;
}
#mobileMenu .dropdown-menu {
    max-width: 280px;
    white-space: normal !important; 
    word-break: break-word;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#mobileMenu .dropdown-menu .dropdown-item {
    white-space: normal !important;
    line-height: 1.3;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    #mobileMenu .dropdown-menu {
        max-width: calc(100vw - 3rem);
        min-width: 200px;
        left: 1rem !important;
        right: 1rem !important;
    }
    
    #mobileMenu .dropdown-menu .dropdown-item {
        font-size: 0.85rem;
    }
}
/* Стили для навигационных ссылок */
#desktopMenu .nav-link {
    transition: all 0.2s ease;
}

#desktopMenu .nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--bs-primary);
}
#mobileMenu .nav-link.active {
    background-color: rgba(139, 69, 19, 0.1); 
    border-bottom: 0; 
}
.nav-link:hover {
    color: var(--bs-primary);
}

.dropdown-toggle.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

.footer {
  background: rgba(31, 41, 55, 0.95);
  color: #D1D5DB;
  backdrop-filter: blur(8px);
}
.footer a {
  color: #D1D5DB;  
  text-decoration: none;
}
.footer a:hover {
    color: var(--zen-accent);
}
.footer h5{
    font-size: 1.125rem;
    color: var(--zen-accent);
}
.footer svg {
    color: var(--zen-accent);
    width: 16px;
    height: 16px;
}
.footer .social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(245, 158, 11, 0.2);
}

.footer .social-link:hover {
  background: #696969;
  transform: translateY(-2px);
}

.admin-fab {
    position: fixed;
    left: 20px;
    bottom: 50%;
    transform: translateY(50%);
    width: 50px;
    height: 50px;
    background-color: rgba(13, 110, 253, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}
.admin-fab:hover {
    background-color: rgba(13, 110, 253, 1);
    transform: translateY(50%) scale(1.1);
}