@font-face {
    font-family: 'Acari Sans Neue';
    src: url('../fonts/AcariSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Acari Sans Neue';
    src: url('../fonts/AcariSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body { 
    font-family: 'Acari Sans Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h1, h2, h3, h4 {
    font-family: 'Archivo', sans-serif;
}
/* HERO Section */
.hero {
    height: 100vh;
    background: url('img/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

#ripple {
    background: transparent;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.contact-section .btn,
.hero .btn {
    position: relative;
    z-index: 3;
    background-color: #e54b4b;
    border-color: #e54b4b;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-section .btn:hover,
.hero .btn:hover {
    background-color: #C73636;
    border-color: #C73636;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-section .btn:active,
.contact-section .btn:focus,
.contact-section .btn:focus-visible,
.hero .btn:active,
.hero .btn:focus,
.hero .btn:focus-visible {
    background-color: #A62828 !important;
    border-color: #A62828 !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}


/* NAVBAR ÁTLÁTSZÓ ALAPHELYZETBEN */
.navbar {
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    padding-top: 15px; /* Alapértelmezett függőleges tér */
    padding-bottom: 15px;
    min-height: 70px; /* Minimum magasság a teljes navbarra */
}

/* NAVBAR SCROLL UTÁN (LÁGY ÁTMENETTEL) */
.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    transition: color 0.3s ease-in-out;
}

.navbar-dark .nav-link.active {
    color: #e54b4b  !important; /* Amikor az oldal tetején van, a fehér navbar mellett is kiemeli */
}

.navbar-light .nav-link.active {
    color: #e54b4b !important; /* Görgetés után is megmarad a kiemelés */
}

@media (max-width: 991px) { /* Bootstrap breakpoint mobilnézethez */
    .navbar {
        background-color: white !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-dark .nav-link {
        color: black !important; /* Ha kell, módosítsd a link színét */
    }
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0; /* Ha kisebb méretű gombot szeretnél */
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}




/* Betöltési animáció */

/* Két oldal külön */
.left-half, .right-half {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100vh;
    background: white;
    z-index: 10000;
}

/* Bal oldal */
.left-half {
    left: 0;
    transform-origin: left center;
}

/* Jobb oldal */
.right-half {
    right: 0;
    transform-origin: right center;
}

/* Középső vonal (kezdetben kicsi, majd növekszik felfelé és lefelé) */
.line {
    width: 1px;
    height: 0;
    background: black;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10001;
}

/*ABOUT szekció*/

#about {
    padding-top: 100px !important; /* Növelt felső térköz */
    padding-bottom: 100px !important; /* Növelt alsó térköz */
}

.about-img {
    width: 60%; /* A kép szélességének csökkentése */
    min-height: 400px; /* Fix magasság, hogy ne legyen túl alacsony */
    object-fit: cover; /* A középső részt tartja meg, a széleket levágja */
    object-position: center; /* A kép közepére fókuszál */
    border-radius: 10px; /* Finom lekerekítés */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Árnyék */
    display: block; /* Kép középre igazítása */
    margin: 0 auto; /* Horizontális középre igazítás */
}

.text-custom-red {
    color: #e54b4b !important;
}

.about-paragraph {
    text-align: justify; /* Sorkizárt elrendezés */
    color: #5e5e5e; /* Sötét szürke betűszín */
    line-height: 1.8; /* Nagyobb sorköz */
}

.about-features p {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.double-arrow {
    color: #e54b4b;
    font-size: 25px;
    margin-right: 8px;

}

.about .btn {
    position: relative;
    background-color: #e54b4b !important;
    border-color: #e54b4b !important;
    font-size: 1rem !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.about .btn:hover {
    background-color: #C73636;
    border-color: #C73636;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.about .btn:active,
.about .btn:focus,
.about .btn:focus-visible {
    background-color: #A62828 !important;
    border-color: #A62828 !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}



/*works blokk*/
#portfolio {
    position: relative;
    background-color: #f5f5f58e;
}

.text-custom-red {
    color: #e54b4b; /* Piros szín */
}

#portfolio h2 {
    margin-bottom: 100px !important; /* Növeli a térközt a "Selected Works" alatt */
}


.row {
    display: flex;
    flex-wrap: wrap;
}

/* A konténer most már biztosan levágja a kilógó elemeket */
.image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9; /* Biztosítja a megfelelő méretarányt */
    border-radius: 5px;
}

/* A kép és a videó méretének beállítása */
.image-container img,
.image-container .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

/* Videó alapból rejtve */
.image-container .video {
    display: none;
    z-index: 1;
}

/* Ha az egér a képre kerül, a videó megjelenik */
.image-container:hover .video {
    display: block;
}

/* Szöveg és gomb overlay – most a kép felett helyezkedik el */
.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 0;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 2; /* Az overlay biztosan a kép és a videó fölé kerül */
    height: auto;
}

/* Egér ráhúzásakor az overlay beúszik */
.image-container:hover .overlay-content {
    transform: translateY(0);
}

.hidden-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Gomb dizájn */
.overlay-content .btn {
    margin-top: 5px;
    background-color: #dadada;
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.overlay-content .btn:hover {
    background-color: #727272;
}


/* progress bar */
.progress {
    height: 5px !important; /* Kisebb progress bar */
    border-radius: 4px !important; /* Lekerekített sáv */
    overflow: hidden;
}

.progress-bar {
    background-color: #e54b4b !important;
    
}

h4 {
    font-size: 1rem !important; /* Kisebb szövegméret */
    font-weight: 600; /* Kiemelt, de nem túl vastag */
    margin-bottom: 0.5rem; /* Kis térköz alul */
}

/* Több térköz a blokk fölött és alatt */
#skills {
    padding-top: 5vh !important;
    padding-bottom: 5vh !important;
}


@media (max-width: 768px) {
    #skills {
        padding-top: 1vh; /* Mobilon kisebb térköz */
        padding-bottom: 1vh;
    }
}


/* CTA szekció */
.cta-section {
    background: url('img/cta.webp') repeat center top;
    height: 20vh; /* Magasság beállítása */
    display: flex;
    align-items: center;
}

/* Lábléc alapbeállítás */
.footer {
    position: relative;
    background-color: black;
    padding-top: 30px; /* Nagyobb padding a hullám miatt */
    padding-bottom: 30px;
    overflow: hidden;
}

/* A footer tartalmának helyes távolsága */
.footer-content {
    width: 100%;
    position: relative;
}


#contact {
    padding-top: 150px;
    padding-bottom: 150px;
}
