* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #090b10;
  color: white;
  overflow-x: hidden;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: #eef5ff;
  font-weight: 500;
  transition: 0.2s;
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #2c9aff;
  transition: 0.3s;
}
.nav-links a:hover:after {
  width: 100%;
}
.nav-links a:hover {
  color: #8cd4ff;
}

.menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* NAVBAR (cinematic transparency) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  backdrop-filter: blur(0px);
  background: rgba(0, 0, 0, 0);
}
.navbar.scrolled {
  padding: 14px 5%;
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;

  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 700;
}
.circle-logo {
  display: inline-block;
}

.logo i {
  color: #2c9aff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  margin-right: 6px;
}

a {
  text-decoration: none;
}

/* HERO */

.contact-hero {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 120px 8%;

  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.8)),
    url("/images/kontakt_bg.jpeg") center/cover;
}

.hero-content {
  max-width: 850px;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 25px;
}

.gradient {
  background: linear-gradient(90deg, #e43bfc, #e43bfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: #d1d9e6;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* CONTACT SECTION */

.contact-section {
  padding: 110px 8%;
  position: relative;
}

.contact-container {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
}

/* LEFT CARD */

.contact-info {
  background: rgba(15, 18, 27, 0.85);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 32px;

  padding: 45px;

  backdrop-filter: blur(12px);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: #b4c0d0;
  line-height: 1.8;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.info-icon {
  width: 58px;
  height: 58px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #e43bfc, #6d63ff);

  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.2rem;
  color: white;
}

.info-text h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.info-text span {
  color: #b8c4d4;
  line-height: 1.6;
  display: block;
}

/* FORM */

.contact-form {
  background: rgba(15, 18, 27, 0.85);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 32px;

  padding: 50px;

  backdrop-filter: blur(12px);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-form p {
  color: #aebccd;
  margin-bottom: 35px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group {
  margin-bottom: 22px;
}

.input-group.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 22px;

  border: none;
  outline: none;

  border-radius: 18px;

  background: #121722;
  color: white;

  font-size: 1rem;
  font-family: inherit;

  border: 1px solid transparent;

  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e43bfc;

  box-shadow: 0 0 20px rgba(228, 59, 252, 0.18);
}

.contact-form textarea {
  min-height: 180px;
  resize: none;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 16px 32px;

  border: none;
  border-radius: 50px;

  cursor: pointer;

  font-size: 1rem;
  font-weight: 600;

  color: white;

  background: linear-gradient(95deg, #0f3b5e, #0066a1);
  transition: 0.3s;
}

.submit-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 0 30px rgba(228, 59, 252, 0.35);
}

/* MAP */

.map-section {
  padding: 0 8% 110px;
}

.map-container {
  max-width: 1300px;
  margin: auto;

  border-radius: 32px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  filter: none;
}

.social-icons a {
  color: #bbd9ff;
  font-size: 1.4rem;
  margin: 0 12px;
  transition: 0.2s;
  text-decoration: none;
}

.social-icons a:hover {
  color: #e43bfc;
  transform: translateY(-3px);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #111827;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-box i {
  font-size: 50px;
  color: #22c55e;
  margin-bottom: 15px;
}

.modal-box h2 {
  margin-bottom: 10px;
}

.modal-box p {
  color: #b8c4d4;
  margin-bottom: 20px;
}

.modal-box button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: #e43bfc;
  color: white;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-info {
    padding: 35px 28px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

/* FOOTER */

.footer {
  background: #03060c;
  padding: 40px 5% 20px;
  border-top: 1px solid rgba(228, 59, 252, 0.15);
  text-align: center;
}

.footer-credit {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-credit a {
  color: #b8c7ff;
  text-decoration: none;
  font-size: 0.85rem;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.3s ease;

  display: inline-block;
}

.footer-credit a:hover {
  color: #e43bfc;

  text-shadow:
    0 0 8px rgba(228, 59, 252, 0.8),
    0 0 18px rgba(228, 59, 252, 0.5);

  transform: translateY(-2px);
}
