@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
@import url("sculpture.css");
@import url("podii.css");
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

html,
body {
  height: 100%;
  width: 100%;
  line-height: 1;
  font-size: 14px;
}

button {
  cursor: pointer;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.9529411765), rgba(66, 71, 66, 0.7529411765), rgba(9, 3, 28, 0.7960784314));
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

footer a {
  position: relative;
  color: #a0ffc8;
  font-weight: 600;
  font-size: 1.3rem;
  transition: color 0.4s ease;
}

footer a::before {
  content: "";
  position: absolute;
  border-radius: 12px;
  opacity: 0;
}

footer a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -6px;
  left: 0;
  background: #39ff14;
  box-shadow: 0 0 12px #39ff14;
  transition: width 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

footer a:hover {
  color: #ffffff;
}

footer a:hover::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

footer a:hover::after {
  width: 100%;
}

.main_wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

.top_text {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #1a5d1a, #2e8b2e);
  border-radius: 16px;
  color: white;
  box-shadow: 0 8px 25px rgba(26, 93, 26, 0.3);
}

.top_text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.top_text h2 {
  font-size: 1.4rem;
  opacity: 0.95;
}

.top_text h3 {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.top_text input {
  width: 100%;
  max-width: 500px;
  padding: 1rem 1.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.section {
  margin-top: 2rem;
}

.section nav {
  display: grid;
  gap: 1.5rem;
}

.nav-item {
  grid-column: span 2;
}

.section__top,
.section_center,
.section_bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .nav-item {
    grid-column: 1/-1;
  }
}
.nav-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.nav-item:hover {
  transform: translateY(-8px);
}

.image-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.image-link img {
  width: 100%;
  height: 420px;
  -o-object-fit: fill;
     object-fit: fill;
  transition: transform 0.4s ease;
}

.image-link:hover img {
  transform: scale(1.1);
}

.image-text {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 93, 26, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.image-link:hover .image-text {
  background: #1a5d1a;
  transform: translateX(-50%) translateY(-4px);
}

.map-wrapper {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-wrapper.collapsed {
  height: 60px !important;
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
  z-index: 1002;
  padding: 0 70px;
}

.burger-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1003;
}

.burger-btn span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.4s;
}

.map-wrapper.collapsed .burger-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.map-wrapper.collapsed .burger-btn span:nth-child(2) {
  opacity: 0;
}

.map-wrapper.collapsed .burger-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#map {
  height: 100vh;
  width: 100%;
  margin-top: -10px;
}

.center-locate {
  position: absolute !important;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  background: #ff6b00;
  color: white;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.map-wrapper.collapsed .center-locate {
  display: none;
}

.popup-img {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .top_text h1 {
    font-size: 2.2rem;
  }
  .top_text h2 {
    font-size: 1.2rem;
  }
  .image-link img {
    height: 180px;
  }
  .image-text {
    font-size: 1rem;
    padding: 8px 16px;
  }
}
.leaflet-popup-content {
  color: #000 !important;
}

.leaflet-popup-content h4 {
  color: #000 !important;
  font-weight: 700 !important;
}