/* ============================================================
   axis studio — interior design by Katia Patriarchea
   ============================================================ */

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

:root{
  --bg:        #F1EEE3;   /* πλαστερί ιβουάρ */
  --paper:     #FBFAF5;   /* ανοιχτότερο χαρτί, για φόρμα/πλαίσια */
  --band:      #E3E3CB;   /* απαλή λαδί ζώνη, για εναλλαγή τμημάτων */
  --ink:       #24291D;   /* σχεδόν μαύρο με λαδί υπόχρωμα */
  --ink-soft:  #4B5142;   /* σώμα κειμένου σε ανοιχτό φόντο */
  --olive:     #4B5A38;   /* λαδί — κύριο χρώμα */
  --olive-dark:#2B3620;   /* κυπαρισσί σκούρο — μόνιμη ζώνη footer/hero */
  --olive-deep:#202918;   /* βαθύτερο, hover πάνω σε σκούρο */
  --sage:      #A7AC8A;   /* απαλό, διαχωριστικές γραμμές */
  --sage-soft: #CBCFB7;   /* πιο ανοιχτό διαχωριστικό πάνω σε bg */
  --stone:     #D8CBAA;   /* θερμό αμμώδες, γραμμές πάνω σε σκούρο */
  --cream-on-dark: #EDEADC;

  --serif: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

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

h1, h2, h3{
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  line-height: 1.15;
}

::selection{ background: var(--olive); color: var(--paper); }
:focus-visible{ outline: 2px solid var(--olive); outline-offset: 3px; }

/* ---------- utility bands ---------- */
.band-sage{ background: var(--band); }
.band-dark{ background: var(--olive-dark); color: var(--cream-on-dark); }
.band-dark h1, .band-dark h2, .band-dark h3{ color: var(--paper); }

/* ---------- axis mark (small recurring brand device) ---------- */
.axis-mark{ width: 26px; height: 26px; flex: none; }
.axis-mark line{ stroke: var(--olive); stroke-width: 1.4; }
.axis-mark circle{ fill: none; stroke: var(--olive); stroke-width: 1.4; }
.band-dark .axis-mark line, .band-dark .axis-mark circle{ stroke: var(--stone); }

.eyebrow{ display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow span{ font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--olive); font-weight: 600; }
.band-dark .eyebrow span{ color: var(--stone); }

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 3px solid var(--olive);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand-logo{ height: 40px; width: auto; }
.brand-icon{
  height: 44px; width: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--band);
  border-radius: 10px;
  padding: 8px;
  flex: none;
}
.brand-icon img{ height: 100%; width: 100%; object-fit: contain; }
.brand-text{ font-family: var(--serif); font-size: 1.05rem; color: var(--ink); letter-spacing: 0.01em; }

.main-nav{ display: flex; align-items: center; gap: 32px; }
.main-nav a{ font-size: 0.93rem; color: var(--ink-soft); position: relative; padding: 4px 0; }
.main-nav a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after{ transform: scaleX(1); }
.main-nav a.active{ color: var(--ink); font-weight: 600; }

.nav-cta{
  background: var(--olive);
  color: var(--paper) !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.86rem !important;
}
.nav-cta:hover{ background: var(--olive-dark); }
.nav-cta::after{ display: none; }

.menu-toggle{ display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle svg{ width: 26px; height: 26px; }
.menu-toggle line{ stroke: var(--ink); stroke-width: 1.6; }

/* ---------- homepage hero (full-bleed photo) ---------- */
.hero{
  position: relative;
  background: var(--olive-dark);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 140px 0 150px;
}
.hero-photo{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(32,41,24,0.94) 0%,
    rgba(32,41,24,0.82) 28%,
    rgba(32,41,24,0.40) 56%,
    rgba(32,41,24,0.08) 78%);
}
.hero .wrap{ position: relative; z-index: 2; width: 100%; }
.hero-copy{ max-width: 640px; }
.hero-copy h1{
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--paper);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero-copy p{
  margin-top: 26px;
  max-width: 42ch;
  font-size: 1.08rem;
  color: var(--cream-on-dark);
}
.hero-actions{ margin-top: 40px; }

