/*
Theme Name: netcafe.gr
Theme URI: https://www.netcafe.gr
Author: Redesign (Joomla → WordPress)
Description: Σύγχρονο responsive theme για το portal netcafe.gr (κατεύθυνση Modern Tech). Περιλαμβάνει custom post type «Καταστήματα» και πλήρη υποστήριξη ελληνικών.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: netcafe
*/

/* netcafe.gr — Modern Tech redesign (direction Γ)
   Static prototype stylesheet. No build deps. */

:root {
  --teal-50:#f0fdfa; --teal-100:#ccfbf1; --teal-500:#14b8a6; --teal-600:#0d9488; --teal-700:#0f766e;
  --ink:#0f172a; --slate-700:#334155; --slate-600:#475569; --slate-500:#64748b; --slate-400:#94a3b8;
  --line:#e2e8f0; --line-soft:#eef2f6; --bg:#f8fafc; --white:#ffffff;
  --blue:#2563eb; --blue-bg:#dbeafe; --amber:#d97706; --amber-bg:#fef3c7;
  --radius:12px; --radius-sm:8px; --shadow:0 1px 2px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.04);
  --maxw:1160px;
  --font:"Segoe UI",Roboto,-apple-system,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0; font-family:var(--font); color:var(--ink); background:var(--bg);
  line-height:1.6; font-size:16px; -webkit-font-smoothing:antialiased;
}
a { color:var(--teal-700); text-decoration:none; }
a:hover { text-decoration:underline; }
img { max-width:100%; height:auto; display:block; }
.container { max-width:var(--maxw); margin:0 auto; padding:0 20px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ---------- Header ---------- */
.site-header { background:var(--white); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; height:68px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; font-size:20px; color:var(--ink); }
.brand:hover { text-decoration:none; }
.brand .logo { width:34px; height:34px; border-radius:9px; background:var(--teal-600); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:19px; }
.brand .tld { color:var(--teal-600); }
.brand small { display:block; font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase;
  color:var(--slate-400); margin-top:1px; }

.nav { display:flex; align-items:center; gap:6px; }
.nav a { color:var(--slate-600); font-weight:600; font-size:14px; padding:9px 12px; border-radius:8px; }
.nav a:hover { background:var(--bg); color:var(--ink); text-decoration:none; }
.nav a.active { color:var(--teal-700); }
.nav a.btn-contact { background:var(--teal-600); color:#fff; }
.nav a.btn-contact:hover { background:var(--teal-700); }
.nav-toggle { display:none; background:none; border:1px solid var(--line); border-radius:8px;
  width:42px; height:42px; font-size:22px; cursor:pointer; color:var(--ink); }

/* ---------- Hero ---------- */
.hero { background:linear-gradient(180deg,var(--teal-50),var(--white)); border-bottom:1px solid var(--line);
  padding:54px 0 46px; text-align:center; }
.hero h1 { font-size:34px; line-height:1.2; margin:0 0 12px; letter-spacing:-.5px; }
.hero p { font-size:17px; color:var(--slate-500); margin:0 auto 26px; max-width:620px; }
.searchbar { display:flex; max-width:520px; margin:0 auto; background:var(--white);
  border:1px solid var(--line); border-radius:11px; overflow:hidden; box-shadow:var(--shadow); }
.searchbar input { flex:1; border:0; padding:14px 16px; font-size:15px; font-family:inherit; outline:none; background:transparent; }
.searchbar button { background:var(--teal-600); color:#fff; border:0; padding:0 24px; font-size:15px;
  font-weight:600; cursor:pointer; font-family:inherit; }
.searchbar button:hover { background:var(--teal-700); }

/* ---------- Sections ---------- */
.section { padding:44px 0; }
.section-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:22px; gap:16px; }
.section-head h2 { font-size:24px; margin:0; letter-spacing:-.3px; }
.section-head a { font-size:14px; font-weight:600; }
.eyebrow { color:var(--teal-700); font-weight:700; font-size:13px; letter-spacing:.5px; text-transform:uppercase; }

/* ---------- Service cards ---------- */
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:20px; }
.card .ic { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-size:21px; margin-bottom:13px; background:var(--teal-100); color:var(--teal-700); }
.card .ic.blue { background:var(--blue-bg); color:var(--blue); }
.card .ic.amber { background:var(--amber-bg); color:var(--amber); }
.card h3 { margin:0 0 6px; font-size:17px; }
.card p { margin:0; color:var(--slate-500); font-size:14px; }

