/* ==================================================

   NOEL ÁDÁM - TELJES STÍLUS

================================================== */

/* ==================================================

   ALAPOK

================================================== */

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    min-height: 100vh;

    background:

        radial-gradient(

            circle at 15% 20%,

            rgba(255, 255, 255, 0.95) 0,

            rgba(255, 255, 255, 0) 25%

        ),

        radial-gradient(

            circle at 85% 35%,

            rgba(255, 255, 255, 0.8) 0,

            rgba(255, 255, 255, 0) 22%

        ),

        radial-gradient(

            circle at 50% 90%,

            rgba(255, 255, 255, 0.9) 0,

            rgba(255, 255, 255, 0) 30%

        ),

        linear-gradient(

            180deg,

            #b9e4f5 0%,

            #dff4fb 45%,

            #f8fcfd 100%

        );

    background-attachment: fixed;

    font-family: Arial, sans-serif;

    color: #263238;

    padding: 25px 15px 50px;

}

/* ==================================================

   BEVEZETŐ

================================================== */

.intro {

    background: rgba(255, 255, 255, 0.78);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    padding: 22px 15px;

    margin-bottom: 25px;

    border-radius: 24px;

    box-shadow:

        0 8px 25px rgba(0, 0, 0, 0.15);

}

.intro h1 {

    margin: 0;

    text-align: center;

    color: #263238;

    font-size: 34px;

}

.intro .date {

    margin-top: 5px;

    text-align: center;

    font-size: 19px;

    color: #607d8b;

}

.intro p {

    margin: 12px 0 0;

    text-align: center;

    color: #546e7a;

    font-size: 17px;

    line-height: 1.5;

}

/* ==================================================

   SLIDESHOW

================================================== */

.slideshow {

    width: 100%;

    height: 320px;

    position: relative;

    overflow: hidden;

    border-radius: 22px;

    box-shadow:

        0 10px 30px rgba(0, 0, 0, 0.18);

}

.slide {

    width: 100%;

    height: 100%;

    object-fit: cover;

    position: absolute;

    top: 0;

    left: 0;

    opacity: 0;

    transition:

        opacity 2s ease-in-out;

}

.slide.active {

    opacity: 1;

}

/* ==================================================

   SZÜLŐK

================================================== */

.parents {

    margin-top: 35px;

}

.parents > h2 {

    margin: 0 0 18px;

    padding: 15px;

    text-align: center;

    color: #263238;

    background: rgba(255, 255, 255, 0.82);

    border-radius: 20px;

    box-shadow:

        0 6px 20px rgba(0, 0, 0, 0.10);

}

.parents-card {

    overflow: hidden;

    padding-bottom: 20px;

    background: rgba(255, 255, 255, 0.80);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border-radius: 24px;

    box-shadow:

        0 10px 30px rgba(0, 0, 0, 0.18);

}

.parents-card img {

    width: 100%;

    height: 300px;

    display: block;

    object-fit: cover;

}

.parents-text {

    padding: 20px;

    text-align: center;

}

.parents-text h3 {

    margin: 0 0 10px;

    font-size: 22px;

    color: #37474f;

}

.parents-text p {

    margin: 0;

    font-size: 16px;

    line-height: 1.6;

    color: #607d8b;

}

/* ==================================================

   NOEL TÖRTÉNETE

================================================== */

.story {

    margin-top: 40px;

}

.story > h2 {

    margin: 0;

    padding: 16px;

    text-align: center;

    color: #37474f;

    background: rgba(255, 255, 255, 0.82);

    border-radius: 20px;

    box-shadow:

        0 6px 20px rgba(0, 0, 0, 0.10);

}

/* ==================================================

   IDŐVONAL

================================================== */

.timeline {

    position: relative;

    margin: 30px 5px;

    padding-left: 25px;

}

.timeline::before {

    content: "";

    position: absolute;

    left: 8px;

    top: 0;

    bottom: 0;

    width: 3px;

    background: rgba(255, 255, 255, 0.8);

    border-radius: 10px;

}

.timeline-item {

    position: relative;

    margin-bottom: 25px;

}

