body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #0a0a15 100%);
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: linear-gradient(135deg, #ff2a2a 0%, #4B3BFF 100%);
  color: white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.98) 0%,
    rgba(10, 5, 35, 0.97) 100%
  );
  backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(75, 59, 255, 0.1);
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  gap: 30px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-section:hover {
  transform: translateX(5px);
}

.logo-wrapper {
  position: relative;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  width: 150px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 40px rgba(75, 59, 255, 0.6));
  transition: all 0.3s ease;
}

.logo-section:hover .logo-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 18px 60px rgba(75, 59, 255, 0.9));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e8e8e8;
  text-transform: uppercase;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: 'Abel', sans-serif;
}

.link-text {
  position: relative;
  z-index: 3;
}

.link-underline {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff2a2a, #4B3BFF);
  transition: width 0.3s ease;
}

.link-glow {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: rgba(75, 59, 255, 0.1);
  opacity: 0;
  transition: 0.3s;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover .link-underline {
  width: 70%;
}

.nav-link:hover .link-glow {
  opacity: 1;
}

.nav-links a[href="index.php#contacto"] .link-text {
  color: #ff2a2a;
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(387px, 72.6vh, 944px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 130px;
}

.hero-video {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;

  /* MUDA ISTO */
  object-position: center top !important;

  transform: translateX(-50%) !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  margin: 0;
  font-size: clamp(75px, 6.5vw, 150px);
  font-family: "Kolker Brush", cursive;
  letter-spacing: 6px;
}

.hero h2 {
  margin-top: -15px;
  font-size: clamp(24px, 2.8vw, 48px);
  font-family: 'Abel', sans-serif;
  letter-spacing: 10px;
}


.footer-container {
  position: relative;
  z-index: 1;
  padding: 55px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(75, 59, 255, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 14px 40px rgba(75, 59, 255, 0.5));
}

.footer-brand-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  font-size: 0.95rem;
  max-width: 340px;
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.93rem;
  line-height: 1.6;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #ff2a2a;
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .footer-container {
    padding: 42px 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 24px;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    gap: 14px;
    flex-wrap: wrap;
  }
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: rgba(75, 59, 255, 0.22);
  border-color: rgba(75, 59, 255, 0.4);
  box-shadow: 0 0 18px rgba(75, 59, 255, 0.25);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  display: block;
}