/* =========================================================
   KapCuts Salon – style.css
   Σχεδίαση πρώτα για κινητό. Οι αλλαγές για μεγάλες οθόνες
   βρίσκονται στο τέλος, μέσα στο @media (min-width: 900px).
   ========================================================= */

/* ---------- 1. ΧΡΩΜΑΤΑ & ΓΡΑΜΜΑΤΟΣΕΙΡΕΣ ----------
   Άλλαξε ένα χρώμα εδώ και αλλάζει παντού στο site. */
:root {
  --white: #ffffff;
  --off-white: #f6f5f2;   /* απαλό γκρι-άσπρο για εναλλαγή ενοτήτων */
  --black: #111111;
  --grey: #5c5c5c;        /* δευτερεύον κείμενο */
  --line: #e4e2dc;        /* λεπτές γκρι γραμμές */
  --gold: #b8975a;        /* ΜΟΝΟ για λεπτές γραμμές & διακοσμητικά */

  --font-title: "Noto Serif Display", Georgia, serif;
  --font-text: "Inter", Arial, sans-serif;
  --font-logo: "Kaushan Script", cursive;

  --max-width: 1100px;
}

/* ---------- 2. ΒΑΣΙΚΑ ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: 84px; /* χώρος για τη σταθερή μπάρα στο κινητό */
}

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

a { color: inherit; }

h1, h2 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }

h1 em,
h2 em { font-style: italic; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 640px; }
.center { text-align: center; }

/* Μικρός τίτλος πάνω από κάθε επικεφαλίδα, με χρυσή γραμμή */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.center .eyebrow { justify-content: center; }

/* ---------- 3. ΚΟΥΜΠΙΑ ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  border-radius: 2px;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: #333; border-color: #333; }

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.85rem; }

.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.5rem 0 1rem;
}

.link-arrow {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- 4. ΚΕΦΑΛΙΔΑ ---------- */
.header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.6rem;
  text-decoration: none;
  margin: 0;
  line-height: 1;
}

.logo span { font-size: 0.75em; }

.nav { display: none; } /* κρυφό στο κινητό */

/* ---------- 5. HERO ---------- */
.hero { padding: 40px 0 0; }

.hero .lead {
  color: var(--grey);
  font-size: 1.05rem;
}

.note {
  font-size: 0.85rem;
  color: var(--grey);
}

.hero-image {
  margin-top: 32px;
  border-top: 1px solid var(--gold);
  padding-top: 12px;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- 6. ΕΝΟΤΗΤΕΣ ---------- */
.section { padding: 64px 0; }

.section-alt { background: var(--off-white); }

/* Τιμές */
.price-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}

.price-line {
  flex: 1;
  border-bottom: 1px dotted var(--gold);
  transform: translateY(-4px);
}

.price {
  font-family: var(--font-title);
  font-size: 1.6rem;
}

/* Δουλειές */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 1.5rem 0 8px;
}

.before-after figure {
  position: relative;
  margin: 0;
}

.before-after img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.before-after figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: var(--white);
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Ο Σπύρος */
.about {
  display: grid;
  gap: 32px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  outline: 1px solid var(--gold);
  outline-offset: 10px;
}

.about-text p { color: var(--grey); }

.signature {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  color: var(--black) !important;
  margin-top: 1.5rem;
}

/* Ο χώρος */
.space-grid {
  display: grid;
  gap: 8px;
  margin-top: 1.5rem;
}

.space-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Ωράριο & τοποθεσία */
.visit {
  display: grid;
  gap: 48px;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.hours th {
  text-align: left;
  font-weight: 500;
}

.hours td { text-align: right; }

.hours .closed { color: #9a9a9a; }

address {
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Τελικό κάλεσμα */
.cta {
  border-top: 1px solid var(--gold);
}

.cta p { color: var(--grey); }

/* ---------- 7. FOOTER ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer .logo { font-size: 1.8rem; margin-bottom: 1rem; }

.footer a { text-decoration: none; border-bottom: 1px solid var(--gold); }

.footer .small { font-size: 0.85rem; color: #aaa; }

/* ---------- 8. ΣΤΑΘΕΡΗ ΜΠΑΡΑ ΚΙΝΗΤΟΥ ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--gold);
}

.sticky-bar .btn { flex: 1; }

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--black);
  border-radius: 2px;
  color: var(--black);
}

/* =========================================================
   ΜΕΓΑΛΕΣ ΟΘΟΝΕΣ (tablet / υπολογιστής)
   ========================================================= */
@media (min-width: 600px) {
  .buttons { flex-direction: row; flex-wrap: wrap; }
  .buttons-center { justify-content: center; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .space-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; } /* η μπάρα κρύβεται στον υπολογιστή */

  h1 { font-size: 3.6rem; }
  h2 { font-size: 2.6rem; }

  .header-inner { height: 76px; }

  .nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9rem;
  }

  .nav a:not(.btn) { text-decoration: none; }
  .nav a:not(.btn):hover { color: var(--gold); }

  .hero { padding: 64px 0; }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .hero-image { margin-top: 0; }

  .section { padding: 96px 0; }

  .before-after { max-width: 760px; }

  .about {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }

  .visit { grid-template-columns: 1fr 1fr; gap: 72px; }
}
