/*
Theme Name: Chrisoula Petraki
Theme URI: https://example.com/chrisoula-petraki
Author: Web Future
Author URI: https://webfuture.gr
Description: Boutique hair salon theme for Chrisoula Petraki Hair (Glyfada) — warm editorial look with a script wordmark, Arima display type over a geometric sans body, built from the client's Figma design.
Version: 1.0.1
Requires at least: 6.3
Requires PHP: 7.4
Tested up to: 6.6
Requires Plugins: contact-form-7
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: petraki
*/

/* -------------------------------------------------------------- */
/* 1. Tokens                                                       */
/* -------------------------------------------------------------- */
:root {
  --pk-ink: #141414;
  --pk-ink-soft: #100e0b;
  --pk-paper: #FFFBF8;
  --pk-white: #FFFFFF;
  --pk-offwhite: #FDFDFD;
  --pk-footer: #0F0E0E;
  --pk-line: rgba(20, 20, 20, 0.14);
  --pk-line-on-dark: rgba(255, 255, 255, 0.18);
  --pk-accent-wash: rgba(140, 121, 105, 0.25); /* warm tint used over hero photography */
  --pk-font-display: 'Arima', Georgia, serif;
  --pk-font-script: 'Noto Serif Display', Georgia, serif;
  --pk-font-body: 'Jost', -apple-system, 'Segoe UI', sans-serif;
  --pk-gutter: 100px;
  --pk-radius: 6px;
}

@media (max-width: 960px) {
  :root { --pk-gutter: 32px; }
}
@media (max-width: 600px) {
  :root { --pk-gutter: 20px; }
}

/* -------------------------------------------------------------- */
/* 2. Reset / base                                                  */
/* -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pk-paper);
  color: var(--pk-ink);
  font-family: var(--pk-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.pk-container { max-width: 1440px; margin: 0 auto; padding-left: var(--pk-gutter); padding-right: var(--pk-gutter); }
.pk-eyebrow {
  font-size: 14px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 500;
}
.pk-screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* -------------------------------------------------------------- */
/* 3. Nav                                                           */
/* -------------------------------------------------------------- */
.pk-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pk-gutter);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.pk-nav__logo { color: var(--pk-white); width: 200px; transition: color 0.3s ease; }
.pk-nav__logo svg { width: 100%; height: auto; display: block; }
.pk-nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.pk-nav__link {
  color: var(--pk-white);
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.2s ease;
}
.pk-nav__link:hover { border-color: currentColor; }
.pk-nav__cta {
  color: var(--pk-white);
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--pk-white);
  padding-bottom: 3px;
  background: none;
  border-top: none; border-left: none; border-right: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.pk-nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--pk-white);
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  align-items: center;
  gap: 10px;
}
.pk-nav__toggle-lines { display: flex; flex-direction: column; gap: 5px; }
.pk-nav__toggle-lines span { display: block; width: 20px; height: 2px; background: currentColor; }

.pk-nav.is-scrolled {
  background: var(--pk-paper);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 1px 0 var(--pk-line);
}
.pk-nav.is-scrolled .pk-nav__logo,
.pk-nav.is-scrolled .pk-nav__link,
.pk-nav.is-scrolled .pk-nav__cta,
.pk-nav.is-scrolled .pk-nav__toggle { color: var(--pk-ink); }
.pk-nav.is-scrolled .pk-nav__cta { border-color: var(--pk-ink); }

@media (max-width: 880px) {
  .pk-nav__links { display: none; }
  .pk-nav__toggle { display: flex; }
}

/* Mobile menu panel */
.pk-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--pk-ink);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pk-mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.pk-mobile-menu a {
  color: var(--pk-white);
  font-family: var(--pk-font-display);
  font-size: 34px;
}
.pk-mobile-menu__close {
  position: absolute;
  top: 26px; right: var(--pk-gutter);
  background: none; border: none; color: var(--pk-white);
  font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase;
}

