/* Styles for site layout, forms, responsiveness, etc. */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #18181b, #27272a);
  color: white;
}
section {
  padding: 80px 20px;
  text-align: center;
}
h1, h2, h3 {
  margin-bottom: 20px;
}
.button {
  background: #facc15;
  color: #000;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: #3f3f46;
  padding: 30px;
  border-radius: 16px;
}
.aspect-video, .aspect-square {
  position: relative;
  width: 100%;
  padding-top: 26.25%;
  background: #3f3f46;
  border-radius: 16px;
  overflow: hidden;
}
.aspect-square {
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
	  position: relative;
}
.aspect-square:hover {
  transform: scale(1.7);
	  z-index: 10;
}
.aspect-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.hero-image {
 background: url('/images/AG_F7031-Edytuj2.jpg') no-repeat center center/cover;
 position: relative;
 width: 100%;
 height: 100vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.hero-content {
 z-index: 2;
 background-color: rgba(0, 0, 0, 0.6);
 padding: 40px;
 border-radius: 16px;
 animation: fadeInUp 1s ease-out forwards;
 max-width: 700px;
 text-align: center;
}
.hero-content a.button {
  display: inline-block;
  margin-top: 20px;
}
.hero-logo {
 position: absolute;
 top: 30px;
 left: 50%;
 transform: translateX(-50%);
 z-index: 1001;
}
.hero-logo img {
  height: 60px;
}
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
.scroll-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.scroll-buttons button {
  background: #facc15;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}
@keyframes fadeInUp {
  from {
opacity: 0;
transform: translateY(40px);
  }
  to {
opacity: 1;
transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .hero-content {
padding: 20px;
  }
  .button {
width: 100%;
display: inline-block;
  }
}
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}
input[type="submit"] {
  background: #facc15;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  justify-items: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-wrapper {
    max-width: 480px;
  }
}
