html,
body {
  max-width: 100%;
  overflow-x: clip;
}
img {
  max-width: 100%;
}
* {
  box-sizing: border-box;
}
:root {
  --top-bar-height: 40px;
  --header-height: 120px;
  --header-shrink-height: 62px;
  --real-top-bar-height: 40px;
  --content-offset: 160px;
}
body {
  margin: 0;
  background: rgb(243, 243, 206);
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  min-height: 100vh;
  overflow-x: hidden;
}
@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes-v21-latin-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes-v21-latin_latin-ext-regular.woff2")
    format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-500italic.woff2")
    format("woff2");
  font-style: italic;
  font-weight: 500;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-600italic.woff2")
    format("woff2");
  font-style: italic;
  font-weight: 600;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-700italic.woff2")
    format("woff2");
  font-style: italic;
  font-weight: 700;
}
.mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: #1e2f4f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3600;
  opacity: 0;
  transform: rotate(-90deg);
  transition: 0.3s ease;
}
.mobile-close:hover {
  transform: scale(1.1);
}
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--top-bar-height);
  background: #b08a47;
  color: white;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 20px;
  font-size: 16px;
  z-index: 2000;
}
.top-bar > div {
  min-width: 0;
}
.tel-icon,
.tel-icon:visited {
  color: blue;
  transition: 0.2s;
}
.tel-text,
						.tel-text:visited {
  color: white;
  text-decoration: none;
  transition: 0.2s;
}
.tel-text:hover {
  color: blue;
  text-decoration: underline;
}
.mail-icon,
.mail-icon:visited {
  color: blue;
  transition: 0.2s;
}
.mail-text,
				.mail-text:visited {
  color: white;
  text-decoration: none;
  transition: 0.2s;
}
.mail-text:hover {
  color: blue;
  text-decoration: underline;
}
.address-icon,
.address-icon:visited {
  color: blue;
  transition: 0.2s;
}
.address-text,
				.address-text:visited {
  color: white;
  text-decoration: none;
  transition: 0.2s;
}
.address-text:hover {
  color: blue;
  text-decoration: underline;
}
@media screen and (max-width: 950px) {
  .top-bar {
    font-size: 16px;
  }
  .name-1 {
    display: none;
  }
  .tel-icon,
  .mail-icon {
    width: 16px;
    min-width: 16px;
    flex-shrink: 0;
  }
  .tel-text {
    flex: 0 0 calc(100% - 26px);
  }
  .address-icon {
    display: none;
  }
  .address-text {
    display: none;
  }
}
@media screen and (max-width: 950px) and (orientation: landscape) {
  .top-bar {
    font-size: 13px;
  }
  .name-1 {
    display: none;
  }
  .tel-icon {
    width: 16px;
  }
  .tel-text {
    width: auto;
  }
  .mail-icon {
    width: 16px;
  }
  .address-icon {
    width: 15px;
    display: block;
  }
  .address-text {
    display: block;
  }
}
.main-header {
  position: fixed;
  top: var(--real-top-bar-height, var(--top-bar-height));
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 0 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  z-index: 1500;
  transition:
    min-height 0.35s ease,
    height 0.35s ease,
    padding 0.35s ease,
    background 0.35s ease;
}
.main-header.shrink {
  min-height: var(--header-shrink-height);
  padding: 0 28px 0 16px;
  background: rgba(237, 231, 190, 0.5);
}
.logo {
  width: 170px;
  height: auto;
  display: block;
  transform-origin: center;
  transition:
    width 0.35s ease,
     transform 0.35s ease;
}
.logo:hover {
  transform: scale(1.2);
}
.main-header.shrink .logo {
  width: 90px;
  transform-origin: center;
  transition:
    width 0.35s ease,
     transform 0.35s ease;
}
.main-header.shrink .logo:hover {
  transform: scale(1.15);
}
.desktop-nav {
  display: flex;
}
.mobile-nav,
.menu-overlay {
  display: none;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 4100;
  padding: 0;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 26px;
  height: 2px;
  background: #1e2f4f;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    top 0.3s ease;
}
.menu-toggle span:nth-child(1) {
  top: 14px;
}
.menu-toggle span:nth-child(2) {
  top: 22px;
}
.menu-toggle span:nth-child(3) {
  top: 30px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 34px;
  font-weight: 500;
  font-family: "Playfair Display", cursive;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  color: #1e2f4f;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 6px 0;
  transition:
    color 0.3s ease,
    transform 0.25s ease,
    font-size 0.35s ease;
}
.main-nav a.active {
  color: blue;
  font-weight: bold;
}
.main-nav a.no-underline::after {
  display: none;
}
.main-nav .dropdown a::after {
  display: none;
}
.main-nav a[href="kapcsolat.html"] {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgb(69, 69, 181);
  color: white;
  text-decoration: none;
}
.main-nav a[href="kapcsolat.html"]:hover {
  background: darkgreen;
}
.main-nav a:hover {
  color: #b08a47;
  transform: scale(1.12);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #b08a47;
  transition: width 0.3s ease;
}
.main-nav a:hover::after {
  width: 100%;
}
.desktop-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.desktop-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
  min-width: 240px;
  padding: 10px 0;
  border-radius: 10px;
  background: rgb(224, 224, 173);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
