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

body {
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* background*/

.construction-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.background-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: float var(--duration) ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  width: 60px;
  height: 60px;
}

.particle:nth-child(2) {
  left: 80%;
  top: 60%;
  width: 80px;
  height: 80px;
}

.particle:nth-child(3) {
  left: 50%;
  top: 10%;
  width: 50px;
  height: 50px;
}

.particle:nth-child(4) {
  left: 20%;
  top: 80%;
  width: 70px;
  height: 70px;
}

.particle:nth-child(5) {
  left: 70%;
  top: 40%;
  width: 45px;
  height: 45px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-50px) translateX(30px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-100px) translateX(-20px) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-50px) translateX(40px) rotate(270deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) translateX(0) rotate(360deg);
    opacity: 0.3;
  }
}

/* wrapper */

.content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* gears & icons */

.logo-animation {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 40px;
}

.gear {
  position: absolute;
  font-size: 80px;
  animation: spin 3s linear infinite;
}

.gear-1 {
  left: 0;
  animation: spin 3s linear infinite;
}

.gear-2 {
  right: 0;
  animation: spin 3s linear reverse;
}

.building-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 90px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -60%) scale(1.1);
  }
}

/* main title */

.main-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 30px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.word {
  display: inline-block;
  margin: 0 10px;
  animation: slideInUp 0.8s ease-out forwards;
  opacity: 0;
}

.word:nth-child(1) {
  animation-delay: 0.2s;
}

.word:nth-child(2) {
  animation-delay: 0.4s;
}

.word:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* subtitle */

.subtitle {
  font-size: 1.3rem;
  margin: 30px 0;
  letter-spacing: 3px;
  font-weight: 300;
}

.dot-animation {
  display: inline-block;
  animation: fadeInOut 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* progress bar */

.progress-container {
  margin: 50px 0;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.progress-bar-animated {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-animated::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: progressFlow 2s ease-in-out infinite;
  border-radius: 10px;
}

@keyframes progressFlow {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}

.progress-text {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* floating elements section */

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-item {
  position: absolute;
  font-size: 3rem;
  animation: floatAround 15s ease-in-out infinite;
}

.item-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.item-2 {
  top: 70%;
  right: 15%;
  animation-delay: 3s;
}

.item-3 {
  top: 50%;
  left: 8%;
  animation-delay: 6s;
}

.item-4 {
  bottom: 15%;
  right: 10%;
  animation-delay: 9s;
}

@keyframes floatAround {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-50px) translateX(50px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-100px) translateX(-30px) rotate(180deg);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-50px) translateX(60px) rotate(270deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) translateX(0) rotate(360deg);
    opacity: 0.6;
  }
}

/* contact section  */

.contact-section {
  margin-top: 60px;
  padding: 20px;
  background: transparent;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 1s ease-out 1.5s forwards;
  opacity: 0;
}



.contact-section p {
  font-size: 1rem;
  margin: 0;
}

.contact-section strong {
  color: #ffd700;
  letter-spacing: 1px;
}

/*  RESPONSIVE section */

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .word {
    margin: 0 5px;
  }
}

@media (max-width: 768px) {
  .logo-animation {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .gear {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .building-icon {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .float-item {
    font-size: 2rem;
  }
}

/* przycisk */

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #e9ecef 100%);
    color: #2c3e50;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    outline: none;
}

.contact-btn:focus {
    outline: none;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

.contact-btn:focus-visible {
    outline: none;
}