/* JennyHair – fő stíluslap v2 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --jh-primary: #c9a87c;
    --jh-primary-dark: #a8895e;
    --jh-rose: #e8b4b8;
    --jh-rose-dark: #d4919a;
    --jh-dark: #1a1a1a;
    --jh-light: #faf8f5;
    --jh-cream: #f5efe6;
    --jh-accent: #8b6f47;
    --jh-text: #2d2d2d;
    --jh-muted: #6c757d;
    --jh-gradient: linear-gradient(135deg, #c9a87c 0%, #e8b4b8 50%, #d4919a 100%);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--jh-text);
    background-color: #fff;
    overflow-x: hidden;
}

/* Logo tipográfia */
.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.85rem;
    font-weight: 700;
    font-style: italic;
    background: var(--jh-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: opacity 0.3s, transform 0.3s;
}

.logo-text:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Navbar */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92) !important;
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--jh-dark) !important;
    position: relative;
    transition: color 0.2s;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--jh-gradient);
    transition: width 0.3s, left 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
    left: 10%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--jh-accent) !important;
}

/* Közösségi ikonok a valódi márkaszínekkel */
.social-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.35rem;
}

.social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-facebook {
    background: #1877f2;
}

/* Instagram eredeti sugaras színátmenete */
.social-instagram {
    background: radial-gradient(circle at 30% 107%,
        #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* TikTok: fekete alap, cián-magenta elcsúsztatott logóhatás */
.social-tiktok {
    background: #010101;
}

.social-tiktok i {
    text-shadow: 1.4px 0 0 #25f4ee, -1.4px 0 0 #fe2c55;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.07);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
}

/* Hero */
.hero-section {
    padding-top: 76px;
    padding-bottom: 0;
    background: var(--jh-light);
}

.hero-image-wrap {
    position: relative;
    height: 55vh;
    min-height: 320px;
    max-height: 520px;
    overflow: hidden;
    /* Tartalék háttér, ha a kép nem töltődik be */
    background: var(--jh-gradient);
}

.hero-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fókuszpont a türkiz kanapén (a kép 38%-a vízszintesen és függőlegesen),
       így minden képarányban az marad a csík közepén */
    object-position: 38% 38%;
    /* Mosott hatás: visszafogott színek, világosítás és egészen finom elmosás,
       hogy a felirat jól olvasható legyen a kép fölött.
       A scale(1.04) kitolja a keretből az elmosás miatt áttetsző széleket. */
    filter: saturate(0.6) brightness(1.07) contrast(0.93) blur(1.5px);
    transform: scale(1.04);
}

/* Világos fátyol a képen: ez adja a mosott hatást, az alsó széle pedig
   átvezet a hero-intro krémszínű hátterébe */
.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(250, 248, 245, 0.48) 0%,
        rgba(250, 248, 245, 0.62) 55%,
        rgba(245, 239, 230, 0.9) 100%);
}

/* Hero felirat + CTA */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
}

.hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.75rem, 4.6vw, 3.4rem);
    line-height: 1.18;
    letter-spacing: 0.5px;
    max-width: 20ch;
    margin: 0 auto 1.6rem;
    /* A logóval egyező arany-rózsa színátmenet.
       A color fallback marad, ha a böngésző nem tudja a background-clip: text-et. */
    color: var(--jh-dark);
    background: var(--jh-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Kontúr: a két szoros drop-shadow a betűk körvonalát követi, a harmadik
       adja a lágy vetett árnyékot. A drop-shadow a betűk mögé rajzol, ezért
       a gradiens sértetlen marad – text-stroke ezt felülírná. */
    filter: drop-shadow(0 0 1px rgba(26, 26, 26, 0.65))
            drop-shadow(0 0 2px rgba(26, 26, 26, 0.45))
            drop-shadow(0 3px 9px rgba(26, 26, 26, 0.3));
    animation: heroFadeUp 0.9s ease-out both;
}

.hero-cta {
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.18);
    animation: heroFadeUp 0.9s ease-out 0.22s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-intro {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg, var(--jh-cream) 0%, #fff 100%);
}

.hero-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--jh-dark);
}

.hero-intro .lead {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--jh-muted);
    max-width: 720px;
    margin: 0 auto;
}

.btn-primary-jh {
    background: var(--jh-gradient);
    border: none;
    color: #fff;
    padding: 0.8rem 2.25rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.35s;
    box-shadow: 0 4px 18px rgba(201, 168, 124, 0.35);
}

.btn-primary-jh:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(201, 168, 124, 0.45);
}

/* Scroll animációk */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Sections */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--jh-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--jh-muted);
    margin-bottom: 2.5rem;
}

section {
    padding: 5rem 0;
}

/* Hogy a fix fejléc ne fedje le a szekciócímeket menüre kattintáskor */
section[id] {
    scroll-margin-top: 84px;
}

#arak {
    background: linear-gradient(180deg, #fff 0%, var(--jh-light) 100%);
}

#foglalas {
    background: linear-gradient(135deg, var(--jh-cream) 0%, #fff 50%, var(--jh-light) 100%);
}

#kapcsolat {
    background: #fff;
}

/* Pricing */
.price-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s, box-shadow 0.35s;
    height: 100%;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(201, 168, 124, 0.2);
}

.price-card .card-header {
    background: var(--jh-gradient);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 1.1rem 1.25rem;
}

.price-card .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-left: none;
    border-right: none;
    padding: 0.8rem 1.25rem;
    transition: background 0.2s;
}

/* Több áras sorok: a megnevezés fölé, az árak alá kerülnek,
   így szűk kártyában sem csúsznak egymásra */
