/* Reset és overflow fix */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Notifications section */
.notifications-section {
  margin: 32px auto 0 auto;
  max-width: 520px;
  text-align: center;
}

.notifications-section h2 {
  color: #d50000;
  font-size: 1.35em;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.notifications-box {
  background: #fff8f8;
  border: 2px solid #d50000;
  border-radius: 14px;
  padding: 18px 10px 10px 10px;
  box-shadow: 0 4px 18px rgba(213,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Flyer promotion section */
.flyer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 24px 0 18px 0;
}

.flyer-image {
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: transform 0.3s;
}

.flyer-image:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(213,0,0,0.18);
}

/* Special style for ertesites.jpg */
.flyer-ertesites {
  margin-left: 18px;
  margin-top: 12px;
  max-width: 200px;
  border: 2px solid #d50000;
  box-shadow: 0 6px 18px rgba(213,0,0,0.13);
  background: #fff8f8;
}

@media (max-width: 768px) {
  .flyer-container {
    flex-direction: column;
    gap: 18px;
  }
  .flyer-image, .flyer-ertesites {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding: 0 10px;
  }
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background-color: #f9f9f9;
  color: #0a1f44; /* sötétkék betűszín */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
} 

/* Fejléc */
header {
  background: linear-gradient(to right, #003366, #ffffff, #d50000);
  color: white;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  header {
    padding: 15px 10px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 5px;
    gap: 5px;
  }
}

.logo {
  font-size: 2.2em;
  font-weight: bold;
  letter-spacing: 2px;
  color: #0a1f44; /* sötétkék cím */
  text-shadow: 1px 1px 3px rgba(255,255,255,0.6);
  flex: 1;
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.6em;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2em;
    letter-spacing: 0px;
  }
}

.header-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.header-actions .btn {
  background-color: #d50000;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .header-actions .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .header-actions .btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

.header-actions .btn:hover {
  background-color: #00254a;
}

@media (max-width: 860px) {
  .header-actions {
    justify-content: center;
  }
}

.logo-container {
  order: -1;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* Navigáció */
/* Navigáció */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  nav ul {
    gap: 5px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 2px;
  }
}

nav ul li {
  margin: 0 15px;
}

@media (max-width: 768px) {
  nav ul li {
    margin: 0 8px;
  }
}

@media (max-width: 480px) {
  nav ul li {
    margin: 0;
    width: 100%;
    text-align: center;
  }
}

nav ul li a {
  color: #000; /* fekete szöveg */
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
}

@media (max-width: 480px) {
  nav ul li a {
    display: block;
    width: 100%;
    padding: 8px 6px;
  }
}

nav ul li a:hover {
  background-color: #003366; /* sötétkék háttér */
  color: #fff; /* fehér szöveg */
  transform: scale(1.05);
}


/* Hero szekció kamionos háttérképpel */
.hero {
  background: url(images/hatter.jpg) center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 10px;
  }
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.3em;
  }
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero p {
    font-size: 0.85em;
  }
}

.btn {
  background-color: #d50000;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #003366;
}

/* Szolgáltatások */
.service-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .service-grid {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .service-grid {
    gap: 10px;
  }
}

.service {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 220px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .service {
    width: 160px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .service {
    width: 120px;
    padding: 10px;
  }
}

.service:hover {
  transform: translateY(-10px);
}

/* Statisztika */
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .stats-grid {
    gap: 30px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    gap: 20px;
    flex-direction: column;
  }
}

.stat h3 {
  font-size: 2em;
  color: #003366;
}

@media (max-width: 768px) {
  .stat h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .stat h3 {
    font-size: 1.2em;
  }
}

