/* 
    Created on : Jul 7, 2025, 10:20:58 PM
    Author     : csaba
*/

body {
    font-family: 'Lato', sans-serif;
    padding-top: 70px;
}
h2, h3, h4, h5 {
    font-family: 'Lucida Bright', Georgia, serif;
}
h5 {
    font-size: 1rem;
    font-weight: 500;
}
.navbar {
    border-bottom: 1px solid #888888; /* középszürke */
    background: #FFFFFF;
}
.navbar-brand {
    text-transform: uppercase;
}
hr.separator {
    border: none;
    border-top: 1px solid #555;
    margin: 2rem 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.instagram{
    display: block;
}

#backToTop {
    position: fixed;
    bottom: 100px;
    right: 10px;
    z-index: 9999;
    display: none;          /* Will be toggled on scroll */
    width: 45px;
    height: 45px;
    font-size: 20px;
    color:#ffffff;
    background-color: #999999;
    border: none;
    border-radius: 5%;
    text-align: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#backToTop i {
    font-size: 22px;
    line-height: 1;
    color:#ffffff;
}

.project-thumb {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-align: center;
}

.project-thumb img {
    display: block;
    width: auto;
    max-height: 250px;
    transition: transform 0.3s ease;
}

.project-thumb:hover img {
    transform: scale(1.05);
}

.modal-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    margin: auto;
    object-fit: contain;
    padding: 10px; /* space inside */
    background: white; /* white frame */
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1;
    transition: opacity 0.5s ease;
}

#imageModal .modal-dialog {

    max-width: 90vw;
    max-height: 90vh;
    align-items: center;
    display: inline-table; /* Key: This disables flex-grow */
}

#modalImage {
    max-width:80vw;
    max-height: 80vh;
    height: auto;
    width: auto;
    display: inline-block;
}


.modal-body {
    min-height: 100px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.click-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 999;
    cursor: pointer;
}

.click-zone.left {
    left: 0;
}

.click-zone.right {
    right: 0;
}





.project-thumb {
    cursor: pointer;
}

.img-about {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Győződj meg róla, hogy a kép konténerének nincs overflow: hidden */
#imageContainer {
    overflow: visible !important;
}

.image-wrapper img{
    width: 80%;
    height: 200px;
    display: block;
    object-fit: cover;
}
.card{
    width: 32%;
    height:auto;
    font-size: 2rem;
    border: 0;
}
.card:hover {
    opacity: 0.8;
}


.card {
    cursor: pointer;
}

#project-main-image {
    cursor: pointer;
}
.prj-img img{
    max-height: 250px;
}

@media (max-width: 1200px) {
    h2, h3 {
        font-size: 1.8rem;
    }
    .instagram{
        display: none;
    }
    .navbar-brand {
        font-size: 2rem;
    }
}
@media (max-width: 768px) {
    h2, h3 {
        font-size: 1.6rem;
    }
    .instagram{
        display: none;
    }
    .navbar-brand {
        font-size: 1.25rem;
    }
    #project-title {
        margin-top: 20px;
    }
    .card{
        width: 100%;
        font-size: 1.25rem;
    }
}
@media (max-width: 576px) {
    h2, h3 {
        font-size: 1.4rem;
    }
    .navbar-brand {
        font-size: 1.25rem;
    }
    .instagram{
        display: none;
    }
    .image-wrapper img{
        width: 100%;
    }
    #project-title {
        margin-top: 20px;
    }
    .image-wrapper img{
        width: 100%;
    }
    .card{
        width: 100%;
        height:auto;
        font-size: 1.25rem;
    }
}
