/* ===================================================
   ALAPBEÁLLÍTÁSOK
=================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Arial", sans-serif;
  scroll-behavior: smooth;
  background: #f4f6f9;
}

body {
  top: 0 !important;
  color: #222;
}

#google_translate_element,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon {
  display: none !important;
}

/* ===================================================
   FEJLÉC ÉS MENÜ
=================================================== */
header {
  background: #333;
  color: white;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2000;
  gap: 2rem;
}

.logo img {
  height: 60px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.menu ul li {
  position: relative;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
}

.menu a:hover {
  text-decoration: underline;
}

/* Dropdown */
.menu ul li ul.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  list-style: none;
  border-radius: 4px;
  min-width: 180px;
  z-index: 1000;
}

.menu ul li:hover ul.dropdown-content {
  display: block;
}

.menu ul li ul.dropdown-content li a {
  display: block;
  padding: 0.6rem 1rem;
  color: white;
}

.menu ul li ul.dropdown-content li a:hover {
  background: #444;
}

/* ===================================================
   HAMBURGER MENÜ (mobil)
=================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================================================
   FŐ TARTALOM
=================================================== */
main {
  flex: 1;
  padding: 2rem;
  padding-top: 100px;
}

/* ===================================================
   HERO TITLE (index.php címsor)
=================================================== */
.hero-title {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0074a6 0%, #005580 50%, #003d5c 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 116, 166, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-title::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse-gradient 8s ease-in-out infinite;
}

@keyframes pulse-gradient {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, -10%) scale(1.1); }
}

.hero-title h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: white;
  text-align: left;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-button {
  display: inline-block;
  background: #c69200;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(198, 146, 0, 0.3);
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  background: #a67900;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 146, 0, 0.4);
}

/* ===================================================
   STATISZTIKA SZEKCIÓ
=================================================== */
.stats-section {
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 3rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #0074a6;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

/* ===================================================
   SERVICES SECTION (3 oszlopos szolgáltatások)
=================================================== */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

.service-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.service-icon-svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0074a6, #005580);
  border-radius: 50%;
  padding: 20px;
  transition: all 0.3s ease;
}

.service-icon-svg svg {
  width: 100%;
  height: 100%;
  stroke: white;
}

.service-box:hover .service-icon-svg {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, #c69200, #a67900);
}

/* Fade-in animáció */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }

.service-box h3 {
  color: #0074a6;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.service-box p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  text-align: left;
}

.service-link {
  color: #c69200;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  align-self: center;
}

.service-link:hover {
  color: #a67900;
  text-decoration: underline;
}

/* ===================================================
   CONTENT WRAPPER (index.php-hoz)
=================================================== */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================================
   FAQ SZEKCIÓ
=================================================== */
.faq-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.faq-section h2 {
  margin-bottom: 1.5rem;
  color: #0074a6;
}

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 1rem;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

/* ===================================================
   FORM PANEL (index.php-hoz)
=================================================== */
.form-panel {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-panel h2 {
  margin-bottom: 1.5rem;
  color: #0074a6;
}

.form-panel form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-panel textarea {
  min-height: 120px;
  resize: vertical;
}

.form-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.form-panel label input[type="checkbox"] {
  width: auto;
}

.form-panel label a {
  color: #0074a6;
  text-decoration: none;
}

.form-panel label a:hover {
  text-decoration: underline;
}

.form-panel button {
  background: #c69200;
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: bold;
  font-size: 1rem;
}

.form-panel button:hover {
  background: #a67900;
}

/* ===================================================
   HERO SZEKCIÓK
=================================================== */
.hero-section,
.hero-esztergalas,
.hero-hegesztes,
.hero-maras,
.hero-kapcsolat {
  position: relative;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 3rem;
  padding-top: 80px;
}

.hero-esztergalas { background-image: url('images/forgacsolas.jpeg'); }
.hero-hegesztes { background-image: url('images/hegesztes.jpg'); }
.hero-maras { background-image: url('images/maras.jpg'); }
.hero-kapcsolat { background-image: url('images/kapcsolat.jpg'); }

.hero-section::after,
.hero-esztergalas::after,
.hero-hegesztes::after,
.hero-maras::after,
.hero-kapcsolat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-section h1,
.hero-esztergalas h1,
.hero-hegesztes h1,
.hero-maras h1,
.hero-kapcsolat h1 {
  position: relative;
  z-index: 2;
}

/* ===================================================
   CONTENT SECTION (aloldalakhoz)
=================================================== */
.content-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.content-section h2 {
  color: #0074a6;
  margin-bottom: 1.5rem;
}

.content-section p {
  line-height: 1.8;
  color: #555;
}

/* ===================================================
   TARTALMI DOBOZOK (machine.php-hoz)
=================================================== */
.content-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  padding: 2rem 0;
}

