/* Akadálymentes és SEO-barát rejtett elemek osztálya */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --bg-light: #fcf9f6;
    --bg-card: #f4ece6;
    --text-color: #4a4a4a;
    --accent-color: #c9a078;
    --accent-hover: #b38861;
    --brand-red: #8b0007;
    --brand-red-hover: #6b0005;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Caveat', cursive;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-image: url('images/hatter.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: top center;
    background-size: auto;
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
}

section[id], div[id] {
    scroll-margin-top: 75px;
}

/* Navigációs sáv: Fixen 75px magasság a tökéletes illeszkedésért */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar .logo {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.navbar .logo img.site-logo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.navbar .logo img.site-logo:hover {
    transform: scale(1.03);
}

.navbar nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.navbar nav ul li {
    margin: 0 12px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Nyíló menü (Dropdown) elrendezés */
.navbar nav ul li.dropdown {
    position: relative;
}

.navbar nav ul li.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    list-style: none;
    min-width: 200px;
    z-index: 1001;
    border-radius: 4px;
    
    max-height: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;

    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                padding 0.35s ease,
                opacity 0.3s ease,
                visibility 0.4s ease;
}

.navbar nav ul li.dropdown:hover .dropdown-menu,
.navbar nav ul li.dropdown.active .dropdown-menu {
    max-height: 400px;
    padding: 10px 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navbar nav ul li.dropdown .dropdown-menu li {
    margin: 0;
    width: 100%;
}

.navbar nav ul li.dropdown .dropdown-menu li a {
    display: block;
    padding: 8px 18px;
    text-align: center;
    white-space: nowrap;
    color: #333;
    font-size: 0.72rem;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar nav ul li.dropdown .dropdown-menu li a:hover {
    background-color: var(--bg-card);
    color: var(--accent-hover);
}

/* Képek elrendezése - Pontosan 75px felső eltartással a rések elkerülésére */
.hero-section {
    padding-top: 75px;
    margin: 0;
}

.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.image-banner-section {
    padding: 0;
    margin: 0;
}

/* Szöveges szekciók átlátszó háttérrel */
.hero-content, 
.quote-section, 
footer {
    background: transparent;
    padding: 60px 20px;
    text-align: center;
}

.quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    max-width: 750px;
    margin: 0 auto 10px auto;
}

.author {
    font-size: 0.85rem;
    color: #777;
    font-family: var(--font-heading);
}

/* Rólunk szekció elrendezés */
.about-section {
    background: transparent;
    padding: 60px 20px 15px 20px;
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: #6b6b6b;
    margin-bottom: -10px;
}

.about-lead {
    font-size: 1.15rem;
    color: #777;
    margin-bottom: 25px;
}

.about-body-text p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

.about-closing-text {
    text-align: center !important;
    font-size: 0.95rem;
    margin-top: 25px;
    margin-bottom: 2px !important;
}

.about-signature {
    text-align: center !important;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: #555;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.logo-container {
    margin: 5px 0 2px 0;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.photographer-name {
    font-size: 1rem;
    color: #555;
    margin-top: 2px;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-copyright {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #777;
}

/* Kapcsolat szekció */
.contact-section {
    background: transparent;
    padding: 15px 20px 25px 20px;
    text-align: center;
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 2px;
}

.contact-section .subtitle {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.contact-details {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 5px;
}

.contact-item {
    font-size: 0.85rem;
    white-space: nowrap;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

/* Karácsonyi Hero Banner - Pontosan 75px-re állítva */
.hero-banner {
    position: relative;
    width: 100%;
    margin-top: 75px;
    overflow: hidden;
}

.hero-text-overlay {
    position: absolute;
    top: 12%;
    left: 8%;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-script);
    font-weight: 600;
    font-size: 4rem;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Csomagok szekció */
.packages-section {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Garanciális vízszintes középre igazítás az összes főszelet-címhez */
.packages-main-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.scroll-down-arrow {
    margin-bottom: 30px;
    display: inline-block;
    animation: bounceArrow 2s infinite ease-in-out;
}

.scroll-down-arrow a {
    display: inline-block;
    text-decoration: none;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.package-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #efe8e1;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.package-card.featured {
    border: 2px solid var(--accent-color);
}

.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
}

.package-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #333;
    margin-top: 10px;
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.88rem;
    color: #555;
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 10px;
    border-bottom: 1px dashed #f0e8e0;
    padding-bottom: 8px;
}

.package-features li:last-child {
    border-bottom: none;
}

.note-highlight {
    color: var(--brand-red);
    font-weight: 600;
}

.package-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5eee8;
}

.btn-more {
    color: #666;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-more:hover {
    color: var(--brand-red);
}

.btn-price {
    background-color: var(--brand-red);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-price:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-1px);
}

.cta-booking-section {
    padding: 60px 20px;
    text-align: center;
}

.booking-main-btn {
    display: inline-block;
    background-color: var(--brand-red);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 2px;
    padding: 16px 45px;
    border-radius: 35px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 10px rgba(139, 0, 7, 0.15);
}

.booking-main-btn:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 7, 0.3);
}

.package-details-section {
    padding: 60px 20px;
}

.details-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.detail-block {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.detail-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.detail-block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

.detail-price-text {
    margin-top: 10px;
    color: var(--brand-red) !important;
}

/* Vissza a tetejére gomb stílusa */
.scroll-top-btn {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 72px;
    height: 72px;
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.95rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-4px);
}

/* Mobil és tablet reszponzivitás finomításai */
@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
        height: auto;
        flex-direction: column;
        padding: 15px 10px;
        gap: 10px;
    }

    .navbar .logo {
        position: static;
        transform: none;
    }

    .hero-section {
        padding-top: 0;
    }

    .hero-banner {
        margin-top: 0;
    }

    .hero-text-overlay {
        top: 10%;
        left: 5%;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

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

    .detail-block {
        padding: 20px 15px;
    }

    .booking-main-btn {
        font-size: 1rem;
        padding: 14px 30px;
    }

    .contact-details {
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-item {
        font-size: 0.78rem;
    }

    .footer-logo {
        max-width: 150px;
    }

    .scroll-top-btn {
        bottom: 25px;
        right: 25px;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

/* GYIK stílusok */
.faq-section {
    padding: 100px 20px 60px 20px;
}

.faq-page-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: #333;
    margin-bottom: 30px;
}

.faq-category-wrapper {
    max-width: 850px;
    margin: 0 auto 15px auto;
    text-align: center;
}

.faq-category-spaced {
    margin-top: 50px;
}

.faq-category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #333;
    letter-spacing: 1px;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card {
    background-color: #ffffff;
    border: 1px solid #efe8e1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    text-align: left;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-header {
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-header::-webkit-details-marker {
    display: none;
}

.faq-header::after {
    content: '▶';
    font-size: 0.7rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-card[open] .faq-header::after {
    transform: rotate(90deg);
}

.faq-header:hover {
    background-color: #faf6f2;
    color: var(--accent-hover);
}

.faq-body {
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #f5eee8;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.faq-body p {
    margin-top: 10px;
    margin-bottom: 0;
}

.faq-body p:first-child {
    margin-top: 0;
}

.faq-body ul {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.faq-body li {
    margin-bottom: 5px;
}

.faq-important-note {
    max-width: 850px;
    margin: 45px auto 0 auto;
    background-color: #ffffff;
    border-left: 4px solid var(--brand-red);
    border-radius: 6px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.faq-important-note h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.faq-important-note p {
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

/* Részletes csomagleírások elemeinek stílusa */
.detail-lead {
    font-size: 1.05rem !important;
    margin-bottom: 15px;
}

.detail-block h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #444;
    margin-top: 20px;
    margin-bottom: 8px;
}

.detail-checklist ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
}

.detail-checklist li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.detail-note {
    font-size: 0.85rem !important;
    color: #888;
    margin-top: 10px;
    margin-bottom: 10px;
}

.package-card-price {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 10px;
}