body {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

/* === KÁRTYÁK === */
.card {
    max-width: 1000px;
    margin: 2rem auto;
    font-size: 1rem;
}

/* === SZÖVEG IGAZÍTÁS === */
.text-justify {
    text-align: justify;
}

/* === NAPTÁR GRID === */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

/* === NAVIGÁCIÓS ELTOLÁS ÉS GAP === */
.navbar-nav {
    gap: 1rem; /* Távolság menüpontok között */
}

.translate-x {
    transform: translateX(-50%) !important;
}

.nav-link {
    transition: all 0.3s ease !important;
}

.nav-link:hover {
    transform: scale(1.05);
}

/* === RESPONSIVE BEÁLLÍTÁSOK === */
@media (max-width: 768px) {
    main {
        padding-top: 100px;
    }

    .card {
        margin: 1rem;
    }
}

@media (min-width: 992px) {
    .translate-x {
        transform: translateX(-50%) !important;
    }

    .navbar-nav {
        transform: translateX(5%); /* Finom eltolás a középpont felé */
    }

    .navbar-brand img {
        margin-top: 5px; /* Logo pozíció finomhangolása */
    }
}

/* === SOCIAL MEDIA SZEKCIÓ (VILÁGOS MÓD) === */
.social-media {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.social-media a {
    margin: 0 0.75rem;
    font-size: 1.5rem;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #333;
}

.social-media i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
    transition: border-color 0.3s ease;
}

.social-media a:hover i {
    border-color: #aaa;
}

/* === KONTRASZT GOMB === */
#toggle-contrast {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#toggle-contrast:hover {
    background-color: #ff0;
    color: #000;
}
