* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #212529;
  background: white;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  background-color: #212529;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateX(100%);
  animation: slideInRight 1s forwards;
  animation-delay: 0.3s;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #f8f9fa;
  opacity: 0;
  transform: translateX(-100%);
  animation: slideInLeft 1s forwards;
  animation-delay: 0.5s;
}

.nav {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateX(100%);
  animation: slideInRight 1s forwards;
  animation-delay: 0.7s;
}

.nav li {
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.5s forwards;
  animation-delay: calc(0.1s * var(--i));
}

.nav a {
  color: #f8f9fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ffc107;
}

.hero {
  background: url('hero.jpg') center/cover no-repeat;
  padding: 6rem 1rem;
  text-align: center;
  color: #fff;
  background-color: #343a40;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn, .btn-primary {
  display: inline-block;
  background-color: #ffc107;
  color: #212529;
  padding: 0.75rem 1.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

.btn:hover, .btn-primary:hover {
  background-color: #e0a800;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(-50px) scale(0.9);
  animation: titleFadeIn 1s forwards;
  animation-delay: 0.5s;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service h3 {
  color: #0d6efd;
  margin-bottom: 1rem;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  margin-top: 2rem;
}

.gallery-container img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.5s ease-in-out;
}

.gallery-container img.fade-out {
  opacity: 0;
}

.gallery-container img.fade-in {
  opacity: 1;
}

.gallery-container img:hover {
  transform: scale(1.05);
}

.btn-kapcsolat {
  display: inline-block;
  background-color: #000;
  color: #808080;
  font-size: 1.25rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-kapcsolat:hover {
  background-color: #333;
  transform: scale(1.05);
}

.btn-ajanklat:hover {
  background-color: #e0a800;
  transform: scale(1.05);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  background-color: #fff;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  background-color: #198754;
  color: #fff;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #157347;
}

.footer {
  background-color: #212529;
  color: #adb5bd;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .section h2 {
    font-size: 2.2rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .btn, .btn-ajanklat {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }
}

.btn-custom {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  transition: background-color 0.3s, opacity 0.3s;
}

.btn-custom:hover {
  background-color: rgba(0, 0, 255, 0.5);
  opacity: 0.5;
}

.nav li {
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.5s forwards;
  animation-delay: calc(0.1s * var(--i));
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes titleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-left: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.4s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.4s;
}

.slider .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #fff;
  pointer-events: none;
}

.slider .moon {
  left: 8px;
}

.slider .sun {
  right: 8px;
  color: #f1c40f;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider::before {
  transform: translateX(26px);
}

body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode .header {
  background-color: #1f1f1f;
}

body.dark-mode .footer {
  background-color: #1f1f1f;
  color: #bbbbbb;
}

body.dark-mode .hero {
  background-color: #2c2c2c;
}

body.dark-mode .service {
  background-color: #1f1f1f;
  color: #e0e0e0;
}

body.dark-mode a {
  color: #90caf9;
}

body.dark-mode .btn-custom {
  background-color: #333;
  color: #fff;
}

body.dark-mode .btn-custom:hover {
  background-color: #555;
}

body.dark-mode .nav a {
  color: #cc6600;
}

body.dark-mode .nav a:hover {
  color: #ff9933;
}

#rolunk {
  text-align: center;
}

#rolunk p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  font-size: 1.1rem;
}

#rolunk .main-text {
  font-weight: 700;
  font-size: 1.25rem;
}

#rolunk .emoji-line {
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 1.2rem;
}

body.dark-mode #rolunk .emoji-line {
  color: #f1c40f;
}

body.dark-mode #rolunk p {
  color: #ddd;
}

.service-arrow {
  margin-left: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  color: #0d6efd;
  transition: color 0.3s, transform 0.3s;
}

.service-arrow:hover {
  color: #0b5ed7;
  transform: translateX(3px);
}

header.hero {
  background: url('jatek1.jpg') center/cover no-repeat;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  margin-top: 2rem;
}

.gallery-container img {
  width: 100%;
  height: 200px; 
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover; 
  transition: opacity 1s ease, transform 0.5s ease;
}

.gallery-container img.fade-out {
  opacity: 0;
}

.gallery-container img.fade-in {
  opacity: 1;
}

.gallery-container img:hover {
  transform: scale(1.05);
}

