body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.fixed-menu {
  background-color: #333;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fixed-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
}

.fixed-menu li {
  margin: 0;
}

.fixed-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
  transition: background-color 0.3s;
}

.fixed-menu a:hover {
  background-color: #575757;
  border-radius: 5px;
}

main {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.section-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

main section {
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
  padding: 80px 20px 20px 20px;
  overflow-y: auto;
}

main section h1 {
  margin-top: 0;
  font-size: 2rem;
}

main section p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.kezdokep {
  background-image: url("/kepek/kep1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#szekcio1 {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-direction: column;
  padding-top: 60px;
}

.logo {
  width: 300px;
  height: auto;
  margin-bottom: 30px;
}

#szekcio2 h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #000000;
  align-self: flex-start;
}

#szekcio2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 80px;
}

.szolgaltatasokkep {
  background-image: url("/kepek/kep3.jpg");
  background-size: 100% 100%;
  background-position: center;
}

.szolgaltatasok {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 900px;
}

.csempe {
  background-color: #fffefe3f;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.csempe:hover {
  transform: translateY(-5px);
}

.csempe h3 {
  margin-top: 0;
  color: #000000;
}

.csempe ul {
  padding-left: 20px;
  list-style: disc;
}

#szekcio3 {
  background-image: url("/kepek/kep4.jpg");
  background-size: 100% 100%;
  background-position: center;
}

#szekcio3 h1 {
  text-align: center;
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 20px;
}

.rolunk {
  font-size: 1.15rem;
}

.rolunk-tartalom {
  max-width: 900px;
  max-height: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #000000;
  background: #ffffff8e;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

#szekcio4 {
  background-color: #757575;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}

.galeria img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.galeria img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#szekcio5 {
  background-image: url("/kepek/kep6.jpg");
  background-size: 100% 100%;
  background-position: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.szolgaltatasok {
  font-size: 1.1rem;
  margin: 0 0 0 250px;
}

.kapcsolat {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*Form*/
.form-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 400px;
}

.form-container h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.form-container label {
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}

.form-container input,
.form-container textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #000000;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.form-container input:focus,
.form-container textarea:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}

.form-container button {
  width: 100%;
  padding: 10px;
  background: #000000;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.form-container button:hover {
  background: #00000088;
}

.fixed-menu a.active {
  background-color: #575757;
  border-radius: 5px;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #ccc;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.privacy-policy{
  overflow: auto;
}

.privacy-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 40px;
  background: white;
  line-height: 1.6;
}

.privacy-container h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.privacy-container h2 {
  color: #333;
  font-size: 1.8rem;
  margin: 30px 0 15px;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
}

.privacy-container h3 {
  color: #555;
  font-size: 1.3rem;
  margin: 20px 0 10px;
}

.privacy-container p,
.privacy-container li {
  color: #666;
  font-size: 1rem;
  margin-bottom: 10px;
}

.privacy-container ul {
  padding-left: 25px;
}

.contact-info {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background: #333;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  z-index: 1000;
  transition: background-color 0.3s;
}

.back-button:hover {
  background: #575757;
}

.cookie-settings {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  background: white;
  border-radius: 5px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 25px;
  background: #ccc;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: #4caf50;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(25px);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-text {
  flex: 1;
  padding-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.accept-btn {
  background: #4caf50;
  color: white;
}

.decline-btn {
  background: #f44336;
  color: white;
}

.settings-btn {
  background: #2196f3;
  color: white;
}

/* Javított mobilbarát beállítások */
@media (max-width: 768px) {
  /* Menü javítása */
  .fixed-menu {
    padding: 5px 10px;
  }
  
  .fixed-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }

  .fixed-menu a {
    padding: 8px 12px;
    font-size: 14px;
  }

  /* Főoldal */
  .logo {
    width: 200px;
    margin-bottom: 20px;
  }

  #szekcio1 h1 {
    font-size: 1.5rem;
    margin: 0 10px;
  }

  #szekcio1 p {
    font-size: 1rem;
    margin: 0 10px;
  }

  /* Szolgáltatások szekció */
  #szekcio2 {
    padding: 80px 20px;
    align-items: center;
  }

  #szekcio2 h1 {
    font-size: 2rem;
    text-align: center;
    align-self: center;
  }

  .szolgaltatasok {
    margin: 0;
    padding: 15px;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .csempe {
    padding: 15px;
  }

  .csempe h3 {
    font-size: 1.2rem;
  }

  /* Rólunk szekció */
  #szekcio3 h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .rolunk-tartalom {
    max-height: none;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .rolunk {
    font-size: 1rem;
  }

  /* Galéria */
  .galeria {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px;
  }

  /* Kapcsolat űrlap */
  .form-container {
    max-width: 90%;
    padding: 15px;
    margin: 10px;
    margin-top: 150px;
  }

  .form-container h1 {
    font-size: 20px;
  }

  .form-container h2 {
    font-size: 18px;
  }

  /* Cookie banner mobilra */
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .cookie-text {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .cookie-text p {
    font-size: 14px;
    margin: 0;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    padding: 10px;
    font-size: 14px;
  }

  /* Adatvédelmi oldal */
  .privacy-container {
    padding: 80px 15px 40px;
  }

  .privacy-container h1 {
    font-size: 2rem;
  }

  .privacy-container h2 {
    font-size: 1.5rem;
  }

  .privacy-container h3 {
    font-size: 1.2rem;
  }

  .cookie-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .toggle-switch {
    align-self: flex-end;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 30px;
  }

  /* Modal és close gomb */
  .close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 70vh;
  }

  /* Vissza gomb */
  .back-button {
    top: 10px;
    left: 10px;
    padding: 8px 15px;
    font-size: 14px;
  }
}

/* Kisebb mobilok számára (max 480px) */
@media (max-width: 480px) {
  .fixed-menu a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .logo {
    width: 150px;
  }

  #szekcio1 h1 {
    font-size: 1.3rem;
  }

  #szekcio2 h1,
  #szekcio3 h1 {
    font-size: 1.8rem;
  }

  .csempe h3 {
    font-size: 1.1rem;
  }

  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container {
    max-width: 95%;
  }

  .privacy-container h1 {
    font-size: 1.8rem;
  }

  .privacy-container h2 {
    font-size: 1.3rem;
  }
}