/* Global Styles from src/styles.css */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('assets/background.png') repeat;
  color: #eee;
}

/* Component Styles from src/app/app.css */
header {
  background: rgba(0, 0, 0, 0.85);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #f39c12;
}

section {
  background: rgba(0, 0, 0, 0.7);
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

h2,h3 {
  color: #f39c12;
  border-bottom: 2px solid #f39c12;
  display: inline-block;
  padding-bottom: .4rem;
  margin-bottom: 1.2rem;
}

/* Fade-in animáció (bemutatkozás) */
@keyframes fadeInShow {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.intro {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  line-height:1.4;
  animation: fadeInShow 1.8s ease forwards;
  opacity:0;
}

.container {
  max-width: 900px;
  margin: auto;
}

/* REFERENCIÁK */
.video-row {
  display: flex;
  gap: 2%;
  margin-bottom: 2.5rem;
}
.video-row iframe,
.video-row .yt-thumb-link {
  width: 48%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  overflow: hidden;
  display: block;
  border: none; /* Added for iframe */
}
.video-row .yt-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  background: rgba(0, 0, 0, 0.85);
  padding: 2rem;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

a { color:#f39c12; }

@media (max-width: 768px) {
  header, section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .video-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .video-row iframe,
  .video-row .yt-thumb-link {
    width: 100%;
    max-width: 560px;
  }
}


/* Bemutatkozas section background */
#bemutatkozas .container {
  background: url('assets/preamp.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  padding: 2rem; /* Add some padding so text doesn't touch edges */
  border-radius: 10px; /* Optional: nice rounded corners */
}

#bemutatkozas .container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dim the image */
  z-index: -1;
  border-radius: 10px; /* Match parent */
}

/* Szolgaltatasok section background */
#szolgaltatasok-stb .container{
  background: url('assets/engl.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  padding: 2rem; /* Add some padding so text doesn't touch edges */
  border-radius: 10px; /* Optional: nice rounded corners */
}

#szolgaltatasok-stb .container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dim the image */
  z-index: -1;
  border-radius: 10px; /* Match parent */
}

/* Ensure text is readable */
section .container {
  position: relative;
  color: #fff;
}