/*
Theme Name: Santykis Gestalt
Theme URI: https://santykis.lt
Author: MB Bluejuice
Author URI: https://mbbluejuice.lt
Description: SEO-first, mobile-first one-page WordPress tema Kristinos Kanapskienės Geštalto psichoterapijos konsultacijų svetainei santykis.lt. Sukurta darbui su Rank Math SEO papildiniu.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: santykis-gestalt
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Signature idea: Geštalto psichologijos "figūra ir fonas" (figure/ground)
   principas — du persidengiantys apskritimai simbolizuoja kontaktą tarp
   dviejų žmonių (kliento ir terapeuto) saugioje erdvėje. Šis motyvas
   kartojasi per visą svetainę kaip skiltelių žymekliai.
   ========================================================================== */
:root{
  --paper:      #F1EEE4; /* šiltas, salsviai atspalvio popierius */
  --paper-alt:  #E4DEC9; /* smėlio tonas kortelėms / juostoms */
  --ink:        #292A24; /* šilta beveik juoda teksto spalva */
  --ink-soft:   #5B5C52;
  --moss:       #57624A; /* pagrindinė spalva – ramybė, augimas */
  --moss-dark:  #414A37;
  --plum:       #6E3F52; /* akcentas – emocinis gylis, CTA */
  --plum-dark:  #5A3243;
  --gold:       #B08D57; /* plona linija / citatos akcentas */
  --white:      #FFFDF8;
  --radius-lg:  28px;
  --radius-md:  16px;
  --radius-sm:  10px;
  --shadow-soft: 0 12px 32px -18px rgba(41,42,36,0.35);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --container: 1180px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::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: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; height:auto; border-radius: var(--radius-md); }
