html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  color: #111;
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.03em;
}

.navbar {
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
}

.navbar.scrolled {
  background: rgba(0,0,0,0.92);
  padding: 12px 0;
}

.nav-link {
  color: white !important;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-left: 14px;
  letter-spacing: 0.06em;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.language-switch img {
  width: 30px;
  height: 21px;
  cursor: pointer;
  opacity: 0.55;
  transition: 0.2s ease;
  border-radius: 3px;
}

.language-switch img:hover {
  opacity: 1;
  transform: scale(1.08);
}

.language-switch img.active {
  opacity: 1;
  box-shadow: 0 0 0 2px #dc3545;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.subtitle {
  opacity: 0.85;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.hero-btn {
  padding: 12px 30px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0;
}

.section {
  padding: 120px 0;
}

.dark {
  background: #111;
  color: white;
}

.white {
  color: white;
}

.title {
  font-size: 2.6rem;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.about-text {
  max-width: 700px;
  line-height: 1.9;
  color: #555;
}

.service-card {
  background: #1c1c1c;
  padding: 40px;
  text-align: center;
  color: white;
  border: 1px solid rgba(255,255,255,0.06);
  height: 100%;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(220,53,69,0.22);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #dc3545;
}

/* PROJECTS */
.project-item {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 90px 0;
}

.project-item > * {
  max-width: 1050px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.project-item:not(:last-child)::after {
  content: "";
  width: 70%;
  height: 1px;
  background: rgba(0,0,0,0.18);
  margin: 35px auto 0;
}

.project-title {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 2rem;
  position: relative;
}

.project-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #dc3545;
  margin: 16px auto 0;
}

.project-carousel {
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  background: #111;
}

.project-carousel img {
  height: 520px;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.05);
}

.carousel-control-prev,
.carousel-control-next {
  width: 70px;
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 46px;
  height: 46px;
  background-size: 55%;
  background-color: rgba(0,0,0,0.55);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: 0.25s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(220,53,69,0.9);
}

.carousel-indicators {
  margin-bottom: 18px;
}

.carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.65);
  opacity: 1;
}

.carousel-indicators .active {
  background-color: #dc3545;
  width: 22px;
  border-radius: 999px;
}

.video-placeholder {
  position: relative;
  cursor: pointer;
  background: #111;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.video-placeholder img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: 0.82;
  transition: 0.35s ease;
}

.video-placeholder:hover img {
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
  transition: 0.25s ease;
}

.video-placeholder:hover .play-button {
  transform: scale(1.08);
}

.project-description {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.95;
  font-size: 1.08rem;
  color: #555;
}

/* CONTACT */
.contact-text {
  opacity: 0.85;
  margin-bottom: 22px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-actions .btn {
  border-radius: 0;
  padding: 12px 24px;
}

/* FOOTER */
.footer {
  background: #070707;
  color: rgba(255,255,255,0.65);
  padding: 24px 0;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.7s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */
@media (max-width: 991px) {
  .navbar {
    background: rgba(0,0,0,0.92);
  }

  .nav-link {
    margin-left: 0;
    margin-top: 8px;
  }

  .language-switch {
    margin-top: 14px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 55vh;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-image {
    object-position: center center;
  }

  .title {
    font-size: 2rem;
    margin-bottom: 36px;
  }

  .project-item {
    gap: 22px;
    padding: 55px 0;
  }

  .project-title {
    font-size: 1.6rem;
  }

  .project-carousel img {
    height: 320px;
  }

  .video-placeholder img {
    height: 260px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 46px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 34px;
    height: 34px;
  }

  .carousel-indicators {
    margin-bottom: 10px;
  }

  .carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
  }

  .carousel-indicators .active {
    width: 18px;
  }

  .play-button {
    font-size: 3.6rem;
  }
}
#heroSubtitle,
#aboutText,
#contactText,
.project-description {
  white-space: pre-line;
}