/* ==================================================
   GLOBAL RESET & BASE
   ================================================== */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0F0F0F;
    color: #F5F5F5;
    font-family: system-ui, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}


/* ==================================================
   COLORS & VARIABLES
   ================================================== */

:root {
    --red: #C8102E;
    --dark: #0F0F0F;
    --dark-soft: #111;
    --text-light: #F5F5F5;
    --text-muted: #CFCFCF;
}




/* ==================================================
   LOADER
   ================================================== */

#loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader-logo {
    
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: loaderPulse 1.4s infinite;
}

#loader img{

    width: 50%;
}

@keyframes loaderPulse {
    0% { opacity: .3; }
    50% { opacity: 1; }
    100% { opacity: .3; }
}

/* ==================================================
   COOKIE BANNER
   ================================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 5%;


    max-width: 900px;
    width: calc(100% - 40px);

    background: var(--dark-soft);
    border: 2px solid rgba(200,16,46,0.5);
    box-shadow:
        0 0 20px rgba(200,16,46,0.4),
        0 0 50px rgba(200,16,46,0.25);

    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    z-index: 99999;
}

.cookie-banner p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-banner a {
    color: var(--red);
    text-decoration: none;
    font-weight: 700;
}

.cookie-banner a:hover {
    text-shadow:
        0 0 8px rgba(200,16,46,.8),
        0 0 18px rgba(200,16,46,.6);
}

/* GOMB – UGYANAZ A STÍLUS, MINT HERO */
.cookie-btn {
    white-space: nowrap;
}

/* MOBIL */
@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}




/* ==================================================
   COOKIE PAGE – ISOLATED STYLE
   ================================================== */

body.cookie-page {
    background:
        radial-gradient(
            circle at top center,
            rgba(200,16,46,0.08),
            transparent 60%
        ),
        var(--dark);
    min-height: 100vh;
    padding: 100px 20px;
}

/* CONTAINER */
.cookie-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--dark-soft);
    padding: 60px 50px;

    border: 2px solid rgba(200,16,46,0.35);
    box-shadow:
        0 0 25px rgba(200,16,46,0.25),
        0 0 60px rgba(200,16,46,0.15);
}

/* HEADINGS */
.cookie-container h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 30px;
    text-align: center;
}

.cookie-container h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--red);
    letter-spacing: 1px;
}