/* -------------------------------------------------------------- */
/* 4. Hero                                                          */
/* -------------------------------------------------------------- */
.pk-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pk-ink);
}
.pk-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.pk-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--pk-accent-wash);
  mix-blend-mode: multiply;
}
.pk-hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,14,14,0.35) 0%, rgba(15,14,14,0.05) 30%, rgba(15,14,14,0.55) 100%);
}
.pk-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pk-gutter);
  max-width: 1100px;
}
.pk-hero__title {
  font-family: var(--pk-font-display);
  font-weight: 400;
  color: var(--pk-white);
  font-size: clamp(46px, 8vw, 100px);
  line-height: 1;
  margin: 0 0 26px;
  mix-blend-mode: soft-light;
}
.pk-hero__subtitle {
  font-family: var(--pk-font-body);
  font-weight: 300;
  color: var(--pk-offwhite);
  font-size: clamp(15px, 2vw, 24px);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin: 0;
}
.pk-hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  color: var(--pk-white);
  opacity: 0.8;
  animation: pk-bounce 2.2s ease-in-out infinite;
}
@keyframes pk-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}
@media (prefers-reduced-motion: reduce) {
  .pk-hero__scroll { animation: none; }
}

/* -------------------------------------------------------------- */
/* 5. Welcome                                                       */
/* -------------------------------------------------------------- */
.pk-welcome {
  padding: 130px var(--pk-gutter) 90px;
  text-align: center;
}
.pk-welcome__inner { max-width: 900px; margin: 0 auto; }
.pk-welcome h1 {
  font-family: var(--pk-font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 42px);
  margin: 0 0 24px;
}
.pk-welcome p {
  font-size: 16px;
  letter-spacing: 0.32px;
  color: var(--pk-ink);
  margin: 0;
}
.pk-welcome__divider { margin: 64px auto 0; max-width: 1100px; }
.pk-welcome__divider p:first-child {
  font-family: var(--pk-font-display);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.5;
  margin: 0 0 18px;
}
.pk-welcome__divider p:last-child { font-size: 20px; margin: 0; }

/* -------------------------------------------------------------- */
/* 6. Services                                                      */
/* -------------------------------------------------------------- */
.pk-services { padding: 60px var(--pk-gutter) 110px; }
.pk-services__head { text-align: center; margin: 0 auto 56px; }
.pk-services__head .pk-eyebrow { display: block; margin-bottom: 14px; }
.pk-services__head h2 {
  font-family: var(--pk-font-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  margin: 0;
}
.pk-services__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .pk-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pk-services__grid { grid-template-columns: 1fr; } }
.pk-service-card {
  position: relative;
  border-radius: var(--pk-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
}
.pk-service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pk-service-card:hover img { transform: scale(1.06); }
.pk-service-card__label {
  position: relative;
  width: 100%;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255, 251, 248, 0.55);
  backdrop-filter: blur(2px);
  font-family: var(--pk-font-display);
  font-size: 24px;
  color: var(--pk-ink);
}
.pk-services__cta { text-align: center; margin-top: 56px; }

/* Buttons */
.pk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pk-font-display);
  font-size: 28px;
  background: none;
  border: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 6px;
  color: var(--pk-ink);
}
.pk-btn:hover { opacity: 0.7; }
.pk-btn--on-dark { color: var(--pk-white); }

/* -------------------------------------------------------------- */
/* 7. About / Team                                                  */
/* -------------------------------------------------------------- */
.pk-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 780px) { .pk-about { grid-template-columns: 1fr; } }
.pk-about-panel {
  position: relative;
  min-height: 620px;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  color: var(--pk-white);
  overflow: hidden;
  background: var(--pk-ink);
}
.pk-about-panel__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.pk-about-panel:hover .pk-about-panel__bg { opacity: 0.85; transform: scale(1.1); }
.pk-about-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,14,14,0) 30%, rgba(15,14,14,0.85) 100%);
}
.pk-about-panel > *:not(.pk-about-panel__bg) { position: relative; z-index: 1; }
.pk-about-panel__index { font-size: 14px; letter-spacing: 2px; opacity: 0.8; }
.pk-about-panel h3 { font-family: var(--pk-font-display); font-weight: 400; font-size: 40px; margin: 0; }
.pk-about-panel p { max-width: 420px; font-size: 15px; letter-spacing: 0.3px; opacity: 0.9; margin: 0; }
.pk-about-panel__link { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }

