/* NAV STYL */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(13, 21, 32, 0.95) 0%,
    rgba(26, 26, 46, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 20px;
}

nav a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  padding: 10px 20px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-30px);
  white-space: nowrap;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav a:hover {
  color: #667eea;
  transform: translateY(-5px);
}

nav a:hover::after {
  width: 100%;
}

/* 1100px */
@media (max-width: 1100px) {
  nav {
    gap: 35px;
  }
  nav a {
    font-size: 15px;
    padding: 9px 18px;
  }
}

/* 1000px */
@media (max-width: 1000px) {
  nav {
    gap: 28px;
    padding: 0 15px;
  }
  nav a {
    font-size: 14px;
    padding: 8px 15px;
    letter-spacing: 0.8px;
  }
}

/* 900px */
@media (max-width: 900px) {
  nav {
    gap: 22px;
  }
  nav a {
    font-size: 13px;
    padding: 7px 12px;
    letter-spacing: 0.6px;
  }
}

/* 820px - TWÓJ TABLET */
@media (max-width: 820px) {
  nav {
    gap: 18px;
    padding: 0 12px;
  }
  nav a {
    font-size: 12px;
    padding: 6px 10px;
    letter-spacing: 0.5px;
  }
}

/* 768px */
@media (max-width: 768px) {
  nav {
    height: 60px !important;
    gap: 15px;
    padding: 0 10px;
  }
  nav a {
    font-size: 11px;
    padding: 6px 9px;
    letter-spacing: 0.4px;
  }

  .hero-parallax {
    margin-top: 60px !important;
    height: calc(100vh - 60px) !important;
  }

  .houses-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .map-wrapper {
    height: 400px;
  }

  .scroll-down {
    display: none;
  }

  .stage {
    height: 450px;
  }

  .container {
    width: 75vw;
    height: 80vw;
    perspective: 1000px;
  }
}

/* 700px */
@media (max-width: 700px) {
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 10px;
    padding: 5px 8px;
    letter-spacing: 0.3px;
  }
}

/* 600px */
@media (max-width: 600px) {
  nav {
    gap: 10px;
    padding: 0 8px;
  }
  nav a {
    font-size: 12px;
    padding: 5px 7px;
    letter-spacing: 0.2px;
  }
}

/* 500px */
@media (max-width: 500px) {
  nav {
    gap: 8px;
    padding: 0 5px;
  }
  nav a {
    font-size: 11px;
    padding: 4px 6px;
    letter-spacing: 0.2px;
  }
}

/* 480px */
@media (max-width: 480px) {
  nav {
    gap: 6px;
  }
  nav a {
    font-size: 10px;
    padding: 4px 5px;
    letter-spacing: 0.1px;
  }

  .stage {
    height: 350px;
  }

  .container {
    width: 60vw;
    height: 70vw;
    perspective: 800px;
  }

  .gallery-section-3d {
    padding: 60px 20px;
  }
}

/* 400px */
@media (max-width: 400px) {
  nav {
    gap: 5px;
    padding: 0 3px;
  }
  nav a {
    font-size: 8px;
    padding: 3px 4px;
    letter-spacing: 0.1px;
  }
}

@media (max-width: 768px) {
  /* nav {
    gap: 15px;
    height: 60px !important;
  }

  nav a {
    font-size: 13px;
    padding: 6px 12px;
  } */

  .hero-parallax {
    margin-top: 60px !important;
    height: calc(100vh - 60px) !important;
  }

  .houses-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .map-wrapper {
    height: 400px;
  }

  .scroll-down {
    display: none;
  }

  .stage {
    height: 450px;
  }

  .container {
    width: 75vw;
    height: 80vw;
    perspective: 1000px;
  }
}

@media (max-width: 480px) {
  .stage {
    height: 350px;
  }

  .container {
    width: 60vw;
    height: 70vw;
    perspective: 800px;
  }

  .gallery-section-3d {
    padding: 60px 20px;
  }
}

/* FOOTER */
footer {
  background: linear-gradient(
    135deg,
    rgba(13, 21, 32, 0.98) 0%,
    rgba(20, 30, 50, 0.98) 100%
  );
  border-top: 1px solid rgba(102, 126, 234, 0.3);
  color: white;
  padding: 80px 20px 40px;
  margin-top: 0;
}

.footer-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-section h3 {
  font-size: 28px;
  margin-bottom: 15px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #667eea;
}

.footer-section p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-location {
  font-size: 14px;
  opacity: 0.75;
  margin-top: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

.footer-section ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
  color: #667eea;
}

.footer-section ul li a:hover::after {
  width: 100%;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #667eea;
}

.social-group {
  margin-bottom: 30px;
}

.social-group:last-child {
  margin-bottom: 0;
}

.social-group-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #667eea;
  opacity: 1;
  padding-left: 0;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.15);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  color: #667eea;
  transition: all 0.3s ease;
  font-size: 20px;
  position: relative;
}

.social-link:hover {
  background: rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
  color: #764ba2;
}

.social-link.facebook:hover {
  background: rgba(59, 89, 152, 0.3);
  border-color: #3b5998;
  color: #3b5998;
}

.social-link.instagram:hover {
  background: rgba(229, 45, 108, 0.3);
  border-color: #e52d6c;
  color: #e52d6c;
}

.social-link.olx:hover {
  background: rgba(255, 120, 0, 0.3);
  border-color: #ff7800;
  color: #ff7800;
}

.social-link.airbnb:hover {
  background: rgba(255, 56, 92, 0.3);
  border-color: #ff385c;
  color: #ff385c;
}

.social-link.booking:hover {
  background: rgba(3, 52, 160, 0.3);
  border-color: #003491;
  color: #003491;
}

.footer-bottom {
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
  margin: 8px 0;
}

/* Responsywność */
@media (max-width: 1024px) {
  .footer-social-section {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .social-group-title {
    font-size: 15px;
  }

  .social-icons {
    gap: 12px;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}
