/*
Theme Name: Πεχλιβάνης
Theme URI: https://pehlivanis.gr
Author: Πεχλιβάνης Νικόλαος και ΣΙΑ Ε.Ε.
Description: Custom θέμα μίας σελίδας (one-page) για κατασκευή & εμπορία συρματοπλέγματος, εργαλείων και ειδών κιγκαλερίας. Λαγκαδάς, Θεσσαλονίκη.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pechlivanis
*/

/* ===== Design tokens ===== */
:root {
  --ink: #1B1B18;
  --paper: #EDEAE4;
  --white: #FFFFFF;
  --steel: #6B7076;
  --steel-light: #C9C6BE;
  --border: #E1DED6;
  --border-soft: #D8D4CB;
  --muted-dark: #8B8F92;
  --line-dark: #33363A;
  --line-dark-2: #4A4E52;

  /* Το βασικό χρώμα του brand — ταιριάζει με το λογότυπο. Άλλαξέ το εδώ αν θες άλλο χρώμα σε όλη τη σελίδα. */
  --accent: #D9261E;
  --accent-soft: #F4E6DD;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  font-family: 'Public Sans', sans-serif;
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .3px;
}
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; box-sizing: border-box; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; }

/* ===== Topbar ===== */
.topbar {
  background: var(--ink);
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar__left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar span { font-size: 13px; color: var(--steel-light); }

/* ===== Header ===== */
.site-header {
  background: var(--white);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 56px; width: auto; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.brand__tagline { font-size: 11px; color: var(--steel); letter-spacing: .5px; }
.main-nav { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.main-nav a { font-size: 15px; font-weight: 600; }
.main-nav a.btn { font-size: 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 3px;
  font-size: 15px;
}
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid var(--line-dark-2); }
.btn--dark { background: var(--ink); color: var(--white); }

/* ===== Hero ===== */
.hero {
  background: var(--ink);
  padding: 90px 40px;
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}
.hero__content { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; min-width: 320px; }
.hero__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
.hero__content h1 { font-size: 48px; line-height: 1.15; color: var(--white); }
.hero__content h1 span { color: var(--accent); }
.hero__content p { font-size: 17px; line-height: 1.7; color: var(--steel-light); margin: 0; max-width: 46ch; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero__media { flex: 1 1 420px; min-width: 300px; }

.placeholder-box {
  width: 100%;
  border: 2px dashed var(--line-dark-2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.placeholder-box span {
  color: var(--muted-dark);
  font-size: 14px;
  text-align: center;
  font-style: italic;
  line-height: 1.6;
}
.placeholder-box--ratio-43 { aspect-ratio: 4 / 3; }
.placeholder-box--ratio-11 { aspect-ratio: 1 / 1; }
.placeholder-box--light { border-color: var(--border-soft); }
.placeholder-box--light span { color: #A6A29A; }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--white);
  padding: 36px 40px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.trust-item span { font-size: 14px; font-weight: 600; }
.trust-item svg { flex-shrink: 0; }

/* ===== Sections ===== */
.section { padding: 88px 40px; }
.section--tight { padding-top: 0; }
.section__intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section__intro h2 { font-size: 34px; }
.section__intro p { margin: 0; color: var(--steel); font-size: 16px; line-height: 1.6; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }

/* ===== Categories ===== */
.categories-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.category-card {
  background: var(--white);
  padding: 32px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.category-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
}
.category-card h3 { font-size: 18px; }
.category-card p { margin: 0; font-size: 14px; color: var(--steel); line-height: 1.6; }
.category-card a { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ===== Gallery ===== */
.gallery-section { background: var(--ink); padding: 80px 40px; }
.gallery-section .section__intro h2 { color: var(--white); }
.gallery-section .section__intro p { color: var(--muted-dark); }
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery-grid .placeholder-box { padding: 16px; }
.gallery-grid .placeholder-box span { font-size: 13px; }
.gallery-item--wide { grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery-item--square { aspect-ratio: 1 / 1; }
.gallery-item--square .placeholder-box span { font-size: 12px; }

/* ===== About ===== */
.about-section { background: var(--white); padding: 88px 40px; display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.about-image { flex: 1 1 380px; min-width: 300px; }
.about-content { flex: 1 1 460px; min-width: 320px; display: flex; flex-direction: column; gap: 20px; }
.about-content h2 { font-size: 32px; }
.about-content > p { margin: 0; font-size: 16px; line-height: 1.75; color: #4A4E52; }
.about-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.about-list svg { flex-shrink: 0; margin-top: 2px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--accent);
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.cta-banner h2 { font-size: 26px; color: var(--white); max-width: 640px; }

/* ===== Contact ===== */
.contact-section { padding: 88px 40px; display: flex; gap: 60px; flex-wrap: wrap; }
.contact-info { flex: 1 1 360px; min-width: 300px; display: flex; flex-direction: column; gap: 28px; }
.contact-info h2 { font-size: 32px; margin-top: 10px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item svg { flex-shrink: 0; }
.contact-item strong { display: block; font-size: 15px; font-weight: 600; }
.contact-item small { display: block; font-size: 14px; color: var(--steel); }
.contact-map { flex: 1 1 420px; min-width: 300px; }
.contact-map .placeholder-box { height: 100%; min-height: 320px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); padding: 48px 40px 24px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand__name { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.footer-brand__tag { font-size: 13px; color: var(--muted-dark); max-width: 32ch; line-height: 1.6; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--steel-light); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-dark-2);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom span { font-size: 12px; color: #6B6F73; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .topbar, .site-header, .hero, .section, .about-section, .contact-section, .site-footer, .gallery-section, .trust-strip, .cta-banner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .categories-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__content h1 { font-size: 34px; }
}
