/*
Theme Name: Fogpatika (Elegáns Púder Dizájn)
Author: Te Neved
Description: Egyedi, reszponzív, púder-rózsa WordPress téma lebegő menüvel.
Version: 1.3
*/

:root {
    /* ÚJ PÚDERES / MÁLYVA SZÍNEK */
    --rose: #c9a79e; 
    --rose-dark: #be948a;
    --white: #ffffff;
    
    /* ÚJ HÁTTÉRSZÍNEK */
    --bg-color: #f6f0ee; 
    --bg-alt: #eee6e3;
    
    /* Melegebb, barnás-szürkés szövegszín a jobb harmóniáért */
    --text-color: #4a4240; 
    
    /* Prémium, letisztult betűtípus változók */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
    /* Tailwind betűsimítás a prémium, tűéles megjelenésért */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Címsorok formázása */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #2b2422; /* Kicsit sötétebb, meleg tónusú kontraszt */
    line-height: 1.2;
    margin-bottom: 0.5em;
    font-weight: 700;
}

/* --- LEBEGŐ FEJLÉC ÉS MENÜ --- */
.floating-header {
  
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Picit határozottabb púderes árnyék és egy finom üvegperem */
    box-shadow: 0 10px 35px rgba(201, 167, 158, 0.25); 
    border: 1px solid rgba(255, 255, 255, 0.8);
    
    position: fixed; 
    top: 25px; 
    left: 0;
    right: 0;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 50px; 
    z-index: 999;
}

.header-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--rose-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px; 
}
.logo .icon {
    font-size: 26px;
}

/* GÖRGETÉSI FOLYAMATJELZŐ SÁV */
.scroll-progress-bar {
    position: fixed; 
    top: 0;
    left: 0;
    height: 4px;
    background: var(--rose); 
    width: 0%;
    z-index: 10000; 
}

/* Navigációs menü */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    font-family: var(--font-body);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px; 
    transition: all 0.3s ease;
    padding-bottom: 4px;
}
.nav-menu a:hover {
    color: var(--rose); 
}

/* Aktív (éppen nézett) menüpont "világítása" */
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    border-bottom: 3px solid var(--rose) !important;
    color: var(--rose);
    font-weight: 700;
}

/* 3 VONALAS HAMBURGER MENÜ IKON */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px; 
    padding: 10px;
}
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--rose-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --- Parallax Hero Szekció --- */
.hero-parallax {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero.jpeg');   
    min-height: 90vh; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 40px; 
    text-align: center;
    padding: 120px 20px 60px; 
}
.hero-parallax h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0;
    padding: 20px;
    color: var(--white); 
    text-shadow: 0 4px 20px rgba(0,0,0,0.6); 
    font-weight: 800;
    letter-spacing: -1px;
}


/* Prémium Intro Kártya (Apple-féle Liquid Glass / Glassmorphism) */
.intro-card {
    background: rgba(255, 255, 255, 0.15); /* Finomabb alap */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2); 
    width: 90%;
    max-width: 850px;
}

/* Szövegek kivilágosítása és térhatása */
.intro-heading {
    font-size: 1.7rem;
    line-height: 1.6;
    color: var(--white); 
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
}

.intro-heading span {
    color: var(--rose); 
    font-weight: 800;
}

.intro-subtext {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95); 
    margin-bottom: 35px;
    font-weight: 400;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Egészségpénztári címke (Badge) átszínezése */
.ep-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(201, 167, 158, 0.35); 
    color: var(--white); 
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(201, 167, 158, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
}