/* Popup dizájn */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: linear-gradient(145deg, #ffffff, #f1f3f6);
  border-radius: 20px;
  max-width: 700px;
  width: 90%;
  padding: 3rem 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: popupSlide 0.4s ease-out;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.popup-close:hover {
  transform: rotate(90deg);
  color: #ff3b3b;
}

.popup-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1.5rem;
}

.popup-content p {
  font-size: 1.3rem;
  margin: 0.8rem 0;
  color: #555;
}

.popup-content a {
  font-size: 1.2rem;
  color: #007bff;
  text-decoration: none;
}

.popup-content a:hover {
  text-decoration: underline;
}

.popup-content .btn-primary {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popup-content .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

@keyframes popupSlide {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Popup háttér */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup ablak */
.popup-content {
  background: linear-gradient(145deg, #ffffff, #f1f3f6);
  border-radius: 20px;
  max-width: 700px;
  width: 90%;
  padding: 3rem 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: popupSlide 0.4s ease-out;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.popup-close:hover {
  transform: rotate(90deg);
  color: #ff3b3b;
}

.popup-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1.5rem;
}

.popup-content p {
  font-size: 1.3rem;
  margin: 0.8rem 0;
  color: #555;
}

.popup-content a {
  font-size: 1.2rem;
  color: #007bff;
  text-decoration: none;
}

.popup-content a:hover {
  text-decoration: underline;
}

.popup-content .btn-primary {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.popup-content .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

@keyframes popupSlide {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.offer {
  background: #f8f9fa;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.offer h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #212529;
}

.offer p.lead {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-bottom: 2rem;
}

.contact-box {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-box h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #0d6efd;
}

.contact-box a {
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  color: #212529;
  text-decoration: none;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.contact-box a:hover {
  color: #0d6efd;
}

.contact-box i {
  font-size: 1.5rem;
  color: #0d6efd;
}

.contact-hours {
  background: #e9ecef;
  border-radius: 0.8rem;
  padding: 1rem;
  font-size: 1.1rem;
  color: #495057;
}
/* Popup háttér */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Modern Kapcsolat Popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  border-radius: 1.2rem;
  max-width: 600px;
  width: 90%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: popupFade 0.4s ease;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.popup-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 1.5rem;
}

.popup-content p {
  font-size: 1.2rem;
  margin: 0.8rem 0;
  color: #495057;
}

.popup-content a {
  font-size: 1.2rem;
  color: #0d6efd;
  text-decoration: none;
}

.popup-content a:hover {
  text-decoration: underline;
}

.popup-content .btn-primary {
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  background: #0d6efd;
  color: #fff;
  border: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.popup-content .btn-primary:hover {
  background: #0b5ed7;
  transform: scale(1.05);
}

@keyframes popupFade {
  from {opacity: 0; transform: translateY(-30px);}
  to {opacity: 1; transform: translateY(0);}
}
.offer {
  background: #f8f9fa;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.offer h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #212529;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-box {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.contact-box h3 {
  font-size: 1.6rem;
  color: #0d6efd;
  margin-bottom: 1rem;
}

.contact-box p {
  font-size: 1.2rem;
  color: #495057;
}

.contact-box i {
  color: #0d6efd;
  margin-right: 0.5rem;
}

.contact-box a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.contact-box a:hover {
  text-decoration: underline;
}

.contact-hours {
  background: #e9ecef;
  border-radius: 0.8rem;
  padding: 1rem;
  font-size: 1.1rem;
  color: #495057;
}
.modal-body {
  display: flex;
}

.popup-logo-bg {
  background: url('logofeher.png') center center no-repeat;
  background-size: contain;
}
.hero-quote {
  font-size: 1.8rem !important;
  font-family: "Franklin Gothic Medium", "Arial Black", Arial, sans-serif;

}
.footer-logo {
  max-height: 24px;
}
.facebook-icon {
  width: 22px;
  height: 22px;
  font-size: 11px;
}
.site-footer p {
  margin: 0;
  padding-top: 4px; /* Szöveg kicsit lejebb */
  line-height: 1.2;
}
.site-footer p {
  margin: 0;
  padding-top: 4px;
  font-weight: 500; /* félkövér hatás */
}
.site-footer a {
  font-weight: 600;
}