/* ---------- Layout with sidebar ---------- */
.layout { display:grid; grid-template-columns:1fr 320px; gap:34px; align-items:start; }

/* ---------- News grid ---------- */
.news-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.post { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column; transition:border-color .15s, transform .15s; }
.post:hover { border-color:var(--teal-500); transform:translateY(-2px); text-decoration:none; }
.post .thumb { aspect-ratio:16/9; background:var(--line-soft) center/cover no-repeat; display:flex;
  align-items:center; justify-content:center; color:var(--slate-400); font-size:13px; }
.post .body { padding:15px 17px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.post .cat { font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--teal-700); }
.post h3 { margin:0; font-size:16px; line-height:1.35; color:var(--ink); }
.post .excerpt { font-size:13.5px; color:var(--slate-500); margin:0; }
.post .meta { margin-top:auto; font-size:12px; color:var(--slate-400); display:flex; gap:10px; align-items:center; }

/* compact list rows */
.post-row { display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--line-soft); }
.post-row:last-child { border-bottom:0; }
.post-row .thumb { width:84px; height:64px; border-radius:8px; flex-shrink:0; background:var(--line-soft) center/cover; }
.post-row h3 { margin:0 0 4px; font-size:15px; line-height:1.3; }
.post-row .meta { font-size:12px; color:var(--slate-400); }
.post-row p { margin:4px 0 0; font-size:13px; color:var(--slate-500); }

/* ---------- Sidebar widgets ---------- */
.widget { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:18px; margin-bottom:20px; }
.widget h4 { margin:0 0 14px; font-size:14px; text-transform:uppercase; letter-spacing:.5px; color:var(--ink);
  border-bottom:2px solid var(--teal-600); padding-bottom:9px; }
.widget.login input { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px;
  margin-bottom:9px; font-family:inherit; font-size:14px; }
.widget.login button { width:100%; background:var(--teal-600); color:#fff; border:0; padding:11px; border-radius:8px;
  font-weight:600; cursor:pointer; font-family:inherit; }
.widget .links-list { list-style:none; margin:0; padding:0; }
.widget .links-list li { padding:8px 0; border-bottom:1px solid var(--line-soft); font-size:14px; }
.widget .links-list li:last-child { border-bottom:0; }
.region-list { list-style:none; margin:0; padding:0; }
.region-list li a { display:flex; justify-content:space-between; padding:10px 0; color:var(--slate-700);
  font-weight:600; font-size:14px; border-bottom:1px solid var(--line-soft); }
.region-list li:last-child a { border-bottom:0; }
.sponsor { height:90px; border:1px dashed var(--line); border-radius:8px; display:flex; align-items:center;
  justify-content:center; color:var(--slate-400); font-size:13px; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background:var(--white); border-bottom:1px solid var(--line); padding:32px 0; }
.page-head h1 { margin:0 0 6px; font-size:30px; letter-spacing:-.4px; }
.page-head p { margin:0; color:var(--slate-500); }
.breadcrumb { font-size:13px; color:var(--slate-400); margin-bottom:10px; }
.breadcrumb a { color:var(--slate-500); }

