* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: white;
  overflow-x: hidden;
}

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

h1 {
  font-family: Arial, sans-serif;
  font-size: 40px;
  font-weight: bold;
  color: white;
  transition: opacity 0.3s ease;
  margin-left: 15px;
}

h2 {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #ffbf00;
  margin-bottom: 10px;
}

h3 {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffbf00;
  margin-bottom: 10px;
}

h4 {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #ffbf00;
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

li p {
  margin-top: 5px;
  margin-left: 10px;
  color: #333;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

textarea {
  resize: vertical;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type="file"] {
  max-width: 100%;
}

.parent {
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

header {
  height: 110px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding-right: 25px !important;
  transition:
    padding 0.2s ease,
    background 0.3s ease;
}

header a,
.OLEElogo,
.OLEElogo:focus,
.OLEElogo:active {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  user-select: none !important;
}

.normal {
  width: 100%;
  position: fixed;
  background-image: linear-gradient(to right, orange, #ffbf00);
  padding: 15px 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.small {
  width: 100%;
  position: fixed;
  background-image: none;
  padding: 15px 10px;
}

.main {
  color: black;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  background-color: rgb(230, 230, 230);
  min-height: calc(100vh - 155px);
  margin: 135px 10px 20px 10px;
  padding: 10px;
  border-radius: 25px;
  position: relative;
  z-index: 2;
}

footer {
  background-color: rgb(40, 40, 40);
  color: whitesmoke;
  width: 100%;
  padding: 10px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.OLEElogo {
  z-index: 9999;
  transition:
    max-width 0.2s ease,
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    filter 0.3s ease,
    box-shadow 0.2s ease;
}

.OLEElogo.normalLogo {
  width: auto;
  max-width: 80px;
  height: auto;
}

.OLEElogo.smallLogo {
  width: auto;
  max-width: 50px;
}

.OLEElogo.normalLogo:hover {
  max-width: 90px !important;
}

.OLEElogo.smallLogo:hover {
  max-width: 56.25px;
}

.OLEElogo.normalLogo:active {
  max-width: 80px !important;
}

.OLEElogo.smallLogo:active {
  transform: scale(0.95) rotate(0deg);
  max-width: 50px;
}

.flying-logo {
  position: absolute;
  width: 80px;
  opacity: 0.55;
  will-change: transform;
}

.block {
  width: 100%;
  margin-bottom: 20px;
  padding: 15px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow-wrap: break-word;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.2s ease;
}

.block.show {
  opacity: 1;
  transform: translateY(0);
}

.block img {
  width: 100%;
  max-width: 300px;
  margin: 5px;
  border-radius: 10px;
}

.block ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.block ul li {
  margin: 0;
  position: relative;
  cursor: pointer;
  padding: 14px 16px 14px 38px;
  background-color: transparent;
  border-bottom: 1px solid #f0f0f0;
  font-weight: bold;
  color: #222;
  user-select: none;
  transition: background-color 0.2s ease;
}

.block ul li:last-child {
  border-bottom: none;
}

.block ul li.active {
  background-color: #ffffff;
}

.block ul li::after {
  content: "❯";
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 13px;
  color: #ffbf00;
  transition: transform 0.3s ease;
}

.block ul li.active::after {
  transform: rotate(90deg);
}

.block ul li p {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e0e0e0;
  font-weight: normal;
  color: #444;
  line-height: 1.5;
}

.block ul li.active p {
  display: block;
}

.link {
  color: #ffbf00;
}

.link:visited {
  color: #ff8000;
}

.link:hover {
  color: #ff9900;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #ccc;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.maps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 15px;
}

.location-card {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.location-card h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
}
.location-address {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
  font-weight: 500;
}
.age-badge {
  align-self: flex-start;
  background-color: #ffbf00;
  color: #000;
  font-weight: bold;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.map-wrapper iframe {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid #ccc !important;
}

iframe {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid #ccc !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

iframe:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .maps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки вместо одной */
    gap: 10px;
  }

  .map-wrapper iframe {
    height: 140px; /* Компактная карта */
  }

  .location-card h3 {
    font-size: 14px;
  }
}
.news {
  font-size: 30px !important;
  color: #ff8000;
}

#news {
  height: auto;
  padding-bottom: 5px;
  border-radius: 10px;
}

.news-item {
  border-left: 2px solid #ccc;
  border-right: 2px solid #ccc;
  padding: 7px;
  font-family: Arial, sans-serif;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.news-item:first-child {
  border: 2px solid #ccc !important;
  border-bottom: none !important;
  border-radius: 10px 10px 0px 0px !important;
}

.news-item:last-child {
  border: 2px solid #ccc;
  border-top: none;
  border-radius: 0px 0px 10px 10px;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.news-title {
  font-weight: bold;
  color: #ffbf00;
  font-size: 30px;
  margin-top: 10px;
}

.news-olee-item {
  border: 2px solid #ccc !important;
  border-radius: 10px;
  padding: 7px;
  transition: all 0.2s ease;
}

.news-olee-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.oleeNewsBtn {
  background-color: #ffbf00;
  border: 2px grey solid;
  border-radius: 8px;
  padding: 5px 10px;
  transition: all 0.2s ease;
}

.oleeNewsBtn:hover {
  transform: translateY(-1px);
}

.oleeNewsBtn:active {
  transform: translateY(0px);
}

.oleeNewsLink {
  color: black;
  text-decoration: none;
}

.olee-slider-wrapper {
  position: relative;
}

.olee-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 5px 15px 5px;
  -webkit-overflow-scrolling: touch;
}

.olee-slider::-webkit-scrollbar {
  height: 8px;
}

.olee-slider::-webkit-scrollbar-thumb {
  background-color: #ffbf00;
  border-radius: 10px;
}

.olee-slide {
  flex: 0 0 270px;
  scroll-snap-align: start;
  background-color: #ffffff;
  border: 2px solid #ffbf00;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.olee-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.olee-slide h3 {
  font-size: 20px;
  font-weight: bold;
  color: #111111;
  margin-bottom: 8px;
}

.olee-slide p {
  font-size: 15px;
  color: #222222;
  line-height: 1.5;
}

.slide-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #ffbf00;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.slider-btn:hover {
  background-color: #ff9900;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

#whyOLEE:hover .slider-btn {
  display: flex;
}

.prev-btn {
  left: 5px;
}

.next-btn {
  right: 5px;
}

#comments-section {
  max-width: 600px;
  margin: 40px auto;
  font-family: Arial;
}

#comments-section input,
#comments-section textarea {
  width: 100%;
  margin: 5px 0;
  padding: 10px;
  border: #ccc solid 1px;
}

#comments-section button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: #ccc solid 1px;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#comments-section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.send {
  display: flex;
}

.comment {
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 10px;
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.comment:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#load-more-btn {
  display: none;
  margin: 20px auto;
  background-color: #ffbf00;
  color: white;
  border-radius: 10px;
  font-weight: bold;
}

#warning {
  color: red;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: #ffffff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-weight: bold;
  color: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.social-card:active {
  transform: translateY(0);
}

.social-icon {
  font-size: 20px;
}

.video-container .instagram-media {
  margin: 10px auto !important;
  position: relative !important;
  min-width: 200px !important;
}

.video-container iframe:not(.instagram-media) {
  width: 560px;
  height: 315px;
  max-width: 100%;
  border-radius: 10px;
}

.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  margin-left: 8px;
  border-radius: 6px;
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.copy:hover {
  background-color: #ffbf00;
  border-color: #ffbf00;
  transform: scale(1.1);
}

.copy:active {
  transform: scale(0.95);
}

.imgBtn {
  width: 25px !important;
  margin: 0px 10px 0px 0px !important;
}

::-webkit-scrollbar {
  width: 10px;
}

body:not(.scrolled)::-webkit-scrollbar-track {
  background: linear-gradient(
    to bottom,
    #ffbf00 0px,
    #ffbf00 var(--header-h, 110px),
    transparent var(--header-h, 110px)
  );
}

body:not(.scrolled)::-webkit-scrollbar-thumb {
  background: transparent;
}

body.scrolled::-webkit-scrollbar-track {
  background: transparent;
}

body.scrolled::-webkit-scrollbar-thumb {
  background-color: #ffbf00;
  border-radius: 10px;
}

body.scrolled::-webkit-scrollbar-thumb:hover {
  background-color: #ff9900;
}

.block ul li,
.copy,
.OLEElogo,
.gallery img,
.lightbox {
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 1030px) {
  .flying-logo {
    width: 30px;
  }
}

@media (max-width: 600px) {
  .slider-btn {
    display: none !important;
  }
}

@media (max-width: 450px) {
  .olee-slide {
    padding: 18px 10px;
    max-width: 250px;
  }
  .olee-slider::-webkit-scrollbar {
    height: 6px;
  }
}

@media (hover: hover) {
  .OLEElogo.smallLogo:hover {
    transform: scale(1.12) rotate(6deg);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
      drop-shadow(0 0 18px rgba(255, 191, 0, 0.8));
  }

  .block.show:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .block ul li:hover {
    background-color: #f2f2f2;
  }

  .social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #ffbf00;
    color: #000;
  }
}
