/* Privacy Policy Page Styles */

/* Override header styles for privacy policy page */
.header {
  background: none !important;
  position: relative;
  z-index: 100;
  background: #f5f5f5 !important;
  height: 120px;
}

.container {
  height: auto;
}

/* Override only specific styles for privacy policy page */
.info {
  margin-bottom: 15px; /* Override only margin-bottom from main style.css */
}

/* Скрываем бургер меню на десктопах */
.burger {
  display: none !important;
}

/* Показываем бургер меню только на мобильных устройствах */
@media (max-width: 992px) {
  .burger {
    display: flex !important;
  }
}

/* Header search input styles - specific to privacy policy page */
.header_search_input {
  display: none;
  width: 200px;
  opacity: 0;
  padding-left: 10px;
  font-size: 18px;
  transition: width 0.3s ease, opacity 0.3s ease;
  border: 2px solid #c5c5c5;
  border-radius: 2px;
  outline: none;
  background: white;
}

.header_search_input.active {
  display: inline-block;
  opacity: 1;
}
/* Hero section styles */
.privacy-hero {
  position: relative;
  height: 400px;
  background-image: url('../../img/privacy-policy.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1200px;
  padding: 0 20px;
}

.breadcrumb {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #ff6b7a;
}

.breadcrumb .separator {
  margin: 0 15px;
  color: white;
}

.breadcrumb .current {
  color: white;
  font-weight: 600;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.main {
  width: 100%;
  overflow-x: hidden;
}

/* Content styles - matching Russian version */
.privacy-policy-main {
  padding: 40px 0 80px;
  min-height: 100vh;
}

body.dark-theme .privacy-policy-main {
  background-color: #0d1117 !important;
}

.privacy-policy-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
}

.privacy-policy-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 3px solid #007bff;
  padding-bottom: 1rem;
}

.privacy-section {
  margin-bottom: 3rem;
}

.privacy-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid #007bff;
}

.privacy-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #34495e;
  margin: 2rem 0 1rem 0;
}

.privacy-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #34495e;
  margin: 1.5rem 0 0.8rem 0;
}

.privacy-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  text-align: justify;
}

.privacy-section ul,
.privacy-section ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.privacy-section li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.privacy-section a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.privacy-section a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.privacy-section strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Footer styles - override for privacy policy page */
.footer {
  margin-top: 0px !important;
}

/* Search button styles */
.search_btn {
  display: block;
}

.search_btn img {
  width: 20px;
  height: 20px;
}

