:root {
  --color-main: #FFF9E4;
  --color-white: #FFFFFF;
  --color-text: #282522;
  --color-placeholder: #8E8B8B;
  --color-gradient: linear-gradient(180deg, #FFD332 0%, #FFDE66 100%);
  --border-radius: 32px;
  --box-shadow: 0px 2.767px 2.214px 0px rgba(157, 118, 15, 0.02), 0px 6.65px 5.32px 0px rgba(157, 118, 15, 0.03), 0px 12.522px 10.017px 0px rgba(157, 118, 15, 0.04), 0px 22.336px 17.869px 0px rgba(157, 118, 15, 0.04), 0px 41.778px 33.422px 0px rgba(157, 118, 15, 0.05), 0px 100px 80px 0px rgba(157, 118, 15, 0.07);
  --text-shadow: 2px 2px #282522;
  --gap: 30px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--color-main);
  font-family: "Inter", sans-serif;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner {
  background: url("/front/image/banner.jpg");
  height: 256px;
  border: 2px solid;
  border-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
}

.main {
  width: 100%;
  flex: 1;
}

.footer {
  width: 100%;
}

.page {
  width: 100%;
  margin-top: 1rem;
}
.page h1 {
  text-transform: uppercase;
}

.container {
  width: 1280px;
}

.card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--box-shadow);
}