.content-box img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.content-box .text {
  flex: 1;
  min-width: 200px;
}

.content-box.left-image {
  flex-direction: row;
}

.content-box.right-image {
  flex-direction: row-reverse;
}

/* ===================================================
   KAPCSOLAT ÉS FORM
=================================================== */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-info h2, 
.contact-info h3,
.contact-form h2 {
  color: #0074a6;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.contact-form label span {
  color: red;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button,
.btn-send {
  background: #c69200;
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  width: 150px;
  font-weight: bold;
}

.contact-form button:hover,
.btn-send:hover {
  background: #a67900;
}

/* ===================================================
   TÉRKÉP (contact.php-hoz)
=================================================== */
.map-fullwidth {
  width: 100%;
  margin-top: 3rem;
}

.map-fullwidth iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 8px;
}

/* ===================================================
   REELS/SHORTS STÍLUS (forme.php-hoz)
=================================================== */
.reels-main {
  padding: 0;
  margin: 0;
  padding-top: 80px;
}

.shorts-container {
  height: calc(100vh - 80px);
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.short-video {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
}

.short-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 600px;
}

.short-video.active {
  z-index: 10;
}

.video-sound-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 20;
}

.video-sound-indicator svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.video-sound-indicator span {
  white-space: nowrap;
}

/* Elrejti az indikátort 3 másodperc után */
.short-video.sound-on .video-sound-indicator,
.short-video.indicator-hidden .video-sound-indicator {
  opacity: 0;
}

/* ===================================================
   LÁBLÉC
=================================================== */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

/* ===================================================
   NYELVVÁLTÓ
=================================================== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lang-switch img:hover {
  transform: scale(1.1);
}

.active-flag {
  border: 2px solid #007bff;
  border-radius: 3px;
}

.mff-infoblokk {
  min-height: 65px;
  max-height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: auto;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.mff-infoblokk:hover {
  opacity: 0.8;
}

/* ===================================================
   MOBIL NÉZET (max 768px)
=================================================== */
@media (max-width: 768px) {
  header {
    justify-content: space-between;
    padding: 0 1rem;
  }

  .logo img {
    height: 50px;
  }

  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #333;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.4s ease;
    z-index: 2500;
  }

  .menu.active {
    left: 0;
  }

  .menu ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .menu ul li a {
    font-size: 1.4rem;
  }

  .mff-infoblokk {
    min-height: 65px;
    max-height: 80px;
  }

  .hero-title {
    padding: 2rem 1.5rem;
  }

  .hero-title h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .services-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }

  .content-box {
    flex-direction: column;
    text-align: center;
  }

  .content-box img {
    width: 100%;
    max-width: 350px;
  }

  .content-box.right-image {
    flex-direction: column;
  }

  .hero-section,
  .hero-esztergalas,
  .hero-hegesztes,
  .hero-maras,
  .hero-kapcsolat {
    height: 250px;
    font-size: 1.8rem;
  }

  .faq-section,
  .form-panel {
    padding: 1rem;
  }

  .video-sound-indicator {
    bottom: 80px;
    font-size: 12px;
    padding: 10px 16px;
  }

  .video-sound-indicator svg {
    width: 20px;
    height: 20px;
  }

  .video-sound-indicator span {
    font-size: 12px;
  }
}