.btn{
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid var(--olive);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-solid{ background: var(--paper); color: var(--olive-dark); border-color: var(--paper); }
.btn-solid:hover{ background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline{ color: var(--olive); }
.btn-outline:hover{ background: var(--olive); color: var(--paper); }
.band-dark .btn-outline{ color: var(--paper); border-color: var(--paper); }
.band-dark .btn-outline:hover{ background: var(--paper); color: var(--olive-dark); }

.hero-card{
  position: absolute;
  right: 32px;
  bottom: -56px;
  z-index: 3;
  width: 340px;
  background: var(--olive);
  color: var(--paper);
  padding: 34px 34px 30px;
}
.hero-card h2{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-card h2::after{ content: ""; flex: 1; height: 1px; background: var(--stone); }
.hero-card a{
  display: inline-block;
  margin-top: 16px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--stone);
  padding-bottom: 2px;
}

/* ---------- subpage banner ---------- */
.page-banner{ padding: 78px 0 60px; }
.page-banner h1{ font-size: clamp(2.1rem, 4vw, 3rem); }
.page-banner .lede{ margin-top: 18px; max-width: 52ch; font-size: 1.05rem; }
.breadcrumb{ font-size: 0.85rem; color: var(--sage); margin-bottom: 20px; display: block; }
.breadcrumb a{ color: var(--stone); border-bottom: 1px solid rgba(216,203,170,0.5); }

/* ---------- sections, general ---------- */
section{ padding: 92px 0; }
section + section{ border-top: 1px solid var(--sage-soft); }
.band-sage + section, section + .band-sage{ border-top: none; }
.band-dark + section, section + .band-dark{ border-top: none; }

.section-head{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head h2{ font-size: clamp(2rem, 3.4vw, 2.6rem); }
.section-head .lede{ font-size: 1.05rem; max-width: 44ch; }

/* ---------- homepage teaser grid ---------- */
.teaser-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--sage-soft);
}
.teaser{ padding: 40px 34px; border-right: 1px solid var(--sage-soft); border-bottom: 1px solid var(--sage-soft); }
.teaser:last-child{ border-right: none; }
.teaser h3{ font-size: 1.2rem; font-weight: 500; margin-bottom: 12px; }
.teaser p{ font-size: 0.96rem; margin: 0 0 18px; }
.teaser a{ font-size: 0.88rem; color: var(--olive); font-weight: 600; border-bottom: 1px solid var(--olive); padding-bottom: 2px; }

/* ---------- philosophy ---------- */
.philosophy{ display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 70px; }
.philosophy .col-text p + p{ margin-top: 20px; }
.pull-quote{
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--olive-dark);
  border-left: 3px solid var(--olive); padding-left: 26px; margin: 0 0 30px; line-height: 1.5;
}
.signature-block{ border-top: 1px solid var(--sage-soft); padding-top: 22px; margin-top: 40px; }
.signature-name{ font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 1.05rem; }
.signature-role{ font-size: 0.9rem; color: var(--olive); margin-top: 4px; }
.values-list{ list-style: none; margin: 0; padding: 0; }
.values-list li{ padding: 20px 0; border-top: 1px solid var(--sage-soft); }
.values-list li:last-child{ border-bottom: 1px solid var(--sage-soft); }
.values-list h3{ font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.values-list p{ margin: 0; font-size: 0.97rem; }

/* ---------- services ---------- */
.service-block{ padding: 50px 0; border-top: 1px solid var(--sage-soft); }
.service-block:first-child{ border-top: none; padding-top: 0; }
.service-block .num{ font-family: var(--serif); font-style: italic; color: var(--olive); font-size: 1.1rem; }
.service-block h3{ font-size: 1.7rem; font-weight: 400; margin: 10px 0 16px; }
.service-block p{ max-width: 62ch; }
.service-block ul{ margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.service-block ul li{ font-size: 0.94rem; padding-left: 18px; position: relative; }
.service-block ul li::before{ content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--olive); }

/* ---------- realization ---------- */
.steps{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step{ border-top: 1px solid rgba(237,234,220,0.35); padding-top: 20px; }
.step-num{ font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--stone); display: block; margin-bottom: 14px; }
.step h3{ font-size: 1.05rem; font-weight: 500; margin-bottom: 8px; }
.step p{ margin: 0; font-size: 0.94rem; color: var(--cream-on-dark); opacity: 0.9; }
.partner-note{ margin-top: 60px; padding-top: 32px; border-top: 1px solid rgba(237,234,220,0.35); max-width: 62ch; font-size: 0.98rem; }

.partner-card{
  margin-top: 36px;
  background: var(--paper);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 62ch;
  flex-wrap: wrap;
}
.partner-card img{ height: 42px; width: auto; flex: none; }
.partner-card p{ margin: 0 0 8px; color: var(--ink-soft); font-size: 0.94rem; }
.partner-card a{ color: var(--olive); font-weight: 600; border-bottom: 1px solid var(--olive); padding-bottom: 2px; font-size: 0.94rem; }

/* ---------- projects / gallery ---------- */
.filter-row{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.filter-row span{ font-size: 0.84rem; padding: 8px 18px; border: 1px solid var(--sage-soft); border-radius: 999px; color: var(--ink-soft); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; user-select: none; }
.filter-row span:hover{ border-color: var(--olive); color: var(--olive); }
.filter-row span.active{ background: var(--olive); border-color: var(--olive); color: var(--paper); }
.gallery-item.is-hidden{ display: none; }
.gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-item{
  aspect-ratio: 4 / 5; border: 1px solid var(--sage-soft);
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  background: var(--olive-dark);
  cursor: zoom-in;
}
.gallery-item img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-item::before{ content: ""; position: absolute; inset: 14px; border: 1px solid rgba(251,250,245,0.35); z-index: 1; pointer-events: none; }
.gallery-item::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32,41,24,0.85) 0%, rgba(32,41,24,0.15) 55%, rgba(32,41,24,0) 75%); pointer-events: none; }
.gallery-caption{ position: relative; padding: 18px 20px; width: 100%; z-index: 2; }
.gallery-caption .cat{ font-size: 0.78rem; color: var(--stone); display: block; margin-bottom: 4px; font-weight: 600; }
.gallery-caption .name{ font-family: var(--serif); font-size: 1.05rem; color: var(--paper); }
.gallery-note{ margin-top: 34px; font-size: 0.92rem; color: var(--ink-soft); max-width: 58ch; }