/* -------------------------------------------------------------- */
/* 8. Gallery                                                       */
/* -------------------------------------------------------------- */
.pk-gallery { padding: 110px var(--pk-gutter); text-align: center; }
.pk-gallery__head { margin: 0 auto 48px; }
.pk-gallery__head .pk-eyebrow { display: block; margin-bottom: 14px; }
.pk-gallery__head h2 { font-family: var(--pk-font-display); font-weight: 400; font-size: clamp(34px, 4.5vw, 48px); margin: 0; }
.pk-gallery__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 780px) { .pk-gallery__grid { grid-template-columns: 1fr; } }
.pk-gallery__tile { position: relative; overflow: hidden; border-radius: var(--pk-radius); aspect-ratio: 4/3; }
.pk-gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pk-gallery__tile:hover img { transform: scale(1.05); }
.pk-gallery__cta { margin-top: 48px; }

/* -------------------------------------------------------------- */
/* 9. News & Insight                                                */
/* -------------------------------------------------------------- */
.pk-news { padding: 40px var(--pk-gutter) 110px; }
.pk-news__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .pk-news__inner { grid-template-columns: 1fr; gap: 36px; } }
.pk-news__head .pk-eyebrow { display: block; margin-bottom: 14px; }
.pk-news__head h2 { font-family: var(--pk-font-display); font-weight: 400; font-size: clamp(34px, 4.5vw, 48px); margin: 0; }
.pk-news-card { display: flex; flex-direction: column; gap: 20px; }
.pk-news-card__img { border-radius: var(--pk-radius); overflow: hidden; aspect-ratio: 5/4; }
.pk-news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.pk-news-card p.pk-news-card__excerpt { margin: 0; font-size: 16px; }
.pk-news-card__date { font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--pk-ink-soft); opacity: 0.7; margin: 0; }

/* -------------------------------------------------------------- */
/* 10. Instagram strip                                              */
/* -------------------------------------------------------------- */
.pk-insta__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pk-insta__grid a { position: relative; aspect-ratio: 1/1; overflow: hidden; display: block; }
.pk-insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s ease; }
.pk-insta__grid a:hover img { transform: scale(1.08); opacity: 0.85; }
@media (max-width: 780px) { .pk-insta__grid { grid-template-columns: repeat(2, 1fr); } }
.pk-insta__follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px;
  text-align: center;
}
.pk-insta__follow span.pk-eyebrow { opacity: 0.7; }
.pk-insta__follow strong { font-family: var(--pk-font-display); font-size: 22px; font-weight: 400; }

/* -------------------------------------------------------------- */
/* 11. Footer                                                       */
/* -------------------------------------------------------------- */
.pk-footer { background: var(--pk-footer); color: var(--pk-white); padding: 80px var(--pk-gutter) 30px; }
.pk-footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 60px;
}
@media (max-width: 980px) { .pk-footer__top { flex-direction: column; align-items: flex-start; gap: 44px; } }
.pk-footer__brand { max-width: 620px; }
.pk-footer__brand .pk-eyebrow { display: block; margin-bottom: 22px; opacity: 0.75; }
.pk-footer__brand h2 {
  font-family: var(--pk-font-script);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  margin: 0 0 24px;
}
.pk-footer__brand p { margin: 0; font-size: 16px; opacity: 0.85; }
.pk-footer__col2 { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.pk-footer__info p { margin: 0 0 8px; font-size: 16px; }
.pk-footer__info a { border-bottom: 1px solid transparent; }
.pk-footer__info a:hover { border-color: currentColor; }
.pk-footer__email { display: inline-block; margin-top: 10px; font-size: 16px; letter-spacing: 0.5px; border-bottom: 1px solid var(--pk-white); }
.pk-footer__logo { width: 220px; color: var(--pk-white); }
.pk-footer__logo svg { width: 100%; height: auto; }
.pk-footer__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.5px; opacity: 0.75; flex-wrap: wrap; }
.pk-footer__meta span.pk-divider { width: 1px; height: 14px; background: var(--pk-line-on-dark); display: inline-block; }
.pk-footer__meta a:hover { opacity: 0.7; }