/* ---------- Article ---------- */
.article { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:30px 34px; }
.article h1 { margin:0 0 8px; font-size:28px; line-height:1.25; }
.article .art-meta { color:var(--slate-400); font-size:13px; margin-bottom:22px; display:flex; gap:14px; flex-wrap:wrap; }
.article-body { font-size:16px; color:var(--slate-700); }
.article-body p { margin:0 0 16px; }
.article-body img { border-radius:8px; margin:8px 0 18px; }
.article-body a { color:var(--teal-700); }
.article-body h2,.article-body h3 { color:var(--ink); margin:24px 0 10px; }
.article-body ul,.article-body ol { padding-left:22px; }
.article-body table { width:100%; border-collapse:collapse; margin:10px 0; }
.article-body td,.article-body th { border:1px solid var(--line); padding:8px 10px; font-size:14px; }

/* ---------- Tables (stores / links) ---------- */
.data-table { width:100%; border-collapse:collapse; background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; }
.data-table th { background:var(--bg); text-align:left; padding:13px 16px; font-size:13px;
  text-transform:uppercase; letter-spacing:.4px; color:var(--slate-500); border-bottom:1px solid var(--line); }
.data-table td { padding:13px 16px; border-bottom:1px solid var(--line-soft); font-size:14px; color:var(--slate-700); }
.data-table tr:last-child td { border-bottom:0; }

/* ---------- Pagination ---------- */
.pager { display:flex; gap:6px; justify-content:center; margin-top:34px; flex-wrap:wrap; }
.pager a, .pager span { padding:8px 13px; border:1px solid var(--line); border-radius:8px; font-size:14px;
  color:var(--slate-600); background:var(--white); }
.pager .cur { background:var(--teal-600); color:#fff; border-color:var(--teal-600); }

/* ---------- Footer ---------- */
.site-footer { background:var(--ink); color:#cbd5e1; margin-top:50px; padding:42px 0 26px; font-size:14px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.4fr; gap:30px; }
.site-footer h5 { color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.5px; margin:0 0 14px; }
.site-footer a { color:#cbd5e1; }
.site-footer a:hover { color:#fff; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer li { margin-bottom:9px; }
.site-footer .brand-foot { display:flex; align-items:center; gap:10px; font-size:20px; font-weight:700; color:#fff; margin-bottom:12px; }
.site-footer .brand-foot .logo { width:32px; height:32px; border-radius:9px; background:var(--teal-600);
  display:flex; align-items:center; justify-content:center; font-weight:800; }
.footer-bottom { border-top:1px solid #1e293b; margin-top:30px; padding-top:18px; text-align:center;
  font-size:13px; color:var(--slate-500); }

/* ---------- Responsive ---------- */
@media (max-width:900px) {
  .nav { position:fixed; inset:68px 0 auto 0; background:var(--white); flex-direction:column; align-items:stretch;
    padding:10px 16px 18px; border-bottom:1px solid var(--line); gap:2px; display:none; box-shadow:var(--shadow); }
  .nav.open { display:flex; }
  .nav a { padding:12px; }
  .nav a.btn-contact { text-align:center; margin-top:6px; }
  .nav-toggle { display:flex; align-items:center; justify-content:center; }
  .layout { grid-template-columns:1fr; }
  .cards { grid-template-columns:1fr; }
  .news-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero h1 { font-size:27px; }
}
@media (max-width:560px) {
  .footer-grid { grid-template-columns:1fr; }
  .article { padding:22px 18px; }
}

/* ---------- WordPress core helper classes ---------- */
.alignleft { float:left; margin:6px 22px 12px 0; }
.alignright { float:right; margin:6px 0 12px 22px; }
.aligncenter { display:block; margin-left:auto; margin-right:auto; }
.wp-caption { max-width:100%; }
.wp-caption-text { font-size:13px; color:var(--slate-500); text-align:center; margin-top:6px; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.sticky, .gallery-caption, .bypostauthor { }
.wp-block-image img { border-radius:8px; }
.admin-bar .site-header { top:32px; }
.entry-content > *:first-child { margin-top:0; }
