:root {
    --lido-green: #4A7766;
    --lido-dark: #111815;
    --dark-bg: #111815;
    --white: #ffffff;
}

body, html { 
    margin: 0; 
    padding: 0; 
    background: linear-gradient(rgba(17, 24, 21, 0.85), rgba(17, 24, 21, 0.85)), 
    url('pics/hatter.png') center/cover fixed;
    color: white; 
    font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}

nav { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: clamp(10px, 8vh, 20px) clamp(20px, 4vw, 40px); 
    z-index: 1000; 
    box-sizing: border-box;
}

.logo-img { 
    width: clamp(50px, 4vw, 100px);
    height: auto; 
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); 
}

.lang-switcher-gateway {
    position: absolute;
    top: 80px;
    left: 40px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.lang-switcher-gateway img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.lang-switcher-gateway img:hover {
    transform: scale(1.1);
}

.lang-switcher {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 15px auto !important;
    width: 100% !important;
}

.lang-switcher a {
    display: block !important;
    line-height: 0 !important;
}

.lang-switcher img {
    width: 35px !important;
    height: 35px !important;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lang-switcher img:hover {
    transform: scale(1.2);
}

.hero { 
    height: 100vh;
    padding: 0 5vw; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    position: relative; 
}

.page-wrapper {
    opacity: 0; 
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-style: italic; 
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.hero p {
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    max-width: 800px;
    margin-top: 2vh;
}

.green-text { color: var(--lido-green); display: block; }

.cta-sub { 
    font-weight: 900; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-top: 3vh;
    padding-bottom: 12px;
    position: relative; 
    display: inline-block;
    max-width: 90%;
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
}

.underline-line {
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 0%;
    height: 3px;
    background-color: var(--lido-green);
    border-radius: 2px;
    transform: translateX(-50%);
}

.scroll-indicator-container {
    position: absolute;
    bottom: 15vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 2vw; 
    width: 100%;
}

.section-title { 
    font-size: clamp(1.5rem, 3vw, 2.5rem); 
    font-style: italic; 
    text-transform: uppercase; 
    margin: 0; 
    color: white; 
    letter-spacing: 2px; 
}

.arrow1 { 
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    color: var(--lido-green); 
    font-weight: 900; 
    animation: bounceArrow1 2s infinite; 
}

@keyframes bounceArrow1 {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.arrow2 { 
    display: inline-block;
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    color: #111815; 
    font-weight: 900; 
    animation: bounceArrow2 2s infinite; 
}

@keyframes bounceArrow2 {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(10px);}
    60% {transform: translateX(5px);}
}

.ball-container { position: fixed; right: 5%; top: 0; height: 100vh; z-index: 9999; pointer-events: none; }
.tennis-ball {
    width: 60px; height: 60px; 
    background: radial-gradient(circle at 35% 35%, #e1ff00 0%, #ccff00 50%, #a2cc00 100%);
    border-radius: 50%;
    position: relative; 
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.3), 0 10px 30px rgba(204, 255, 0, 0.4);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.tennis-ball::before, .tennis-ball::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    filter: blur(0.5px);
}

.tennis-ball::before {
    left: -70%;
    top: 0;
}

.tennis-ball::after {
    right: -70%;
    top: 0;
}

.why-lido { 
    padding: clamp(50px, 10vh, 100px) 5%; 
}

.features-container {
    max-width: 60vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 30px);
}

.slanted-card { 
    display: flex; 
    min-height: clamp(400px, 60vh, 600px); 
    background: var(--lido-green); 
    overflow: hidden; 
    border-radius: 10px; 
    opacity: 0; 
}

.card-content { 
    flex: 1; 
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 5vw, 60px); 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    z-index: 1;
}

.card-content h3 { 
    font-size: clamp(1.5rem, 2.5vw, 2.2rem); 
    font-style: italic; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    color: #111815; 
}

.card-content p { 
    line-height: 1.6; 
    font-size: clamp(0.95rem, 1.1vw, 1.5rem); 
    color: #f0f0f0; 
    margin: 0; 
}

.card-image { flex: 1.2; background-size: cover; background-position: center; }
.card-1 .card-image { background-image: url('pics/edzo.webp'); clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.card-2 .card-image { background-image: url('pics/palya.webp'); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
.card-3 .card-image { background-image: url('pics/kozosseg.webp'); clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.card-4 .card-image { background-image: url('pics/bufe.webp'); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
.card-6 .card-image { background-image: url('pics/p-palya2.webp'); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
.card-7 .card-image { background-image: url('pics/kozosseg.webp'); clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.card-8 .card-image { background-image: url('pics/wellness.webp'); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
.card-2, .card-4, .card-6, .card-8 { flex-direction: row-reverse; }
.card-2 .card-content, .card-4 .card-content, .card-6 .card-content, .card-8 .card-content { text-align: right; }


.sticker-container {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(100px, 25%, 150px); 
    height: clamp(80px, 20%, 120px);
    background: #ffffff;
    z-index: 10000;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border-bottom-right-radius: 100%;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: none; 
}

.sticker-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6vh;
    box-sizing: border-box !important;
    color: #4A7766 !important; 
    font-weight: 800 !important;
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    text-align: center;
}

.sticker-content p {
    font-size: clamp(0.5rem, 1vw, 1rem);
    line-height: 1.6 !important;
    color: #4A7766 !important;
    margin: 0;
}

.sticker-container:hover,
.sticker-container.active {
    width: 100% !important;
    height: 100% !important;
    border-bottom-right-radius: 0 !important;
    clip-path: polygon(0 0, var(--clip-end, 65%) 0, var(--clip-bottom, 55%) 100%, 0% 100%) !important;
}

.sticker-container:hover .sticker-peel,
.sticker-container.active .sticker-peel {
    opacity: 0;
}

.sticker-container:hover .sticker-content,
.sticker-container.active .sticker-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.sticker-peel {
    position: absolute;
    top: 15%; 
    left: 15%;
    color: #ff0000;
    font-weight: 900;
    font-size: clamp(1.2rem, 2vw, 1.8rem); 
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1vw;
    line-height: 1 !important;
    height: auto;
}

.arrow {
    display: flex !important;
    align-items: center !important;
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    color: var(--lido-green); 
    font-weight: 900; 
    animation: slideRight 1.5s infinite;
}

@keyframes slideRight {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.sticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.sticker-right {
    left: auto !important;
    right: 0 !important;
    top: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 100% !important;
    box-shadow: none; 

}

.sticker-right .sticker-peel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    left: auto !important;
    right: 15% !important; 
    top: 15% !important;
    gap: 1vw !important; 
    line-height: 1 !important;
}

.sticker-right:hover {
    width: 100% !important;
    height: 100% !important;
    border-bottom-left-radius: 0 !important;
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 38% 100%) !important;
}

.sticker-right .sticker-content {
    left: auto !important;
    right: 0 !important;
    width: 55% !important;
    align-items: center !important;
    text-align: center !important;
}

.contact-section {
    padding: clamp(40px, 6vh, 80px) 5%;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 50px);
    align-items: center;
    justify-content: center;
    max-width: 60vw;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 10vw;
    max-width: 70vw;
    min-width: 15vw;
}

.contact-info h2 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-top: 0;
    font-style: italic;
    text-transform: uppercase;
    color: white;
    border-bottom: 0.2vw solid var(--lido-green);
    padding-bottom: 1vh; 
    margin-bottom: 3vh;  
    display: inline-block;
    line-height: 1;
}

.contact-info p {
    font-size: clamp(0.95rem, 1.1vw, 1.2rem);
    margin: 1.5vh 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #f0f0f0;
}

.contact-info a {
    transition: all 0.3s ease !important;
    position: relative;
    padding: 5px;
    border-radius: 5px;
}

.contact-info a:hover {
    color: #a8d5c2 !important;
    transform: translateY(5px);
}

.contact-info a img {
    transition: transform 0.3s ease !important;
}

.contact-info a:hover img {
    transform: scale(1.2);
}

.map-container {
    flex: 1 1 25vw;
    height: clamp(250px, 45vh, 450px); 
    min-width: 25vw;
    border-radius: 2vw;
    overflow: hidden;
    border: 0.3vw solid var(--lido-green);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.tabor-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.tabor-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

button.details-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    overflow-y: auto; 
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    position: relative;
    background: #ffffff;
    color: var(--lido-dark);
    width: 90%;
    max-width: 650px;
    margin: 0 auto; 
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    box-sizing: border-box;
    
    transform: translateY(60px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--lido-dark);
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--lido-green);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--lido-dark);
}

.form-control {
    font-family: 'Montserrat', sans-serif;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1.5px solid rgba(74, 119, 102, 0.3);
    border-radius: 8px;
    background-color: #fafafa;
    color: var(--lido-green);
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--lido-green);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(74, 119, 102, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--lido-green);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

.btn-submit-form {
    width: 100%;
    background-color: var(--lido-green);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.2s ease;
}

.btn-submit-form:hover {
    background-color: #3b5f52;
}

select option:disabled {
    color: #b5b5b5 !important;
    background-color: #f0f0f0;
    font-style: italic;
    cursor: not-allowed;
}

.image-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.image-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.fagyi-galeria {
    column-count: 3;
    column-gap: 30px;
    margin: 60px auto;
    width: 100%;
}

.galeria-item {
    margin-bottom: 30px;
    break-inside: avoid;
    border-radius: 15px;
    overflow: hidden;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.galeria-item:hover {
    z-index: 999;
}

.galeria-item img:hover {
    transform: scale(1.05);
}

@media (min-width: 901px) {

.side-menu-container {
    position: fixed;
    top: 3vh; 
    left: 3vw;
    z-index: 9999;
    pointer-events: none;
    width: clamp(195px, 15vw, 300px);
    animation: slideIn 0.5s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    background: rgba(17, 24, 21, 0.9);
    padding: clamp(10px, 1vw, 20px); 
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.logo-wrapper:hover {
    transform: translateY(-0.2vw);
}

.menu-divider {
    height: 0.2vh;
    background-color: rgba(255, 255, 255, 0.2);
    width: 70%;
    margin: 0.6vw auto;
}

.menu-trigger {
    color: white;
    font-weight: 900;
    font-size: clamp(0.3rem, 0.7vw, 0.8rem);
    letter-spacing: 0.1vw;
    cursor: pointer;
    text-transform: uppercase;
    pointer-events: auto;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(17, 24, 21, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    display: block; 
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, max-height 0.4s ease;
}

.logo-wrapper:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-content a {
    display: block;
    color: white;
    padding: clamp(6px, 0.8vh, 12px) 0.3vw;
    text-decoration: none;
    font-size: clamp(0.4rem, 0.6vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.1vw;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:hover {
    background: var(--lido-green);
    color: #111815;
}

}

.subpage-padding {
    padding: clamp(80px, 12vh, 140px) 5% 5vh 5%; 
    display: flex;
    justify-content: center;
}

.full-width-card {
    width: 100%;
    max-width: 60vw;
    background: var(--lido-green);
    border-radius: 2vw;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 
                0 30px 60px rgba(0,0,0,0.4);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    transform-style: preserve-3d;
    transform: perspective(250vw) rotateX(0deg); 
    backface-visibility: hidden;
    will-change: transform;
    transform: perspective(250vw) rotateX(0deg) translateZ(0);
    overflow: hidden !important;
}

.full-width-card:hover {
    transform: perspective(250vw) rotateX(0deg) translateY(-1vh) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3),
                0 50px 100px rgba(0,0,0,0.5);
}

.card-header-image {
    width: 100% !important;
    height: clamp(250px, 40vh, 500px); 
    background-size: cover;
    background-position: center;
    border-bottom: 0.5vh solid rgba(255, 255, 255, 0.1);
    transform: translateZ(20px);
}

.card-body-content {
    padding: clamp(25px, 5vw, 50px);
    color: var(--white);
}

.card-body-content p {
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 2vh;
}

.subpage-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 3vh 0;
    line-height: 1.1;
    color: #111815;
    border-bottom: 3px solid rgba(17, 24, 21, 0.2);
    display: inline-block;
    padding-bottom: 1vh;
}

.subpage-hero {
    height: clamp(200px, 35vh, 400px); 
    display: flex;
    align-items: center; 
    justify-content: center; 
    position: relative;
    padding-top: clamp(10px, 5vh, 40px); 
}

.edzoink-title {
    font-size: clamp(2.2rem, 7vw, 5rem);
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
    position: relative;
    display: table; 
    margin: 0 auto;
}

.edzoink-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--underline-width, 0%);
    height: clamp(4px, 1vw, 8px);
    background-color: var(--lido-green);
    z-index: 1;
    border-radius: 4px;
}

@keyframes bounceArrowH {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(0.3em); }
    60% { transform: translateX(0.15em); }
}

.details-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    text-decoration: none;
    margin-top: 2vh; /* Relatív margó */
    transition: all 0.3s ease;
    width: fit-content;
    color: var(--dark-bg) !important; 
}

.link-text {
    font-weight: 900;
    font-size: clamp(0.8rem, 1.5vw, 2rem);
    letter-spacing: 1px;
    color: inherit;
}

.arrow-icon {
    width: clamp(22px, 2.5vw, 28px);
    height: auto;
    display: flex;
    align-items: center;
    color: inherit;
    animation: bounceArrowH 2s infinite ease-in-out;
}

.gateway-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 100px 0px;
    width: 100%;
}