.stat p {
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .stat p {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .stat p {
    font-size: 0.85em;
  }
}

/* Általános szekció responsivitás */
section {
  padding: 30px 20px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  section {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 15px 10px;
  }
}

section h2 {
  margin: 0 0 20px 0;
}

@media (max-width: 768px) {
  section h2 {
    margin: 0 0 15px 0;
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  section h2 {
    font-size: 1.3em;
  }
}

/* Animációk */
.fade-in {
  animation: fadeIn 2s ease-in;
}

.slide-up {
  animation: slideUp 1.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Lábjegyzet */
main {
  flex: 1; /* main kitölti a fennmaradó helyet a flex layoutban */
}

footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 15px;
  /* margin-top eltávolítva: a flex layout biztosítja, hogy a lábléc mindig alul legyen */
}

@media (max-width: 768px) {
  footer {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 10px 5px;
  }
}

footer nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 0 5px;
  display: inline-block;
}

@media (max-width: 480px) {
  footer nav a {
    margin: 0 3px;
    font-size: 0.9em;
  }
}

footer nav a:hover {
  color: #d50000;
  transform: scale(1.1);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

footer nav a:active {
  color: gray;
}

/* Nyelvválasztó */
.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
}

@media (max-width: 768px) {
  .language-selector {
    position: relative;
    top: auto;
    right: auto;
  }
}

.dropbtn {
  background-color: #fff;
  color: #0a1f44;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #003366;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

@media (max-width: 480px) {
  .dropbtn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

.flag {
  width: 20px;
  height: 14px;
  margin-right: 8px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: #0a1f44;
  padding: 8px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.dropdown-content a:hover {
  background-color: #003366;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* Gomb */
.btn {
  background-color: #d50000;
  color: white;
  padding: 14px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

@media (max-width: 768px) {
  .btn {
    padding: 11px 18px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px 16px;
    font-size: 0.9em;
  }
}

.btn:hover {
  background-color: #003366;
  transform: scale(1.05);
}

.progress-container {
  width: 80%;
  background-color: #ddd;
  border-radius: 20px;
  margin: 20px auto;
  height: 25px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .progress-container {
    width: 90%;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .progress-container {
    width: 95%;
    height: 18px;
    margin: 15px auto;
  }
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #003366, #d50000);
  border-radius: 20px;
  transition: width 0.5s ease-in-out;
}

.parking-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 24px;
  margin: 24px auto 0;
  max-width: 1280px;
  padding: 0 10px;
}

.price-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  opacity: 0;
  transform: translateY(28px);
  animation: floatIn 0.8s ease forwards;
}

.price-card:nth-child(1) {
  animation-delay: 0.08s;
}

.price-card:nth-child(2) {
  animation-delay: 0.16s;
}

.price-card:nth-child(3) {
  animation-delay: 0.24s;
}

.price-card:nth-child(4) {
  animation-delay: 0.32s;
}

.price-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 28px 48px rgba(0,0,0,0.22);
  border-color: rgba(213, 0, 0, 0.25);
}

.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(213, 0, 0, 0.1), transparent 30%);
  pointer-events: none;
}

.price-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #003366;
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.14);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .price-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 14px;
  }
}

@media (max-width: 480px) {
  .price-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    margin-bottom: 12px;
  }
}

.price-card h3 {
  margin: 0 0 12px;
  color: #003366;
  font-size: 1.2rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.price-card p {
  margin: 0;
  color: #0a1f44;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .parking-pricing-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .parking-pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .parking-pricing-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 5px;
  }
}

@media (max-width: 480px) {
  .parking-pricing-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 5px;
  }
}

