:root {
    --primary: #6B8E62;
    --secondary: #D8C3A5;
    --accent: #A65D3A;
    --light: #F8F6F2;
    --dark: #2F3E34;
    --white: #ffffff;
}

/* =========================
   ALAPOK
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    background-image: url("kepek/palma.jpg");
    background-repeat: repeat;
    color: var(--dark);
    line-height: 1.6;
}

/* =========================
   NAVIGÁCIÓ
========================= */

nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 60vh;

    background: rgba(128, 125, 110, 0.45);

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: var(--white);

    padding: 30px;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 25px;
    margin-bottom: 30px;
}

/* =========================
   GOMBOK
========================= */

.btn {
    display: inline-block;

    background: var(--accent);
    color: var(--white);

    padding: 15px 30px;

    border-radius: 40px;

    text-decoration: none;
    font-weight: bold;

    transition:
        transform 0.3s,
        background 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    background: #706b68;
}

/* =========================
   SZEKCIÓK
========================= */

section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

h2 {
    font-size: 40px;
    margin-bottom: 30px;

    color: var(--primary);

    text-align: center;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 20px;

    text-align: justify;
    text-align-last: left;
}


.slogan {
    margin: 30px 0;

    text-align: center;

    font-size: 20px;
    font-weight: bold;

    color: var(--primary);
}

.slogan-text {
    margin-top: 10px;
    margin-bottom: 0;

    text-align: center;

    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.aboutus {
    display: table;
    margin: 0 auto 30px;

    background: var(--primary);
    color: var(--white);

    padding: 8px 20px;

    border-radius: 50px;

    font-weight: bold;


}
.rules {
background: rgba(255, 255, 255, 0.95);

    padding: 30px;

    border-radius: 18px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);

    text-align: left;
    text-align-last: left;
	border: 2px solid var(--primary);
}
/* =========================
   KÁRTYÁK
========================= */

.features {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 25px;

    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.95);

    padding: 30px;

    border-radius: 18px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);

    text-align: justify;
    text-align-last: center;
	border: 2px solid var(--primary);
}

.card h3 {
    margin-bottom: 15px;

    color: var(--primary);

    text-align: center;

}

.card p {
    margin-bottom: 15px;
}

.card p:last-child {
    margin-bottom: 0;
}

/* =========================
   GALÉRIA
========================= */

.gallery {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 240px;

    object-fit: cover;

    border-radius: 16px;

    display: block;
}

/* =========================
   ÁRLISTA
========================= */

.pricing {
    overflow-x: auto;
	
    border: 2px solid var(--primary);
    border-radius: 18px;
}

table {
    width: 100%;

    border-collapse: collapse;

    background: rgba(255, 255, 255, 0.95);

    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06);

    border-radius: 15px;

    overflow: hidden;
}

th {
    background: var(--primary);
    color: var(--white);

    padding: 18px;
}

td {
    padding: 18px;

    border-bottom: 1px solid #ddd;

    text-align: center;
}

/* =========================
   KAPCSOLAT
========================= */

.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 5px;
}

/* TÉRKÉP */

.map {
    width: 100%;
}

.map iframe {
    display: block;

    width: 100%;
    height: 400px;

    border: 2px solid var(--primary);
    border-radius: 18px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.08);
}

/* =========================
   HÁZIREND
========================= */

.house-rules {
    max-width: 900px;
    margin: auto;

    background: rgba(255, 255, 255, 0.95);

    padding: 35px 45px;

    border-radius: 18px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);
}

.house-rules li {
    margin-bottom: 12px;
}

.house-rules li:last-child {
    margin-bottom: 0;
}

/* =========================
   CTA / FOGLALÁS
========================= */

.cta {
    background: var(--primary);

    color: var(--white);

    text-align: center;

    padding: 70px 30px;

    border-radius: 20px;
	border: 2px solid var(--white);
}

.cta h2 {
    color: var(--white);

    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
}

/* =========================
   LÁBLÉC
========================= */

footer {
    background: var(--dark);

    color: var(--white);

    text-align: center;

    padding: 40px 20px;

    margin-top: 50px;
}

/* =========================
   MOBIL
========================= */

@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;

        font-size: 14px;
    }

    .hero {
        min-height: 65vh;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    section {
        padding: 60px 15px;
    }

    h2 {
        font-size: 32px;
    }

    .card {
        padding: 25px;
    }

    .house-rules {
        padding: 25px;
    }

    .map iframe {
        height: 320px;
    }

}

/* =========================
   KIS MOBIL
========================= */

@media (max-width: 480px) {

    .logo {
        font-size: 20px;
    }

    nav ul {
        font-size: 13px;
        gap: 8px 12px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .btn {
        padding: 13px 24px;
    }

    h2 {
        font-size: 28px;
    }

    .house-rules {
        padding: 20px;
    }

}
/* =========================================
   GALÉRIA
   ========================================= */

.gallery-img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}


/* =========================================
   LIGHTBOX
   ========================================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;

    background: rgba(0, 0, 0, 0.88);

    justify-content: center;
    align-items: center;

    padding: 60px 80px;
}

.lightbox.active {
    display: flex;
}


/* Nagy kép */

.lightbox img {
    max-width: 90%;
    max-height: 82vh;

    object-fit: contain;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}


/* Bezáró X */

.lightbox-close {
    position: absolute;

    top: 20px;
    right: 30px;

    background: none;
    border: none;

    color: white;

    font-size: 50px;
    font-weight: bold;

    cursor: pointer;

    line-height: 1;

    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--secondary);
}


/* Előző / következő gomb */

.lightbox-prev,
.lightbox-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.15);

    border: none;
    border-radius: 50%;

    width: 55px;
    height: 55px;

    color: white;

    font-size: 28px;

    cursor: pointer;

    transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}


/* Képszámláló */

.lightbox-counter {
    position: absolute;

    bottom: 20px;

    left: 50%;
    transform: translateX(-50%);

    color: white;

    font-size: 16px;

    background: rgba(0, 0, 0, 0.4);

    padding: 6px 14px;

    border-radius: 20px;
}


/* =========================================
   MOBIL
   ========================================= */

@media (max-width: 768px) {

    .lightbox {
        padding: 50px 20px;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 75vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;

        font-size: 22px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
}


/* Fejlesztés alatt képernyő */

#maintenance-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    background: rgba(248, 246, 242, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.maintenance-box {
    max-width: 600px;
    width: 100%;
    padding: 45px 25px;

    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--secondary);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(47, 62, 52, 0.1);
}

.maintenance-box h1 {
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 25px;
}

.maintenance-box h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 15px;
}

.maintenance-box p {
    color: var(--dark);
    margin-top: 10px;
}