.ep-icon {
    background: var(--rose);
    color: var(--white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

/* --- Tartalom Szekciók --- */
.container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

/* --- SZOLGÁLTATÁSOK ALOLDAL --- */
.page-hero {
    background: linear-gradient(135deg, rgba(201, 167, 158, 0.15), rgba(255, 255, 255, 0));
    padding: 160px 20px 60px; 
    text-align: center;
    border-bottom: 1px solid rgba(201, 167, 158, 0.15);
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--rose-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(201, 167, 158, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(201, 167, 158, 0.2);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    background: rgba(201, 167, 158, 0.15);
    color: var(--rose-dark);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(201, 167, 158, 0.25);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 10px;
    margin-bottom: 0;
    font-style: italic;
}

/* --- Bemutatkozó Szekció --- */
.about-section {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}
.about-image {
    flex: 0 0 200px; 
    text-align: center;
}
.about-image img {
    width: 200px; 
    height: 300px; 
    border-radius: 16px; 
    object-fit: cover; 
    border: 6px solid var(--rose); 
    box-shadow: 0 15px 35px rgba(201, 167, 158, 0.3); 
}
.about-content {
    flex: 1; 
}
.about-content h2 {
    color: var(--rose-dark);
    font-size: 2.5rem;
    margin-top: 0;
}

/* --- INFORMÁCIÓS BLOKK --- */
.info-box {
    background: rgba(201, 167, 158, 0.08);
    border: 1px solid rgba(201, 167, 158, 0.25);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    color: var(--text-color);
    line-height: 1.7;
}

.info-box h3 {
    color: var(--rose-dark);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-box h4 {
    color: var(--rose);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-box ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.info-box li {
    margin-bottom: 10px;
}

.info-box strong {
    color: var(--rose-dark);
}

.info-box a {
    color: var(--rose-dark);
    text-decoration: none;
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Kiemelt gomb (CTA) */
.cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.cta-button {
    display: inline-block;
    background: var(--rose);
    color: var(--white) !important;
    padding: 18px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(201, 167, 158, 0.3);
    font-family: var(--font-heading);
}

.cta-button:hover {
    background: var(--rose-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(201, 167, 158, 0.45);
}

/* --- KAPCSOLAT OLDAL ELRENDEZÉSE --- */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
    }
}

/* --- VÉGLEGES MOBIL RESZPONZÍV STÍLUSOK (Max 1024px) --- */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
    
    .floating-header {
        top: 10px;
        left: 0;
        right: 0;
        width: calc(100% - 30px) !important; 
        max-width: none;
        padding: 10px 18px;
        box-sizing: border-box;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        font-size: 15px !important; 
        gap: 6px;
    }

    .logo .icon {
        font-size: 18px;
    }

    .main-navigation {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        margin-top: 10px; 
        z-index: 998;
    }

    .nav-menu {
        display: none; 
        flex-direction: column;
        width: 100%;
        /* Fehér helyett a világos bézs változó használata a kártyánál */
        background: var(--bg-color);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(201, 167, 158, 0.25);
        padding: 15px 0;
        margin: 0;
        box-sizing: border-box;
    }

    .nav-menu.active {
        display: flex !important; 
    }

    .nav-menu li {
        text-align: center;
        padding: 10px 0;
    }

    .hero-parallax {
        background-attachment: scroll; 
        min-height: auto;
        padding: 120px 15px 40px; 
        gap: 20px;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }

    .hero-parallax h1 {
        font-size: 1.6rem !important; 
        padding: 0 10px;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .intro-card {
        padding: 20px 15px !important; 
        width: 100% !important;
        box-sizing: border-box;
        border-radius: 18px;
    }

    .intro-heading {
        font-size: 1.1rem !important; 
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .intro-subtext {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .ep-badge {
        font-size: 0.75rem;
        padding: 8px 12px;
        flex-direction: row;
        justify-content: center;
        line-height: 1.3;
        border-radius: 30px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .ep-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
        flex-shrink: 0;
    }

    .about-section {
        flex-direction: column;
        align-items: center; 
        text-align: center;
        gap: 30px;
    }

    .about-image {
        flex: 0 0 auto;
    }

    .about-image img {
        width: 160px; 
        height: 240px;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }
}

/* --- LÁBLÉC (Footer) STÍLUSOK --- */
.site-footer {
    background-color: var(--rose-dark);
    color: var(--bg-color);
    padding: 60px 20px 20px;
    margin-top: 80px;
    font-size: 0.95rem;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 40px;
}
.footer-col {
    flex: 1;
    min-width: 250px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.footer-col h4 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--rose);
    display: block; 
    width: fit-content; 
    padding-bottom: 8px;
}
.footer-col p {
    margin: 8px 0;
    color: var(--bg-alt);
}
.footer-col a {
    color: var(--bg-alt);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-btn {
    display: inline-block;
    background: var(--white);
    color: var(--rose-dark) !important;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: fit-content;
}
.footer-btn:hover {
    background: var(--bg-alt) !important;
    color: var(--rose-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85em;
    color: var(--bg-alt);
}

/* --- LENYITHATÓ KÁRTYÁK (FAQ) --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(201, 167, 158, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-card:hover {
    box-shadow: 0 15px 35px rgba(201, 167, 158, 0.15);
}
.faq-header {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 30px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rose-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}
.faq-header:hover {
    background: rgba(201, 167, 158, 0.05);
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--rose);
    transition: transform 0.3s ease;
}
.faq-header.active .faq-icon {
    transform: rotate(45deg); 
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 30px;
    color: var(--text-color);
}
.faq-header.active + .faq-content {
    padding: 0 30px 30px 30px;
}
.faq-content p {
    margin-bottom: 15px;
}
.faq-highlight {
    background: rgba(201, 167, 158, 0.08);
    border-left: 4px solid var(--rose);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.faq-highlight ul {
    margin: 10px 0;
    padding-left: 20px;
}

/* --- TÖRTÉNET SZEKCIÓ --- */
.story-section {
    max-width: 900px;
    margin: 60px auto;
    background: linear-gradient(135deg, rgba(201, 167, 158, 0.15), rgba(255,255,255,1));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(201, 167, 158, 0.3);
    font-style: italic;
}
.story-section h3 {
    font-style: normal;
    color: var(--rose-dark);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--rose);
    display: inline-block;
    padding-bottom: 5px;
}

/* --- VISSZAJELZÉSEK SZEKCIÓ --- */
.testimonials-section {
    max-width: 1000px;
    margin: 80px auto 0;
}
.testimonials-section h2 {
    text-align: center;
    color: var(--rose-dark);
    font-size: 2rem;
    margin-bottom: 40px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(201, 167, 158, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card p {
    font-style: italic;
    color: #4b5563;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.testimonial-card .author {
    font-weight: 700;
    color: var(--rose-dark);
    font-size: 0.85rem;
    text-align: right;
    font-style: normal;
}

/* --- GALÉRIA KÁRTYÁK --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px;
    margin-bottom: 80px;
}

.gallery-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(201, 167, 158, 0.15);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 167, 158, 0.25);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    display: block;
    border-bottom: 4px solid var(--rose);
}

.gallery-caption {
    padding: 25px;
}

.gallery-caption h4 {
    color: var(--rose-dark);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.gallery-caption p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* --- KAPCSOLAT ŰRLAP --- */
.contact-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(201, 167, 158, 0.2);
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-row {
    display: flex;
    gap: 25px;
}
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--rose-dark);
    font-size: 0.9rem;
    font-family: var(--font-heading);
}
.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    color: var(--text-color);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(201, 167, 158, 0.2);
    background: var(--white);
}
.submit-btn {
    background: var(--rose);
    color: var(--white);
    border: none;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: var(--font-heading);
}
.submit-btn:hover {
    background: var(--rose-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 167, 158, 0.4);
}

/* Visszajelző üzenetek */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 0.95rem;
}
.alert-success {
    background: #fdf3f1;
    color: #8c5d55;
    border-left: 5px solid var(--rose);
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 5px solid #ef4444;
}

/* Reszponzív nézet mobilra */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 25px;
    }
    .contact-card {
        padding: 30px 20px;
    }
}