.header__menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header__lang {
  width: 24px;
  height: auto;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger-menu:focus {
  outline: none;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background-color: var(--color-white);
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.mobile-menu__logo img {
  height: 40px;
  width: auto;
}
.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text);
}
.mobile-menu__close:hover {
  color: var(--color-primary);
}
.mobile-menu__content {
  padding: 1rem;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.mobile-menu__link {
  display: block;
  padding: 1rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}
.mobile-menu__link:hover {
  background-color: var(--color-primary);
  color: white;
}
.mobile-menu__phone {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}
.mobile-menu__phone-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.mobile-menu__phone-link:hover {
  color: var(--color-primary);
}
.mobile-menu__language {
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}
.mobile-menu__lang-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.mobile-menu__lang-link:hover {
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .header__menu {
    display: none;
  }
}
@media (max-width: 640px) {
  .mobile-menu {
    width: 100%;
    right: -100%;
  }
}
.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  gap: 1.25rem;
  text-shadow: var(--text-shadow);
}
.banner h1 {
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.2;
}
.banner h2 {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .banner {
    padding: 2rem 1rem;
    gap: 1rem;
  }
  .banner h1 {
    font-size: 2rem;
  }
  .banner h2 {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  .banner {
    padding: 1.5rem 0.75rem;
    gap: 0.75rem;
  }
  .banner h1 {
    font-size: 1.75rem;
  }
  .banner h2 {
    font-size: 1.125rem;
  }
}
.home {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.vip_hot {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 2fr 2fr;
}

.top {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
}
.top__object {
  width: 100%;
  height: 260px;
  border-radius: 16px;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
}
.top__object-property {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: space-between;
}
.top__object-text {
  flex: 1;
  height: 32px;
  background: var(--color-white);
  border-radius: 8px;
  display: flex;
  gap: 0.5rem;
  padding: 0 0.5rem;
  align-items: center;
}
.top__object-price {
  font-size: 20px;
  font-weight: 600;
}
.top__object-address {
  font-size: 14px;
}
.top__object-button {
  flex: 0 1 2rem;
  background: var(--color-white);
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.about-us {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 2fr 1fr;
}
.about-us > div:nth-child(1) {
  grid-area: 1/1/3/4;
}
.about-us > div:nth-child(2) {
  grid-area: 1/4/2/5;
}
.about-us > div:nth-child(3) {
  grid-area: 2/4/3/5;
}

.vip__image {
  height: 264px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .home {
    gap: 1rem;
  }

  .vip_hot {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-us {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
  }
  .about-us > div:nth-child(1) {
    grid-area: 1/1/2/2;
  }
  .about-us > div:nth-child(2) {
    grid-area: 2/1/3/2;
  }
  .about-us > div:nth-child(3) {
    grid-area: 3/1/4/2;
  }

  .top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .top__object {
    height: 200px;
  }
}
@media (max-width: 480px) {
  .home {
    gap: 0.75rem;
  }

  .vip_hot {
    gap: 0.75rem;
  }

  .about-us {
    gap: 0.75rem;
  }

  .top {
    gap: 0.75rem;
  }
  .top__object {
    height: 180px;
  }
}
.footer {
  margin-top: var(--gap);
}
.footer__block {
  display: flex;
  gap: var(--gap);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.footer__social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer__phone {
  text-align: center;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  min-width: 200px;
}
.footer__phone span {
  font-size: 1.5rem;
  font-weight: 600;
}
.footer__phone i {
  flex-shrink: 0;
}
.footer__facebook, .footer__instagram, .footer__telegram {
  text-align: center;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.footer__text {
  padding: var(--gap);
  text-align: center;
}

@media (max-width: 768px) {
  .footer__block {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .footer__phones {
    width: 100%;
    align-items: center;
  }
  .footer__phone {
    height: 70px;
    min-width: 250px;
  }
  .footer__phone span {
    font-size: 1.2rem;
  }
  .footer__social {
    justify-content: center;
  }
  .footer__facebook, .footer__instagram, .footer__telegram {
    height: 50px;
    width: 50px;
  }
  .footer__text {
    padding: 1rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .footer__phone {
    height: 60px;
    min-width: 200px;
    padding: 0.75rem;
  }
  .footer__phone span {
    font-size: 1rem;
  }
  .footer__facebook, .footer__instagram, .footer__telegram {
    height: 45px;
    width: 45px;
    padding: 0.75rem;
  }
  .footer__text {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}
.card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.card__title {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
}
.card__button {
  border-radius: 1rem;
  background: var(--color-gradient);
  width: 78px;
  height: 78px;
  display: flex;
  align-self: center;
  justify-content: center;
  position: relative;
  font-size: 0;
}
.card__button::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 100%;
  background-image: url(/front/image/icon-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 32px;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

p {
  padding: 0.5rem 0;
}

.fit-cover {
  object-fit: cover;
}

.contact-hero {
  background: linear-gradient(135deg, #FFD332 0%, #FFDE66 100%);
  color: #282522;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.contact-info-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-form {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: #FFD332;
  box-shadow: 0 0 0 3px rgba(255, 211, 50, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  background: linear-gradient(135deg, #FFD332 0%, #FFDE66 100%);
  color: #282522;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6b7280;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 1rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
  color: #FFD332;
}

.map-container {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.alert.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }

  .contact-info-card,
.contact-form {
    padding: 1.5rem;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .map-container {
    height: 300px;
  }
}
@media (max-width: 480px) {
  .contact-hero {
    padding: 1.5rem 0;
  }

  .contact-info-card,
.contact-form {
    padding: 1rem;
  }

  .btn-primary,
.btn-secondary {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}
.property-info {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.property-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.characteristics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.characteristics-grid .characteristic-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #FFD332;
  transition: all 0.2s ease;
}
.characteristics-grid .characteristic-item:hover {
  background: #f1f3f4;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.characteristics-grid .characteristic-item .characteristic-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}
.characteristics-grid .characteristic-item .characteristic-value {
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.detail-item span:first-child {
  font-weight: 600;
  color: #6b7280;
  font-size: 0.875rem;
}
.detail-item span:last-child {
  color: #1f2937;
  font-weight: 500;
}

.price-section {
  text-align: right;
}
.price-section .text-4xl {
  color: var(--color-gradient);
  background: var(--color-gradient);
  background-clip: text;
}

.property-gallery .gallery-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.property-gallery .main-image-container {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  background: #f3f4f6;
  border-radius: 12px;
}
.property-gallery .main-image-container .main-image {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
  margin: 0 auto;
}
.property-gallery .main-image-container .main-image:hover {
  transform: scale(1.02);
}
.property-gallery .main-image-container .image-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #6b7280;
  font-size: 16px;
  z-index: 5;
}
.property-gallery .main-image-container .gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
}
.property-gallery .main-image-container .gallery-nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}
.property-gallery .main-image-container .gallery-nav-btn.gallery-nav-prev {
  left: 15px;
}
.property-gallery .main-image-container .gallery-nav-btn.gallery-nav-next {
  right: 15px;
}
.property-gallery .main-image-container .image-counter {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10;
}
.property-gallery .thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
  width: 100%;
}
.property-gallery .thumbnail-grid .thumbnail {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.property-gallery .thumbnail-grid .thumbnail:hover {
  border-color: #FFD332;
  transform: scale(1.05);
}
.property-gallery .thumbnail-grid .thumbnail.active {
  border-color: #FFD332;
  box-shadow: 0 0 0 2px rgba(255, 211, 50, 0.3);
}

.map-container .map-header h2 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.map-container .map-header .text-sm {
  color: #6b7280;
}
.map-container #map {
  height: 100%;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.related-objects {
  margin-top: 2rem;
}
.related-objects h2 {
  color: #1f2937;
  margin-bottom: 1.5rem;
}
.related-objects .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.related-objects .related-grid .related-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.related-objects .related-grid .related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}
.related-objects .related-grid .related-card .related-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.related-objects .related-grid .related-card .related-content {
  padding: 1.5rem;
}
.related-objects .related-grid .related-card .related-content .flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.related-objects .related-grid .related-card .related-content .flex span {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.related-objects .related-grid .related-card .related-content .flex span.bg-yellow-100 {
  background: #fef3c7;
  color: #92400e;
}
.related-objects .related-grid .related-card .related-content .flex span.bg-green-100 {
  background: #dcfce7;
  color: #166534;
}
.related-objects .related-grid .related-card .related-content h3 {
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.related-objects .related-grid .related-card .related-content p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.related-objects .related-grid .related-card .related-content .flex:last-child {
  justify-content: space-between;
  align-items: center;
}
.related-objects .related-grid .related-card .related-content .flex:last-child span {
  color: var(--color-gradient);
  background: var(--color-gradient);
  background-clip: text;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0;
}
.related-objects .related-grid .related-card .related-content .flex:last-child a {
  padding: 0.5rem 1rem;
  background: var(--color-gradient);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.related-objects .related-grid .related-card .related-content .flex:last-child a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}
.modal .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.modal .close:hover {
  color: #ccc;
}

@media (max-width: 1024px) {
  .property-gallery .main-image-container .main-image {
    height: 350px;
  }

  .map-container #map {
    min-height: 350px;
  }
}
@media (max-width: 768px) {
  .property-info {
    padding: 1rem;
  }

  .property-details {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .characteristics-grid {
    grid-template-columns: 1fr;
  }
  .characteristics-grid .characteristic-item {
    padding: 0.75rem;
  }
  .characteristics-grid .characteristic-item .characteristic-label {
    font-size: 0.9rem;
  }
  .characteristics-grid .characteristic-item .characteristic-value {
    font-size: 0.95rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .property-gallery .main-image-container .main-image {
    height: 300px;
  }
  .property-gallery .main-image-container .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .property-gallery .main-image-container .gallery-nav-btn.gallery-nav-prev {
    left: 10px;
  }
  .property-gallery .main-image-container .gallery-nav-btn.gallery-nav-next {
    right: 10px;
  }
  .property-gallery .main-image-container .image-counter {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 12px;
  }
  .property-gallery .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
  .property-gallery .thumbnail-grid .thumbnail {
    height: 50px;
  }

  .map-container #map {
    min-height: 300px;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}
.modal .modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}
.modal .close:hover {
  color: #bbb;
}
.modal .modal-content {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}
.modal .modal-content:hover {
  transform: scale(1.02);
}
.modal .modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 1001;
  backdrop-filter: blur(10px);
}
.modal .modal-nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}
.modal .modal-nav-btn.modal-nav-prev {
  left: 30px;
}
.modal .modal-nav-btn.modal-nav-next {
  right: 30px;
}
.modal .modal-image-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  z-index: 1001;
  backdrop-filter: blur(10px);
}

/*# sourceMappingURL=styles.css.map */