.gateway-wrapper {
    width: 100%;
    max-width: 70vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    text-align: center;
}

.gateway-sub .big-sub {
    font-size: clamp(1rem, 1.5vw, 1.6rem) !important;
    max-width: 800px;
    margin: 5vh auto;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.club-selection {
    display: flex;
    gap: clamp(20px, 4vw, 60px); 
    justify-content: center;
    width: 100%;
    margin-top: 4vh;    
    padding: 0 20px;
}

.club-card {
    flex: 1;
    max-width: 450px;
    height: clamp(350px, 50vh, 550px); 
    min-width: 280px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.club-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(204, 255, 0, 0.2);
}

.gateway-logo {
    width: clamp(100px, 10vw, 160px);
    height: auto;
    z-index: 2;
    margin-bottom: 2vh;
}

.club-card .enter-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #4A7766;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 2px solid #ffffff;             
    text-align: center;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

@media (hover: hover) {
    .club-card .enter-btn:hover {
        background-color: #4A7766;
        color: #ffffff;
        border-color: #ffffff;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        cursor: pointer;
    }


    .club-card:hover .enter-btn {
        background-color: #4A7766;
        color: #ffffff;
        border-color: #ffffff;
    }
}

.club-info h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-style: italic;
    color: #ffffff !important;
    font-weight: 900;
    margin: 0;
}

