/* #region Body*/

@font-face {
  font-family: "Opificio";
  src: url("fonts/Opificio-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Opificio", sans-serif;
}
/* #endregion */

/* #region TÖLTŐKÉPERNYŐ*/

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  /* Add this line */
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-out;
  z-index: 9999;
}

#loader img {
  width: 200px;
  height: auto;
  animation: pulse 2s infinite;
  margin-top: 85px;
}

@keyframes blink {
  0% {
    opacity: 0.3;
    color: rgb(255, 255, 255);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

#loader h4 {
  color: white;
  margin-top: 100px;
  position: relative;
  animation: blink 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

#loaded {
  display: block;
  opacity: 0;
  transition: opacity 1s ease-out;
}

/* #endregion */

/* #region NAVBAR + Fixek*/

.nav-link {
  font-size: 17px;
  font-weight: 300;
}

.nav-link:hover {
  color: #cbbb07 !important;
  transform: scale(1.03);
}

.navbar-toggler {
  border: 0 !important;
  background: transparent !important;
  padding: 0.25rem 0.5rem;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none !important;
}
.navbar-toggler-icon {
  /* disable default svg so we can draw custom bars */
  background-image: none !important;
  width: 22px;
  height: 2px;
  background-color: #fff;
  position: relative;
  display: inline-block;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition:
    transform 0.25s ease,
    top 0.25s ease,
    opacity 0.25s ease;
  transform-origin: center;
}
.navbar-toggler-icon::before {
  top: -7px;
}
.navbar-toggler-icon::after {
  top: 7px;
}

/* optional: slightly increase hit area without visible box */
.navbar-toggler {
  min-width: 44px;
  min-height: 44px;
}

/* Remove tiny visual gaps and stabilize the navbar during scroll/collapse */
.navbar {
  border-bottom: 0 !important;
  box-shadow: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Fixed-top support: ensure content isn't hidden behind the navbar */
.fixed-top {
  z-index: 1030;
}

/* Animate toggler to X when expanded (Bootstrap removes .collapsed when open) */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-color: transparent;
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  transform: rotate(0deg);
}

/* Navbar link icons */
.navbar-nav .nav-icon {
  color: #ffd700;
  margin-right: 10px;
  font-size: 16px;
  vertical-align: middle;
}
.navbar-nav .nav-link:hover .nav-icon {
  color: #ffd700;
}

/* give a small gap between nav items on larger screens to avoid overlap */
@media (min-width: 768px) {
  .navbar-nav .nav-item {
    margin-left: 12px;
  }
}

/* Add top padding equal to your navbar height to prevent content from being covered */
body {
  padding-top: 70px;
}

@media (max-width: 576px) {
  body {
    padding-top: 56px;
  }
}

/* Nav link underline animation: grows from center on hover */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #ffd700;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* #endregion */

/* #region FullScreen kép/videó + Időpontfoglalás */

.main {
  margin-bottom: 7.5vh;
  position: relative;
  height: 85vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#main-content {
  z-index: 1;
  color: white;
  text-align: center;
  position: relative;
}

#logo-img {
  max-width: 250px;
  height: auto;
  transform: scale(1);
  transition:
    transform 3s ease-in,
    transform 1s ease-out;
}

#logo-img:hover {
  transform: scale(1.05);
}

@media screen and (min-height: 992px) {
  #logo-img {
    margin-bottom: 0px !important;
  }
}

.idopontgomb {
  background-color: #ffd700 !important;
  border-color: #353c40 !important;
  font-size: 1.4rem !important;
  color: #333;
  font-weight: bold;
  padding: 15px !important;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.idopontgomb:hover {
  background-color: #f6e475 !important;
  color: #0c0c0c;
  transform: scale(1.02);
}

.button-87 {
  padding: 15px 30px;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  border: 0px;
  font-weight: 700;
  box-shadow: 0px 0px 14px -7px #a89506;
  background-image: -webkit-linear-gradient(
    45deg,
    rgb(208, 190, 87) 0%,
    rgb(177, 159, 54) 51%,
    rgb(229, 215, 135) 100%
  );
  background-image: linear-gradient(
    45deg,
    rgb(208, 190, 87) 0%,
    rgb(177, 159, 54) 51%,
    rgb(229, 215, 135) 100%
  );
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  column-gap: 100px !important;
  width: 300px;
  max-width: 100%;
}

.button-87:hover {
  background-position: right center;
  color: #000000;
  text-decoration: none;
}

.button-87:active {
  transform: scale(0.95);
}

/* #endregion */

/* #region Rólunk */
#rolunk {
  padding-top: 50px;
  scroll-margin-top: 75px;
  background: linear-gradient(
    180deg,
    rgb(33, 37, 41) 10%,
    rgb(81, 87, 94) 100%
  );
}

.rolunktext {
  font-size: 18px !important;
}

h2 {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 20px;
}

h2::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1.5px;
  background-color: #ffd700;
  bottom: -5px;
  left: 0;
}

.fodrasz-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.fodrasz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  background: transparent;
  border: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

.fodrasz-card:hover {
  transform: translateY(-6px);
}

.fodrasz-card img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d4a574;
  transition:
    transform 0.25s ease,
    filter 0.2s ease;
  margin-bottom: 12px;
}

.fodrasz-card:hover img {
  transform: scale(1.03);
  filter: brightness(1.06);
}

.fodrasz-card h3 {
  margin: 0;
  color: #e8e8e8;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
  text-align: center;
  position: relative;
  padding-bottom: 8px;
}

/* underline that grows from center under the name */
.fodrasz-card h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #d4a574;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.fodrasz-card:hover h3::after {
  width: 100%;
}

