* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #f0f0f0;
    line-height: 1.6;
  
  }
  h1, h2 {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  section {
    padding: 5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #ccc;
    text-align: center;
  }


  .hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    
  }

  .site-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 40px 0;
    opacity: 0.3;
  }

  .hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    
  }
  
  .hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
  }
  
  .hero-overlay img {
    max-width: 120px;
    margin-bottom: 20px;
  }
  
  .hero-overlay h1 {
    font-size: 2.8rem;
    font-weight: 500;
    color: white;
  }
  
  .intro, .gallery, form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
   .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .gallery img:hover {
    transform: scale(1.03);
    opacity: 0.9;
  }
  
  form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  input, textarea {
    padding: 1rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
  }

  form input::placeholder,
  form textarea::placeholder {
    color: #666;
  }

  button {
    background-color: #ffffff10;
    color: #fff;
    border: 1px solid #444;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  
  form button:hover {
    background-color: #ffffff20;
  }

  footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #888;
  }
  
  @media (max-width: 768px) {
    .hero-overlay h1 {
      font-size: 2rem;
    }
  
    .hero-overlay img {
      max-width: 80px;
    }
  
    .intro, .gallery, form {
      padding: 20px;
    }
  }
  
  #form-response {
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-top: 10px;
    font-size: 1rem;
  }
  
  #form-response.show {
    opacity: 1;
  }
  
  #form-response.success {
    color: green;
  }
  
  #form-response.error {
    color: red;
  }
  

  .hero-logo {
    max-width: 200px;
    opacity: 0;
    transform: scale(0.8);
    animation: logoFadeInZoom 0.7s ease-out forwards;
    mix-blend-mode: lighten;
    transition: opacity 0.5s ease, transform 0.3s ease;
  }
  
  .hero-logo:hover {
    opacity: 1;
    transform: scale(2);
    
  }
  
  @keyframes logoFadeInZoom {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    100% {
      opacity: 0.85;
      transform: scale(2);
    }
  }
  
  
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
  }
  
  .category-card {
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .category-card img {
    width: 100%;
    height: 300px; /* ezt add hozzá vagy állítsd be */
    object-fit: cover; /* így nem torzul a kép */
    filter: brightness(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    border-radius: 10px;
  }
  
  
  .category-card .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
  }
  
  .category-card .overlay span {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  }
  
  .category-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.4);
  }
  

  .gallery-section {
    padding: 5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .gallery-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1.3;       
    padding: 0.5rem 0;       
    overflow: visible;        
  }
  .gallery-section:hover h2 {
    transform: scale(1.2);
  }
  
  
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .gallery a {
    position: relative;
    border-radius: 8px;
    display: block;
  }
  
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .gallery a:hover img {
    transform: scale(1.05);
    opacity: 0.85;
  }

  .highlight-section {
    animation: highlightFade 2s ease-in-out;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: background-color 1s ease;
  }
  
  @keyframes highlightFade {
    0% {
      background-color: rgba(255, 255, 255, 0.15);
    }
    100% {
      background-color: transparent;
    }
  }
  
  .gallery-section.highlight-section {
    animation: highlightGlow 2s ease-in-out;
  }
  
  @keyframes highlightGlow {
    0% {
      background-color: rgba(255, 255, 255, 0.05);
    }
    50% {
      background-color: rgba(255, 255, 255, 0.1);
    }
    100% {
      background-color: transparent;
    }
  }
  
  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .gallery-section {
    flex: 1 1 calc(25% - 2rem); /* 4 elem egy sorban */
    min-width: 250px;
    padding: 2rem 1rem;
    border: none; /* ha nem kell alsó vonal */
  }

  html, body {
    overflow-x: hidden;
  }
  
  
  .back-button {
    margin: 20px;
    padding: 10px 15px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .back-button:hover {
    background-color: #004999;
  }


  .hidden-lightbox {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
  }
  

  .telefon {
    font-style: italic;
    color: #004999;
    text-underline-offset:calc(0);
  }