
:root {
    --primary-color: #943746;
    --secondary-color: #943746;
    --text-color: #333;
    --background-color: #f4f4f9;
}
::selection {
    background-color: #943746;
    color: #ffffff;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:Georgia, 'Times New Roman', Times, serif;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body,
html {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: black;
}
nav {
    backdrop-filter: blur(90px);
    box-shadow: 0px 0px 30px rgba(1, 5, 38, 0.563);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1);
}
nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li {
    height: 50px;
}
nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
}
nav a:hover {
    color: #943746;
}
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.662);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
.sidebar.show {
    transform: translateX(0);
}
.sidebar li {
    width: 100%;
}
.sidebar a {
    width: 100%;
}
.sidebar button {
    background: none;
    border: none;
    padding: 0;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar button svg {
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
}
.menu-button {
    display: none;
}
.nav-items a.active {
    color: var(--secondary-color);
}
.nav-items a[href="#kedvezmenyek"].active {
    color: var(--secondary-color);
}
.home {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    padding: 3rem 1rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    filter: grayscale();
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
     background: rgba(0, 0, 0, 0.01);
    border: none;
    border-radius: 50%;
    z-index: 2;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}
.prev:hover,
.next:hover {
    color: #943746;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    opacity: 0.9;
}
.dot {
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.dot.active {
    background-color: #943746;
}
.duma {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    margin-left: 50px;
    z-index: 0;
}
.duma h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.duma p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin: 0.5rem 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.button {
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #943746;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.button:hover {
    background-color: #333;
    color: var(--secondary-color);
}
section#idopont {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(assets/hatter2.png);
    color: var(--text-color);
    padding: 20px;
}
#form-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}
#form-container h2 {
    margin-top: 0;
    font-size: 2rem;
    color: white;
}
form label {
    display: block;
    margin-top: 15px;
    font-size: 1.2rem;
    color: white;
    text-align: left;
    width: 100%;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
form input,
form select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1rem;
}
form button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
form button:hover {
    background-color: #333;
    color: var(--secondary-color);
}
#arak {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-image: url('assets/arak.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin-bottom: 0;
    box-sizing: border-box;
}
#arak h2 {
  text-align: center;
  color: white;
  margin-bottom: 30px;
  font-size: 2rem;
}
.price-content-container {
    background-color: transparent;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    color: white;
}
#arak {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-image: url('assets/arak.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin-bottom: 0;
    box-sizing: border-box;
}
.desktop-view h2,
.mobile-view h2 {
  text-align: center;
  color: white;
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 2rem;
}
.desktop-view {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
}
.price-table th,
.price-table td {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-align: center;
}
.price-table th {
    background-color: #943746;
    color: white;
    font-weight: bold;
    text-align: center;
}
.price-table th:nth-child(1),
.price-table td:nth-child(1) { width: 50%; }
.price-table th:nth-child(2),
.price-table td:nth-child(2) { width: 25%; text-align: center;}
.price-table th:nth-child(3),
.price-table td:nth-child(3) { width: 25%; text-align: center;}
.price-table tbody tr {
    background-color: rgba(255, 255, 255, 0.05);
}
.price-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}
.price-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.mobile-view {
  display: none;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  padding: 0 10px;
}
.price-card {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  color: white;
}
.price-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #ffffff;
  border-bottom: 1px solid #943746;
  padding-bottom: 5px;
}
.price-card p {
  margin: 5px 0;
  color: #dddddd;
  font-size: 0.95rem;
}
.price-card p strong {
    color: #ffffff;
    margin-right: 5px;
}
@media screen and (max-width: 767px) {
  .desktop-view {
    display: none;
  }
  .mobile-view {
    display: block;
  }
  #arak {
     padding: 30px 10px;
  }
}
@media screen and (min-width: 768px) {
  .mobile-view {
    display: none;
  }
  .desktop-view {
     display: block;
     max-width: 800px;
  }
}
#kedv-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-image: url('assets/hatter3.png');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    margin-bottom: 0;
    box-sizing: border-box;
}
#kedv-container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-image: url('assets/hatter3.png');
    background-size: cover;
    background-position: 20% 20%;
    background-attachment: fixed;
    margin-bottom: 0;
}
#kedvezmenyek {
    position: relative;
    margin-top: 0px;
    max-width: 800px;
    text-align: center;
    color: white;
}
#kedvezmenyek h2 {
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    display: inline-block;
    margin-bottom: 100px;
}
.discount-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.flip-card {
    width: 250px;
    height: 150px;
    perspective: 1000px;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.flip-card-front {
    background-color: rgba(255, 255, 255, 0.8);
}
.flip-card-back {
    background-color: #943746;
    color: white;
    transform: rotateY(180deg);
}
.flip-card {
    animation: scissor-spin 2s infinite ease-in-out, float 3s infinite ease-in-out;
}
@keyframes scissor-spin {
    0% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    25% {
        transform: rotate(15deg) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: rotate(-15deg) scale(1.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
    75% {
        transform: rotate(10deg) scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
}
.flip-card:hover {
    animation: none;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front h3,
.flip-card-back h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #943746;
}
.flip-card-back h3 {
    color: white
}
.flip-card-front p,
.flip-card-back p {
    font-size: 1rem;
    color: black;
}
.discount-tile1 .flip-card-front {
    background-image: url('assets/rend.webp');
    background-size: 20%;
    background-position: 5% 84%;
    background-repeat: no-repeat;
    color: white;
}
.discount-tile2 .flip-card-front {
    background-image: url('assets/konyv.png');
    background-size: 25%;
    background-position: 5% 95%;
    background-repeat: no-repeat;
    color: white;
}
.discount-tile3 .flip-card-front {
    background-image: url('assets/Dafc_logo.webp');
    background-size: 25%;
    background-position: 3% 85%;
    background-repeat: no-repeat;
    color: white;
}
.discount-tile3 .flip-card-back {
    background-color: #943746;
}
#galery {
    background-image: url('assets/galery.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    color: white;
}
.container {
    width: 900px;
    height: 80vh;
    display: flex;
    gap: 10px;
    margin: auto;
}
.card {
    min-width: 70px;
    height: 100%;
    flex-grow: 1;
    transition: flex-grow 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
#galery h2 {
    text-align: center;
    color: whitesmoke;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.card:hover {
    flex-grow: 100;
}
.background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
}
.card-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-image svg {
    width: 24px;
    height: 24px;
}
.title {
    white-space: nowrap;
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-align: left;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 1;
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease, background 0.3s ease;
}
.card:hover .title {
    color: #943746;
    background: rgba(0, 0, 0, 0.9);
}
.backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}
section#kapcsolat {
    background-image: url(assets/contact.png);
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    width: 100%;
    padding: 70px 20px 80px 20px;
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 40px;
}
section#kapcsolat h2 {
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 12px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    display: inline-block;
    font-size: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.contact-info {
    max-width: 600px;
    width: 90%;
    background: rgba(0, 0, 0, 0.55);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    color: white;
    margin-bottom: 40px;
    text-align: left;
}
.contact-info p {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
}
.contact-info p strong {
    color: #ffffff;
    margin-right: 8px;
    display: inline-block;
}
.contact-info a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}
.contact-info a:hover {
    color: #CCCCCC;
    text-decoration: none;
}
.map {
    max-width: 768px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}
.map iframe {
    border: 0;
    width: 100%;
    display: block;
}
#rolunk {
    padding: 40px 20px;
    background-image: url(assets/rolunk.png);
    background-size: cover;
    background-position: center bottom;
    text-align: center;
    position: relative;
}
#rolunk::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
#rolunk * {
    position: relative;
    z-index: 2;
}
#rolunk h2 {
    font-weight: bold;
    color: white;
    background-color: transparent;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    display: inline-block;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}
