/* ============================================================
   Κωνσταντίνα Ράπτη — Professional Card Site
   Palette: warm beige + terracotta
   ============================================================ */

:root {
  --bg:          #FAF5EE;
  --bg-soft:     #F4EBDF;
  --surface:     #FFFFFF;
  --ink:         #3D342C;
  --muted:       #83756A;
  --accent:      #C0674A;
  --accent-dark: #A5523A;
  --accent-tint: #F2DFD2;
  --line:        #E8DACA;
  --footer-bg:   #322A22;

  --font-head: "GFS Didot", "EB Garamond", Georgia, serif;
  --font-body: "Inter", "Noto Sans", Arial, sans-serif;

  --header-h: 74px;
  --radius:   14px;
  --shadow:   0 18px 40px -18px rgba(61, 52, 44, .22);
  --ease:     cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent-dark); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent-tint); color: var(--ink); }

.container { width: min(1140px, 90%); margin-inline: auto; }

h1, h2, h3, .brand, .footer-name {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 245, 238, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -12px rgba(61, 52, 44, .18);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.3rem;
  letter-spacing: .02em;
  color: var(--ink);
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  transition: transform .3s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.06); }
.brand-text span { color: var(--accent); }
.brand:hover { color: var(--ink); }

.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  padding: .35rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42rem 30rem at 88% 8%,  rgba(192, 103, 74, .10), transparent 62%),
    radial-gradient(36rem 28rem at 4% 92%,  rgba(192, 103, 74, .08), transparent 60%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

/* Portrait — vertical, simple frame */
.hero-portrait { display: flex; justify-content: center; }

.portrait-frame {
  width: min(360px, 78vw);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Hero text */
.hero-eyebrow {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  letter-spacing: .01em;
  margin-bottom: .8rem;
}

.hero-role {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.hero-tagline {
  max-width: 46ch;
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .03em;
  border: 1.5px solid var(--accent);
  transition: background .3s var(--ease), color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(192, 103, 74, .65);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 16px 30px -12px rgba(165, 82, 58, .7); }

.btn-outline { color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent-tint); color: var(--accent-dark); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--muted);
  border-radius: 999px;
  opacity: .55;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--muted);
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(12px); opacity: 0; }
  61%      { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }

.section-divider {
  width: 64px; height: 2px;
  margin: 1.4rem auto 0;
  background: var(--accent);
  border-radius: 2px;
  position: relative;
}
.section-divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
}

/* ---------- Biography ---------- */
.bio { background: var(--bg-soft); }

.bio-body { max-width: 780px; margin-inline: auto; }

.bio-body p + p { margin-top: 1.35rem; }

.bio-body .lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.85;
  color: var(--ink);
}

.bio-body p:not(.lead) { color: var(--muted); }

/* ---------- Services ---------- */
.services { margin-top: clamp(3.5rem, 7vw, 5.5rem); }

.services-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
  max-width: 1000px;
  margin-inline: auto;
}

.services-list > li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px -18px rgba(61, 52, 44, .25);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.services-list > li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
}
.service-icon svg { width: 24px; height: 24px; }

.services-list > li > span:last-child { padding-top: .15rem; }

/* Featured service card (with details + bullet points) */
.services-list > li.service-featured { grid-column: 1 / -1; }

.service-name {
  display: block;
  padding-top: .15rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.service-desc {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.1rem;
}

.service-sub {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.service-desc + .service-desc { margin-top: -.55rem; }

.service-points-intro {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .6rem;
}

.service-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .3rem 1.6rem;
}
.service-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: .95rem;
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Statement ---------- */
.statement {
  position: relative;
  max-width: 820px;
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.8rem, 4vw, 3.2rem);
  background: var(--accent-tint);
  border-radius: var(--radius);
  text-align: center;
}

.statement-mark {
  position: absolute;
  top: -1.6rem; left: 50%;
  transform: translateX(-50%);
  width: 3.2rem; height: 3.2rem;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 2.4rem;
  line-height: 1;
  padding-top: .9rem;
}

.statement p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- Location / Map ---------- */
.location { background: var(--bg); }

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px -18px rgba(61, 52, 44, .25);
}

.location-rows {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.location-rows li {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  line-height: 1.6;
}

.loc-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
}
.loc-icon svg { width: 21px; height: 21px; }

.location-actions { margin-top: auto; }

.location-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 340px;
  background: var(--bg-soft);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-map, .location-map iframe { min-height: 300px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #EFE6DA; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.footer-name { font-size: 1.7rem; margin-bottom: .5rem; }
.footer-role { color: #C9BCAC; font-size: .95rem; max-width: 40ch; }

.footer-heading {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #C9BCAC;
  margin-bottom: 1rem;
}

.footer-contact ul { list-style: none; }
.footer-contact li { margin-bottom: .55rem; color: #EFE6DA; }
.footer-contact a { color: #F0C9B4; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(239, 230, 218, .14);
  padding: 1.3rem 0;
  font-size: .85rem;
  color: #B2A493;
  text-align: center;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text { order: 2; }
  .hero-portrait { order: 1; }
  .portrait-frame { width: min(300px, 72vw); }
  .hero-tagline { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .scroll-hint { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-role { margin-inline: auto; }
}

@media (max-width: 760px) {
  .brand-logo { height: 38px; }
  .nav-toggle { display: flex; margin-left: auto; }

  .main-nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -22px rgba(61, 52, 44, .3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: .8rem 5%;
  }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .nav-link { display: block; padding: .95rem 0; font-size: 1rem; }
  .nav-link::after { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
