/* Privacy Policy Page Styles */

/* Header styles - matching contacts page */
.header {
  background: none;
  position: relative;
  z-index: 100;
  background: #f5f5f5;
}
.info {
  margin-bottom: 15px;
}


/* Search animation 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;
}

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

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

/* Burger search input styles - matching other pages */
.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 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;
}

/* Burger search button */
.burger_search {
  transition: opacity 0.3s ease;
}

/* Burger icons - ensure they are always visible */
.burger_tg_btn,
.burger_change_language,
.burger_theme_btn {
  display: block !important;
  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_search_input {
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

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

/* Dropdown menu for desktop */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  position: relative;
}

.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 */
.about-company-dropdown {
  transition: opacity 0.2s ease, transform 0.2s ease;
}


.about-company-dropdown.show {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  min-width: 500px !important;
  padding: 15px 20px !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.dropdown-menu a {
  color: black;
  padding: 14px 18px;
  text-decoration: none;
  display: block;
  font-size: 18px;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-bottom: none !important;
}

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

.info_right .dropdown-container .about-company-dropdown .dropdown-column a:hover {
  background-color: #f8f8f8 !important;
  color: #802a34 !important;
  padding-left: 20px !important;
}

.dropdown-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.dropdown-column a:last-child {
  border-bottom: none !important;
}

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

.dropdown-container .about-company-dropdown {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
}

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

.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;
}

.info_right .dropdown-container .about-company-dropdown .dropdown-column a {
  padding: 12px 15px !important;
  margin: 0 !important;
  border-bottom: none !important;
  font-size: 19px !important;
  display: block !important;
}

.info_right .dropdown-container .about-company-dropdown .dropdown-column a:last-child {
  border-bottom: none !important;
}

.about-company-dropdown .dropdown-column a:last-child {
  border-bottom: none !important;
}


/* Privacy Hero Section */
.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;
}

.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;
  letter-spacing: 1px;
}

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

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

.breadcrumb .separator {
  margin: 0 15px;
  color: #ffffff;
  opacity: 0.7;
}

.breadcrumb .current {
  color: #ffffff;
  opacity: 0.9;
}

.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);
}

/* Main container */
.main {
  width: 100%;
  overflow-x: hidden;
}

.privacy-policy-main {
  padding: 120px 0 80px;
  background-color: #f8f9fa;
  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 {
  margin-top: 0px;
}
@media (max-width: 1750px) {
    .info_left {
      gap: 30px;
    }
    .info_right {
      margin-right: 0px;
      gap: 30px;
    }
    .header_right_icons {
      gap: 30px;
    }
  }
/* Responsive Design */
@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;
      }
      .footer_documentation{
        width: 80%;
      }
      .footer_contacts{
        width: 40%;
      }
      .footer_directory{
        width: 60%;
      }
      .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_text {
        margin-left: auto;
        margin-right: auto;
        max-width: 992px;
      }
      .header_p1 {
        font-size: 43px;
      }
      .search_btn {
        display: none !important;
      }
      
      .header_search_input {
        display: none !important;
      }
      .hero-title{
        font-size: 56px;
      }
}
@media (max-width: 992px) {
    .container, .header{
        height: auto;
    }
  .search_btn {
    display: none;
  }
  .info {
    margin-top: 0px;
    margin-left: auto;
    margin-right: 0px;
    z-index: 1;
    align-items: baseline;
}

    .new_modifications_grid {
        display: none;
      }
      /* Disable hover on mobile but allow JavaScript control */
      .dropdown-container:hover .dropdown-menu:not(.show) {
        display: none !important;
      }
      
      /* Ensure JavaScript-controlled dropdown works on mobile */
      .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
      }
      
      .info_right .dropdown-container:has(a[href*="about_company"]) {
        display: none !important;
      }
      
      .burger_img {
        width: 33px;
      }
      .hero-title{
        font-size: 29px;
      }
      .burger{
        top: 40px;
        width: 33px;
      }
  }

@media (max-width: 768px) {
  .info {
    margin-top: 0px;
    margin-left: auto;
    margin-right: 0px;
    z-index: 1;
    align-items: baseline;
  }
  
  .header_right_icons {
    display: flex;
    margin: 0;
  }
  
  .tg_btn img {
    position: relative;
    top: 0;
    width: 22px;
    height: 18px;
  }
  
  .theme_btn {
    display: none;
  }
  
  .change_language {
    display: none;
  }
  
  .search_btn {
    display: none;
  }
  
  .header_search_input {
    display: none !important;
  }
  
  .info_left {
    margin-top: 0px;
    gap: 30px;
  }
  
  .info_left button {
    font-size: 25px;
  }
  
  .info_right {
    display: flex;
    padding-left: 50px;
    margin-right: 0;
    margin-top: 10px;
  }
  
  /* Disable hover on mobile but allow JavaScript control */
  .dropdown-container:hover .dropdown-menu:not(.show) {
    display: none !important;
  }
  
  /* Ensure JavaScript-controlled dropdown works on mobile */
  .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .about-company-dropdown {
    display: flex !important;
    gap: 20px;
    min-width: 500px !important;
    padding: 15px 20px !important;
  }

  .dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

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

  .dropdown-column a:last-child {
    border-bottom: none !important;
  }

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

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

  .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;
  }
  
.info_right .dropdown-container .about-company-dropdown .dropdown-column a {
  padding: 12px 15px !important;
  margin: 0 !important;
  border-bottom: none !important;
  font-size: 16px !important;
  display: block !important;
}

.info_right .dropdown-container .about-company-dropdown .dropdown-column a:last-child {
  border-bottom: none !important;
}
  
  .privacy-hero {
    height: 300px;
  }
  .breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .breadcrumb .separator {
    margin: 0 8px;
  }
  
  .privacy-policy-main {
    padding: 100px 0 60px;
  }
  
  .privacy-policy-content {
    padding: 20px;
    margin: 0 10px;
  }
  
  .privacy-policy-content h1 {
    font-size: 2rem;
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-section h3 {
    font-size: 1.2rem;
  }
  
  .privacy-section h4 {
    font-size: 1.1rem;
  }
  .burger_img{
    width: 22px;
  }
  .burger{
    top: 30px;
  }
}

@media (max-width: 480px) {
  .info {
    font-size: 14px;
    font-weight: 400;
    margin-right: 0px;  
    margin-top: 0;
    z-index: 1;
    align-items: center;
    width: 100%;
  }
  
  .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;
    margin: 0 5px;
  }
  
  .privacy-policy-content h1 {
    font-size: 1.8rem;
  }
  
  .privacy-section h2 {
    font-size: 1.3rem;
  }
  
  .privacy-section h3 {
    font-size: 1.1rem;
  }
  
  .privacy-section h4 {
    font-size: 1rem;
  }
  
  .privacy-section p,
  .privacy-section li {
    font-size: 0.9rem;
  }
  .burger{
    top: 30px;
  }
}

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

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

/* 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;
}

/* 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;
  }
}

@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;
  }
}
