/* Файл vshka-styles.css */
:root {
  --space-blue: #253081;
  --white: white;
}

/* Базовые стили для навигации */
.navbar-5 {
  background-color: var(--space-blue);
  border-radius: 50px;
  margin: 5px 40px;
  position: relative;
}

/* Стили для иконки меню */
.menu-button-2 {
  display: none;
  padding: 15px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.icon-3 {
  position: relative;
  width: 24px;
  height: 18px;
  display: flex;
  align-items: center;
}

.icon-3 span,
.icon-3::before,
.icon-3::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.icon-3 span {
  top: 50%;
  transform: translateY(-50%);
}

.icon-3::before {
  content: '';
  top: 0;
}

.icon-3::after {
  content: '';
  bottom: 0;
}

/* Анимация для открытого состояния */
.icon-3.open span {
  opacity: 0;
}

.icon-3.open::before {
  transform: translateY(8px) rotate(45deg);
}

.icon-3.open::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Анимация иконки при открытии */
.menu-button-2[aria-expanded="true"] .icon-3::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-button-2[aria-expanded="true"] .icon-3::after {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-button-2[aria-expanded="true"] .icon-3 span {
  opacity: 0;
}

/* Стили для десктопной версии меню */
.nav-menu-4 {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 10px 0;
  background: transparent;
}

.nav-text {
  color: var(--white);
  text-transform: uppercase;
  padding: 10px 18px;
  font-family: Raleway, sans-serif;
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-text:hover {
  opacity: 0.8;
}

.nav-text.up {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.nav-text.down {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* Базовые контейнеры */
.w-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.w-container:before,
.w-container:after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

.w-container:after {
  clear: both;
}

.w-container .w-row {
  margin-left: -10px;
  margin-right: -10px;
}

.container-8 {
  display: flex;
  position: relative;
  border-radius: 50px;
  min-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  padding-right: 20px;
}

/* Логотип */
.vshka-img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
  margin-top: 11px;
}

.w-nav-brand {
  float: left;
  color: #333;
  text-decoration: none;
  position: relative;
}

.image-12 {
  vertical-align: middle;
  display: inline-block;
  margin-top: -5px;
}

/* Стили для футера */
.footer-light {
  background-color: var(--space-blue);
  color: var(--white);
  padding: 80px 0 40px;
  margin-top: 80px;
  width: 100%;
}

.container.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-wrapper-two {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: block;
  margin-bottom: 20px;
}

.footer-block-two {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-link-two {
  color: var(--white);
  text-decoration: none;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-link-two:hover {
  opacity: 0.8;
}

.footer-form {
  width: 315px;
  max-width: 100%;
}

.footer-form-container {
  width: 100%;
}

.footer-title {
  color: var(--white);
  font-family: Raleway, sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
}

.footer-form-block {
  display: flex;
  gap: 0;
}

.footer-form-field {
  flex: 1;
  height: 48px;
  border: 1px solid white;
  border-radius: 4px 0 0 4px;
  padding: 12px 16px;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  background-color: transparent;
  color: var(--white);
}

.footer-form-field::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer-form-submit {
  width: 50px;
  height: 48px;
  border: 1px solid var(--white);
  border-radius: 0 4px 4px 0;
  background-color: transparent;
  background-image: url("https://cdn.prod.website-files.com/65665b7af70f7bcf268347a1/65f0eec2a88781867e8d3b96_Arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: background-color 0.2s;
}

.footer-form-submit:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.flex-block-3 {
  display: flex;
  gap: 28px;
  margin: 32px 0;
}

.link-block-6,
.link-block-7 {
  color: var(--white);
  text-decoration: none;
}

.paragraph-7 {
  font-family: Raleway, sans-serif;
  font-size: 18px;
  margin: 0;
}

.paragraph-8 {
  font-family: Raleway, sans-serif;
  font-size: 24px;
  margin: 0;
}

.footer-divider-two {
  height: 1px;
  background-color: rgba(255, 255, 255, 1);
  margin: 40px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-family: Raleway, sans-serif;
  font-size: 14px;
}

.footer-social-block-two {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.footer-social-link:hover {
  opacity: 0.8;
}

.footer-social-link img {
  width: 32px;
  height: 32px;
}

/* Специфичные стили для основного контента */
.vshka-container {
  max-width: none;
  margin-left: 40px;
  margin-right: 40px;
  font-family: Raleway, sans-serif;
}

/* Медиа запросы для мобильной версии */
@media screen and (max-width: 991px) {
  .navbar-5 {
    margin: 5px 20px;
  }

  .vshka-img {
    margin-top: 5px !important;
  }
  
  .menu-button-2 {
    display: block;
    margin-left: auto;
  }

  .nav-menu-4 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--space-blue);
    padding: 16px;
    border-radius: 25px;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
    margin-top: 10px;
  }

  .nav-menu-4.w--open {
    display: flex;
  }

  .nav-text {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .nav-text:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-text.up {
    border-radius: 8px;
  }

  .nav-text.down {
    border-radius: 8px;
  }

  .footer-wrapper-two {
    flex-direction: column;
    gap: 30px;
  }

  .footer-form {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .navbar-5 {
    margin: 5px 10px;
  }

  .nav-text {
    padding: 12px 18px;
  }

  .footer-light {
    padding: 60px 0 30px;
  }

  .container.footer {
    padding: 0 20px;
  }

  .flex-block-3 {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .paragraph-7,
  .paragraph-8 {
    font-size: 16px;
  }
}

@media screen and (max-width: 479px) {
  .image-12 {
    height: 30px;
  }

  .footer-form-block {
    flex-direction: column;
    gap: 10px;
  }

  .footer-form-field,
  .footer-form-submit {
    width: 100%;
    border-radius: 4px;
  }

  .footer-social-block-two {
    justify-content: center;
    flex-wrap: wrap;
  }
}



/* Стили для кнопки обратной связи */
.feedback-btn {
    background-color: #253081;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 0.375rem;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
}

.feedback-btn:hover {
    background-color: #1a225a;
    color: white;
    transform: translateY(-1px);
}

.feedback-btn:active {
    transform: translateY(0);
}

/* Модальное окно */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.feedback-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-modal-content {
    background-color: white;
    border-radius: 2px;
    width: 90%;
    max-width: 500px;
    position: relative;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feedback-modal-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feedback-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.feedback-modal-body {
    padding: 1rem;
}

/* Звездный рейтинг */
.star-rating {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: #cbd5e0;
    transition: color 0.2s ease;
}

.star.hover,
.star.selected {
    color: #ffd700;
}

.rating-text {
    font-size: 0.875rem;
    color: #666;
}

/* Форма обратной связи */
.feedback-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 1rem;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #253081;
    box-shadow: 0 0 0 2px rgba(37, 48, 129, 0.1);
}

.feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Адаптивность */
@media (max-width: 576px) {
    .feedback-modal-content {
        width: 95%;
        margin: 0.5rem;
    }

    .star {
        font-size: 1.75rem;
    }

    .feedback-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .feedback-actions button {
        width: 100%;
    }
}

/* Переопределяем цвет для кнопки постера */
.btn.btn-outline-primary.btn-feedback {
    color: #253081;
    border-color: #253081;
}

.btn.btn-outline-primary.btn-feedback:hover,
.btn.btn-outline-primary.btn-feedback:active,
.btn.btn-outline-primary.btn-feedback:focus {
    background-color: #253081;
    border-color: #253081;
    color: white;
}




/* Floating кнопка поделиться на карте */
.chart-share-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    z-index: 10;
}

.chart-share-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.chart-share-btn:active {
    transform: scale(0.95);
}

.chart-share-btn svg {
    width: 20px;
    height: 20px;
}

/* Позиционирование контейнера карты */
.natal-chart-container .card {
    position: relative;
}

/* Адаптивные размеры для мобильных */
@media (max-width: 768px) {
    .chart-share-btn {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
    }
    
    .chart-share-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .chart-share-btn {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
    }
    
    .chart-share-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Стили для кнопки поделиться (удаляем старые стили) */

/* Модальное окно для поделиться */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    animation: fadeIn 0.2s ease;
}

.share-modal.show {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.share-modal-content {
    background: white;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(100%);
    animation: slideUp 0.3s ease forwards;
}

.share-modal.show .share-modal-content {
    transform: translateY(0);
}

.share-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.share-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.close-share {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-share:hover {
    background: #f8f9fa;
}

.share-options {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.share-option:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.share-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.share-option-text {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    color: #666;
}

/* Цвета для разных платформ */
.telegram { background: linear-gradient(135deg, #0088cc, #005999); }
.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.vk { background: linear-gradient(135deg, #4680c2, #5181b8); }
.facebook { background: linear-gradient(135deg, #1877f2, #166fe5); }
.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.copy-link { background: linear-gradient(135deg, #6c757d, #495057); }
.save-image { background: linear-gradient(135deg, #28a745, #218838); }
.android-share { background: linear-gradient(135deg, #ff6b35, #f7931e); }

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Toast уведомления */
.share-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-toast.show {
    opacity: 1;
}

.share-toast.success {
    background: #28a745;
}

.share-toast.error {
    background: #dc3545;
}