.pricing-title {
  margin: 30px auto 18px;
  color: #d50000;
  text-align: center;
  font-size: 1.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-header {
  max-width: 1080px;
  margin: 0 auto 24px;
  text-align: center;
}

.pricing-header p {
  margin: 12px auto 0;
  color: #0a1f44;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 760px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto 46px;
  padding: 0 10px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pricing-card-feature {
  background: #ffffff;
  border: 2px solid #d50000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
}

.pricing-card-feature h3,
.pricing-card-feature .pricing-value {
  color: #d50000;
}

.pricing-card-feature p {
  color: #0a1f44;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 26px 42px rgba(0,0,0,0.16);
  border-color: rgba(213,0,0,0.20);
}

.pricing-card h3 {
  margin: 0 0 10px;
  color: #003366;
  font-size: 1.15rem;
}

.pricing-card p {
  margin: 0 0 14px;
  color: #0a1f44;
  line-height: 1.65;
}

.pricing-value {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 16px;
}

.pricing-meta {
  font-size: 0.95rem;
  color: #4d5b7a;
}

.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 16px 0 18px;
}

.pricing-button {
  display: inline-block;
  background-color: #d50000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.pricing-button:hover {
  background-color: #00254a;
  transform: translateY(-2px);
}

@media (max-width: 1120px) {
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 5px;
  }
  
  .pricing-card {
    padding: 20px 18px;
    border-radius: 18px;
  }
  
  .pricing-title {
    font-size: 1.5rem;
  }
  
  .pricing-header p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 5px;
  }
  
  .pricing-card {
    padding: 15px 12px;
    border-radius: 15px;
  }
  
  .pricing-card h3 {
    font-size: 1rem;
  }
  
  .pricing-value {
    font-size: 1.5rem;
  }
  
  .pricing-price {
    font-size: 1.4rem;
  }
  
  .pricing-title {
    font-size: 1.2rem;
  }
}

/* Promotional Cards */
.promo-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 10px;
}

.promo-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.promo-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.promo-icon-img {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px auto;
  object-fit: contain;
  display: block;
}

.promo-card h3 {
  margin: 0 0 12px;
  color: #003366;
  font-size: 1.1rem;
  font-weight: 600;
}

.promo-card p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

#promotional-cards h2 {
  text-align: center;
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .promo-cards {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .promo-cards {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
  
  .promo-card {
    padding: 18px 15px;
  }
  
  .promo-icon-img {
    width: 50px;
    height: 50px;
  }
  
  .promo-card h3 {
    font-size: 1rem;
  }
  
  .promo-card p {
    font-size: 0.85rem;
  }
  
  #promotional-cards h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .promo-cards {
    grid-template-columns: 1fr;
  }
  
  .promo-card {
    padding: 15px 12px;
  }
  
  .promo-icon-img {
    width: 45px;
    height: 45px;
  }
  
  .promo-card h3 {
    font-size: 0.95rem;
  }
  
  .promo-card p {
    font-size: 0.8rem;
  }
  
  #promotional-cards h2 {
    font-size: 1.3rem;
  }
}

.logo-img {
  height: 140px; /* nagyobb méret */
}

/* Mobil logo méret */
@media (max-width: 768px) {
  .logo-img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 45px;
  }
}

/* Animáció: beúszás + pulzálás */
.animated-logo {
  animation: slideIn 1.5s ease-out, pulse 3s infinite;
}

@keyframes slideIn {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.1); filter: brightness(1.2); }
  100% { transform: scale(1); filter: brightness(1); }
}

.form-section {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .form-section {
    margin: 25px 10px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .form-section {
    margin: 15px 5px;
    padding: 15px;
    max-width: 100%;
  }
}

.form-section h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .form-section h2 {
    font-size: 1.3em;
  }
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #0a1f44;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #003366;
  outline: none;
}

button.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background-color: #d50000;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
  button.btn {
    padding: 10px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  button.btn {
    padding: 10px;
    font-size: 0.95em;
  }
}

button.btn:hover {
  background-color: #003366;
  transform: scale(1.05);
}

.map-container {
  max-width: 900px;
  margin: 30px auto;
  border: 3px solid #003366;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .map-container {
    margin: 20px 10px;
    border: 2px solid #003366;
  }
}

@media (max-width: 480px) {
  .map-container {
    margin: 15px 5px;
    border: 1px solid #003366;
  }
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* Alap stílus desktopra */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
}

/* Középre igazítás a regisztrációs oldalon lévő címhez */
.header-container .logo {
  flex: 1;
  text-align: center;
  margin: 0 auto;
}