.desktop-nav .dropdown a {
  display: block;
  padding: 10px 16px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav .dropdown a:hover {
  background: beige;
  color: #b08a47;
}
.desktop-nav .dropdown::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0px;
  width: 5px;
  background: blue;
  border-radius: 2px;
}
@media (min-width: 1025px) {
  .desktop-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.dropdown-parent {
  border: 0;
  background: transparent;
  cursor: default;
  font: inherit;
  color: #1e2f4f;
  padding: 6px 0;
}
.dropdown-toggle {
  display: none;
  margin-left: 6px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  min-width: 240px;
  padding: 10px 0;
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown a:hover {
  background: #f2f2f2;
}
.desktop-nav .dropdown::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0px;
  width: 5px;
  background: blue;
  border-radius: 2px;
}
@media screen and (max-width: 950px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  .desktop-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}
.main-header.shrink .main-nav {
  gap: 22px;
}
.main-header.shrink .main-nav a {
  font-size: 12px;
}
.main-header.shrink .main-nav button {
  font-size: 12px;
}
@media screen and (max-width: 950px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: beige;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
    z-index: 3500;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 90px 22px 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav.open .mobile-close {
    opacity: 1;
    transform: rotate(0deg);
  }
  .mobile-nav > a,
  .mobile-nav > .mobile-item {
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
  }
  .mobile-nav > a {
    text-decoration: none;
    color: #1e2f4f;
    font-size: 16px;
    font-family: Georgia, serif;
    padding: 16px 0;
  }
  .mobile-nav > a.active {
    color: red;
    font-weight: bold;
  }
  .menu-toggle {
    display: block;
  }
  .menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 3000;
  }
  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
  }
  .mobile-submenu-header a {
    text-decoration: none;
    color: #1e2f4f;
    font-size: 16px;
    font-family: Georgia, serif;
    flex: 1;
  }
  .mobile-submenu-toggle {
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.25s ease;
  }
  .has-submenu.open .mobile-submenu-toggle {
    transform: rotate(45deg);
  }
  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .has-submenu.open .mobile-submenu {
    max-height: 420px;
  }
  .mobile-submenu a {
    display: block;
    text-decoration: none;
    color: #1e2f4f;
    padding: 12px 0 12px 14px;
    font-size: 15px;
    font-family: Georgia, serif;
  }
}
@media screen and (max-width: 950px) and (orientation: landscape) {
  .main-header {
    min-height: 54px !important;
    height: 54px !important;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
  }
  .logo {
    max-height: 45px;
    width: auto;
    transition:
      max-height 0.35s ease,
      width 0.35s ease,
      transform 0.35s ease;
  }
  .main-header.shrink {
    min-height: 40px !important;
    height: 40px !important;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
  }
  .main-header.shrink .logo {
    max-height: 36px;
    width: auto;
  }
}
.page-content {
  padding-top: var(--content-offset);
}
.gallery-shell {
  width: 100vw;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-viewport {
  width: 100vw;
  height: 50vh;
  overflow: hidden;
  position: relative;
  padding-left: 25vw;
  padding-right: 25vw;
}
.gallery-viewport::before,
.gallery-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25vw;
  pointer-events: none;
  z-index: 4;
}
.gallery-viewport::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(17, 17, 17, 0.85),
    rgba(17, 17, 17, 0)
  );
}
.gallery-viewport::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(17, 17, 17, 0.85),
    rgba(17, 17, 17, 0)
  );
}
.gallery-track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.kep-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.kep-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide {
  flex: 0 0 auto;
  width: 50vw;
  height: 100%;
  position: relative;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(0.9) translateZ(0);
  transition:
    transform 0.6s ease,
    filter 0.6s ease,
    opacity 0.6s ease;
  will-change: transform, filter, opacity;
  backface-visibility: hidden;
  filter: brightness(0.7);
  opacity: 0.95;
}
.slide.active img {
  transform: scale(1.05);
  filter: brightness(1);
  opacity: 1;
  transition-delay: 0s;
}
.arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease;
  user-select: none;
  z-index: 5;
}
.slide:hover .arrow {
  opacity: 1;
}
.arrow-left {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.arrow-right {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
@media screen and (max-width: 950px) {
  .gallery-shell {
    height: auto;
    overflow: visible;
    margin-bottom: 100px;
  }
  .gallery-viewport {
    height: 260px;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
  }
  .gallery-track {
    height: 260px;
  }
  .slide {
    width: 100vw;
    height: 260px;
  }
  .slide img {
    height: 260px;
    object-fit: cover;
  }
  .gallery-viewport::before,
  .gallery-viewport::after {
    display: none;
  }
  .arrow {
    opacity: 1;
  }
}
@media screen and (max-width: 950px) and (orientation: landscape) {
  .gallery-viewport {
    height: 180px;
    padding-left: 25vw;
    padding-right: 25vw;
    overflow: hidden;
  }
  .gallery-track {
    height: 180px;
  }
  .slide {
    width: 50vw;
    height: 180px;
  }
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
}
.welcome-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  font-size: 31px;
  font-weight: 400;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  text-align: center;
  background: rgba(69, 69, 181, 0.8);
  border: 2px solid #b08a47;
  width: 100%;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 3s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@media screen and (max-width: 950px) {
  .welcome-text {
    font-size: 20px;
  }
}
.szoveg2 {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%) translateY(30px);
  color: #ffffff;
  font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 20px);
  text-align: center;
  line-height: 1.4;
  width: 85%;
  background: rgba(69, 69, 181, 0.7);
  padding: 14px 20px;
  border-radius: 12px;
  border: 2px solid #b08a47;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: feluszik 1.5s forwards;
  animation-delay: 1s;
}
@media screen and (max-width: 950px) {
  .szoveg2 {
    font-size: 16px;
    line-height: 1;
    padding: 5px;
  }
}
@keyframes feluszik {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.maci-block-flex {
  display: flex;
  gap: 10px;
  animation: slideIn 2.2s ease-out;
  width: 70vw;
  max-width: 1000px;
  padding: 10px 10px;
  border-left: 4px solid #b08d57;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  align-items: center;
}
.maci-block-text {
  text-align: center;
  margin: 0px 50px;
}
.maci-block-photo img {
  max-width: 80px;
  margin-left: 15px;
}
.maci-block-text h1 {
  font-weight: 600;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1vw, 30px);
  margin-top: 0px;
}
.maci-block-text p {
  margin: 0;
  font-size: clamp(16px, 0.9vw, 18px);
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.35;
  color: #1e2f4f;
}
@media (min-width: 1601px) and (max-width: 1930px) {
  .maci-block-photo img {
    max-width: 220px;
    margin-left: 15px;
  }
  .maci-block-text h1 {
    font-size: 25px;
  }
  .maci-block-text p {
    font-size: 25px;
  }
  .maci-block-flex {
    max-width: 1600px;
  }
}
@media (min-width: 1501px) and (max-width: 1600px) {
  .maci-block-photo img {
    max-width: 130px;
    margin-left: 15px;
  }
  .maci-block-text p {
    font-size: 18px;
  }
}
@media (min-width: 1280px) and (max-width: 1500px) {
  .maci-block-photo img {
    max-width: 80px;
    margin-left: 15px;
  }
}
@media (min-width: 1966px) and (max-width: 22790px) {
  .maci-block-flex {
    max-width: 1100px;
  }
  .maci-block-photo img {
    max-width: 120px;
    margin-left: 15px;
  }
}
@media (min-width: 2280px) and (max-width: 3440px) {
  .maci-block-photo img {
    max-width: 160px;
    margin-left: 15px;
  }
}
.button6 a {
  align-items: center;
  color: white;
  background-color: #b08a47;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  display: inline-block;
  transition:
    color 0.3s ease,
    transform 0.25s ease,
    font-size 0.35s ease;
  text-decoration: none;
}
.button6 a:hover {
  background: darkgreen;
  color: #b08a47;
  transform: scale(1.12);
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media screen and (max-width: 950px) {
  .maci-block-text h1 {
    font-size: 20px;
  }
  .maci-block-text p {
    font-size: 18px;
  }
  .maci-block-flex {
    flex-direction: column;
    max-width: 760px;
    gap: 0px;
  }
}
.bemutatkozas .masodik {
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 30px;
  margin-top: 2em;
  text-align: center;
}
.bemutatkozas .harmadik {
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 30px;
  text-align: center;
  color: #b08d57;
}
@media (min-width: 1280px) and (max-width: 1500px) {
  .bemutatkozas .masodik {
    font-size: 25px;
  }
  .bemutatkozas .harmadik {
    font-size: 25px;
  }
}
@media screen and (max-width: 950px) {
  .bemutatkozas .masodik {
    font-size: 22px;
  }
  .bemutatkozas .harmadik {
    font-size: 22px;
    margin-left: 0.3em;
  }
}
.parallax-resz {
  position: relative;
  margin-bottom: 4em;
  min-height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
  border-top: 1px solid rgba(176, 138, 71, 0.15);
  border-bottom: 1px solid rgba(176, 138, 71, 0.15);
}
.parallax-hatter {
  position: absolute;
  top: -10%;
  left: 0px;
  width: 100%;
  height: 120%;
  background-image: url("../images/hammer.png");
  background-color: rgb(247, 247, 189);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: left;
  transform: translateY(0);
  z-index: 1;
}
.tartalom {
  position: absolute;
  right: 2%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border-radius: 12px;
  width: min(100%, 900px);
  box-sizing: border-box;
  flex-direction: row-reverse;
  opacity: 0;
}
.kep1 {
  width: min(450px, 40vw);
  height: auto;
  border: 3px solid goldenrod;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease;
}
.tartalom.show {
  animation: kepbe 2.2s ease-out forwards;
}
.kep1:hover {
  transform: translateX(0) scale(1.05) !important;
}
@keyframes kepbe {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.szoveg {
  flex: 1;
  min-width: 60%;
  text-align: center;
  background: rgba(245, 245, 220, 0.7);
}
.szoveg h2 {
  font-family: "Great Vibes", cursive;
  font-size: 50px;
  font-weight: 400;
  margin: 5px 0;
  line-height: 1.3;
}
.szoveg h3 {
  color: rgb(30, 58, 135);
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  border-bottom: 1px solid rgba(176, 138, 71, 1);
  padding-bottom: 20px;
  font-size: 30px;
}
.szoveg p {
  padding: 25px;
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: black;
  font-size: 20px;
  text-align: justify;
}
.parallax-resz .szoveg .main-nav a {
  color: white;
  background-color: rgb(69, 69, 181);
  padding: 10px;
  transition: 0.3s;
  font-size: 18px;
  border-radius: 6px;
  display: inline-block;
  transition:
    color 0.3s ease,
    transform 0.25s ease,
    font-size 0.35s ease;
}
.parallax-resz .szoveg .main-nav a:hover {
  background: darkgreen;
  color: #b08a47;
  transform: scale(1.12);
}
.parallax-resz .szoveg .main-nav a::after {
  display: none;
}
@media (min-width: 1280px) and (max-width: 1500px) {
  .szoveg p {
    font-size: 16px;
  }
  .kep1 {
    width: min(400px, 40vw);
  }
  .szoveg {
    flex: 1;
    min-width: 40%;
  }
}
@media screen and (max-width: 950px) {
  .parallax-resz {
    margin-top: 300px;
    overflow: visible;
    position: relative;
  }
  .tartalom {
    flex-direction: column;
    right: 0%;
    padding: 0;
  }
  .kep1 {
    width: 95vw;
    max-width: 500px;
  }
  .szoveg h2 {
    font-size: 40px;
  }
  .szoveg h3 {
    font-size: 20px;
  }
  .szoveg p {
    font-size: 18px;
    margin-left: 0;
    margin-right: 0;
    padding: 15px;
  }
  .parallax-resz .szoveg .main-nav a {
    margin-right: 20px;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 950px) and (orientation: landscape) {
  .kep1 {
    width: 65vw;
  }
}
.content-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px;
}
.photo {
  margin-top: 70px;
  width: 600px;
  aspect-ratio: 12/10;
  position: relative;
}
.photo .flip-inner img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border: 3px solid goldenrod;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}
.photo .flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.photo:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.flip-front img,
.flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip-back {
  transform: rotateY(180deg);
}
.text {
  flex: 1;
  text-align: justify;
  font-size: 20px;
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
.text h2 {
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-size: 50px;
  font-weight: 400;
  margin: 5px 0;
  line-height: 1.3;
}
.text h3 {
  text-align: center;
  color: rgb(30, 58, 135);
  border-bottom: 1px solid rgba(176, 138, 71, 1);
  padding-bottom: 20px;
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 30px;
}
.text p {
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
@media (min-width: 1280px) and (max-width: 1500px) {
  .content-block {
    max-width: 1100px;
    gap: 0px;
  }
  .photo .flip-inner img {
    align-items: center;
    width: 100%;
    max-width: 480px;
  }
  .text p {
    font-size: 16px;
  }
}
.content-block .text .main-nav a {
  color: white;
  background-color: rgb(69, 69, 181);
  padding: 10px;
  transition: 0.3s;
  font-size: 18px;
  border-radius: 6px;
  transition:
    color 0.3s ease,
    transform 0.25s ease,
    font-size 0.35s ease;
}
.content-block .text .main-nav a:hover {
  background: darkgreen;
  color: #b08a47;
  transform: scale(1.12);
}
.content-block .text .main-nav a::after {
  display: none;
}
@media screen and (max-width: 950px) {
  .content-block {
    position: relative;
    justify-content: center;
    margin-top: 300px;
    overflow: visible;
    flex-direction: column;
    align-items: center;
    padding-left: 18px;
    padding-right: 18px;
  }
  .photo {
    margin-top: 0px;
    width: 95vw;
    max-width: 500px;
  }
  .text h2 {
    font-size: 40px;
  }
  .text h3 {
    font-size: 20px;
  }
  .text p {
    font-size: 18px;
    text-align: justify;
  }
}
@media screen and (max-width: 950px) and (orientation: landscape) {
  .content-block {
    margin-top: 400px;
    flex-direction: column;
  }
  .photo {
    width: 65vw;
  }
}
.a {
  position: relative;
  margin: 12px 0 40px 0;
  padding: 0 30px;
  isolation: isolate;
}
.a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hatterkep1.png");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}
.maci-block2 {
  font-size: 30px;
  font-weight: 500;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  text-align: center;
  line-height: 1.35;
  color: #1e2f4f;
  border-left: 4px solid #b08d57;
  padding: 10px 20px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 2em;
  opacity: 0;
}
.maci-block2.show {
  animation: maci-block2 2.2s ease-out forwards;
}
@keyframes maci-block2 {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  justify-content: center;
  gap: 40px;
  padding: 10px;
  max-width: 1300px;
  margin: 0 auto;
}
.photo1 {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
}
.photo1 .flip-card {
  width: 100%;
  height: 100%;
}
.photo1 .flip-card .flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.photo1:hover .flip-card .flip-inner {
  transform: rotateY(180deg);
}
.photo1 .flip-card .flip-inner .flip-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  pointer-events: none;
}
.photo1 .flip-card .flip-inner .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  pointer-events: auto;
}
.photo1 .flip-card .flip-inner .flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 2px solid goldenrod;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}
.photo1 .flip-card .flip-inner .flip-back {
  position: absolute;
  transform: rotateY(180deg);
  display: block;
  background-color: rgb(210, 210, 148);
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 16px 16px 58px;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.6);
  text-align: center;
}
.photo1 .flip-card .flip-inner .flip-front .text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 19px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
}
.photo1 .flip-card .flip-inner .flip-back h2 {
  font-size: 16px;
  color: rgb(26, 46, 101);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  padding: 1px;
}
.photo1 .flip-card .flip-inner .flip-back p {
  font-size: 15px;
  color: black;
  text-align: justify;
  font-family: Arial, Helvetica, sans-serif;
  padding: 1px;
}
.photo1 .flip-card .flip-inner .flip-back a {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-block;
  padding: 1px 16px;
  background-color: rgb(69, 69, 181);
  color: white;
  text-decoration: none;
  border-radius: 6px;
}
.photo1 .flip-card .flip-inner .flip-back > *:last-child {
  margin-bottom: 0;
}
.photo1 .flip-card .flip-inner .flip-back a:hover {
  background: darkgreen;
  color: #b08a47;
  transform: translateX(-50%) scale(1.12);
}
.photo1:hover .flip-card .flip-inner .flip-back {
  z-index: 3;
}
.photo1 .flip-card .flip-inner .flip-front::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
@media screen and (max-width: 950px) {
  .grid-container {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
  }
  .photo1 {
    width: min(95vw, 500px);
    height: min(350px, 500px);
  }
  .photo1 .flip-card .flip-inner .flip-back h2 {
    font-size: 18px;
    margin: 0;
  }
  .photo1 .flip-card .flip-inner .flip-back p {
    font-size: clamp(18px, 5vw, 22px);
  }
  .photo1 .flip-card .flip-inner .flip-back a {
    left: 70%;
    bottom: 5px;
  }
}
@media screen and (max-width: 950px) and (orientation: landscape) {
  .grid-container {
    margin-left: 22vw;
  }
}
.parallax2 {
  background-image: url("../images/hatter2.jpg");
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax2 .text3 {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}
.parallax2 .text3 h2 {
  color: #b08a47;
  font-size: 45px;
  line-height: 1.4;
  margin: 0 auto;
}
.parallax2 .text3 p {
  color: white;
  font-size: 25px;
  line-height: 1.4;
  margin-top: 30px;
}
footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-container {
  max-width: 1500px;
  align-items: flex;
  display: flex;
  flex-wrap: wrap;
}
.footer-section .footer_p1 p {
  margin: 5px 0;
  line-height: 1.3;
}
.footer-section:first-child {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo2 {
  max-width: 220px;
  height: auto;
}
.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}
.footer-section h3 {
  color: #ffffff;
  margin-bottom: 15px;
}
.footer-section p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}
.footer-section a {
  display: inline-block;
  position: relative;
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
  text-decoration: none;
}
.footer-section a:hover {
  color: #b08a47;
  text-decoration: underline;
}
.tel-icon-2,
.tel-icon-2:visited {
  color: blue;
  transition: 0.2s;
}
.tel-text-2,
						.tel-text-2:visited {
  color: white;
  text-decoration: none;
  transition: 0.2s;
}
.tel-text-2:hover {
  color: blue;
  text-decoration: underline;
}
.mail-icon-2,
.mail-icon-2:visited {
  color: blue;
  transition: 0.2s;
}
.mail-text-2,
				.mail-text-2:visited {
  color: white;
  text-decoration: none;
  transition: 0.2s;
}
.mail-text-2:hover {
  color: blue;
  text-decoration: underline;
}
.address-icon-2,
.address-icon-2:visited {
  color: blue;
  transition: 0.2s;
}
.address-text-2,
				.address-text-2:visited {
  color: white;
  text-decoration: none;
  transition: 0.2s;
}
.address-text-2:hover {
  color: blue;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}
.footer-bottom a {
  color: blue;
  font-size: 15px;
}
.footer-bottom .name {
  color: #b08a47;
}