.price-card .price-item-stacked {
    display: block;
}

.price-item-stacked .price-label {
    font-weight: 600;
    color: var(--jh-dark);
}

.price-item-stacked .price-options {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.45rem;
}

.price-item-stacked .price-options > span {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.92rem;
    color: var(--jh-muted);
}

.price-item-stacked .price-options strong {
    color: var(--jh-accent);
    white-space: nowrap;
}

.price-card .list-group-item:hover {
    background: rgba(201, 168, 124, 0.06);
}

.price-card .price-value {
    font-weight: 600;
    color: var(--jh-accent);
    white-space: nowrap;
    margin-left: 1rem;
    text-align: right;
}

.price-card .price-sub {
    font-size: 0.82rem;
    color: var(--jh-muted);
    display: block;
    font-weight: 400;
}

.payment-info {
    background: linear-gradient(135deg, rgba(201, 168, 124, 0.12), rgba(232, 180, 184, 0.12));
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    margin-top: 2rem;
    border-left: 4px solid var(--jh-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-info i {
    font-size: 1.75rem;
    color: var(--jh-primary);
}

.price-footnote {
    font-size: 0.85rem;
    color: var(--jh-muted);
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Booking wizard */
.booking-wizard {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    max-width: 680px;
    margin: 0 auto;
}

.wizard-steps {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.wizard-step .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    color: var(--jh-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.wizard-step.active .step-circle,
.wizard-step.completed .step-circle {
    background: var(--jh-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(201, 168, 124, 0.4);
}

.wizard-step .step-label {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: var(--jh-muted);
}

.wizard-step.active .step-label {
    color: var(--jh-dark);
    font-weight: 600;
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.chair-option,
.service-option,
.slot-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 0.65rem;
    cursor: pointer;
    transition: all 0.25s;
}

.chair-option:hover,
.service-option:hover,
.slot-option:hover {
    border-color: var(--jh-primary);
    background: rgba(201, 168, 124, 0.06);
    transform: translateX(4px);
}

.chair-option.selected,
.service-option.selected,
.slot-option.selected {
    border-color: var(--jh-primary);
    background: rgba(201, 168, 124, 0.12);
    box-shadow: 0 4px 12px rgba(201, 168, 124, 0.15);
}

.service-category {
    font-weight: 600;
    color: var(--jh-accent);
    margin: 1.25rem 0 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(201, 168, 124, 0.3);
}

.service-price {
    font-weight: 600;
    color: var(--jh-accent);
}

.service-picker {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.service-picker .svc-node {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-picker .svc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    border: 2px solid #eee;
    background: #fff;
    border-radius: 12px;
    padding: 0.95rem 1.15rem;
    min-height: 48px;
    font-weight: 600;
    color: var(--jh-text);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.service-picker .svc-btn i {
    font-size: 0.75rem;
    color: var(--jh-accent);
    transition: transform 0.2s;
}

.service-picker .svc-group[aria-expanded="true"] {
    border-color: var(--jh-primary);
    background: rgba(201, 168, 124, 0.1);
}

.service-picker .svc-group[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.service-picker .svc-panel {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 0.65rem;
}

.service-picker .svc-item {
    font-weight: 500;
}

.service-picker .svc-item.selected {
    border-color: var(--jh-primary);
    background: rgba(201, 168, 124, 0.16);
}

/* Foglaló naptár */
.booking-calendar {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 0.85rem 0.75rem 1rem;
    background: #fff;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cal-title {
    font-weight: 600;
    text-transform: capitalize;
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #eee;
    border-radius: 50%;
    background: #fff;
    color: var(--jh-text);
}

.cal-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
}

.cal-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jh-muted);
    padding: 0.25rem 0 0.4rem;
}

.cal-day {
    aspect-ratio: 1;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-weight: 500;
    min-height: 38px;
}

.cal-day.is-empty {
    pointer-events: none;
}

.cal-day.is-open {
    background: #faf8f5;
    cursor: pointer;
}

.cal-day.is-open:hover {
    background: rgba(201, 168, 124, 0.18);
}

.cal-day.is-disabled {
    color: #c5c5c5;
    cursor: default;
}

.cal-day.is-today:not(.is-selected) {
    box-shadow: inset 0 0 0 1px var(--jh-primary);
}

.cal-day.is-selected {
    background: var(--jh-gradient);
    color: #fff;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.booking-success i {
    font-size: 4rem;
    color: #28a745;
}

/* Contact */
.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 1rem !important;
}

.contact-info i {
    color: var(--jh-primary);
    width: 28px;
}

.opening-hours {
    background: var(--jh-cream);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.opening-hours h6 {
    font-weight: 600;
    color: var(--jh-accent);
    margin-bottom: 0.5rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* Footer */
footer {
    background: var(--jh-dark);
    color: #ccc;
    padding: 2rem 0;
}

footer a {
    color: var(--jh-primary);
    text-decoration: none;
}

footer a:hover {
    color: var(--jh-rose);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--jh-dark);
    color: #fff;
    padding: 1rem 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner .btn-accept {
    background: var(--jh-primary);
    border: none;
    color: #fff;
}

.cookie-banner .btn-decline {
    background: transparent;
    border: 1px solid #666;
    color: #ccc;
}

/* Legal */
.legal-page {
    padding-top: 100px;
    padding-bottom: 3rem;
}

.spinner-overlay {
    text-align: center;
    padding: 2rem;
}

@media (max-width: 768px) {
    .hero-intro h2 { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .wizard-steps { gap: 1.25rem; }
    .hero-image-wrap { height: 40vh; }
}
