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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  background-color: #ffffff;
  color: #1a237e;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  animation: fadeIn 1s ease-in;
}

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

.header {
  margin-bottom: 80px;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}

.logo {
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  animation: slideInDown 0.8s ease-out;
  position: relative;
  z-index: 2;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.line-name-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: fit-content;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

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

.line {
  flex: 1;
  min-width: 100px;
  height: 2px;
  background-color: #1a237e;
  position: relative;
  margin: 0;
  opacity: 0;
  animation: drawLine 1s ease-out 0.3s forwards;
}

@keyframes drawLine {
  from {
    flex: 0;
    opacity: 0;
  }
  to {
    flex: 1;
    opacity: 1;
  }
}

.name {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

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

.contact-info {
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.7s both;
}

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

.info-block {
  text-align: center;
  line-height: 2;
  font-size: 1rem;
}

.company-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.detail {
  margin: 8px 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease;
}

.detail:hover {
  transform: translateX(5px);
}

.value {
  font-weight: 400;
}

.email-link {
  color: #1a237e;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 400;
}

.email-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #1a237e;
  transition: width 0.3s ease;
}

.email-link:hover {
  color: #283593;
}

.email-link:hover::after {
  width: 100%;
}

/* Responsywność */
@media (max-width: 768px) {
  .logo {
    font-size: 3rem;
  }

  .line {
    width: 150px;
  }

  .name {
    font-size: 1rem;
  }

  .info-block {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 2.5rem;
  }

  .name {
    font-size: 0.9rem;
  }

  .info-block {
    font-size: 0.85rem;
    line-height: 1.8;
  }
}
