/*
Theme Name: Πεχλιβάνης (Astra Child)
Theme URI: https://pehlivanis.gr
Template: astra
Author: Πεχλιβάνης Νικόλαος και ΣΙΑ Ε.Ε.
Description: Child theme πάνω στο Astra — χρώματα, γραμματοσειρές και στυλ περιεχομένου για το pehlivanis.gr
Version: 2.0
Text Domain: pechlivanis
*/

/* ===== Brand tokens ===== */
:root {
  --ink: #101014;
  --paper: #F3F1EC;
  --white: #FFFFFF;
  --steel: #6E6B66;
  --steel-light: #B7B4AE;
  --soft: #FBEDEA;
  --card-bg-soft: #F7F1EC;
  --accent: #D9261E; /* Άλλαξε μόνο αυτή τη γραμμή για να αλλάξει το χρώμα σε όλη τη σελίδα */
  --accent-dark: #B01E17;

  --ast-global-color-0: var(--ink);
  --ast-global-color-1: var(--accent);
  --ast-global-color-2: var(--ink);
  --ast-global-color-3: var(--steel);
  --ast-global-color-4: var(--paper);
  --ast-global-color-5: var(--white);
}

body { font-family: 'Public Sans', sans-serif; color: #17171B; background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; letter-spacing: .3px; }
a { color: var(--accent); }
.ast-container { max-width: 1200px; }
img { max-width: 100%; height: auto; }

/* ===== Buttons (pill style) ===== */
.btn { display: inline-block; font-weight: 700; padding: 16px 30px; border-radius: 999px; font-size: 15px; text-decoration: none; }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px -10px var(--accent); }
.btn--outline { background: rgba(255,255,255,0.05); color: var(--white); border: 1.5px solid rgba(255,255,255,0.2); }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: 0 10px 20px -10px rgba(0,0,0,0.5); }

/* ===== Mesh background (wire-mesh pattern, used on dark sections) ===== */
.mesh-bg { position: relative; overflow: hidden; }
.mesh-bg::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M0 23H46M23 0V46' stroke='white' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-size: 46px 46px;
}
.mesh-bg > * { position: relative; z-index: 1; }

/* ===== Hero (homepage) ===== */
.hero { background: var(--ink); padding: 70px 40px 120px; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; border-radius: 0; }
.hero__content { flex: 1 1 440px; min-width: 300px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; width: fit-content; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: #E8B4AC; margin-bottom: 18px; text-transform: uppercase; }
.hero__content h1 { font-size: 44px; line-height: 1.15; color: var(--white); margin: 0 0 18px; }
.hero__content h1 span { color: var(--accent); }
.hero__content p { color: var(--steel-light); font-size: 16.5px; line-height: 1.7; max-width: 46ch; margin: 0 0 22px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media { flex: 1 1 380px; min-width: 260px; }
.hero-photo { width: 100%; aspect-ratio: 4/3; border-radius: 16px; background: linear-gradient(155deg,#1D1D22,#0B0B0D); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); }
.hero-photo span { color: #6E6C71; font-size: 13px; text-align: center; font-style: italic; max-width: 24ch; }

/* ===== Small page hero (subpages) ===== */
.page-hero { background: var(--ink); padding: 56px 40px; text-align: center; }
.page-hero .eyebrow { color: #E8B4AC; }
.page-hero h1 { color: var(--white); font-size: 32px; margin: 8px 0 0; }
.page-hero p { color: var(--steel-light); max-width: 60ch; margin: 14px auto 0; font-size: 15.5px; line-height: 1.6; }

/* ===== Floating trust panel ===== */
.trust-wrap { padding: 0 40px; margin-top: -56px; position: relative; z-index: 3; }
.trust-panel { max-width: 1200px; margin: 0 auto; background: var(--white); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(16,16,20,0.25); padding: 26px 32px; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; min-width: 200px; font-size: 14px; font-weight: 600; }
.trust-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-divider { width: 1px; background: #ECEAE5; align-self: stretch; }

.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 10px; }

/* ===== Grids & cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card { background: var(--white); padding: 28px; border-radius: 14px; box-shadow: 0 2px 4px rgba(16,16,20,0.04), 0 12px 28px -18px rgba(16,16,20,0.18); }
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { margin: 0 0 8px; color: var(--steel); font-size: 14px; line-height: 1.6; }
.card a { font-size: 13.5px; font-weight: 700; color: var(--accent); }
.card-icon { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(145deg,#FCEDEA,#F6DAD3); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

.photo-box { border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.photo-box span { text-align: center; font-style: italic; line-height: 1.5; }
.photo-box--dark { background: linear-gradient(155deg,#1D1D22,#0B0B0D); border: 1px solid rgba(255,255,255,0.07); }
.photo-box--dark span { color: #5E5C61; font-size: 12px; }
.photo-box--light { background: linear-gradient(155deg,#F7F1EC,#EDE6DE); }
.photo-box--light span { color: #A79C90; font-size: 13.5px; }
.photo-wide { grid-column: span 2; aspect-ratio: 4/3; }
.photo-square { aspect-ratio: 1/1; }

/* ===== Dark section ===== */
.dark-section { background: var(--ink); padding: 70px 40px; text-align: center; }
.dark-section h2 { color: var(--white); }
.dark-section p { color: #8B8A8D; }
.dark-section .eyebrow { color: var(--accent); }

/* ===== CTA banner ===== */
.cta-banner { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); padding: 56px 40px; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 20px; font-size: 24px; }

/* ===== Checklist ===== */
.check-list { list-style: none; margin: 16px 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 15px; }
.check-list li::before { content: "✓"; color: var(--white); font-weight: 700; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* ===== Contact ===== */
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-item svg { flex-shrink: 0; }
.contact-item strong { display: block; font-size: 15px; }
.contact-item small { display: block; font-size: 14px; color: var(--steel); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero { padding: 56px 24px 100px; }
  .trust-wrap, .page-hero, .dark-section, .cta-banner, .hero { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero__content h1 { font-size: 30px; }
  .trust-panel { flex-direction: column; align-items: stretch; text-align: left; border-radius: 14px; }
  .trust-divider { display: none; }
  .trust-wrap { margin-top: -40px; padding-left: 16px; padding-right: 16px; }
  .page-hero h1 { font-size: 24px; }
  .card, .dark-section, .cta-banner, .page-hero { padding: 24px; }
}
