:root {
  --headline-bg: #aaa5a0;             /* Sötétszürke menüsáv */
  --headline-bg-highlight: #aa0532;   /* Piros */
  --headline-text-color: #fff;        /* Fehér */
  --headline-light-bg: #e6e1dc;       /* Világosszürke */
  --headline-link: #005aaa;           /* Kék */
  --headline-font-family: 'Crimson Pro', serif;
  --headline-body: #645f5a;           /* Sötétbarna szövegszín */
  --max-width: 1200px;
}

/* --- ALAP --- */
body {
  margin: 0;
  font-family: 'Encode Sans', sans-serif;
  background: #fff;
  color: var(--headline-body);
}

header {
  text-align: center;
  margin: 20px 0;
}

/* Logó alapértelmezett (desktop) */
.logo {
  background-image: url(images/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 400px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-logo { display: block; }
.mobile-logo { display: none; }

/* --- NAVIGATION DESKTOP--- */
.nav-desktop { display: flex; }
.nav-mobile { display: none; }

nav.nav-desktop {
  background-color: var(--headline-bg);
  font-family: var(--headline-font-family);
  position: relative;
}

.nav-container {
  display: flex;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.menu-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  border-right: 1px solid #fff;
}
.menu-item:last-child { border-right: none; }

.menu-item > a,
.menu-item > .nav-link {
  width: 100%;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--headline-text-color);
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  background-color: var(--headline-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  letter-spacing: 0.03em;
}

.menu-item:hover > a,
.menu-item:hover > .nav-link {
  background-color: var(--headline-bg-highlight);
}
.menu-item.active > a,
.menu-item.active > .nav-link {
  background-color: var(--headline-bg-highlight);
}

/* Dropdown desktopon */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--headline-light-bg);
  min-width: 100%;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  flex-direction: column;
}
.dropdown-content a {
  color: var(--headline-body);
  padding: 12px 16px;
  text-decoration: none;
  text-align: center;
  display: block;
  background-color: var(--headline-light-bg);
  transition: background-color 0.3s, color 0.3s;
}
.dropdown-content a:hover,
.dropdown-content a.active {
  background-color: var(--headline-bg-highlight);
  color: #fff;
}
.menu-item.dropdown:hover .dropdown-content {
  display: flex;
}

/* --- NAVIGATION MOBILE --- */
@media (max-width: 800px) {
  .nav-desktop { display: none !important; }
  .nav-mobile { display: block !important; width: 100vw; }

  .desktop-logo { display: none !important; }
  .mobile-logo {
    display: block;
    width: 200px;
    height: 46px;
    background-image: url(images/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 auto;
    flex-shrink: 0;
  }
  .nav-bar {
    display: flex;
    align-items: center;
    height: 62px;
    width: 100vw;
    position: relative;
    justify-content: center;
    background: none;
    margin: 0;
    padding: 0;
  }
  .hamburger {
    display: block;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2.2em;
    z-index: 1300;
    color: #aaa5a0; /* Sötétszürke hamburger */
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    line-height: 1;
  }
  .nav-bar .mobile-logo { margin: 0 auto; }

  .nav-mobile-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #aaa5a0; /* Sötétszürke főmenü háttér */
    border-radius: 0 0 18px 18px;
    width: 96vw;
    margin: 0 auto 10px auto;
    margin-top: 0px;
    box-shadow: 0 4px 16px 0 #0002;
    padding: 8px 0 10px 0;
    gap: 0;
  }
  .nav-mobile-menu.open { display: flex; }

  .nav-mobile-menu a,
  .nav-mobile-menu summary {
    text-decoration: none;
    color: #fff;
    font-family: 'Crimson Pro', serif;
    font-weight: bold;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    background: #aaa5a0; /* Sötétszürke */
    border: none;
    border-bottom: 1px solid #e6e1dc; /* Világosszürke elválasztó */
    font-size: 1.1em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s;
    outline: none;
    border-radius: 0;
    margin: 0;
    display: block;
  }
  .nav-mobile-menu a:hover,
  .nav-mobile-menu summary:hover,
  .nav-mobile-menu details[open] summary {
    background: #aa0532; /* piros */
    color: #fff;
  }
  .nav-mobile-menu details {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e6e1dc;
    background: #aaa5a0; /* Sötétszürke */
  }
  .nav-mobile-menu details[open] summary {
    border-bottom: none;
    border-radius: 0;
  }
  .nav-mobile-menu details[open] .dropdown-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    background: #e6e1dc !important; /* világosszürke! */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px #0001;
  }
  .nav-mobile-menu details summary {
    list-style: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    background: none;
    border-radius: 0;
    border: none;
  }
  .nav-mobile-menu details summary::-webkit-details-marker,
  .nav-mobile-menu details summary::marker {
    display: none;
    content: "";
  }
  /* Az almenüpontok egymás alatt, panel-szerűen */
  .nav-mobile-menu .dropdown-panel a {
    text-transform: uppercase;
    background: #e6e1dc !important;    /* világosszürke */
    color: #645f5a !important;         /* sötétbarna */
    font-weight: bold;
    font-size: 1em;
    padding: 14px 0;
    margin: 0;
    width: 100%;
    border: none;
    border-bottom: 1px solid #fff;
    text-align: center;
    transition: background 0.15s, color 0.15s;
    display: block;
  }
  .nav-mobile-menu .dropdown-panel a:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
  }
  .nav-mobile-menu .dropdown-panel a:hover {
    background: #aa0532 !important; /* piros */
    color: #fff !important;
  }
}