/* ===================================================
   TABLET NÉZET (769–1024px)
=================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title h1 {
    font-size: 2.5rem;
  }

  .stats-section {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .content-box {
    flex-direction: column;
  }

  .hero-section {
    height: 300px;
  }

  .menu ul {
    gap: 0.8rem;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   GOOGLE TRANSLATE ELREJTÉS
=================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner,
.goog-logo-link,
.goog-te-gadget {
  display: none !important;
  visibility: hidden !important;
}

/* ===================================================
   FLOATING CONTACT BUTTON (VILLOGÓ WIDGET)
=================================================== */
.floating-contact-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: #0074a6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 116, 166, 0.5);
  z-index: 1000;
  transition: transform 0.3s ease;
  animation: pulse-btn 2s infinite;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
}

.floating-contact-btn svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@keyframes pulse-btn {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 116, 166, 0.5);
  }
  50% {
    box-shadow: 0 4px 30px rgba(0, 116, 166, 1), 0 0 0 10px rgba(0, 116, 166, 0.3);
  }
}

/* ===================================================
   POPUP MODAL
=================================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.popup-close:hover {
  color: #000;
}

.popup-content h2 {
  margin-bottom: 1.5rem;
  color: #0074a6;
  font-size: 1.8rem;
}

.popup-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.popup-content input[type="file"] {
  padding: 0.5rem;
  cursor: pointer;
}

.popup-content .file-upload-label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: #333;
}

.popup-content textarea {
  min-height: 120px;
  resize: vertical;
}

.popup-content label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.popup-content label input[type="checkbox"] {
  width: auto;
}

.popup-content label a {
  color: #0074a6;
  text-decoration: none;
}

.popup-content label a:hover {
  text-decoration: underline;
}

.popup-content button[type="submit"] {
  background: #c69200;
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: bold;
  font-size: 1rem;
}

.popup-content button[type="submit"]:hover {
  background: #a67900;
}

/* Mobil nézet popup-hoz */
@media (max-width: 768px) {
  .floating-contact-btn {
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
  }

  .floating-contact-btn svg {
    width: 30px;
    height: 30px;
  }

  .popup-content {
    padding: 1.5rem;
    width: 95%;
  }

  .popup-content h2 {
    font-size: 1.5rem;
  }
}

/* ===================================================
   ÁRAJÁNLAT ÉRTESÍTÉS (30 másodperc után)
=================================================== */
.quote-notification {
  position: fixed;
  bottom: 200px;
  right: 30px;
  background: linear-gradient(135deg, #0074a6 0%, #005580 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 116, 166, 0.4);
  max-width: 320px;
  z-index: 1500;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.5s ease;
}

.quote-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.quote-notification-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s;
  line-height: 1;
}

.quote-notification-close:hover {
  opacity: 1;
}

.quote-notification-content strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.quote-notification-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.quote-notification-btn {
  background: #c69200;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  transition: background 0.3s;
  font-size: 1rem;
}

.quote-notification-btn:hover {
  background: #a67900;
}

/* Mobil nézet értesítéshez */
@media (max-width: 768px) {
  .quote-notification {
    bottom: 160px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

/* ===================================================
   MFF INFOBLOKK POPUP
=================================================== */
.mff-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mff-popup-overlay.active {
  display: flex;
  opacity: 1;
}

.mff-popup-content {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.mff-popup-overlay.active .mff-popup-content {
  transform: scale(1);
}

.mff-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.mff-popup-close:hover {
  color: #000;
}

.mff-popup-content h2 {
  margin-bottom: 1.5rem;
  color: #0074a6;
  font-size: 1.8rem;
  padding-right: 40px;
}

.mff-popup-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mff-detail-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.mff-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mff-detail-item strong {
  display: block;
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.mff-detail-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobil nézet MFF popup-hoz */
@media (max-width: 768px) {
  .mff-popup-content {
    padding: 1.5rem;
    width: 95%;
    max-height: 85vh;
  }

  .mff-popup-content h2 {
    font-size: 1.5rem;
  }

  .mff-detail-item strong {
    font-size: 0.95rem;
  }

  .mff-detail-item p {
    font-size: 0.9rem;
  }
}