/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  height: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* ===== Container ===== */
.container {
  max-width: 98%;
  margin: 0 auto;
  padding: 0 24px;
}



/* ===== Menu Overlay ===== */
.menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
  padding: 16px 0;
}

/* ===== Hamburger Menu Button ===== */
.hamburger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 12px;
}

.hamburger span:nth-child(2) {
  top: 19px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
  top: 19px;
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
  top: 19px;
}

/* ===== Desktop Menu Layout ===== */
.menu-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.logo-container {
  display: flex;
  justify-content: center;
  text-decoration: none;
}


.menu-section {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 24px;
}

.menu-link,
.submenu-toggle {
  color: #000000;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.menu-link:hover,
.submenu-toggle:hover {
  color: #a8192b;
}

/* ===== Icons ===== */
.icon {
  width: 20px;
  height: 20px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== Dropdown Menu ===== */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 10px;
  padding: 8px 0;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

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

.dropdown-content a {
  color: #333333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s;
}

.dropdown-content a:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

/* ===== Hero Text Overlay ===== */
.hero-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 50;
  pointer-events: none;
  padding-left: 7%;
}

.hero-text {
  text-align: center;
  color: #ffffff;
  max-width: 28rem;
}

.hero-title {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-description {
  font-size: 20px;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.5;
}

/* ===== Main Content ===== */
main {
  background-color: #E2D0B8;
  color: #000000;
}

/* ===== Portfolio Section ===== */
.portfolio-section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-intro {
  text-align: center;
  font-size: 20px;
  max-width: 48rem;
  margin: 0 auto 48px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  aspect-ratio: 2 / 3;
  background: #000000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* ===== Intro Block ===== */
.intro-block {
  padding: 80px 0;
  background-color: #F3E8D3;
  text-align: center;
  color: #1f2937;
}

.intro-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 24px;
}

.intro-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #5f2937;
}

.intro-text {
  margin-bottom: 8px;
}

/* ===== kontakt Block ===== */
.kontakt-block {
  padding: 40px 0;
  background-color: #F3E8D3;
  text-align: left;
  color: #000000;
}

.kontakt-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 24px;
}

.kontakt-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #a8192b;
}

.kontakt-text {
  margin-bottom: 8px;
}

/* ===== FAQ Accordion Styles (csak működéshez szükséges CSS) ===== */
.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 0 20px;
}

.faq-intro h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-intro p {
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  color: #3d2b1f;
}
.faq-header h1 {
  text-align: center;
}


.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-divider-text {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: left;
}

.faq-divider-text h2 {
  font-size: 29px;
  font-weight: 600;
  color: #6e0606;
  margin: 0;
}

.faq-divider-text p {
  font-size: 19px;
  font-weight: 500;
  color: #F3E8D3;
  margin: 0;
}

.faq-item {
  background: white;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #f7fafc;
}