/* --- MAIN --- */
.home {
  max-width: var(--max-width);
  margin: 16px auto;
  padding: 0 16px;
  text-align: center;
  color: var(--headline-body);
}
.hero img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 6px;
}
.intro-text {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--headline-body);
}
.intro-text a {
  color: var(--headline-link);
  font-weight: bold;
  text-decoration: none;
}
.intro-text a:hover {
  text-decoration: none;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--headline-bg);
  padding: 15px 20px;
  font-size: 12px;
  color: #555;
  background-color: #f8f8f8;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-container.horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-text {
  flex: 1;
  text-align: left;
  color: var(--headline-body);
}
.footer-logos {
  display: flex;
  gap: 12px;
}
.footer-logos img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}
.footer-logos a:hover img {
  opacity: 0.75;
}

/* --- ABOUT & GOLDIE PAGE --- */
.auto-slideshow-container {
  max-width: 100%;
  height: auto;
  overflow: hidden;
}
.auto-slideshow-container img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  user-select: none;
  pointer-events: none;
}
@keyframes fade {
  from { opacity: 0.2; }
  to { opacity: 1; }
}
#auto-slideshow-img {
  animation: fade 1s ease-in-out;
}
.about {
  max-width: var(--max-width);
  margin: 16px auto;
  padding: 0 16px;
  line-height: 1.6;
  color: var(--headline-body);
}
.about-greeting {
  font-size: 1.3rem;
  font-family: 'Crimson Pro', serif;
  font-weight: bold;
  color: var(--headline-body);
}
.about-text p {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--headline-body);
}
.about-text strong { color: var(--headline-body); }
.signature {
  text-align: right;
  margin-top: 14px;
  font-weight: bold;
  color: var(--headline-body);
}

/* --- CONTACT --- */
.contact-page {
  max-width: var(--max-width);
  margin: 16px auto;
  padding: 0 16px;
  color: var(--headline-body);
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.contact-form, .contact-info {
  flex: 1 1 45%;
  min-width: 300px;
}
.contact-form h2 {
  font-family: 'Crimson Pro', serif;
  color: var(--headline-bg-highlight);
}
.contact-form p {
  font-size: 0.9rem;
  color: var(--headline-body);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Encode Sans', sans-serif;
  color: var(--headline-body);
}
.contact-form .name-fields {
  display: flex;
  gap: 12px;
}
.contact-form button {
  background-color: #333;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}
.contact-form button:hover {
  background-color: #555;
}
.contact-info p {
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--headline-body);
}
.contact-info small {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--headline-body);
}
a.email-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
a.email-link:hover {
  color: var(--headline-link);
  font-weight: bold;
}
textarea {
  min-height: 160px;
}
.form-msg {
  font-weight: bold;
  margin: 0 auto 18px auto;
  max-width: 500px;
  padding: 12px 18px;
  border-radius: 7px;
  text-align: center;
  font-size: 1.07em;
}
.form-success {
  color: #fff;
  background: #3c9c4a;
}
.form-error {
  color: #fff;
  background: #aa0532;
}

