/* Reset alapbeállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #000000;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.about {
    background-color: #111;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
}


.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.8;
    background-color: #111;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

/* Alap animáció beállítások */
.about {
    opacity: 0;
    /* Kezdeti átlátszóság */
    transform: translateY(50px);
    /* Kezdeti helyzet a Y tengelyen */
    animation: fadeInUp 1s ease-out forwards;
    /* Animáció aktiválása */
}

/* Különböző animációk beállítása */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* További p tag-ek animációja */
.about-content p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
    /* Késleltetett megjelenés */
}

.about-content p:nth-child(2) {
    animation-delay: 0.4s;
    /* Késleltetett második p megjelenése */
}

.about-content p:nth-child(3) {
    animation-delay: 0.6s;
    /* Késleltetett harmadik p megjelenése */
}

.about-content p:nth-child(4) {
    animation-delay: 0.8s;
    /* Késleltetett negyedik p megjelenése */
}

/* Alap animáció beállítások a section és a service-item számára */
.homepage-services {
    background-color: #000000;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Különböző service-item-ek animálása */
.service-item {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.8s ease-out forwards;
}

/* Külön animációk a jobb és bal oldali elemekhez */
.service-item.left {
    animation-delay: 0.2s;
}

.service-item.right {
    animation-delay: 0.4s;
}

/* Különböző animáció a szolgáltatások szövegeinek */
.service-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* Gomb animáció */
.service-button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1s;
}

/* Az összes szolgáltatás megjelenése gombbal */
.services-more {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.2s;
}

/* Késleltetett animációk */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Az animált elemek kezdeti állapota */
.homepage-services,
.service-item,
.service-text,
.service-button,
.services-more {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

/* A szolgáltatások szövege és gombja */
.service-text,
.service-button,
.services-more {
    transition-delay: 0.5s;
}

.service-item {
    transition-delay: 0.3s;
}

@media screen and (max-width: 768px) {

    /* A mobilnézethez igazított animáció */
    .service-item {
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    .service-item {
        flex-direction: column !important;
        text-align: center;
    }

    .service-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
        /* A képek arányait megtartja */
        margin-bottom: 1rem;
        /* Kép és szöveg közötti távolság növelése */
    }

    .service-text {
        padding-top: 1rem;
    }
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Reszponzivitás */
@media screen and (max-width: 768px) {
    .about-content {
        padding: 30px;
    }

    .about h2 {
        font-size: 28px;
    }

    .about p {
        font-size: 16px;
    }
}

/* NAVBAR alap */
.navbar {
    background-color: #000000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.nav-logo img {
    max-width: 150px;
    height: auto;
}

/* Hamburger ikon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #ff9900;
}

/* Menü elemek alapból */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #ff9900;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.5rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Ikonméretek */
.nav-links a i {
    font-size: 1.5rem;
}

/* Gomb stílus (ha van) */
.nav-links .btn-primary {
    background-color: #ff9900;
    color: #111;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

/* 🔽 Mobil nézet */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #000000;
        /* Fekete háttér mobilon */
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        color: #ffcc00;
        width: 100%;
        padding: 1rem;
    }

    .nav-links a:hover {
        background-color: rgba(255, 153, 0, 0.2);
        color: #ffffff;
    }

    .nav-links .btn-primary {
        margin-top: 1rem;
    }
}

.nav-links a:hover {
    background-color: rgba(255, 153, 0, 0.2);
    color: #ffffff;
}

/* Alap stílus a Hero szekcióhoz */
.hero {
    position: relative;
    background: url('images/asd.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff9900;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #ff9900;
    text-transform: uppercase;
}

.hero-text h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 400;
}

.btn,
.service-button {
    background-color: #ff9900;
    color: #111;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.btn:hover,
.service-button:hover {
    background-color: #e88a00;
    color: #fff;
}

.hero-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-features {
    margin: 2rem 0;
}

.hero-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffa500;
}

.hero-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-features li {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.hero-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffa500;
    font-weight: bold;
}

.hero-outro {
    font-size: 1.2rem;
    margin-top: 2rem;
    font-weight: 500;
}

.cta-container {
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-size: 1rem;
    margin: 0 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #ffa500;
    color: #000;
}

.btn-primary:hover {
    background-color: #e69500;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffa500;
    color: #ffa500;
}

.btn-secondary:hover {
    background-color: #ffa500;
    color: #000;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .hero-intro p,
    .hero-features li,
    .hero-outro {
        font-size: 1rem;
    }

    .cta-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        margin: 0;
    }
}