/* Navigáció desktopon */
nav ul {
  display: flex;
  gap: 20px;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .form-section {
    width: 95%;
    margin: 20px auto;
    padding: 20px;
  }

  .stats-grid {
    flex-direction: column;
    gap: 15px;
  }

  .map-container iframe {
    height: 250px; /* kisebb térkép mobilon */
  }
}

/* Carousel navigation buttons */
.carousel {
  position: relative;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 12px 8px;
  color: white;
  font-weight: bold;
  font-size: 26px;
  transition: all 0.3s ease;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.7);
  user-select: none;
  border: none;
  z-index: 50;
  line-height: 1;
}

.next {
  right: 15px;
}

.prev {
  left: 15px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.95);
  transform: translateY(-50%) scale(1.15);
}

@media (max-width: 768px) {
  .prev, .next {
    padding: 10px 6px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .prev, .next {
    padding: 8px 5px;
    font-size: 18px;
    right: 10px;
  }
  
  .prev {
    left: 10px;
  }
}

/* Miért válasszon minket szekció */
#why-choose-us {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 50%, #ffdada 100%);
  padding: 40px 30px;
  margin: 30px 0;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(213, 0, 0, 0.2);
  border-left: 5px solid #d50000;
  border-right: 5px solid #003366;
  animation: slideInLeft 1s ease-out, pulseGlow 3s ease-in-out infinite;
}

#why-choose-us h2 {
  color: #d50000;
  text-align: center;
  font-size: 2em;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

#why-choose-us > p {
  text-align: center;
  font-size: 1.1em;
  color: #0a1f44;
  margin-bottom: 30px;
  line-height: 1.6;
}

#why-choose-us h3 {
  color: #003366;
  font-size: 1.3em;
  margin-top: 20px;
  margin-bottom: 10px;
  padding-left: 15px;
  border-left: 3px solid #d50000;
}

#why-choose-us p {
  color: #0a1f44;
  line-height: 1.7;
  margin-bottom: 15px;
  padding: 0 10px;
}

/* Animációk a szekcióhoz */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(213, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 8px 40px rgba(213, 0, 0, 0.4);
  }
}

/* Reszponzív */
@media (max-width: 768px) {
  #why-choose-us {
    padding: 25px 15px;
    margin: 20px 0;
    border-left: 3px solid #d50000;
    border-right: 3px solid #003366;
  }
  
  #why-choose-us h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  #why-choose-us h3 {
    font-size: 1.1em;
  }
  
  #why-choose-us > p {
    font-size: 1em;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  #why-choose-us {
    padding: 15px 10px;
    margin: 15px 0;
    border-left: 2px solid #d50000;
    border-right: 2px solid #003366;
  }
  
  #why-choose-us h2 {
    font-size: 1.2em;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  
  #why-choose-us h3 {
    font-size: 1em;
  }
  
  #why-choose-us > p {
    font-size: 0.9em;
    margin-bottom: 15px;
  }
  
  #why-choose-us p {
    font-size: 0.9em;
    margin-bottom: 10px;
  }
}

/* Development Banner */
.dev-banner {
  background-color: #FFC107;
  background: linear-gradient(135deg, #FFC107, #FFD54F);
  color: #333;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid #FF6F00;
}

.dev-banner p {
  margin: 0;
  color: #333;
}

/* Form Styling */
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  background-color: white;
  color: #0a1f44;
  cursor: pointer;
  font-family: 'Segoe UI', Arial, sans-serif;
}

select:focus {
  outline: none;
  border-color: #003366;
  box-shadow: 0 0 5px rgba(0, 51, 102, 0.3);
}

/* Lightbox Modal */
.lightbox {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.lightbox.show {
  background-color: rgba(0,0,0,0.9);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(255,255,255,0.3);
  animation: zoomInModal 0.5s ease;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.2s ease;
}

.lightbox .close:hover {
  transform: scale(1.2);
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomInModal {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
