/* HERO */
.hero {
    min-height: 600px;
    background-image: url("/images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
}
.hero-text {
    flex: 0 1 450px;
}
.hero-name {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
.hero-subtitle {
    font-family: "Playfair Display", serif;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 400;
    color: var(--dark);
    margin-top: -4px;
    margin-bottom: 28px;
}
.hero-portrait {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 6px solid #fff;
    box-shadow: -15px 15px 0 -2px #9bfbff;
    flex-shrink: 0;
}

/* KÖNYVEIM INTRO */
.intro-section {
    padding: 60px 0 80px;
}
.intro-box {
    background: var(--yellow-bg);
    border-radius: 20px;
    box-shadow: -12px 12px 0 0 var(--red);
    padding: 26px 30px;
}
.intro-box h5 {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.intro-box .subhead {
    font-family: "Playfair Display", serif;
    font-size: 19px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.5;
}
.intro-box p {
    font-size: 15px;
    margin-bottom: 6px;
}

/* BOOK SECTIONS */
.book-section {
    padding: 80px 0;
    position: relative;
    background-repeat: no-repeat;
    background-position: bottom left;
}
.book-section > .container {
    position: relative;
    z-index: 1;
}
.bg-green {
    background-color: var(--green-bg);
    background-image: url("/images/bg-pattern.png");
}
.bg-yellow {
    background-color: rgba(253, 223, 89, 0.5);
    background-image: url("/images/bg-pattern.png");
}
.bg-blue {
    background-color: var(--blue-bg);
    background-image: url("/images/bg-pattern.png");
}
.bg-blue::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
}
.bg-salmon {
    background-color: var(--salmon-bg);
    background-image: url("/images/bg-pattern.png");
}
.book-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.book-layout.flip {
    direction: rtl;
}
.book-layout.flip > * {
    direction: ltr;
}
.book-cover-wrap {
    text-align: center;
}
.book-cover {
    width: 62%;
    max-width: 380px;
    border-radius: 5px;
    margin: 0 auto;
    box-shadow: -7px 7px 10px rgba(0, 0, 0, 0.5);
}
.book-cover.shadow-right {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}
.order-note {
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}
.blurb-card {
    background: rgba(255, 255, 255, 0.83);
    border-radius: 20px;
    box-shadow: -5px 5px 20px -2px rgba(0, 0, 0, 0.29);
    padding: 25px;
    font-size: 18px;
    font-weight: 400;
}
.blurb-card p + p {
    margin-top: 14px;
}
.book-extra {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.book-extra.flip-cols {
    direction: rtl;
}
.book-extra.flip-cols > * {
    direction: ltr;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.06);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.lightbox.open {
    opacity: 1;
    pointer-events: all;
}
.lightbox-content {
    position: relative;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    display: block;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: rgba(237, 237, 237, 0.9);
    font-size: 26px;
    line-height: 1;
}
.lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(237, 237, 237, 0.9);
    font-size: 28px;
    padding: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
}
.lb-arrow:hover {
    color: #fff;
}
#lbPrev { left: 10px; }
#lbNext { right: 10px; }

/* TOVÁBBI MUNKÁIM */
.further-header {
    padding: 60px 20px 0;
    text-align: center;
}
.further-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
}

/* MIÉRT VÁLASZD */
.why-section {
    padding: 60px 0;
}
.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-list {
    background: rgba(254, 239, 172, 0.55);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 35px;
}
.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    line-height: 1.4;
}
.why-list li:last-child {
    border-bottom: none;
}
.why-list li .icon {
    color: var(--red);
    margin-top: 3px;
    flex-shrink: 0;
}

/* VÉLEMÉNYEK */
.testimonials-section {
    padding: 60px 0;
}
.testimonial-carousel {
    max-width: 860px;
    margin: 0 auto;
}
.testimonial-track {
    position: relative;
    overflow: hidden;
    transition: height 0.4s ease;
    touch-action: pan-y;
}
.testimonial-strip {
    display: flex;
    align-items: flex-start;
    transition: transform 0.5s ease;
    will-change: transform;
}
.testimonial-strip.dragging {
    transition: none;
}
.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 2px;
}
.t-content {
    background: var(--cream-bg);
    border-radius: 13px;
    padding: 26px 28px;
    font-size: 16px;
    font-style: italic;
    line-height: 1.65;
    position: relative;
    margin-bottom: 24px;
}
.t-content::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 36px;
    width: 16px;
    height: 16px;
    background: var(--cream-bg);
    transform: rotate(45deg) scaleX(0.7);
}
.t-footer {
    padding-left: 20px;
}
.t-name {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
}
.t-title {
    font-size: 14px;
    color: #777;
}
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}
.c-btn {
    background: none;
    border: none;
    color: var(--red);
    font-size: 22px;
    padding: 6px;
    transition: opacity 0.2s;
}
.c-btn:hover {
    opacity: 0.65;
}
.c-dots {
    display: flex;
    gap: 8px;
}
.c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    transition: background 0.25s;
}
.c-dot.active {
    background: var(--red);
}

/* A SZERZŐRŐL (főoldal) */
.about-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.06);
}
.about-layout {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 60px;
    align-items: center;
}
.about-img-wrap {
    text-align: center;
}
.about-img {
    width: 80%;
    border-radius: 4px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
    margin: 0 auto 10px;
}
.about-caption {
    font-family: "Playfair Display", serif;
    font-size: 22px;
}
.about-section .about-text {
    font-size: 16px;
}
.about-section .about-text p + p {
    margin-top: 12px;
}

/* KAPCSOLAT (főoldal) */
.contact-section {
    padding: 60px 0;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-email-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 28px;
}
.contact-email-row i {
    color: var(--red);
    font-size: 40px;
}

/* MÉDIÁBAN */
.media-section {
    padding: 60px 0;
    background: var(--cream-bg);
}
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 50px;
    margin-top: 40px;
    align-items: start;
}
.media-item {
    display: flex;
    flex-direction: column;
}
.media-item h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
}
.media-item a {
    display: block;
}
.media-item img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}
.media-item--plain img {
    box-shadow: none;
}
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* RESPONSIVE – HOME */
@media (max-width: 1024px) {
    .book-layout,
    .book-layout.flip {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    .book-extra,
    .book-extra.flip-cols {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-layout {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    .about-layout {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    .media-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 40px auto 0;
    }
}
@media (max-width: 767px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding-bottom: 80px;
    }
    .hero-portrait {
        width: 240px;
        height: 240px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-list li {
        font-size: 16px;
    }
}