/* TEXT */
.cookie-container p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* LIST */
.cookie-container ul {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.cookie-container li {
    margin-bottom: 10px;
    color: var(--text-muted);
    position: relative;
    padding-left: 15px;
}

.cookie-container li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

/* STRONG */
.cookie-container strong {
    color: var(--text-light);
}

/* BACK BUTTON */
.cookie-back {
    display: inline-block;
    margin-top: 40px;
}

/* MOBILE */
@media (max-width: 700px) {
    body.cookie-page {
        padding: 80px 15px;
    }

    .cookie-container {
        padding: 40px 25px;
    }

    .cookie-container h1,
    .cookie-container h2 {
        text-align: center;
    }
}


/* ==================================================
   GLOBAL ANIMATION STATES
   ================================================== */

.hidden {
    opacity: 0;
    transform: translateY(40px);
}


/* ==================================================
   HEADER / NAVBAR
   ================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--dark);
    border-bottom: 3px solid var(--red);
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;
}

.logo {
    font-weight: 900;
    letter-spacing: 1px;
}

.logo img{

    width: 23%;
}

/* DESKTOP NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
        transition:
        filter .25s ease,
        transform .25s ease;
}

.nav a:hover{
    transform: scale(1.1);
    filter:
        drop-shadow(0 0 6px rgba(200,16,46,.9))
        drop-shadow(0 0 16px rgba(200,16,46,.6));
        color: var(--red);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--red);
}


/* ==================================================
   HERO SECTION
   ================================================== */

.hero {
    position: relative;
    height: 100vh;

    background-image:
        linear-gradient(
            rgba(15,15,15,0.75),
            rgba(15,15,15,0.9)
        ),
        url("pic/IMG_5970.webp");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(200,16,46,0.15),
        transparent 60%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.hero-logo {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 15px;
}

.hero-logo img{

    width: 40%;
    margin-bottom: -20px;
}

.hero-logo span {
    color: var(--red);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 35px;
    color: var(--text-muted);
}


/* ==================================================
   BUTTONS
   ================================================== */

.btn {
    display: inline-block;
    padding: 14px 38px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;

    box-shadow:
        0 0 12px rgba(200,16,46,0.6),
        0 0 25px rgba(200,16,46,0.4);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 18px rgba(200,16,46,0.9),
        0 0 40px rgba(200,16,46,0.7);
}


/* ==================================================
   SECTIONS (GLOBAL)
   ================================================== */

.section {
    padding: 120px 10%;
    text-align: center;
}


/* ==================================================
   SERVICES SECTION
   ================================================== */

.services {
    background: var(--dark);
}

.services-intro {
    max-width: 720px;
    margin: 20px auto 60px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* CARD */
.service-card {
    width: 100%;
    max-width: 360px;
    background: var(--dark-soft);
    padding: 50px 40px;
    text-align: center;

    border: 2px solid rgba(200,16,46,0.45);
    box-shadow: 0 12px 35px rgba(0,0,0,.7);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* ICON */
.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 30px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;

    fill: var(--red);




    transition:
        filter .3s ease,
}

/* TEXT */
.service-card h3 {
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* HOVER – PREMIUM NEON */
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow:
        0 0 25px rgba(200,16,46,0.6),
        0 0 55px rgba(200,16,46,0.4);
}

.service-card:hover .service-icon svg {

    filter:
        drop-shadow(0 0 6px rgba(200,16,46,0.9))
        drop-shadow(0 0 14px rgba(200,16,46,0.7))
        drop-shadow(0 0 28px rgba(200,16,46,0.5));
}


/* ==================================================
   ABOUT SECTION
   ================================================== */

.about {
    background: var(--dark-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE WRAPPER */
.about-image {
    position: relative;
    padding: 6px;
    animation: neonPulse 3.5s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
}

/* NEON PULSE ANIMATION */
@keyframes neonPulse {
    0% {
        box-shadow:
            0 0 10px rgba(200,16,46,0.3),
            0 0 30px rgba(200,16,46,0.2);
    }
    50% {
        box-shadow:
            0 0 22px rgba(200,16,46,0.7),
            0 0 55px rgba(200,16,46,0.5);
    }
    100% {
        box-shadow:
            0 0 12px rgba(200,16,46,0.3),
            0 0 30px rgba(200,16,46,0.2);
    }
}

/* TEXT */
.about-text {
    text-align: left;
}

.about-name {
    color: var(--red);
    font-weight: 700;
    margin: 10px 0 20px;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}

/* ==================================================
   REFERENCES
   ================================================== */

.references {
    background: var(--dark);
}

/* TABS */
.ref-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 50px;
}

.ref-tab {
    padding: 14px 32px;
    border: 2px solid var(--red);
    background: transparent;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ref-tab.active,
.ref-tab:hover {
    background: var(--red);

}

/* WRAPPER */
.ref-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* CAROUSEL */
.ref-carousel {
    display: none;
    position: relative;
}

.ref-carousel.active {
    display: block;
}

/* VIEWPORT */
.ref-viewport {
    overflow: hidden;
    margin: 0 70px;
}

/* TRACK */
.ref-track {
    display: flex;
    gap: 25px;
    transition: transform .4s ease;
}

/* ITEM */
.ref-item {
    flex: 0 0 260px;
    height: 170px;
    position: relative;
    cursor: pointer;

    box-shadow:
        0 0 18px rgba(200,16,46,.35),
        0 0 40px rgba(200,16,46,.2);
}

.ref-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
}

/* OVERLAY + NAGYÍTÓ */
.ref-item::after,
.ref-item::before {
    pointer-events: none;
}

.ref-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,15,15,.6);
    opacity: 0;
    transition: .3s;
}

.ref-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E")
        center / 55px no-repeat;
    opacity: 0;
    filter: drop-shadow(0 0 15px rgba(200,16,46,.8));
    transition: .3s;
}

.ref-item:hover::after,
.ref-item:hover::before {
    opacity: 1;
}

/* ARROWS */
.ref-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-arrow.left { left: 0; }
.ref-arrow.right { right: 0; }

/* ============================
   MOBILE – SWIPE MODE
   ============================ */
@media (max-width: 700px) {

    .ref-viewport {
        margin: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .ref-track {
        gap: 0;
        transform: none !important;
    }

    .ref-item {
        flex: 0 0 100%;
        height: 200px;
        scroll-snap-align: center;
    }

    .ref-arrow {
        display: none;
    }
}

/* ==================================================
   LIGHTBOX
   ================================================== */

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow:
        0 0 35px rgba(200,16,46,.9),
        0 0 70px rgba(200,16,46,.6);
    filter: brightness(80%);    
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.4rem;
    color: var(--red);
    cursor: pointer;
}


/* ==================================================
   CONTACT
   ================================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 50px;
}



/* LINKEK */
.contact-link {
    color: var(--red);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;

    transition:
        text-shadow .25s ease,
        transform .25s ease;
}

/* NEON HOVER – CSAK SZÖVEG */
.contact-link:hover {
    transform: translateY(-2px);
    text-shadow:
        0 0 8px rgba(200,16,46,.8),
        0 0 18px rgba(200,16,46,.6),
        0 0 32px rgba(200,16,46,.4);
}

/* FACEBOOK IKON */
.contact-facebook svg {
    width: 22px;
    height: 22px;
    fill: var(--red);

    transition:
        filter .25s ease,
        transform .25s ease;
}

.contact-facebook:hover svg {
    transform: scale(1.1);
    filter:
        drop-shadow(0 0 6px rgba(200,16,46,.9))
        drop-shadow(0 0 16px rgba(200,16,46,.6));
}

/* FORM */
form {
    max-width: 500px;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 14px;
    background: var(--dark-soft);
    border: 2px solid #333;
    color: #fff;
}

button {
    padding: 14px;
    background: var(--red);
    border: none;
    font-weight: bold;
    cursor: pointer;
}


/* ==================================================
   FOOTER
   ================================================== */

footer {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 900px) {

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);

        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;

        display: none;
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}


.ref-track {
    gap: 25px;
}

@media (max-width: 700px) {
    .ref-track {
        gap: 0;
    }

    .ref-item {
        padding: 0 12px;
    }
}
@media (max-width: 700px) {
    .ref-viewport {
        margin: 0;
        padding: 0;
        width: 100%;
    }
}
@media (max-width: 700px) {
    .ref-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .ref-track {
        transform: none !important;
    }

    .ref-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }
}
