/*
Theme Name: Wächter Kriszti Sminktetoválás
Theme URI: https://wachterkriszti.hu
Author: Hajdú Lajos
Author URI: https://www.kreativoldal.hu
Description: Egyedi WordPress téma a Wächter Kriszti Sminktetoválás szalon számára (Kőszeg).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wachter-kriszti-beauty
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, beauty, salon
*/

/*
 * A téma Tailwind CSS-t használ, lokálisan build-elve az assets/css/tailwind.css-be.
 * Ez a style.css csak a WordPress theme header-t és a Tailwind-en kívüli egyedi CSS-eket tartalmazza.
 */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fbf9f9;
}

::-webkit-scrollbar-thumb {
    background: #e8b5b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d69fa2;
}

/* Font fallbacks */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-lora {
    font-family: 'Lora', serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Material Icons custom settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Render icon via CSS ::before so translation plugins never see the text node */
.material-symbols-outlined[data-icon] {
    font-size: 0;
}
.material-symbols-outlined[data-icon]::before {
    content: attr(data-icon);
    font-size: var(--mi-size, 1.5rem);
    font-family: 'Material Symbols Outlined';
    font-variation-settings: inherit;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

/* Custom Logo Size */
.custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
}

.custom-logo-link {
    display: inline-block;
    line-height: 1;
}

/* WordPress Core Alignment Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Caption */
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8b5b8 0%, #d09599 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(232, 181, 184, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(232, 181, 184, 0.6);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== Visual enhancements ===== */

/* Hero gradient — szöveges hero szekciókhoz */
.wk-hero-soft {
    background: linear-gradient(150deg, #FDFBF9 0%, #F4D5D0 45%, #FBF9F9 100%);
}

/* Kártya hover lift */
.wk-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wk-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(208, 149, 153, 0.22);
}

/* Idézet díszítő nagybetű */
.wk-quote {
    position: relative;
    padding-top: 1.5rem;
}
.wk-quote::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: -0.125rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: #E8B5B8;
    opacity: 0.45;
    pointer-events: none;
}

/* Árlista kártya felső sáv */
.wk-price-card {
    position: relative;
    overflow: visible;
}
.wk-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E8B5B8 0%, #D09599 60%, #C94373 100%);
    border-radius: 16px 16px 0 0;
}

/* Galéria kártya hover overlay */
.wk-gallery-figure {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(42, 31, 32, 0.08);
}
.wk-gallery-figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 31, 32, 0.55) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    border-radius: 1rem;
}
.wk-gallery-figure:hover::after {
    opacity: 1;
}
.wk-gallery-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.wk-gallery-figure:hover img {
    transform: scale(1.07);
}