.timeline-dot {

    position: absolute;

    left: -25px;

    top: 20px;

    width: 18px;

    height: 18px;

    background: #89cff0;

    border: 4px solid white;

    border-radius: 50%;

    box-shadow:

        0 3px 10px rgba(0, 0, 0, 0.15);

}

.timeline-content {

    padding: 18px;

    background: rgba(255, 255, 255, 0.82);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border-radius: 20px;

    box-shadow:

        0 6px 20px rgba(0, 0, 0, 0.12);

}

.timeline-content span {

    font-size: 13px;

    color: #78909c;

    text-transform: uppercase;

    letter-spacing: 1px;

}

.timeline-content h3 {

    margin: 5px 0 8px;

    font-size: 20px;

    color: #37474f;

}

.timeline-content p {

    margin: 0;

    font-size: 15px;

    line-height: 1.5;

    color: #607d8b;

}

/* ==================================================

   GALÉRIA

================================================== */

.gallery-section {

    margin-top: 40px;

}

.gallery-section > h2 {

    margin: 0;

    padding: 16px;

    text-align: center;

    color: #37474f;

    background: rgba(255, 255, 255, 0.82);

    border-radius: 20px;

    box-shadow:

        0 6px 20px rgba(0, 0, 0, 0.10);

}

.gallery-subtitle {

    margin: 15px 0 25px;

    text-align: center;

    color: #ffffff;

    font-size: 16px;

    text-shadow:

        0 2px 5px rgba(0, 0, 0, 0.25);

}

/* KÉPEK RÁCSBAN */

.gallery {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

}

/* EGY KÉP */

.gallery-item {

    aspect-ratio: 1 / 1;

    overflow: hidden;

    position: relative;

    border-radius: 18px;

    background: white;

    box-shadow:

        0 6px 18px rgba(0, 0, 0, 0.20);

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;

}

/* GALÉRIA KÉP */

.gallery-item img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    cursor: pointer;

    transition:

        transform 0.35s ease;

}

/* KOPPINTÁSKOR */

.gallery-item:active img {

    transform: scale(0.96);

}

/* ==================================================

   NAGYÍTOTT GALÉRIA / LIGHTBOX

================================================== */

.lightbox {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: none;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    padding: 20px;

    background: rgba(5, 15, 25, 0.95);

    touch-action: pan-y;

}

.lightbox.open {

    display: flex !important;

}

/* NAGYÍTOTT KÉP */

.lightbox img {

    display: block;

    width: auto;

    height: auto;

    max-width: 92vw;

    max-height: 82vh;

    object-fit: contain;

    border-radius: 16px;

    box-shadow:

        0 15px 50px rgba(0, 0, 0, 0.45);

    user-select: none;

    -webkit-user-select: none;

    pointer-events: none;

}

/* ==================================================

   LIGHTBOX GOMBOK

================================================== */

.lightbox-close,

.lightbox-prev,

.lightbox-next {

    position: absolute;

    z-index: 100000;

    width: 52px;

    height: 52px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 34px;

    line-height: 1;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;

}

/* BEZÁRÁS */

.lightbox-close {

    top: 20px;

    right: 20px;

    font-size: 32px;

}

/* ELŐZŐ */

.lightbox-prev {

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

}

/* KÖVETKEZŐ */

.lightbox-next {

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

}

/* ==================================================

   MOBIL

================================================== */

@media (max-width: 600px) {

    body {

        padding: 18px 12px 40px;

    }

    .intro h1 {

        font-size: 30px;

    }

    .slideshow {

        height: 300px;

        border-radius: 20px;

    }

    .parents-card img {

        height: 280px;

    }

    .gallery {

        gap: 10px;

    }

    .gallery-item {

        border-radius: 16px;

    }

    .lightbox {

        padding: 15px;

    }

    .lightbox img {

        max-width: 94vw;

        max-height: 78vh;

        border-radius: 14px;

    }

    .lightbox-close,

    .lightbox-prev,

    .lightbox-next {

        width: 46px;

        height: 46px;

    }

    .lightbox-close {

        top: 18px;

        right: 18px;

    }

    .lightbox-prev {

        left: 12px;

    }

    .lightbox-next {

        right: 12px;

    }

}