.about-card {
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: justify;
}
.about-card.profile-pic {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.about-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--secondary-color);
}
.about-card.job {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #943746;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card.job:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: rgba(148, 55, 70, 0.2);
    color: white;
}
.about-card.job h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.about-card.job p {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}
img.profile-pic {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  width: 100px;
    height: 100px;
    border-radius: 50%;
  margin: 0 auto 15px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
     object-fit: cover;
}
footer {
    color: var(--primary-color);
    text-align: center;
    font-size: 0.9rem;
    background-color: black;
    margin-top: 0;
}
.footer-content{
    margin-bottom: 10px;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
}
.footer-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #943746;
    margin-top: 15px;
}
.footer-container strong {
    color: #f0f0f0;
}
.footer-container h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}
.footer-container a {
    color: #943746;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-container a:hover {
    color: rgba(148, 55, 70, 0.9);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    z-index: 1000;
    mix-blend-mode: difference;
    background-color: transparent;
}
.back-to-top:hover {
    mix-blend-mode: normal;
    background-color: rgba(148, 55, 70, 0.9);
    color: white;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
@media screen and (max-width: 768px) {
    .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 10px;
        width: 100%;
        padding: 10px;
    }
    .card {
        height: auto;
    }
    .background {
        object-fit: cover;
    }
    .card:hover {
        flex-grow: 1;
    }
    .discount-grid {
        grid-template-columns: 1fr;
    }
    #form-container {
        padding: 20px;
        width: 90%;
    }
    .button {
        font-size: 1.2rem;
    }
    .duma {
        padding: 1rem;
        margin-left: 0;
    }
}
@media screen and (max-width: 992px) {
    .discount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (min-width: 1200px) {
    .discount-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menu-button {
        display: block;
    }
}
@media(max-width: 450px) {
    .sidebar {
        width: 100%;
    }
}
