/* Alapstílusok */
body {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

h1, h2 {
    font-weight: bold;
    border-bottom: 2px solid black;
    padding-bottom: 0.5rem;
}

/* Galéria szekció */
.gallery-section {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

/* Szekció cím stílusok */
.section-title {
    font-size: 2rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #007bff;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Galéria képek */
.gallery-img {
    display: block;
    margin: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Lightbox testreszabás */
.basicLightbox {
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.9) !important;
}

.basicLightbox__placeholder {
    max-width: 90vw !important;
    max-height: 90vh !important;
    margin: auto;
    position: relative;
}

.basicLightbox__placeholder img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.basicLightbox__placeholder::after {
    content: "×";
    position: absolute;
    top: -35px;
    right: -35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.basicLightbox__placeholder::after:hover {
    transform: scale(1.2);
}

/* Navigáció */
.navbar-nav {
    gap: 1rem;
}

.nav-link:hover {
    transform: scale(1.05);
}

/* Media Queries */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    body {
        padding-top: 60px;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        transform: translateX(5%);
    }

    .navbar-brand img {
        margin-top: 5px;
    }
}

/* Social Media */
.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;
}

/* Galéria rács */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.col-6.col-md-4.col-lg-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

/* 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;
}

/* Segédosztály */
.translate-x {
    transform: translateX(-50%) !important;
}
