/*
Theme Name: Temetkezés Sablon (Világos Gótikus - Antik Arany Kiemelésekkel)
*/

/* --- GÓTIKUS ÉS MODERN BETŰTÍPUSOK BEHÚZÁSA --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* =========================================
   ÁLTALÁNOS BEÁLLÍTÁSOK (Világos Márvány Téma)
========================================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff; 
    color: #4a4a4a; 
    line-height: 1.7;
}

/* Gótikus, monumentális címsorok sötét tónusban */
h1, h2, h3, h4, h5, h6, .section-title {
    font-family: 'Cinzel', serif;
    font-weight: 600; 
    color: #111111; 
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Szöveges kiemelések */
.highlight-burgundy { color: #C3960D; font-weight: 600; }
.highlight-green { color: #C3960D; font-weight: 600; } /* Antik arany színkód */

/* Világos Gótikus Gomb - Éles sarkok, vérvörös keret */
.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background-color: transparent;
    color: #800000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border: 1px solid #800000; 
    border-radius: 0; 
    transition: all 0.4s ease-in-out;
}

.btn-primary:hover {
    background-color: #800000;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(128, 0, 0, 0.3);
}

/* =========================================
   FEJLÉC ÉS MENÜ (Fekete)
========================================= */
.site-header {
    background-color: #050505;
    position: relative;
    z-index: 100;
    /* Vastag bordó vonal eltávolítva */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    min-height: 80px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    margin: 0 25px;
}

.main-navigation a {
    display: block;
    padding: 10px 0; /* 25px-ről 10px-re csökkentve, hogy a vonal elváljon a fejléc aljától */
    text-decoration: none;
    color: #d6cfc7;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.main-navigation .current-menu-item > a,
.main-navigation a:hover {
    color: #ffffff; 
    border-bottom-color: #800000; 
}

/* =========================================
   MOBIL MENÜ (Hamburger)
========================================= */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 1px;
    margin: 5px auto;
    background-color: #d6cfc7;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    .header-container { justify-content: flex-end; }
    .menu-toggle { display: block; z-index: 101; position: relative; }
    
    .menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); background-color: #800000; }
    .menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background-color: #800000; }

    .main-navigation {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: #050505;
        visibility: hidden; opacity: 0; transform: translateY(-10px);
        transition: all 0.3s ease-in-out; z-index: 100;
        /* Bordó vonal innen is eltávolítva */
    }

    .main-navigation.toggled { visibility: visible; opacity: 1; transform: translateY(0); }
    .main-navigation ul { flex-direction: column; text-align: center; }
    .main-navigation li { margin: 0; border-top: 1px solid #1a1a1a; }
    .main-navigation a { padding: 20px 0; border-bottom: none; }
}

/* =========================================
   1. HERO PARALLAX SZEKCIÓ
========================================= */
.hero-parallax {
    position: relative; 
    height: calc(100vh - 80px); /* 83-ról visszaállítva 80-ra a vonal eltűnése miatt */
    min-height: 500px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    background-image: url('images/curtain-bg.jpg');
    background-attachment: fixed; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.75); 
    z-index: 1;
}

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

.hero-title { 
    font-size: 4.5rem; 
    margin-bottom: 25px; 
    letter-spacing: 4px; 
    line-height: 1.1; 
    text-shadow: 0 0 20px rgba(0,0,0,0.9);
}

.hero-subtitle { 
    font-size: 1.2rem; 
    margin-bottom: 50px; 
    color: #e0e0e0; 
    font-weight: 300; 
    line-height: 1.7;
    letter-spacing: 1px;
}

.hero-content .btn-primary {
    color: #ffffff;
    border-color: #ffffff;
}
.hero-content .btn-primary:hover {
    background-color: #800000;
    border-color: #800000;
}

/* =========================================
   2. BEMUTATKOZÓ SZEKCIÓ
========================================= */
.intro-section { padding: 100px 0; background-color: #ffffff; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-text p { font-size: 1.05rem; margin-bottom: 25px; color: #4a4a4a; }

.intro-features {
    padding: 40px;
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-top: 3px solid #800000; 
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.feature-item { display: flex; align-items: center; margin-bottom: 25px; }
.feature-item:last-child { margin-bottom: 0; }

.feature-icon {
    color: #C3960D; 
    font-family: 'Cinzel', serif;
    width: 30px; height: 30px;
    display: flex; justify-content: flex-start; align-items: center;
    font-weight: 700; font-size: 1.3rem;
}
.feature-text { font-size: 1rem; color: #111111; font-family: 'Cinzel', serif; letter-spacing: 1px; font-weight: 600; }

/* =========================================
   3. SZOLGÁLTATÁSOK SZEKCIÓ (Kártyák)
========================================= */
.services-section { padding: 120px 0; background-color: #f7f6f5; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; }

.service-card {
    background-color: #ffffff;
    padding: 50px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: #C3960D; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transform: scale(1.02);
}

.service-card h3 { 
    color: #111111; 
    margin-top: 0; 
    margin-bottom: 20px; 
    font-size: 1.5rem; 
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    transition: border-color 0.4s ease;
}

.service-card:hover h3 {
    border-bottom-color: #C3960D; 
    color: #C3960D;
}

.service-card p { font-size: 0.95rem; color: #555555; margin: 0; }

/* =========================================
   4. DIVIDER PARALLAX (Átlátszó háttérrel)
========================================= */
.divider-parallax {
    position: relative; 
    padding: 180px 20px; 
    text-align: center;
    background-image: url('images/also.jpg');
    background-attachment: fixed; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
    margin: 0 auto; 
    background: transparent; 
    padding: 50px 20px;
    border: none;
    box-shadow: none;
}

.divider-content h2 { 
    font-size: 2.5rem; 
    font-style: italic; 
    font-weight: 600; 
    color: #C3960D; 
    margin: 0;
    line-height: 1.5;
    text-shadow: 2px 2px 15px rgba(0,0,0,1), -1px -1px 5px rgba(0,0,0,0.8);
}

/* =========================================
   BLOG ARCHÍVUM ÉS BELSŐ OLDALAK
========================================= */
.page-container, .blog-archive-container { padding: 100px 20px; background-color: #ffffff; }
.page-header { margin-bottom: 60px; }
.page-subtitle { font-size: 1.05rem; color: #666666; margin-top: 10px; font-weight: 300; }

.services-page-grid, .blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; 
}

.blog-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 0;
    transition: all 0.3s ease;
}
.blog-card:hover { border-color: #C3960D; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.blog-card-image img { width: 100%; height: 220px; object-fit: cover; display: block; filter: grayscale(20%); transition: all 0.4s; }
.blog-card:hover .blog-card-image img { filter: grayscale(0%); }
.blog-card-content { padding: 30px; }
.blog-card-meta { font-size: 0.8rem; color: #888888; margin-bottom: 15px; text-transform: uppercase; font-family: 'Cinzel', serif; letter-spacing: 1px; }
.blog-card-title { margin: 0 0 15px 0; font-size: 1.4rem; line-height: 1.4; }
.blog-card-title a { text-decoration: none; color: #111111; transition: color 0.3s; }
.blog-card-title a:hover { color: #C3960D; }
.blog-card-excerpt { font-size: 0.95rem; margin-bottom: 25px; color: #555555; }

.read-more-btn {
    display: inline-block; padding: 5px 0;
    color: #111111; text-decoration: none; text-transform: uppercase;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem; letter-spacing: 2px; font-weight: 600;
    border-bottom: 1px solid transparent; transition: all 0.3s;
}
.read-more-btn:hover { color: #C3960D; border-bottom-color: #C3960D; }

/* Kapcsolat Oldal */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info-box h2 { color: #111111; margin-top: 0; margin-bottom: 30px; font-size: 1.8rem; }
.contact-form-container { background: #fafafa; padding: 40px; border: 1px solid #eaeaea; border-radius: 0; }
.custom-contact-form .form-group { margin-bottom: 25px; }
.custom-contact-form label { display: block; margin-bottom: 10px; color: #C3960D; font-family: 'Cinzel', serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.custom-contact-form input, .custom-contact-form textarea {
    width: 100%; padding: 15px; background-color: #ffffff; border: 1px solid #cccccc;
    color: #111111; font-family: inherit; border-radius: 0; box-sizing: border-box; transition: border-color 0.3s;
}
.custom-contact-form input:focus, .custom-contact-form textarea:focus { outline: none; border-color: #C3960D; }

/* =========================================
   SINGLE POST (Cikk oldal)
========================================= */
.single-post-container { max-width: 800px; margin: 80px auto; padding: 0 20px; background-color: #ffffff; }
.single-article-header { text-align: center; margin-bottom: 50px; }
.single-article-title { font-size: 3rem; margin-bottom: 20px; color: #111111; }
.single-article-meta { font-size: 0.85rem; color: #888888; font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 1px; }
.single-article-meta a { color: #C3960D; text-decoration: none; }
.single-article-image { margin-bottom: 50px; border: 1px solid #eaeaea; }
.single-article-image img { width: 100%; height: auto; display: block; }
.single-article-body { font-size: 1.05rem; line-height: 1.8; color: #333333; }
.single-article-body h2, .single-article-body h3 { color: #111111; margin-top: 50px; margin-bottom: 20px; font-size: 1.8rem; }

/* =========================================
   LÁBLÉC (FOOTER)
========================================= */
.site-footer { background-color: #ffffff; color: #555555; font-size: 0.9rem; border-top: 1px solid #eaeaea; }
.footer-top-bar { height: 3px; width: 100%; background-color: #800000; } 
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 60px; padding: 80px 20px; }
.footer-title { color: #C3960D; font-family: 'Cinzel', serif; font-size: 1.4rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.footer-col p { line-height: 1.8; }
.footer-contact, .footer-links { list-style: none; padding: 0; margin: 0; }
.footer-contact li, .footer-links li { margin-bottom: 15px; display: flex; align-items: flex-start; }
.contact-icon { margin-right: 15px; color: #C3960D; }
.footer-links a { color: #555555; text-decoration: none; font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 1px; transition: all 0.3s ease; }
.footer-links a:hover { color: #C3960D; }
.footer-bottom { background-color: #f7f6f5; text-align: center; padding: 25px 20px; font-size: 0.8rem; border-top: 1px solid #eaeaea; letter-spacing: 1px; font-family: 'Cinzel', serif; color: #888888; }

/* Reszponzivitás javítások */
@media screen and (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .divider-content h2 { font-size: 1.6rem; }
    .hero-parallax, .divider-parallax { background-attachment: scroll; }
    .footer-grid { gap: 40px; padding: 50px 20px; }
}

/* =========================================
   GÖRGETÉSI FOLYAMATJELZŐ (Scroll Progress)
========================================= */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%; 
    height: 5px; 
    background-color: #800000; 
    z-index: 9999; 
    transition: width 0.1s ease-out; 
}