@media (max-width: 576px) {
  .fodrasz-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
  }

  .fodrasz-card img {
    width: 130px;
    height: 130px;
  }

  .fodrasz-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .fodrasz-container {
    gap: 10px;
    padding: 0 5px;
  }

  .fodrasz-card img {
    width: 100px;
    height: 100px;
  }

  .fodrasz-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 350px) {
  .fodrasz-container {
    gap: 5px;
    padding: 0;
  }

  .fodrasz-card img {
    width: 85px;
    height: 85px;
  }

  .fodrasz-card h3 {
    font-size: 16px;
  }
}

/* Video styling for Rólunk section */
.col-lg-6 video {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
  border: 3px solid #ffffff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  display: block;
  animation: videoGlow 3s ease-in-out infinite;
}

.col-lg-6 video:hover {
  transform: scale(1.02);
  box-shadow:
    0 12px 40px rgba(255, 255, 255, 0.6),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  animation: none;
}

@keyframes videoGlow {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(253, 253, 253, 0.3);
  }
  50% {
    box-shadow:
      0 8px 32px rgba(255, 255, 255, 0.5),
      inset 0 0 15px rgba(255, 215, 0, 0.08);
  }
}

/* Social icons styling */
.social-icons {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background-color: transparent;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 40px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #ffffff;
  color: #1f2937;
  border-color: #ffffff;
}

.social-icons a i {
  transition: transform 0.25s ease;
}

.social-icons a:hover i {
  transform: translateY(-2px);
}

/* #endregion */

/* #region Árak*/
#arak {
  margin-top: 50px;
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

#arak h2 i {
  color: #ffd700;
  margin-right: 10px;
}

#arak .table {
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

#arak .table thead th {
  background: rgba(255, 221, 31, 0.5);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.95rem;
  border: none;
}

#arak .table tbody td {
  background: rgba(0, 0, 0, 0.28);
  font-weight: 500;
  color: #e9e9e9;
  padding: 14px 18px;
  vertical-align: middle;
  border: none;
}

#arak .table tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.01);
}

#arak .price-cell {
  color: #ffd700;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 576px) {
  #arak .table thead th,
  #arak .table tbody td {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* Make the nyitvatartas table match the Árak table styles */
.nyitvatartas {
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.nyitvatartas thead th {
  background: rgba(255, 221, 31, 0.5);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.95rem;
  border: none;
}

.nyitvatartas tbody td {
  background: rgba(0, 0, 0, 0.28);
  font-weight: 500;
  color: #e9e9e9;
  padding: 14px 18px;
  vertical-align: middle;
  border: none;
}

.nyitvatartas tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.01);
}

@media (max-width: 576px) {
  .nyitvatartas thead th,
  .nyitvatartas tbody td {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* #endregion */

/* #region Helyszin */

#Helyszin {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: rgb(255, 241, 164);
  scroll-margin-top: 75px;
  background: linear-gradient(0deg, rgb(33, 37, 41) 10%, rgb(81, 87, 94) 100%);
}

.FoUzlet {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.UzletValaszto {
  background-color: rgb(159, 139, 22);
  width: 50%;
  height: 3px;
  margin-bottom: 10px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  /* Középre igazítja az ikonokat */
  gap: 20px;
  /* Közti távolság az ikonok között */
  margin-top: 20px;
  /* Felső margó az ikonoknak */
}

/* Style contact icons to match the social icons used earlier */
.contact-icons .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background-color: transparent;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 40px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.contact-icons .icon:hover {
  background-color: #ffffff;
  color: #1f2937;
  border-color: #ffffff;
}

.contact-icons .icon i {
  transition: transform 0.25s ease;
}

.contact-icons .icon:hover i {
  transform: translateY(-2px);
}

.HelyKep {
  transition:
    transform 0.3s,
    opacity 0.3s;
  width: 500px;
}

.HelyKep:hover {
  cursor: pointer;
  transform: scale(1.02);
  opacity: 0.8;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.image-container {
  position: relative;
  display: inline-block;
}

.image-container:hover .overlay {
  opacity: 1;
}

.full-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 2000;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.full-screen img {
  width: 30%;
}

@media screen and (max-width: 1100px) {
  .full-screen img {
    width: 55%;
  }
}

@media screen and (max-width: 750px) {
  .full-screen img {
    width: 70%;
  }
}

.full-screen.active {
  opacity: 1;
  visibility: visible;
}

.overlay {
  pointer-events: none;
}

/* Ensure anchor clicks place the section below the fixed navbar */
#kapcsolat {
  padding-top: 50px;
  scroll-margin-top: 75px;
}

/* #endregion */

/* #region Footer styles */
.site-footer {
  background: linear-gradient(180deg, #0b0b0b 0%, #141414 100%);
  color: #e9e9e9;
}
.site-footer .footer-top {
  padding-top: 24px;
  padding-bottom: 10px;
}
.site-footer p {
  color: rgba(233, 233, 233, 0.86);
}
.site-footer h5 {
  color: #ffd700;
  margin-bottom: 0.75rem;
}
.site-footer a {
  color: #e9e9e9;
  text-decoration: none;
}
.site-footer a:hover {
  color: #ffd700;
  text-decoration: underline;
}
.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  margin-right: 8px;
}
.site-footer .footer-social a i {
  font-size: 18px;
}
.site-footer .footer-social a:hover {
  background: #ffffff;
  color: #1f2937;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 18px;
  padding-top: 12px;
}

@media (max-width: 576px) {
  .site-footer .footer-social a {
    width: 36px;
    height: 36px;
  }
  .site-footer .footer-top {
    padding-top: 12px;
  }
  .site-footer {
    padding-bottom: 24px;
  }
}

/* #endregion */