.pk-footer__bottom { border-top: 1px solid var(--pk-line-on-dark); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.pk-footer__nav { display: flex; gap: 40px; }
.pk-footer__nav a, .pk-footer__social a {
  font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.pk-footer__nav a:hover, .pk-footer__social a:hover { border-color: currentColor; }
.pk-footer__social { display: flex; gap: 32px; }
@media (max-width: 700px) { .pk-footer__bottom { flex-direction: column; align-items: flex-start; } }

/* -------------------------------------------------------------- */
/* 12. Appointment modal + Contact Form 7                           */
/* -------------------------------------------------------------- */
.pk-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.pk-modal.is-open { opacity: 1; pointer-events: auto; }
.pk-modal__backdrop { position: absolute; inset: 0; background: rgba(15,14,14,0.7); }
.pk-modal__panel {
  position: relative;
  background: var(--pk-paper);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 48px 44px;
  border-radius: var(--pk-radius);
}
.pk-modal__close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none; font-size: 22px; color: var(--pk-ink);
}
.pk-modal__panel h3 { font-family: var(--pk-font-display); font-weight: 400; font-size: 32px; margin: 0 0 8px; }
.pk-modal__panel p.pk-modal__lead { margin: 0 0 28px; color: var(--pk-ink); opacity: 0.75; font-size: 15px; }

.wpcf7-form p { margin-bottom: 16px; }
.wpcf7-form label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--pk-line);
  border-radius: 4px;
  background: var(--pk-white);
  font-family: var(--pk-font-body);
  font-size: 15px;
  color: var(--pk-ink);
}
.wpcf7-form textarea { min-height: 100px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--pk-ink); }
.wpcf7-form input[type="submit"] {
  appearance: none; border: none; border-radius: 4px;
  background: var(--pk-ink); color: var(--pk-white);
  font-family: var(--pk-font-body); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 14px 30px; transition: opacity 0.15s ease;
}
.wpcf7-form input[type="submit"]:hover { opacity: 0.85; }
.wpcf7-form input[type="submit"]:disabled { opacity: 0.5; }
.wpcf7-form .wpcf7-not-valid-tip { color: #C43B2E; font-size: 12px; margin-top: 4px; display: block; }
.wpcf7-response-output { margin-top: 16px !important; padding: 14px 16px; border: 1.5px solid var(--pk-line); font-size: 14px; border-radius: 4px; }
.wpcf7-form.sent .wpcf7-response-output { border-color: var(--pk-ink); background: rgba(20,20,20,0.04); }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.failed .wpcf7-response-output { border-color: #C43B2E; color: #C43B2E; }

/* -------------------------------------------------------------- */
/* 13. Generic pages                                                */
/* -------------------------------------------------------------- */
.pk-page { max-width: 900px; margin: 0 auto; padding: 170px var(--pk-gutter) 120px; }
.pk-page h1 { font-family: var(--pk-font-display); font-weight: 400; font-size: 44px; margin: 0 0 36px; }
.pk-page .entry-content h2 { font-family: var(--pk-font-display); font-weight: 400; font-size: 28px; margin: 40px 0 16px; }
.pk-page .entry-content p { margin: 0 0 18px; }