/* --- Profil szekció --- */
.profile {
  max-width: var(--max-width);
  margin: 16px auto;
  padding: 0 16px;
  color: var(--headline-body);
}
.profile-container {
  display: flex;
  align-items: stretch;
  gap: 32px;
  min-height: 430px;
}
.profile-image {
  flex: 1 1 340px;
  max-width: 430px;
  display: flex;
  align-items: stretch;
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.profile-info {
  flex: 2 1 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding-left: 10px;
}
.profile-info h1 {
  font-family: 'Crimson Pro', serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--headline-bg-highlight);
}
@media (max-width: 800px) {
  .profile-container {
    flex-direction: column;
    min-height: 0;
    gap: 20px;
  }
  .profile-image, .profile-info {
    max-width: 100%;
    padding-left: 0;
  }
  .profile-image img {
    border-radius: 12px;
  }
}
.q-and-a {
  font-size: 1rem;
  color: var(--headline-body);
  line-height: 1.2;
}
.q-and-a p {
  margin-bottom: 2px;
}
.q-and-a strong { font-weight: bold; }

/* --- Galéria --- */
.gallery {
  margin-top: 24px;
  text-align: center;
}
.gallery h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 2rem;
  color: var(--headline-bg);
}
.gallery-thumbnails {
  display: flex;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}
.gallery-thumbnails img {
  width: 100px;
  height: 75px;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-main img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 6px;
}

/* PROFIL oldalak: nagy képes slideshow + bélyegképsor */

/* KÉPNÉZEGETŐ */

.card-thumbnails-carousel-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 10px auto;
  position: relative;
  overflow: hidden;
  height: 86px; /* bélyegkép magassága */
}
.card-thumbnails-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: hidden; /* nincs scroll sáv! */
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}
.card-thumb {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 5px #0001;
  flex-shrink: 0;
}
.card-thumb.active {
  border: 2.5px solid #aa0532;
  box-shadow: 0 2px 8px #aa05322a;
}
.card-thumb:hover {
  border: 2.5px solid #aaa5a0;
}

/* bal/jobb sáv a hoveres "scroll"-hoz */
.carousel-zone {
  position: absolute;
  top: 0; bottom: 0;
  width: 54px;
  z-index: 2;
}
.carousel-zone.left  { left: 0; cursor: w-resize; }
.carousel-zone.right { right: 0; cursor: e-resize; }

.card-slideshow-container {
  max-width: 1200px;
  margin: 0 auto 32px auto;
}
.slide-image-box {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

#slide-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  z-index: 1;
}

/* Oldalflekken lévő nagykép nyilak */
.slide-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  background: rgba(255,255,255,0.17); /* fehér, átlátszó flekk */
  border: none;
  outline: none;
  color: #fff;
  font-size: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: background 0.23s, color 0.22s, opacity 0.18s;
  z-index: 5;
  user-select: none;
  border-radius: 0;
  box-shadow: none;
}
.slide-image-box:hover .slide-arrow,
.slide-arrow:focus {
  opacity: 1;
}
.slide-arrow.prev { left: 0; border-top-left-radius: 10px; border-bottom-left-radius: 10px;}
.slide-arrow.next { right: 0; border-top-right-radius: 10px; border-bottom-right-radius: 10px;}
.slide-arrow:hover {
  background: rgba(255,255,255,0.37);
  color: #aa0532; /* piros betű */
}

/* Mobilra */
@media (max-width: 800px) {
  .card-thumbnails-carousel-wrapper { height: 60px; }
  .card-thumbnails-carousel { gap: 4px; }
  .card-thumb { width: 54px; height: 40px; }
  .carousel-zone { display: none; }
}
    table {
      border-collapse: collapse;
      width: 100%;
      color: #645f5a;
    }

    th, td {
      border: 2px solid #645f5a;
      padding: 4px;
      text-align: left;
    }

    th.name-red {
      color: #aa0532;
    }

    th.name-blue {
      color: #005aaa;
    }

    .header {
      font-weight: bold;
      background-color: #e6e1dc;
    }
.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 0 10px;
  font-family: 'Encode Sans Condensed', sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #a10000; /* piros */
  background-color: transparent;
  height: 100%;
}

.lang-switcher span {
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-switcher span:hover {
  color: white;
}
.lang-switcher-mobile {
  text-align: center;
  margin: 1rem 0;
  font-size: 1rem;
  font-weight: bold;
  color: #a10000;
}

.lang-switcher-mobile span {
  padding: 0 8px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-switcher-mobile span:hover {
  color: white;
}