@charset "utf-8";

body {
    background-color: #f8f9fa;
    color: #343a40;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5; /* Kicsit növeltem az olvashatóságért */
    margin: 0;
    padding: 0;
}

.main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Táblázat konténer a mobilbarát görgetéshez */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

table th, table td {
    padding: 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}

table th {
    background-color: #e9ecef;
}

a {
    color: #28a745;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #218838;
}

img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    display: block;
    border-radius: 8px;
}

/* Asztali nézetű kép-lebegtetés */
@media (min-width: 768px) {
    img {
        float: right;
        margin: 0 0 10px 20px;
        width: 300px;
    }
}

header {
    background: #f9f9f9;
    color: #9e6c31;
    padding: 20px;
    text-align: center;
    margin-bottom: 5px;
    border-radius: 8px;
    line-height: 1.2;
    overflow: hidden; /* A floatoló logó miatt */
}

.h_header {
    font-family: 'Roboto Slab', serif;
    font-size: 2.5em;
    margin: 0;
    font-weight: 600;
    min-height: 130px;
}

#m1, #m2 {
    font-size: 1.2em;
    display: block;
}

nav {
    background: #e9ecef;
    padding: 10px;
    border-radius: 8px;
}

.ul1 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.li1 {
    text-align: center;
    border-radius: 20px;
    margin: 5px;
    font-weight: bold;
    transition: background-color 0.4s;
}

.li1:hover {
    background-color: #28a745;
}

.ul1 .li1 a {
    display: block;
    padding: 10px 20px;
    color: #343a40;
}

.li1:hover a {
    color: #fff;
}

/* Mobil nézet javítása */
@media (max-width: 768px) {
    .ul1 {
        flex-direction: column;
    }

    .li1 {
        width: 100%;
        margin: 2px 0;
        border-bottom: 1px solid #ddd;
    }

    .h_header {
        font-size: 1.5em;
        min-height: auto;
        padding-top: 10px;
    }
    
    .header-top img {
        float: none !important;
        margin: 0 auto 10px !important;
    }
}

h2 {
    color: #dc3545;
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #eee;
    clear: both;
}



.jogszabaly {
    background-color: #f9f9f9;
    padding: 20px;
    border: 2px solid #ddd;
    margin: 20px 0;
    border-radius: 5px;
    clear: both;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*.kalk a{
	color: #ff9000;
	font-size:1.3em;
	font-weight:bold;
}*/

.kalk {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Modern kék gradiens */
    padding: 25px;
    border: none; /* A keret helyett a szín dominál */
    margin: 30px 0;
    border-radius: 12px; /* Kicsit kerekebb, modernebb sarkok */
    clear: both; 
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3); /* Kékes árnyék a mélységért */
    text-align: center;
    transition: transform 0.3s ease; /* Finom mozgás effekt */
}

.kalk:hover {
    transform: translateY(-3px); /* Egér rávitelekor kicsit megemelkedik */
}

.kalk a {
    color: #ffffff !important; /* Fehér szöveg a kék háttéren az olvashatóságért */
    font-size: 1.4em;
    font-weight: bold;
    text-transform: uppercase; /* Figyelemfelkeltő nagybetűk */
    letter-spacing: 1px;
    display: block; /* A teljes doboz kattintható érzetet kelt */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.kalk a:hover {
    text-decoration: none;
    color: #f8f9fa !important;
}

footer {
    /*border-top: 1px solid #eee;*/
    padding: 20px 0;
    /*text-align: center;*/
    color: #777;
}

/* Rólunk mondták szekció stílusa */
.testimonials-section {
    margin: 40px 0;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 100%;
    min-height: 250px; /* Megakadályozza az oldal ugrálását váltáskor */
    margin: 20px auto;
}

.testimonial-card {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: none; /* Alapból minden elrejtve */
    animation: fadeIn 0.8s ease;
}

.testimonial-card.active {
    display: block; /* Csak az aktív látszik */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
    font-family: 'Georgia', serif;
    font-size: 60px;
    color: #dc3545;
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: #444;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author strong { display: block; color: #333; }
.author span { color: #888; font-size: 0.9em; }

/* Pöttyök stílusa */
.slider-dots {
    margin-top: 15px;
}
.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
	cursor: pointer;
}

.dot.active {
    background-color: #dc3545;
}