/* Header search input styles */
.header_search_input {
  display: none;
  opacity: 0;
  transform: translateX(-20px);
  transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.info_right.search-mode .header_search_input {
  display: inline-block;
  width: 200px;
  padding: 5px 15px;
  font-size: 16px;
  border: 2px solid #c5c5c5;
  border-radius: 5px;
  opacity: 1;
  transform: translateX(0);
}

.info_right.search-mode {
  gap: 30px;
}

.info_right.search-mode .header_right_icons {
  display: none;
}

/* Dropdown menu styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: white;
  min-width: 350px;
  box-shadow: 0px 8px 20px 0px rgba(0,0,0,0.15);
  z-index: 100;
  padding: 10px 0;
  margin-top: 5px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.dropdown-menu.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* About company dropdown - 2 columns */
.info_right .dropdown-container .about-company-dropdown {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  min-width: 500px !important;
  padding: 15px 20px !important;
}

.info_right .dropdown-container .about-company-dropdown .dropdown-column {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Override any conflicting styles from main CSS */
.dropdown-container .about-company-dropdown {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  min-width: 500px !important;
  padding: 15px 20px !important;
}

.dropdown-container .about-company-dropdown .dropdown-column {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Force styles with maximum specificity */
body .info_right .dropdown-container .about-company-dropdown {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  min-width: 500px !important;
  padding: 15px 20px !important;
}

body .info_right .dropdown-container .about-company-dropdown .dropdown-column {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.dropdown-column a {
  padding: 12px 15px !important;
  margin: 0 !important;
  border-bottom: none !important;
  font-size: 19px !important;
  transition: all 0.3s ease;
  display: block !important;
}

.dropdown-menu a:hover {
  background-color: #f8f8f8;
  color: #802a34;
  padding-left: 20px;
}

.info_right .dropdown-container .about-company-dropdown .dropdown-column a:hover {
  padding-left: 20px !important;
}

/* Scroll to top button styles */
.scroll-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  background: #34cbd3;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0.7;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top:hover {
  background-color: #34cbd3;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
}

/* Burger menu styles removed - using responsive display instead */

.burger nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: white;
  width: 243px;
  padding-left: 10px;
  gap: 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
  height: auto;
  max-height: 100vh;
  overflow-y: auto;
  padding-bottom: 0;
  margin-bottom: 15px;
}

.burger nav.add {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  height: 100vh;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.burger_close {
  width: auto !important;
  align-self: flex-start;
  margin-top: 10px !important;
  margin-left: -10px !important;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  border-bottom: none !important;
  padding-bottom: 0px !important;
  height: 10px;
}

.burger a,
.burger button,
.burger p {
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 15px;
  margin: 0;
  text-align: left;
  border: none;
  color: black;
  border-bottom: 1px solid #c5c5c5;
}

/* Убираем лишние отступы у последних элементов */
.burger nav > *:last-child {
  padding-bottom: 15px;
  margin-bottom: 0;
  border-bottom: none;
}

.burger_production,
.burger_services,
.burger_manufacture,
.burger_about {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid #c5c5c5;
}
.burger_production{
  padding-top: 10px;
}
.burger_production.open,
.burger_services.open,
.burger_manufacture.open,
.burger_about.open {
  border-bottom: none;
}

.burger_production.open .submenu,
.burger_services.open .submenu,
.burger_manufacture.open .submenu,
.burger_about.open .submenu {
  display: flex;
  align-items: flex-start;
}

.burger_production.open .toggle-btn img,
.burger_services.open .toggle-btn img,
.burger_manufacture.open .toggle-btn img,
.burger_about.open .toggle-btn img {
  transform: rotate(180deg);
}

.header-row {
  display: flex;
  cursor: pointer;
  gap: 10px;
  margin: 0;
}

.header-row p {
  font-weight: 700;
  font-size: 20px;
}

.header-row.open p {
  padding-bottom: 0;
}

.header-row button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.submenu {
  display: none;
  flex-direction: column;
  width: 100%;
}

.submenu a {
  width: calc(100% + 20px);
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 10px;
  margin-left: -10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  border-bottom: 1px solid #c5c5c5 !important;
  line-height: 1.4;
  word-wrap: break-word;
  box-sizing: border-box;
  white-space: normal;
  display: block;
}

.burger_production button,
.burger_services button,
.burger_manufacture button,
.burger_about button {
  width: 20px;
  border-bottom: none;
}

.burger_production p,
.burger_services p,
.burger_manufacture p,
.burger_about p {
  border-bottom: none;
}

.burger_number {
  border-bottom: none !important;
}

.burger_number a {
  padding-left: 5px;
  font-weight: 400;
  font-size: 22px;
  color: #802a34;
}

.burger_icons {
  display: flex;
  gap: 37px;
  width: 200px;
  padding-left: 10px;
  padding-bottom: 0;
  margin-bottom: 15px;
  justify-content: space-between;
  align-items: baseline;
  flex-direction: row;
}

.burger_icons_bottom {
  display: flex;
  justify-content: space-between;
  gap: 37px;
  height: 18px;
  transition: transform 0.3s ease;
  padding-bottom: 0;
  margin-bottom: 0;
  width: 100%;
}

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

.burger_icons.search-active .burger_search {
  display: none;
}

.burger_icons.search-active .burger_search_input {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

/* Burger icons bottom container */
.burger_icons_bottom {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 50px;
  transition: margin-top 0.3s ease;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override search-active styles to keep icons visible */
.burger_icons.search-active .burger_icons_bottom {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 5px !important;
}

.burger_icons.search-active .burger_tg_btn,
.burger_icons.search-active .burger_change_language,
.burger_icons.search-active .burger_theme_btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.burger_icons button,
.burger_icons a {
  border-bottom: none !important;
  padding-bottom: 0px;
}

.burger_search_input {
  display: none;
  width: 200px;
  opacity: 0;
  padding-left: 10px;
  font-size: 18px;
  transition: width 0.3s ease, opacity 0.3s ease;
  border: 2px solid #c5c5c5;
  border-radius: 2px;
  outline: none;
  background: white;
}

.burger_search_input.active {
  display: inline-block;
  opacity: 1;
}

.burger_search img {
  height: 14px;
  width: 14px;
}

.burger_tg_btn img {
  height: 19px;
  width: 16px;
}

.burger_change_language {
  font-size: 14px;
  font-weight: 700;
}

.burger_theme_btn img {
  width: 21px;
  height: 21px;
}

/* Убираем лишнее пространство в конце бургер меню */
.burger nav:last-child {
  margin-bottom: 15px;
  padding-bottom: 0;
}

.burger_icons:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Responsive styles for scroll to top button */
@media (max-width: 1200px) {
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 992px) {
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .scroll-to-top svg {
    width: 18px;
    height: 18px;
  }  
  /* Burger menu display handled by main media query above */
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }
  
  .scroll-to-top svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
  }
  
  .scroll-to-top svg {
    width: 12px;
    height: 12px;
  }
}

/* Responsive styles */
@media (max-width: 1520px) {
  .info_right.search-mode .header_search_input {
    width: 120px;
  }
  .info_left {
    margin-left: 30px;
    gap: 10px;
    width: 390px;
  }
    .info_right {
      margin-right: 0px;
      gap: 15px;
    }
  .header_right_icons {
    gap: 15px;
  }
  .number_btn {
    min-width: 180px;
  }
  .about_company_btn {
    min-width: 120px;
  }
  .dropdown-menu a {
    font-size: 18px;
    padding: 10px 14px;
  }
}

@media (max-width: 1200px) {
  .header_right_icons {
    display: none;
  }
  .info_left {
    margin-left: 50px;
  }
  .search_btn {
    display: none;
  }
  .header_search_input {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .header{
    height: auto;
  }
  .privacy-hero {
    height: 300px;
  }
  .hero-title {
    font-size: 42px;
    letter-spacing: 2px;
  }
  .breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .breadcrumb .separator {
    margin: 0 8px;
  }
}

@media (max-width: 768px) {
  .header {
    height: auto;
  }
  .container{
    height: auto;
  }
  .privacy-hero {
    height: 250px;
  }
  .hero-title {
    font-size: 32px;
    letter-spacing: 1px;
  }
  
  .info_left {
    margin-top: 0px;
    gap: 30px;
  }
  
  .info_left button {
    font-size: 25px;
  }
  
  .info_right {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    margin-right: 0px;
    margin-top: 10px;
    justify-content: flex-end;
  }
  
  .header_right_icons {
    display: flex;
    margin: 0;
  }
  
  .tg_btn img {
    position: relative;
    top: 2px;
    width: 22px;
    height: 18px;
  }
  
  .theme_btn {
    display: none;
  }
  
  .change_language {
    display: none;
  }
  
  .search_btn {
    display: none;
  }
  
  .header_search_input {
    display: none !important;
  }
  
  .privacy-policy-content {
    padding: 20px;
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-section h3 {
    font-size: 1.3rem;
  }
  
  .privacy-section p,
  .privacy-section li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .info_left {
    display: none;
  }
  
  .info_right {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    margin-right: 0px;
    margin-top: 10px;
    justify-content: flex-end;
  }
  
  .header_right_icons {
    display: flex;
    margin: 0;
  }
  
  .tg_btn img {
    position: relative;
    top: 2px;
    width: 22px;
    height: 18px;
  }
  
  .theme_btn {
    display: none;
  }
  
  .change_language {
    display: none;
  }
  
  .search_btn {
    display: none;
  }
  
  .header_search_input {
    display: none !important;
  }
  
  .privacy-hero {
    height: 250px;
  }
  
  .hero-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  .breadcrumb {
    font-size: 13px;
    margin-bottom: 15px;
  }
  
  .breadcrumb .separator {
    margin: 0 8px;
  }
  
  .privacy-policy-content {
    padding: 15px;
  }
  
  .privacy-section h2 {
    font-size: 1.3rem;
  }
  
  .privacy-section h3 {
    font-size: 1.1rem;
  }
  
  .privacy-section p,
  .privacy-section li {
    font-size: 0.85rem;
  }
}

/* Dark theme support */
body.dark-theme .hero-overlay {
  background: rgba(0, 0, 0, 0.75);
}

body.dark-theme .breadcrumb a:hover {
  color: #ff8694;
}

/* Dark theme for burger menu */
body.dark-theme .burger nav {
  background-color: #161b22;
}

body.dark-theme .burger a,
body.dark-theme .burger button,
body.dark-theme .burger p {
  color: #c9d1d9;
  border-bottom-color: #30363d;
}

body.dark-theme .burger button:hover {
  color: #ff6b7a;
}

body.dark-theme .submenu a {
  color: #8b949e;
  border-bottom-color: #30363d !important;
}

body.dark-theme .submenu a:hover {
  color: #ff6b7a;
}

body.dark-theme .burger_production,
body.dark-theme .burger_services,
body.dark-theme .burger_manufacture,
body.dark-theme .burger_about {
  border-bottom-color: #30363d;
}

body.dark-theme .burger_number a {
  color: #ff6b7a;
}

body.dark-theme .burger_search_input {
  background-color: #0d1117;
  border-color: #30363d;
  color: #c9d1d9;
}

body.dark-theme .overlay {
  background: rgba(0, 0, 0, 0.7);
}

