body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: white;
    scroll-behavior: smooth;
}

/* INTRO */
#intro {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    z-index: 9999;
    animation: fadeOut 2s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* NAV */
header {
    position: fixed;
    width: 100%;
    top: 0;
    text-align: center;
    background: rgba(0,0,0,0.6);
    padding: 15px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("https://cdn.discordapp.com/attachments/1491155952970371093/1491490558114533536/DSC_2026.jpg?ex=69d7e253&is=69d690d3&hm=6b2e3988c931800a0d37d362c14a9b448097415c2210f3a2860179ebe4b8cb06&") center/cover fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.branding {
    text-align: center;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

/* SECTIONS */
section {
    padding: 80px 20px;
    text-align: center;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(0,0,0,0.95);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

#lightbox img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;

    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CURSOR LIGHT */
.cursor-light {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
}

button {
    padding: 12px;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: gray;
}
#close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
#intro {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

/* SZÖVEG */
.netflix-text {
    font-size: 4em;
    color: #111;
    position: relative;
    letter-spacing: 5px;
}

/* FÉNY EFFEKT */
.netflix-text::before {
    content: "Bakó Krisztián Fotós";
    position: absolute;
    left: 0;
    top: 0;
    color: rgb(105, 99, 99);
    width: 0%;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgb(243, 246, 248);
    animation: revealLight 2s ease forwards;
}

/* FÉNY ÁTHÚZÁS */
@keyframes revealLight {
    0% {
        width: 0%;
        filter: brightness(2);
    }
    50% {
        width: 100%;
        filter: brightness(3);
    }
    100% {
        width: 100%;
        filter: brightness(1);
        border-right: none;
    }
}

/* HALVÁNY ELTŰNÉS */
#intro {
    animation: fadeOut 1s ease forwards;
    animation-delay: 2.8s;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
/* FOOTER */
footer {
    background: #000;
    padding: 60px 20px;
    text-align: center;
}

/* FORM */
footer form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* INPUTOK */
footer input,
footer textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #111;
    color: white;
    transition: 0.3s;
}

/* HOVER + FÓKUSZ */
footer input:hover,
footer textarea:hover,
footer input:focus,
footer textarea:focus {
    background: #222;
    outline: none;
}

/* GOMB */
footer button {
    padding: 12px;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

/* GOMB HOVER */
footer button:hover {
    background: #ccc;
}
footer input:focus,
footer textarea:focus {
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}
/* FOOTER */
footer {
    background: #0d0d0d;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

/* KÁRTYA */
.footer-card {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;

    box-shadow: 
        0 10px 30px rgba(0,0,0,0.8),
        0 0 20px rgba(255,255,255,0.05);

    transition: 0.3s;
}

/* HOVER (lebegés effekt) */
.footer-card:hover {
    transform: translateY(-10px);
}

/* FORM */
.footer-card form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* INPUTOK */
.footer-card input,
.footer-card textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1a1a1a;
    color: white;
    transition: 0.3s;
}

/* HOVER */
.footer-card input:hover,
.footer-card textarea:hover,
.footer-card input:focus,
.footer-card textarea:focus {
    background: #222;
    outline: none;
}

/* GOMB */
.footer-card button {
    padding: 12px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

/* GOMB HOVER */
.footer-card button:hover {
    background: #ccc;
}
.footer-card {
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.8),
        0 0 25px rgba(255,255,255,0.08);
}
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.cat {
    position: relative;
    display: block;
    overflow: hidden;
}

.cat img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.5s;
}

.cat:hover img {
    transform: scale(1.1);
}

.cat .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(245, 241, 241, 0.6);
    text-align: center;
    padding: 10px;
}
#lightbox {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(61, 60, 60, 0.527);
    display: none;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
}

#prev, #next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 20px;
}

#prev { left: 20px; }
#next { right: 20px; }
header a {
    color: white;
    text-decoration: none;
}
header a:visited {
    color: white;
}
header a:hover {
    color: #ccc;
}
.category-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}

.category-card {
    max-width: 700px;
    text-align: center;
    padding: 40px;
    border-radius: 20px;

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.7),
        0 0 20px rgba(255,255,255,0.05);

    transition: 0.3s;
}

/* HOVER */
.category-card:hover {
    transform: translateY(-5px);
}

/* CÍM */
.category-card h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

/* SZÖVEG */
.category-card p {
    color: #ccc;
    line-height: 1.6;
}
.category-card {
    box-shadow:
        0 10px 40px rgba(0,0,0,0.7),
        0 0 30px rgba(255,255,255,0.08);
}
/* ========================= */
/* MOBILE OPTIMALIZÁLÁS */
/* ========================= */

@media (max-width: 768px) {

    /* NAV */
    nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* HERO SZÖVEG */
    .branding h1 {
        font-size: 1.8em;
    }

    .profile-img {
        width: 90px;
        height: 90px;
    }

    /* KATEGÓRIÁK */
    .categories {
        grid-template-columns: 1fr;
    }

    .cat img {
        height: 200px;
    }

    /* GALÉRIA */
    .grid {
        grid-template-columns: 1fr;
    }

    .grid img {
        height: 220px;
    }

    /* CATEGORY CARD */
    .category-card {
        padding: 25px;
    }

    .category-card h1 {
        font-size: 1.8em;
    }

    /* FOOTER */
    .footer-card {
        padding: 25px;
    }

    /* LIGHTBOX nyilak kisebbek */
    #prev, #next {
        font-size: 30px;
    }
}
img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 480px) {

    .netflix-text {
        font-size: 1.6em;
        letter-spacing: 1px;
    }

}
#intro h1 {
    text-align: center;
}
.stats {
    text-align: center;
    padding: 100px 20px;
}

.stats-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 30px;

    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

#counter {
    font-size: 2em;
    font-weight: bold;
}

#map {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}
.analytics-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: white;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.analytics-btn:hover {
    background: #ccc;
}