/*
Theme Name: Hair by Fruzsina
Theme URI: https://hairbyfruzsina.hu
Author: Hair by Fruzsina
Description: Egyedi WordPress téma a Hair by Fruzsina hajfonoda weboldalához. Öt önálló oldal (Főoldal, Bemutatkozás, Munkáim, Kapcsolat, Időpontfoglalás), a tartalom a WordPress adminból HTML/szöveg szerkesztővel módosítható.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hairbyfruzsina
*/

/* ==========================================================================
   DESIGN TOKENS
   A paletta a megadott 6 árnyalatra épül, kiegészítve egy meleg, majdnem
   fekete szöveg-színnel és egy krém alapszínnel, hogy a rózsaszín skála
   levegőt kapjon és ne váljon édeskéssé.
   ========================================================================== */
:root{
  /* megadott paletta */
  --c1: #EBE0E4; /* leghalványabb - felületek, kártyák */
  --c2: #EBD8DE; /* halvány rózsaszürke - szekció háttér */
  --c3: #F3C4CC; /* világos rózsa - dekor, jelvények */
  --c4: #EFC2C9; /* rózsa - dekor, hover */
  --c5: #F1A4AA; /* korall-rózsa - kiemelés, ikonok */
  --c6: #E097B2; /* mély rózsa/mályva - elsődleges akcent, gombok */

  /* kiegészítő semleges színek */
  --ink:      #2B2024;   /* meleg, majdnem fekete - főszöveg */
  --ink-soft: #6E5A61;   /* másodlagos szöveg */
  --paper:    #FBF7F8;   /* alap háttér, krémes fehér */
  --paper-2:  #FFFFFF;   /* kártya háttér */
  --line:     #E4D3D8;   /* elválasztó vonalak */

  /* tipográfia */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  /* elrendezés */
  --container: 1180px;
  --radius: 2px;
  --braid-gap: 64px;
}

/* ==========================================================================
   ALAP
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; height: auto; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }

.hbf-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2{ font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1.2em; }
p:last-child{ margin-bottom: 0; }

.hbf-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c6);
  margin-bottom: 18px;
}
.hbf-eyebrow::before{
  content: "";
  width: 26px;
  height: 1px;
  background: var(--c6);
  display: inline-block;
}

.hbf-lead{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 620px;
}

/* ==========================================================================
   "FONAT" JELVÉNY / SZIGNATÚRA ELEM
   Ismétlődő, a hajfonás szerkezetét idéző elválasztó SVG mintázat,
   ami a téma egyedi, felismerhető motívuma.
   ========================================================================== */