/* ---------- lightbox ---------- */
.lightbox-overlay{
  position: fixed; inset: 0; z-index: 100;
  background: rgba(32,41,24,0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox-overlay.open{ opacity: 1; visibility: visible; }
.lightbox-overlay img{
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close{
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--stone);
  color: var(--paper); font-size: 1.3rem; line-height: 1;
  cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover{ background: rgba(237,234,220,0.15); }

/* ---------- contact ---------- */
.contact-grid{ display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 70px; }
.contact-details{ border-top: 1px solid var(--sage-soft); padding-top: 26px; margin-top: 34px; }
.contact-details dt{ font-size: 0.82rem; color: var(--olive); margin-top: 20px; font-weight: 600; }
.contact-details dt:first-child{ margin-top: 0; }
.contact-details dd{ margin: 4px 0 0; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }

form.inquiry{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
form.inquiry .full{ grid-column: 1 / -1; }
form.inquiry label{ display: block; font-size: 0.85rem; color: var(--olive); margin-bottom: 8px; font-weight: 600; }
form.inquiry input, form.inquiry select, form.inquiry textarea{
  width: 100%; background: var(--paper); border: 1px solid var(--sage-soft); border-radius: 2px;
  padding: 12px 14px; font-family: var(--sans); font-size: 0.96rem; color: var(--ink);
}
form.inquiry input:focus, form.inquiry select:focus, form.inquiry textarea:focus{ border-color: var(--olive); }
form.inquiry textarea{ resize: vertical; min-height: 120px; }
form.inquiry .hp{ position: absolute; left: -9999px; }
.form-submit{ border: none; cursor: pointer; font-family: var(--sans); }
.form-note{ font-size: 0.82rem; color: var(--ink-soft); opacity: 0.75; margin-top: 10px; }

/* ---------- footer (always dark olive) ---------- */
footer{ background: var(--olive-dark); color: var(--cream-on-dark); padding: 56px 0 34px; }
.footer-inner{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand{ display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-icon{ background: rgba(237,234,220,0.12); }
.footer-brand span{ font-family: var(--serif); font-style: italic; color: var(--paper); }
.footer-links{ display: flex; gap: 26px; font-size: 0.9rem; flex-wrap: wrap; }
.footer-links a:hover{ color: var(--stone); }
.footer-fine{ margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(237,234,220,0.2); font-size: 0.8rem; opacity: 0.75; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 900px){
  .main-nav{
    position: fixed; inset: 66px 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 10px 32px 30px; border-top: 1px solid var(--sage-soft);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .main-nav.open{ opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a{ width: 100%; padding: 16px 0; border-top: 1px solid var(--sage-soft); }
  .main-nav a:first-child{ border-top: none; }
  .nav-cta{ margin-top: 12px; text-align: center; }
  .menu-toggle{ display: block; }

  .hero{ min-height: auto; padding: 100px 0 60px; display: block; }
  .hero-card{ position: relative; width: 100%; margin-top: 46px; }

  .section-head{ grid-template-columns: 1fr; gap: 20px; }
  .philosophy{ grid-template-columns: 1fr; gap: 46px; }
  .service-block ul{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .teaser-grid{ grid-template-columns: 1fr; }
  .teaser{ border-right: none; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
  form.inquiry{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .steps{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  section{ padding: 64px 0; }
  .hero-card{ padding: 28px 26px 24px; }
}
