/* Alap reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

.container {
  max-width: 1200px;   /* ez adja a teljes oldal szélességét */
  margin: 0 auto;      /* középre rendezi */
  padding: 0 20px;     /* oldalsó margó mobilra */
}

body {
  display: flex;
  flex-direction: column;
  font-family: Inter, Arial, sans-serif;
  background: #ffffff;
  color: #fff;
}


/* Felső menü */
/* NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;

  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 15px 0; /* NAV magassága */
}


.site-header.scrolled {
  background: #1C232B;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.site-header.scrolled .nav-links a {
  color: white;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO  */
.logo-dark {
  display: none;
}

.site-header .logo-light {
  display: block;
}
.site-header .logo-dark {
  display: none;
}

.site-header.scrolled .logo-light {
  display: none;
}
.site-header.scrolled .logo-dark {
  display: block;
}

.logo {
  height: 210px;
  width: auto;
  object-fit: contain;
}
.logo-link {
  height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

body {
  padding-top: 90px;
}

/* Gombok */
.btn {
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.btn.primary {
  background: #ffffff;
  color: #000000;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Mobil menü */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: #ffffff;
}

.mobile-menu a {
  padding: 0.6rem;
  border-radius: 6px;
}

.mobile-actions {
  display: flex;
  gap: 0.5rem;
}

.mobile-menu.collapsed {
  display: none;
}

/* Tartalom */
main {
  padding: 2rem;
}

.hero {
  max-width: 800px;
  margin: auto;
}

p {
  color: #d7e3f8;
}

.about-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  gap: 30px;
}

/* Szöveg */
.about-text {
  flex: 1;
  color: rgb(0, 0, 0);
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgb(0, 0, 0);
}

/* Kép */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  object-fit: cover;
}
/* alsó láb */
.footer {
  background: #1C232B;
  color: #d1d5db;
  padding: 40px 20px 20px 20px;
  margin-top: 60px; /* távolság a tartalomtól */
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-section h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 20px;
}

.footer-section a {
  color: #cbd5e1;
  display: block;
  text-decoration: none;
  margin-bottom: 6px;
  transition: 0.2s ease;
}

.footer-section a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #1e293b;
  font-size: 14px;
  color: #94a3b8;
}
.footer-logo {
  width: 120px;      
  margin-bottom: 10px;
  opacity: 0.9;
  transition: 0.3s;
}

.footer-logo:hover {
  opacity: 1;
}

details {
  color: #000000;
  border: 1px solid #000000;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.page-content {
  flex: 1;
}

.footer {
  margin-top: auto;
}

.palyazat-page details p {
  color: #000000;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.6;
}

summary {
  color: #000000;
  font-weight: bold;
  cursor: pointer;
}

.palyazat-page .about-section {
  justify-content: flex-start;
}

.palyazat-page .about-content {
  justify-content: flex-start !important;
}

.palyazat-page .about-content details {
  margin-right: auto !important;
}

.downloads {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* mobilon sorban legyen */
}

.downloads a.btn {
  display: flex;
  align-items: center;
  gap: 5px; /* tér az ikon és szöveg között */
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: #ffffff;
  color: #000000;
  font-weight: bold;
  border: 1px solid #000000;
  transition: background 0.2s, color 0.2s;
}

.downloads a.btn:hover {
  background: #000000;
  color: #ffffff;
}

.download-icon {
  width: 16px;
  height: 16px;
}


/* telo */
@media (max-width: 800px) {
  nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }
   .about-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-image img {
    max-width: 260px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}