.hbf-braid-divider{
  height: 34px;
  width: 100%;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 68px 34px;
  opacity: 0.9;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='34' viewBox='0 0 68 34'%3E%3Cpath d='M2 4 C 18 4, 18 30, 34 30 S 50 4, 66 4' fill='none' stroke='%23E097B2' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M2 30 C 18 30, 18 4, 34 4 S 50 30, 66 30' fill='none' stroke='%23F1A4AA' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hbf-braid-divider.is-small{ height: 20px; background-size: 44px 20px; }

/* ==========================================================================
   FEJLÉC
   ========================================================================== */
.hbf-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hbf-header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.hbf-logo{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.hbf-logo img{ max-height: 46px; width: auto; }
.hbf-logo span{
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c6);
  margin-top: 3px;
}

.hbf-nav ul{ display: flex; gap: 8px; align-items: center; }
.hbf-nav a{
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color .2s ease, background .2s ease;
}
.hbf-nav a:hover,
.hbf-nav .current-menu-item a{ color: var(--ink); background: var(--c2); }

.hbf-nav .hbf-cta{
  margin-left: 6px;
  background: var(--c6);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: var(--radius);
}
.hbf-nav .hbf-cta:hover{ background: #C97D9C; }

.hbf-menu-toggle{
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.hbf-menu-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 860px){
  .hbf-menu-toggle{ display: block; }
  .hbf-nav{
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--paper);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .hbf-nav.is-open{ opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hbf-nav ul{ flex-direction: column; align-items: stretch; padding: 0 32px; gap: 4px; }
  .hbf-nav a{ padding: 14px 16px; }
  .hbf-nav .hbf-cta{ margin: 10px 0 0; text-align: center; }
}

/* ==========================================================================
   HERO (Főoldal)
   ========================================================================== */
.hbf-hero{
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}
.hbf-hero-inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hbf-hero-text .hbf-lead{ margin-bottom: 34px; }
.hbf-hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.hbf-hero-figure{
  position: relative;
  border-radius: 6px 6px 120px 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(43,32,36,0.28);
}
.hbf-hero-figure img{ width: 100%; height: 640px; object-fit: cover; }
.hbf-hero-badge{
  position: absolute;
  left: -18px;
  bottom: 32px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 16px 22px;
  border-radius: 4px;
  box-shadow: 0 18px 34px -14px rgba(43,32,36,0.25);
  max-width: 230px;
}
.hbf-hero-badge strong{ display: block; font-family: var(--font-display); font-size: 1.15rem; }
.hbf-hero-badge span{ font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 900px){
  .hbf-hero-inner{ grid-template-columns: 1fr; }
  .hbf-hero-figure img{ height: 420px; }
  .hbf-hero-badge{ left: 16px; }
}

/* ==========================================================================
   GOMBOK
   ========================================================================== */
.hbf-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.hbf-btn-primary{ background: var(--c6); color: #fff; }
.hbf-btn-primary:hover{ background: #C97D9C; transform: translateY(-1px); }
.hbf-btn-outline{ background: transparent; border-color: var(--c6); color: var(--c6); }
.hbf-btn-outline:hover{ background: var(--c6); color: #fff; }

/* ==========================================================================
   SZEKCIÓK / ÁLTALÁNOS TARTALOM
   ========================================================================== */
.hbf-section{ padding: 96px 0; }
.hbf-section.is-tint{ background: var(--c1); }
.hbf-section-head{ max-width: 640px; margin-bottom: 56px; }
.hbf-section-head.is-center{ margin-left: auto; margin-right: auto; text-align: center; }

.hbf-page-header{
  padding: 72px 0 56px;
  text-align: center;
  background: var(--c1);
  border-bottom: 1px solid var(--line);
}
.hbf-page-header .hbf-lead{ margin: 0 auto; text-align: center; }

/* Tartalmi (page) törzs — a szerkesztőben HTML-ben megadott tartalom */
.hbf-entry-content{
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 32px;
}
.hbf-entry-content h2{ margin-top: 1.6em; }
.hbf-entry-content h2:first-child{ margin-top: 0; }
.hbf-entry-content p{ color: var(--ink-soft); }
.hbf-entry-content strong{ color: var(--ink); }
.hbf-entry-content ul{ list-style: disc; padding-left: 1.4em; margin-bottom: 1.2em; color: var(--ink-soft); }
.hbf-entry-content ul li{ margin-bottom: 0.4em; }
.hbf-entry-content a{ color: var(--c6); text-decoration: underline; text-underline-offset: 3px; }
.hbf-entry-content blockquote{
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--c5);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
}

/* ==========================================================================
   SZOLGÁLTATÁS / FOLYAMAT KÁRTYÁK
   ========================================================================== */
.hbf-grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hbf-card{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 30px;
}
.hbf-card .hbf-num{
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--c6);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.hbf-card h3{ margin-bottom: 10px; }
.hbf-card p{ color: var(--ink-soft); font-size: 0.96rem; }

@media (max-width: 860px){ .hbf-grid-3{ grid-template-columns: 1fr; } }

/* ==========================================================================
   GALÉRIA (Munkáim)
   ========================================================================== */
.hbf-gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.hbf-gallery-item{
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--c2);
}
.hbf-gallery-item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.hbf-gallery-item:hover img{ transform: scale(1.06); }
.hbf-gallery-item.is-tall{ grid-row: span 2; }
.hbf-gallery-item.is-wide{ grid-column: span 2; }

@media (max-width: 900px){
  .hbf-gallery{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .hbf-gallery-item.is-wide{ grid-column: span 2; }
}
@media (max-width: 560px){
  .hbf-gallery{ grid-template-columns: 1fr; }
  .hbf-gallery-item.is-tall{ grid-row: span 1; }
  .hbf-gallery-item.is-wide{ grid-column: span 1; }
}

/* ==========================================================================
   KAPCSOLAT
   ========================================================================== */
.hbf-contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.hbf-info-list{ margin-top: 24px; }
.hbf-info-list li{
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hbf-info-list li:first-child{ padding-top: 0; }
.hbf-info-list .hbf-info-label{
  min-width: 120px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c6);
}
.hbf-map-frame{
  width: 100%;
  aspect-ratio: 4/3.2;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--c1);
}
.hbf-map-frame iframe{ width: 100%; height: 100%; border: 0; }

@media (max-width: 860px){ .hbf-contact-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   IDŐPONTFOGLALÁS
   ========================================================================== */
.hbf-booking-box{
  background: var(--paper-2);
  border: 1px dashed var(--c5);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}
.hbf-booking-box p{ color: var(--ink-soft); }

/* ==========================================================================
   CTA SÁV
   ========================================================================== */
.hbf-cta-band{
  background: var(--c6);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.hbf-cta-band h2{ color: #fff; }
.hbf-cta-band .hbf-lead{ color: rgba(255,255,255,0.86); margin: 0 auto 30px; }
.hbf-cta-band .hbf-btn-outline{ border-color: #fff; color: #fff; }
.hbf-cta-band .hbf-btn-outline:hover{ background: #fff; color: var(--c6); }

/* ==========================================================================
   LÁBLÉC — 3 hasáb
   ========================================================================== */
.hbf-footer{
  background: var(--ink);
  color: #EFE3E7;
  padding: 76px 0 28px;
}
.hbf-footer-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hbf-footer-col h4{
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.hbf-footer-brand{ font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.hbf-footer-col p{ color: rgba(239,227,231,0.75); font-size: 0.95rem; }
.hbf-footer-col ul li{ margin-bottom: 10px; }
.hbf-footer-col a{ color: rgba(239,227,231,0.85); font-size: 0.95rem; }
.hbf-footer-col a:hover{ color: var(--c4); }
.hbf-footer-map{ width: 100%; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,0.06); }
.hbf-footer-map iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(0.2); }

.hbf-footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(239,227,231,0.55);
}

@media (max-width: 860px){
  .hbf-footer-grid{ grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   UTILITY / WORDPRESS ALAP OSZTÁLYOK
   ========================================================================== */
.screen-reader-text{
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}
:focus-visible{ outline: 2px solid var(--c6); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
}
