

/* Hero szekció */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    color: #1d1d1f;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    color: #1d1d1f;
    font-size: 1.5rem;
    opacity: 0.8;
}

.hero p2 {
    color: #1d1d1f;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 1vh;
}

/* Feature szekciók */
.feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
    gap: 50px;
}

.feature img {
    width: 45%;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
}

.feature .text {
    width: 45%;
}

.feature h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1.2rem;
    opacity: 0.8;
}


/* Kiemelt szekció stílusa */
.highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
    color: white;
    border-radius: 15px;
    margin-top: 20vh;
    margin-bottom: 25vh;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./photos/html/Moonlit Asteroid.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.7) saturate(0.8);
    z-index: -1;
}

.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

/* Szöveges rész */
.highlight-content {
    width: 50%;
    padding-right: 300px;
    background-color: rgba(150, 150, 150, 0.123); /* Fekete áttetsző háttér a jobb olvashatóságért */
    padding: 20px;
    border-radius: 10px;
}

.highlight-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #f5f5f7;
    line-height: 1.2;
}

.highlight-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Kép rész */
.highlight-image img {
    width: 60%; /* Kép szélesebbre állítása */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-left: 40vh;
}

@media (max-width: 768px) {
    .highlight {
        flex-direction: column;
        text-align: center;
    }

    .highlight-content {
        width: 100%;
        margin-bottom: 20px;
    }

    .highlight-image img {
        width: 90%; /* Mobilra kisebb kép */
        height: auto;
    }
}

/* Fő konténer */
.smaller-projects {
    background-color: #fbfbfd;
    width: 100%;
    padding: 50px 0;
}

/* Maximum szélesség a tartalomnak */
.smaller-projects-container {
    margin: 0 auto;
    max-width: 1200px;
}

/* Cím */
.smaller-projects h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.fixed-projects {
    display: flex;
    justify-content: center;
    gap: 2vw;
    width: 100%;
    height: 60vh;
    margin-bottom: 30vh;
    margin-top: 15vh;
    position: relative;
    z-index: 1;
}

.fixed-projects .smaller-project {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    max-width: 45%;
    cursor: pointer;
    visibility: visible; /* Az alapértelmezett láthatóság */
}

.fixed-projects .smaller-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.project-info {
    position: absolute;
    width: 100%;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1f;
    bottom: -100%;
    left: 0;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(5px);
}

/* Hover állapot */
.fixed-projects .smaller-project:hover {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    max-width: none;
    z-index: 100;
    border-radius: 5px;
}

.fixed-projects .smaller-project:hover img {
    height: 80%;
}

.fixed-projects .smaller-project:hover .project-info {
    bottom: 0;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ha egy projekt van hoverelve, a másik eltűnik */
.fixed-projects .smaller-project:hover ~ .smaller-project {
    visibility: hidden;
    opacity: 0;
}

/* Görgethető projektek */
.scroll-wrapper {
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
    border-radius: 5px;
}

.scrollable-projects {
    display: flex;
    gap: 300px;
    width: 100vw;
    height: 40vh;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scrollable-projects .smaller-project {
    flex: 0 0 auto;
    width: 40vw;
    height: auto;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    scroll-snap-align: center;
}

.scrollable-projects .smaller-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.scrollable-projects .smaller-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 5px;
}

/* Görgetési sáv eltüntetése */
.scrollable-projects::-webkit-scrollbar {
    display: none;
}

.scrollable-projects-modern {
    display: flex;
    flex-direction: column;
    gap: 20%;
    padding-bottom: 20px;
  }

/* Fő konténer */
.projects-showcase {
    background-color: #fbfbfd;
    width: 100%;
    padding: 50px 0;
}

/* Projektek rácsban való megjelenítése */
.projects-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4-os rács */
    gap: 20px; /* Kis távolság a kártyák között */
    padding: 0 10%;
}


.card-content {
    padding: 15px;
    text-align: center;
    flex-grow: 1; /* Hogy a tartalom a kártya alján legyen */
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1d1d1f;
}

.project-description {
    font-size: 1.2rem;
    color: #5f5f5f;
    opacity: 0.8;
}

/* Reszponzív módosítások */
@media (max-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr); /* 2 oszlopos rács táblagépeken */
    }
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr; /* Egy oszlopos rács mobilon */
        padding: 0 5%;
    }
}

/* Showcase szekció */
.showcase {
    padding: 30px 20px 30px;
    text-align: center;
    background-image: url(./photos/html/Deep\ Sea\ Space.jpg);
    color: #e0e0e0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 40px #0ff1, inset 0 0 20px #00ffe533;
}

.title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2%;
    color: #f5f5f7ff;
}

.image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.big-image {
    width: auto;
    height: 40vh;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 255, 230, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.combined-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #f5f5f7ff;
    line-height: 1.6;
    padding: 20px 30px;
    border-radius: 16px;
}