.faq-question.active {
  background-color: #edf2f7;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f8f9fa;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

.faq-answer ul {
  color: #4a5568;
  line-height: 1.6;
  margin: 12px 0;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #111827;
  color: #ffffff;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-column {
  text-align: center;
}

.footer-main-link {
  font-size: 18px;
  color: #F3E8D3;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  margin-bottom: 12px;
}

.footer-main-link:hover {
  color: #d1d5db;
}

.footer-sublinks {
  margin-top: 12px;
}

.footer-sublinks div {
  margin-bottom: 4px;
}

.footer-sublinks a {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-sublinks a:hover {
  color: #d1d5db;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 32px;
  text-align: center;
  color: #9ca3af;
}

/* ===== Desktop: fekete képek látszanak, fehérek elrejtve ===== */
.logo-mobile,
.icon-mobile {
  display: none !important;
}

.logo-desktop,
.icon-desktop {
  display: block;
}

/* ===== Tablet Responsive (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .menu-container {
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
  }

  .menu-container.open {
    display: grid;
  }

  .logo-container {
    order: -1;
    margin: 8px 0 12px;
  }

  .menu-section {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
  }

  .menu-link,
  .submenu-toggle {
    color: #ffffff;
  }
  
  /* Mobil/Tablet: fehér képek látszanak, feketék elrejtve */
  .logo-desktop,
  .icon-desktop {
    display: none !important;
  }
  
  .logo-mobile,
  .icon-mobile {
    display: block !important;
  }

  .dropdown .dropdown-content {
    display: none;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
    transform: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
    margin-top: 6px;
  }

  .dropdown-content a {
    color: rgba(255, 255, 255, 0.95);
    padding: 8px 0 8px 16px;
  }

  .dropdown-content a:hover {
    background: transparent;
    color: #d1d5db;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

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

/* ===== Mobile Responsive (max-width: 768px) ===== */
@media (max-width: 768px) {
  .hero-text-overlay {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero-text {
    max-width: 100%;
  }

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

  .section-title {
    font-size: 30px;
  }

  .intro-title {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 16px;
  }
  
  .faq-answer.active {
    padding: 0 20px 20px 20px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  p {
    font-size: 18px;
  }
  
  body {
    font-size: 15px;
  }
}

/* ===== Small Mobile (max-width: 480px) ===== */
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-description {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
    font-weight: 600;
  }

  .intro-title {
    font-size: 24px;
    font-weight: 600;
  }
}

/* ===== Typography Scale ===== */

/* Címek */
h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.8em;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.7em;
}
.text-center {
  text-align: center;
}

p {
  font-size: 20px;
  margin-bottom: 1.2em;
  font-weight: 300;
}

/* Kisebb szövegek (pl. caption, aláírás) */
.small-text {
  font-size: 13px;
  opacity: 0.85;
}

.no-bottom-space {
  margin-bottom: 0 !important;
}
#experience-portraits.portfolio-section {
  padding-bottom: 20px;
}

/* ===== Social & Language Icons Hover Fade Effect ===== */
.social-icons a,
a[href$="english.png"] {
  position: relative;
  display: inline-block;
}

.social-icons a img,
a[href$="english.png"] img {
  display: block;
  width: 20px;
  height: 20px;
  transition: opacity 0.4s ease-in-out;
}

.social-icons a::after,
a[href$="english.png"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

/* Hover: fade between normal and hover icon */
.social-icons a:hover img,
a[href$="english.png"]:hover img {
  opacity: 0;
}

.social-icons a:hover::after,
a[href$="english.png"]:after {
  opacity: 1;
}

/* Hover ikonok*/
.social-icons a[href*="facebook.com"]::after {
  background-image: url("menu/facebook.png");
}

.social-icons a[href*="instagram"]::after {
  background-image: url("menu/instagram.png");
}

.social-icons a[href*="email"]::after,
.social-icons a[href^="mailto:"]::after {
  background-image: url("menu/email.png");
}

/* English flag hover */
a[href*="english.html"]::after {
  background-image: url("menu/english-hover.png");
}



/* ===== Static PNG Logo (no circle, no background) ===== */
.logo-container {
  display: inline-block;
  position: relative;
}

.logo-img {
  width: 120px;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  background: none !important;
}

/* Hover */
.logo-container:hover .logo-img {
  transform: scale(1.06);
  filter: brightness(1.15);

}

/* rólunk  háttérkép*/

body.page-rolunk main,
body.page-rolunk .intro-block {
  background: url("menu/background.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-color: transparent !important;
  color: #ffffff;
}

/* A menü háttere legyen áttetsző, hogy a kép ott is látszódjon */
body.page-rolunk .menu-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0));
}
/* ===== kapcsolathoz ===== */
..contact-section {
  background-color: #111827;
  padding: 40px 0;
}

.contact-wrapper {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #F3E8D3;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.contact-left {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
}

.contact-left img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-right {
  flex: 2;
  padding: 32px;
  color: #d1d5db;
}

.contact-right h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #ffffff;
}

.contact-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-right li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #6b7280;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;

}

/* INFO ÉS GALLERIA A FOOTERBEN */
.footer-static-title {
  font-size: 18px;
  color: #cccccc;
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  cursor: default;
  text-decoration: none;
}

.footer-static-title:hover {
  color: #cccccc; 
}
/* ===== Fixen rögzített dekorációs kép a GYIK-hoz ===== */
body::after {
  content: "";
  position: fixed;
  bottom: 40px;
  right: -90px;
  width: 500px;
  height: 500px;
  background: url("menu/gyik.png") no-repeat center right;
  background-size: contain;
  opacity: 0.90;
  pointer-events: none;
  z-index: 0;
}

/* ===== Mobil és tablet nézetben ne látszódjon ===== */
@media (max-width: 900px) {
  body::after {
    display: none;
  }
}

/* RobVic – warm earth gradient */
:root {
  --rv-1: #361501;
  --rv-2: #3d1700;
  --rv-3: #611a27;
  --rv-4: #6e0606;
  --rv-5: #bb8a6a;
}

/* Fix háttérréteg – a menü alatt is látszik */
.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;                 /* minden tartalom mögött */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Lineáris változat (nyugodt, organikus átmenet) */
.gradient-linear {
  background-image: linear-gradient(
    135deg,
    var(--rv-1) 0%,
    var(--rv-2) 20%,
    var(--rv-3) 45%,
    var(--rv-4) 70%,
    var(--rv-5) 100%
  );
}

/* --- GYIK oldal: a gradient látszódjon a szekciók alatt --- */
body.page-gyik,
html {
  background: transparent !important;
}

/* A teljes főtartalom és az intro blokk legyen áttetsző ezen az oldalon */
body.page-gyik main,
body.page-gyik .intro-block {
  background: transparent !important;
}

/* 2 színű, barnás taupe radial – jól kivehető átmenet, nem sárgás */
.gradient-bg{
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(132% 115% at 28% 32%,
    #E7E1DA 0%,
    #B08E77 84%
  );
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}