a{ color: var(--plum); text-decoration: none; }
a:hover, a:focus{ color: var(--plum-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
ul{ padding-left: 1.2em; }
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--moss-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1{ font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 500; }
h2{ font-size: clamp(1.6rem, 4.2vw, 2.3rem); }
h3{ font-size: clamp(1.15rem, 3vw, 1.4rem); }
p{ margin: 0 0 1.1em; }
.eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content:"";
  width:14px; height:14px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 35%, var(--gold), var(--plum) 75%);
  flex-shrink:0;
}
blockquote{
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.3em;
  border-left: 3px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--moss-dark);
}
blockquote cite{ display:block; margin-top:0.5em; font-family: var(--font-body); font-style: normal; font-size:0.85rem; color: var(--ink-soft); }
.visually-hidden{ position:absolute; width:1px;height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--moss); color:#fff; padding:12px 18px; z-index:1000; border-radius:0 0 8px 0; }
.skip-link:focus{ left:0; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight:700;
  font-size:0.95rem;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover{ transform: translateY(-2px); text-decoration:none; }
.btn-primary{ background: var(--plum); color:#fff; }
.btn-primary:hover, .btn-primary:focus{ background: var(--plum-dark); color:#fff; }
.btn-outline{ background: transparent; color: var(--moss-dark); border-color: var(--moss-dark); }
.btn-outline:hover, .btn-outline:focus{ background: var(--moss-dark); color:#fff; }

/* ==========================================================================
   5. HEADER / NAV  (CSS-only mobile menu — checkbox hack, no JS)
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 500;
  background: rgba(241,238,228,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(41,42,36,0.08);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
}
.site-branding{ display:flex; flex-direction:column; line-height:1.1; }
.site-branding a{ color: var(--moss-dark); text-decoration:none; }
.site-branding .site-title{ font-family: var(--font-display); font-size:1.25rem; font-weight:600; }
.site-branding .site-tagline{ font-size:0.72rem; letter-spacing:0.06em; color: var(--ink-soft); text-transform: uppercase; }

.nav-toggle-checkbox{ display:none; }
.nav-toggle-label{
  display:flex; flex-direction:column; gap:5px; cursor:pointer; padding:8px; z-index:600;
}
.nav-toggle-label span{ width:26px; height:2px; background: var(--moss-dark); border-radius:2px; transition: transform .2s ease, opacity .2s ease; }

.primary-navigation{
  position: fixed; inset: 0 0 0 auto;
  width: min(84vw, 340px);
  height:100vh;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateX(100%);
  transition: transform .28s ease;
  padding: 90px 28px 28px;
  overflow-y:auto;
}
.nav-toggle-checkbox:checked ~ .primary-navigation{ transform: translateX(0); }
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2){ opacity:0; }
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.primary-navigation ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.primary-navigation a{
  display:block; padding:12px 4px; color: var(--ink); font-weight:700; border-bottom:1px solid rgba(41,42,36,0.08);
}
.primary-navigation a:hover{ color: var(--plum); text-decoration:none; }
.primary-navigation .btn{ margin-top:18px; width:100%; justify-content:center; }

@media (min-width: 900px){
  .nav-toggle-label{ display:none; }
  .primary-navigation{
    position:static; width:auto; height:auto; background:transparent; box-shadow:none;
    transform:none; padding:0; overflow:visible;
  }
  .primary-navigation ul{ flex-direction:row; align-items:center; gap:28px; }
  .primary-navigation a{ padding:4px 0; border-bottom:none; }
  .primary-navigation .btn{ margin-top:0; width:auto; }
}

/* ==========================================================================
   6. HERO
   ========================================================================== */
.hero{ position:relative; padding: 56px 0 70px; overflow:hidden; }
.hero .container{ display:grid; gap:36px; align-items:center; }
.hero-figure{ order:-1; }
.hero-figure svg{ width:100%; max-width:340px; margin:0 auto; display:block; }
.hero-kicker{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.hero-kicker .dot-primary{ width:10px;height:10px;border-radius:50%; background: var(--plum); }
.hero-kicker .dot-secondary{ width:10px;height:10px;border-radius:50%; background: var(--moss); margin-left:-4px; }
.hero-kicker span{ text-transform:uppercase; letter-spacing:0.12em; font-size:0.78rem; font-weight:700; color: var(--ink-soft); }
.hero p.lead{ font-size:1.1rem; color: var(--ink-soft); max-width:52ch; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }
.hero-meta{ margin-top:34px; display:flex; flex-wrap:wrap; gap:22px; font-size:0.9rem; color: var(--ink-soft); }
.hero-meta li{ list-style:none; display:flex; gap:8px; align-items:flex-start; }
.hero-meta{ padding:0; }

@media (min-width: 900px){
  .hero .container{ grid-template-columns: 1.15fr 0.85fr; }
  .hero-figure{ order:0; }
}

/* ==========================================================================
   7. SECTIONS (rhythm: alternating paper / sand backgrounds)
   ========================================================================== */
.section{ padding: 64px 0; }
.section-alt{ background: var(--paper-alt); }
.section-header{ max-width: 68ch; margin-bottom: 40px; }
.section-header.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* About */
.about-grid{ display:grid; gap: 34px; align-items:center; }
.about-grid .about-photo img{ box-shadow: var(--shadow-soft); }
.credentials{ list-style:none; padding:0; margin:20px 0 0; display:grid; gap:10px; }
.credentials li{ display:flex; gap:10px; font-weight:700; color: var(--moss-dark); }
.credentials li::before{ content:"◍"; color: var(--plum); }
@media (min-width:860px){ .about-grid{ grid-template-columns: 0.85fr 1.15fr; } }

/* Services grid */
.services-grid{ display:grid; gap:22px; grid-template-columns: 1fr; }
@media (min-width:700px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width:1080px){ .services-grid{ grid-template-columns: repeat(3, 1fr); } }
.service-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-soft);
  display:flex; flex-direction:column;
  border-top: 4px solid var(--moss);
}
.service-card:nth-child(3n+2){ border-top-color: var(--plum); }
.service-card:nth-child(3n+3){ border-top-color: var(--gold); }
.service-card .service-thumb{ margin: -26px -24px 18px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 4/3; object-fit:cover; }
.service-card h3{ margin-bottom:0.4em; }
.service-card h3 a{ color: var(--moss-dark); text-decoration:none; }
.service-card p{ color: var(--ink-soft); flex-grow:1; }
.service-card .service-link{ font-weight:700; }

/* Quote strip */
.quote-strip{ text-align:center; }
.quote-strip blockquote{ display:inline-block; text-align:left; }

/* Gallery */
.gallery-grid{ display:grid; gap:14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width:700px){ .gallery-grid{ grid-template-columns: repeat(4, 1fr); } }
.gallery-grid img{ aspect-ratio: 1/1; object-fit:cover; }

/* CTA band */
.cta-band{
  background: var(--moss-dark);
  color: #F4F1E9;
  border-radius: var(--radius-lg);
  padding: 44px 28px;
  text-align:center;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color: #DCE0D3; max-width:56ch; margin-left:auto; margin-right:auto; }
.cta-band .btn-primary{ background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover{ background:#c49f68; }

/* ==========================================================================
   8. SINGLE PASLAUGA / STANDARD PAGE CONTENT
   ========================================================================== */
.service-hero{ padding: 46px 0 10px; }
.service-hero .breadcrumbs{ font-size:0.85rem; color: var(--ink-soft); margin-bottom:18px; }
.service-content-grid{ display:grid; gap:36px; padding: 20px 0 60px; }
.service-body h2{ margin-top:1.4em; }
.service-body figure{ margin:1.6em 0; }
.service-body figcaption{ font-size:0.85rem; color: var(--ink-soft); margin-top:0.5em; }
@media (min-width:960px){ .service-content-grid{ grid-template-columns: 1fr 320px; } }

.sidebar-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  align-self:start;
}
.sidebar-card h2, .sidebar-card h3{ font-size:1.2rem; }
.sidebar-card ul{ list-style:none; padding:0; margin:0 0 16px; display:grid; gap:8px; }
.sidebar-card ul a{ color: var(--ink); font-weight:700; }
.sidebar-card ul li.current a{ color: var(--plum); }

/* ==========================================================================
   9. CONTACT PAGE / FORM
   ========================================================================== */
.contact-grid{ display:grid; gap:34px; }
@media (min-width:960px){ .contact-grid{ grid-template-columns: 1fr 1fr; } }
.contact-info-card{ background: var(--white); border-radius: var(--radius-lg); padding:30px; box-shadow: var(--shadow-soft); }
.contact-info-card ul{ list-style:none; padding:0; margin:0; display:grid; gap:16px; }
.contact-info-card li{ display:flex; gap:12px; align-items:flex-start; }
.contact-info-card .icon{ width:22px;height:22px; flex-shrink:0; color: var(--plum); }
.contact-map{ margin-top:20px; border-radius: var(--radius-md); overflow:hidden; }

.contact-form{ background: var(--white); border-radius: var(--radius-lg); padding:30px; box-shadow: var(--shadow-soft); }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-weight:700; margin-bottom:6px; color: var(--moss-dark); }
.form-row input, .form-row textarea{
  width:100%; padding:12px 14px; border-radius: var(--radius-sm);
  border:1px solid rgba(41,42,36,0.2); font-family: var(--font-body); font-size:1rem; background: var(--paper);
}
.form-row input:focus, .form-row textarea:focus{ border-color: var(--plum); }
.form-hpot{ position:absolute; left:-9999px; opacity:0; height:0; }
.form-note{ font-size:0.85rem; color: var(--ink-soft); margin-top:10px; }
.form-success{ background:#E4EEDF; border:1px solid var(--moss); color: var(--moss-dark); padding:16px 18px; border-radius: var(--radius-sm); margin-bottom:20px; font-weight:700; }
.form-error{ background:#F4E1E6; border:1px solid var(--plum); color: var(--plum-dark); padding:16px 18px; border-radius: var(--radius-sm); margin-bottom:20px; font-weight:700; }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer{ background: var(--ink); color: #E7E4D8; padding: 48px 0 24px; margin-top:40px; }
.footer-grid{ display:grid; gap:28px; }
@media (min-width:800px){ .footer-grid{ grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer h2{ color:#fff; font-size:1.1rem; }
.site-footer a{ color:#E7E4D8; }
.site-footer a:hover{ color: var(--gold); }
.footer-nav ul, .footer-services ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-bottom{ margin-top:34px; padding-top:20px; border-top:1px solid rgba(255,255,255,0.12); font-size:0.82rem; color:#B7B4A8; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; }