#lido-gate {
    background-image: url('pics/tavoli-kep.webp');
    background-size: cover;
    background-position: center;
}

#petnehazy-gate {
    background-image: url('pics/p-tavoli-kep.webp');
    background-size: cover;
    background-position: center;
}

.details-link:hover {
    color: #ffffff !important;
    transform: scale(1.05); 
}

@keyframes bounceArrowH {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(0.4em); }
}


.card-2 .details-link, .card-4 .details-link {
    align-self: flex-end;
}


#booking-card .text-content {
    transform: translateX(clamp(0%, 3vw, 6%));
    width: 100%;
}

.price-table-container {
    overflow-x: auto; 
    margin: clamp(20px, 4vh, 30px) auto; 
    border-radius: 15px; 
    border: 2px solid rgba(255, 255, 255, 0.1); 
    width: 95%; 
    max-width: 850px; 
    scrollbar-width: thin;
    scrollbar-color: var(--lido-green) transparent;
}

.lido-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(17, 24, 21, 0.6); 
    color: var(--white);
    font-size: clamp(0.85rem, 1vw, 1rem);
}

.lido-table th, .lido-table td {
    padding: clamp(12px, 1.5vh, 18px) clamp(10px, 2vw, 25px);
    text-align: center; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lido-table th {
    background: var(--lido-green);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ==========================================================================
   MOBIL ÉS TABLET NÉZET (900PX ALATT)
   ========================================================================== */
@media (max-width: 900px) {

    .features-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }

    .club-selection {
        flex-direction: column;
        width: 95%;
        align-items: center;
        gap: 30px;
    }

    .club-card {
        width: 100%;
        height: 300px;
    }

    .gateway-sub .big-sub {
        margin-top: 2vh;
    }

    .ball-container {
        display: none !important;
    }

    .subpage-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    .full-width-card {
        max-width: 90vw !important;
        width: 100vw !important;
        margin: 0 !important;
    }

    .card-body-content {
        padding: 20px !important;
    }

    .card-header-image {
        height: 250px !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .slanted-card {
        flex-direction: column !important;
        height: auto !important;
        min-height: min-content;
        max-height: none !important;
    }

    .card-image {
        width: 100% !important;
        height: 50vh !important; 
        clip-path: none !important; 
        flex: none !important;
    }

    .card-content {
        width: 85% !important;
        padding: clamp(30px, 8vw, 50px) 20px !important;
        text-align: center !important;
        align-items: center !important;
        transform: none !important;
        flex: none !important;
    }

    .card-content h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px;
    }

    .card-2, .card-4, .card-6, .card-8 {
        flex-direction: column !important;
    }

    .side-menu-container {
        position: fixed !important;
        top: 0 !important; 
        left: 0 !important;
        width: 100% !important;
        height: 70px !important;
        background: rgba(17, 24, 21, 0.95) !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 15px !important;
        border-radius: 0 !important;
    }

    .logo-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 5vw !important;
        background: transparent !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .logo-wrapper:hover .dropdown-content {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .logo-img {
        height: clamp(30px, 5vh, 40px) !important; 
        width: auto !important;
        margin: 0 !important;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .menu-trigger {
        color: #4A7766; !important;
        font-weight: 900 !important; 
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .menu-divider {
        display: none !important;
    }

.dropdown-content {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(17, 24, 21, 0.98) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        z-index: 9999 !important;
    }

    .dropdown-content a {
        color: #ffffff !important;
        font-family: 'Montserrat', sans-serif;
        font-weight: 900 !important;
        font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
        text-transform: uppercase;
        text-decoration: none;
        padding: 15px 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .side-menu-container.active .dropdown-content {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .contact-section {
        display: flex !important;
        flex-direction: column !important;
        padding: 40px 20px !important;
        gap: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-info {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        box-sizing: border-box !important;
    }

    .contact-info p, 
    .contact-info a {
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .map-container {
        width: 100% !important;
        height: 30vh !important;
        border-radius: 15px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .map-container iframe {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        border: 0 !important;
    }

    .lido-table th, .lido-table td {
        padding: 10px 8px !important;
        font-size: clamp(0.75rem, 3vw, 0.85rem) !important;
    }

    h1, .hero h1, .intro-title {
        font-size: clamp(1rem, 5vw, 3rem) !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    #booking-card .text-content, 
    .text-content {
        transform: none !important; 
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }
    
    .card-body-content {
        padding: clamp(15px, 4vw, 25px) !important;
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center;
    }

    .text-content p {
        text-align: center;
        width: 100%;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .details-link {
        margin: 20px auto 0 auto !important;
        justify-content: center;
    }

    .details-link img {
        width: 5vw !important;
        height: auto !important;
    }

    .subpage-hero {
        height: 25vh; 
        padding-top: 60px; 
    }

    .sticker-container {
        width: 90px !important;
        height: 70px !important;
        border-bottom-right-radius: 100% !important;
        border-bottom-left-radius: 0 !important;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
    }

    .sticker-peel {
        font-size: 1.1rem;
        gap: 5px;
    }

    .sticker-container:hover,
    .sticker-container.active {
        width: 100% !important;
        height: 100% !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%) !important;
    }

    .sticker-content {
        width: 100% !important;
        height: 100% !important;
        padding: 20px !important;
        left: 0 !important;
        right: auto !important;
    }
    
    .sticker-content p {
        font-size: 0.85rem !important;
    }

    .sticker-right {
        left: auto !important;
        right: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 100% !important;
    }

    .sticker-right .sticker-peel {
        font-size: 1.1rem;
        gap: 5px;
        right: 15% !important;
        left: auto !important;
    }

    .sticker-right:hover,
    .sticker-right.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%) !important;
    }

    .sticker-right .sticker-content {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding: 20px !important;
    }

    .fagyi-galeria {
    	display: grid !important;
    	grid-template-columns: repeat(2, 1fr) !important; 
    	gap: 10px !important; 
    	width: 100% !important;
    	margin: 20px auto !important;
     }

    .galeria-item {
    	margin-bottom: 0 !important;
    	width: 100% !important;
    	aspect-ratio: 1 / 1;
    	overflow: hidden;
   	 border-radius: 10px;
     }

    .galeria-item img {
    	width: 100% !important;
    	height: 100% !important;
    	object-fit: cover !important; 
    	display: block;
	will-change: transform;
    	backface-visibility: hidden;
    }

    .galeria-item img:hover {
        transform: none !important;
    }
    
    .menu-zoom-item img {
        box-shadow: none !important;
    }

    .lang-switcher-gateway {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 15px;
    }
    .lang-switcher-gateway img {
        width: 35px;
        height: 35px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-container {
        padding: 30px 20px;
        margin: 80px auto 30px auto; 
        width: 88%;
    }

    .modal-title {
        font-size: 1.4rem;
        margin-top: 15px;
    }
}