/* Szekció ornament elválasztó */
.wk-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto;
}
.wk-ornament::before,
.wk-ornament::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E8B5B8);
}
.wk-ornament::after {
    background: linear-gradient(90deg, #E8B5B8, transparent);
}

/* Finom radiális háttér */
.wk-bg-rose {
    background-color: #FDFBF9;
    background-image:
        radial-gradient(circle at 12% 12%, rgba(232, 181, 184, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 88% 88%, rgba(244, 213, 208, 0.18) 0%, transparent 45%);
}

/* Vékony rose elválasztó vonal */
.wk-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E8B5B8 30%, #E8B5B8 70%, transparent);
    margin: 0;
}

/* Process lépés szám — dupla kör */
.wk-step-ring {
    box-shadow: 0 0 0 3px rgba(232, 181, 184, 0.35), 0 4px 12px rgba(208, 149, 153, 0.3);
}

/* Rólam főoldalon — jobb oldali üveg panel */
.wk-rolam-panel {
    background: #ffffff;
}

@media (min-width: 768px) {
    .wk-rolam-panel {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* ===== Hero ===== */
.wk-hero-section {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: stretch;
}

@media (min-width: 768px) {
    .wk-hero-section {
        min-height: 780px;
    }
}

.wk-hero-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    background: rgba(253, 251, 249, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .wk-hero-panel {
        width: 46%;
        margin-left: auto;
        padding: 5rem 4rem 5rem 3.5rem;
        border-left: 3px solid rgba(232, 181, 184, 0.5);
    }
}

@media (min-width: 1024px) {
    .wk-hero-panel {
        width: 42%;
        padding: 5rem 4.5rem 5rem 4rem;
    }
}

/* Hero profilkép — csak mobilon látható */
.wk-hero-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    align-self: center;
    margin-bottom: 1.5rem;
    border: 4px solid rgba(232, 181, 184, 0.7);
    box-shadow: 0 6px 24px rgba(208, 149, 153, 0.35);
    flex-shrink: 0;
}

.wk-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (min-width: 768px) {
    .wk-hero-avatar {
        display: none;
    }
}

/* Hero panel — mobilon középre igazítva */
@media (max-width: 767px) {
    .wk-hero-panel {
        align-items: center;
        text-align: center;
    }
}

/* ===== Lightbox ===== */
.wk-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(25, 16, 17, 0.96);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.wk-lightbox.active {
    display: flex;
}

.wk-lightbox-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(90vw, 1100px);
}

.wk-lightbox-img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.wk-lightbox-caption {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    text-align: center;
}

.wk-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.wk-lightbox-close:hover {
    background: rgba(232, 181, 184, 0.45);
}

.wk-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.wk-lightbox-nav:hover {
    background: rgba(232, 181, 184, 0.45);
}

.wk-lightbox-prev { left: 0.75rem; }
.wk-lightbox-next { right: 0.75rem; }

.wk-lightbox-trigger {
    cursor: zoom-in;
}

/* ===== YouTube embed — kapcsolat oldal ===== */
.wk-yt-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #110a0c;
    box-shadow:
        0 0 0 1px rgba(232, 181, 184, 0.40),
        0 0 0 6px rgba(232, 181, 184, 0.10),
        0 24px 64px rgba(180, 82, 120, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.12);
}

.wk-yt-cover {
    position: absolute;
    inset: 0;
    cursor: pointer;
    transition: opacity 0.5s ease;
    outline: none;
}

.wk-yt-cover.wk-yt-hidden {
    opacity: 0;
    pointer-events: none;
}

.wk-yt-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s ease;
}

.wk-yt-cover:hover .wk-yt-thumb,
.wk-yt-cover:focus .wk-yt-thumb {
    transform: scale(1.04);
}

.wk-yt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        150deg,
        rgba(180, 82, 120, 0.28) 0%,
        rgba(15, 8, 10, 0.58) 100%
    );
    transition: background 0.35s ease;
}

.wk-yt-cover:hover .wk-yt-overlay,
.wk-yt-cover:focus .wk-yt-overlay {
    background: linear-gradient(
        150deg,
        rgba(180, 82, 120, 0.44) 0%,
        rgba(15, 8, 10, 0.68) 100%
    );
}

.wk-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b45278;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.30);
    transition: transform 0.30s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.30s ease;
    pointer-events: none;
}

.wk-yt-play svg {
    margin-left: 3px;
}

.wk-yt-cover:hover .wk-yt-play,
.wk-yt-cover:focus .wk-yt-play {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 12px 40px rgba(180, 82, 120, 0.50);
}

.wk-yt-pill {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 100px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.30s ease, transform 0.30s ease;
    transform: translateX(-50%) translateY(4px);
}

.wk-yt-cover:hover .wk-yt-pill,
.wk-yt-cover:focus .wk-yt-pill {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wk-yt-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

@media (max-width: 640px) {
    .wk-yt-play {
        width: 60px;
        height: 60px;
    }
    .wk-yt-play svg {
        width: 24px;
        height: 24px;
    }
    .wk-yt-pill {
        font-size: 10px;
        padding: 5px 14px;
        bottom: 14px;
    }
}