.service-item.left,
.service-item.right {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out forwards;
}

.service-item.right {
    transform: translateX(50px);
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta .btn {
    transform: scale(0.9);
    opacity: 0;
    animation: popIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes popIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-item img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.services {
    margin-top: 300px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.services h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.gallery {
    margin-top: 50px;
    text-align: center;
    padding: 50px 20px;
}

.gallery h2 {
    margin-bottom: 30px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item img {
    width: 300px;
    /* vagy amekkora méret kell */
    height: 200px;
    object-fit: cover;
    /* így a képek nem torzulnak, csak levágja a széleket */
    border-radius: 10px;
    /* lekerekített sarkok */
}


.gallery-item img:hover {
    transform: scale(1.05);
}

.appointment {
    margin-top: 210px;
    padding: 40px;
    margin-bottom: 100px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.8);
    /* Sötét, elegáns háttér */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.appointment h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.appointment form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appointment label {
    font-weight: 500;
    margin-bottom: 5px;
}

.appointment input,
.appointment select,
.appointment textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    /* Finomabb keret */
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: 0.3s ease-in-out;
}

.appointment input:focus,
.appointment select:focus,
.appointment textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    border-color: #d4af37;
    /* Arany szín kiemelés */
}

.appointment button {
    background: #d4af37;
    /* Arany szín */
    color: black;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    text-transform: uppercase;
}

.appointment button:hover {
    background: #b5932e;
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .appointment {
        padding: 30px;
        max-width: 90%;
    }

    .appointment h2 {
        font-size: 24px;
    }

    .appointment button {
        font-size: 16px;
    }
}


.service-item img {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Modal alapstílus */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Modal tartalom (kép) */
.modal-content {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
}

/* Bezárás gomb */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Előző és következő gombok */
.prev,
.next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.prev {
    left: 5%;
}

.next {
    right: 5%;
}

.prev:hover,
.next:hover,
.close:hover {
    color: #f1c40f;
}

/* Apply Section */
.apply {
    margin-top: 210px;
    padding: 40px;
    margin-bottom: 100px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.8);
    /* Sötét, elegáns háttér */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.apply h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apply form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.apply label {
    font-weight: 500;
    margin-bottom: 5px;
}

.apply input,
.apply select,
.apply textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    /* Finomabb keret */
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: 0.3s ease-in-out;
}

.apply input:focus,
.apply select:focus,
.apply textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    border-color: #d4af37;
    /* Arany szín kiemelés */
}

.apply button {
    background: #d4af37;
    /* Arany szín */
    color: black;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    text-transform: uppercase;
}

.apply button:hover {
    background: #b5932e;
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .apply {
        padding: 30px;
        max-width: 90%;
    }

    .apply h2 {
        font-size: 24px;
    }

    .apply button {
        font-size: 16px;
    }
}

/* ABOUT US PAGE */
.about-container {
    background-color: #111;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.about-container h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-container p {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
}

.about-info {
    background: #ff9900;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.about-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #000000;
}

.about-info strong {
    color: #000000;
}

.gallery,
.about-container {
    padding-top: 200px;
    /* Állítsd be a navbar magasságának megfelelően */
}

.service-item .service-text {
    width: 45%;
    text-align: left;
    color: black;
}

.service-item h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-item ul {
    padding-left: 20px;
}

.service-item ul li {
    margin-bottom: 5px;
}

/* Alternáló elrendezés */
.service-item.left img {
    order: 2;
}

.service-item.right img {
    order: -1;
    flex-direction: row-reverse;
}

.service-button {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.service-button:hover {
    background-color: #ff9900;
}

/* Reszponzív nézet */
@media screen and (max-width: 768px) {
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-item img {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-item .service-text {
        width: 100%;
        text-align: center;
    }
}



/* Gallery */
.gallery-preview {
    text-align: center;
    padding: 80px 20px;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-grid img {
    width: 200px;
    border-radius: 10px;
}

/* CTA */
.cta {
    text-align: center;
    padding: 50px 20px;
    background: #111;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 800px;
}

.btn {
    display: inline-block;
    background-color: #00e676;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 2rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #00b248;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #FFD700;
    color: #000;
}

.btn-primary:hover {
    background: #ffcc00;
}

.btn-secondary {
    background: #333;
    color: #fff;
}

.btn-secondary:hover {
    background: #555;
}

footer {
    margin-top: 50px;
    position: relative;
    color: rgb(0, 0, 0);
    padding: 40px 20px;
    text-align: center;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/footer-bg.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(5px);
    z-index: -1;
}



.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.footer-container div {
    flex: 1;
    min-width: 250px;
    padding: 10px;
}

.footer-container h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-container p,
.footer-container a {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.footer-container a:hover {
    color: white;
}

.footer-social a {
    display: block;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 12px;
    color: #000000be;
}

.membership {
    margin-top: 200px;
    text-align: center;
    padding: 50px 20px;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    /* Sötét, elegáns háttér */
}

.membership h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.membership p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.membership-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.membership-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.membership-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.membership-card p {
    font-size: 16px;
    margin-bottom: 15px;
}

.membership-card strong {
    font-size: 18px;
}

.membership-card button {
    background: #000000;
    color: rgb(255, 255, 255);
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    text-transform: uppercase;
}

.membership-card button:hover {
    background: #b5932e;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .membership-container {
        flex-direction: column;
        align-items: center;
    }

    .membership-card {
        width: 90%;
    }

    .membership h2 {
        font-size: 28px;
    }

    .membership p {
        font-size: 16px;
    }
}

.homepage-services {
    background-color: #ff9900;
    padding: 60px 20px;
    text-align: center;
}

.homepage-services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.services-grid {
    background-color: #111;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    background-color: #ff9900;
    width: 300px;
    min-height: 520px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-text {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-text h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.service-text ul li::before {
    content: "✅ ";
    color: #4caf50;
    font-weight: bold;
}

.service-text ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.service-button {
    display: inline-block;
    margin-top: auto;
    background: #4caf50;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.service-button:hover {
    background: #388e3c;
}

.services-more {
    margin-top: 50px;
}

.services-more .btn {
    background-color: #ff9900;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.services-more .btn:hover {
    background-color: #ff9900;
}


@media screen and (max-width: 768px) {

    /* Mobilnézetben biztosítjuk, hogy a képek ne legyenek túl kicsik */
    .service-item img {
        width: 100%;
        /* Kép szélességét teljesen kiterjeszti */
        max-width: 350px;
        /* Ne legyen nagyobb a maximális szélesség */
        height: auto;
        /* Arányos méretezés */
        margin-top: 20px;
    }
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    background-color: #ff9900;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    flex-direction: row;
}

.service-item img {
    width: 100%;
    max-width: 350px;
    /* Állítható, ha a képek túl nagyok mobilon */
    height: auto;
    margin-bottom: 1rem;
}

.service-text {
    width: 60%;
    padding-left: 15px;
}

.service-text h3 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.service-text ul {
    list-style: none;
    padding: 0;
    color: white;
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
}

.service-button {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #ff9900;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 12px;
}

.services-more {
    background-color: #111;
    text-align: center;
    margin-top: 15px;
}

.services-more .btn {
    padding: 7px 14px;
    background-color: #ff9900;
    color: black;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
}

.ad-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.ad-content {
    background-color: #ff9900;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    width: 250px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ad-content img {
    width: 50%;
    /* Nem veszi át az egész boxot */
    max-height: 500px;
    /* Maximális magasság */
    object-fit: cover;
    /* Szép levágás, ha kell */
}


.close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.ad-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #007bff;
    color: white;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
}

.ad-btn:hover {
    background: #0056b3;
}

.close-btn {
    right: 8px;
    top: 8px;
    padding: 5px;
    /* Nagyobb kattintható felület */
    background: rgba(255, 255, 255, 0.8);
    /* Láthatóbb háttér */
    border-radius: 50%;
    /* Kör alak */
}

.close-btn:hover {
    background: rgba(255, 255, 255, 1);
}

/* WebKit scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #ff9900;
}

::-webkit-scrollbar-thumb {
    background: #ff9900;
    border-radius: 4px;
}