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;
} 

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

.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;
}

.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;
}

nav ul li {
  margin: 0 15px;
}

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;
}

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;
}

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

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

.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;
}

.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;
}

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

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

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

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

/* 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 */
}

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

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;
}

.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;
}

.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;
}

.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);
}

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


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

/* 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);
}

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

.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;
}

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);
}


/* 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 */
  }
}

/* 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);
  }
}
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reszponzív */
@media (max-width: 768px) {
  #why-choose-us {
    padding: 25px 15px;
    margin: 20px 0;
  }
  
  #why-choose-us h2 {
    font-size: 1.5em;
  }
  
  #why-choose-us h3 {
    font-size: 1.1em;
  }
}

/* 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);
}
