/* ============ iKTEO CAR Θεσσαλίας — style.css (v2, red/charcoal) ============ */
:root {
  --red: #c8102e;
  --red-dark: #9d0b23;
  --charcoal: #1b1d21;
  --charcoal-2: #26292f;
  --ink: #24262a;
  --muted: #6a6f77;
  --bg: #ffffff;
  --bg-grey: #f2f3f5;
  --line: #e2e4e8;
  --font-head: "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
  --shadow: 0 8px 28px rgba(20, 22, 26, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .4px;
  line-height: 1.15; color: var(--charcoal); font-weight: 700;
}
h2 { font-size: 1.9rem; margin-bottom: .6rem; }
h3 { font-size: 1.2rem; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 840px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }

.tag {
  display: block; color: var(--red); font-size: .8rem; font-weight: 800;
  letter-spacing: 3px; margin-bottom: 6px;
}
.section-head { margin-bottom: 34px; border-left: 5px solid var(--red); padding-left: 18px; }

/* ---------- Top bar (sticky) ---------- */
.topbar { position: sticky; top: 0; z-index: 101; background: var(--charcoal); color: #b9bdc4; font-size: .82rem; }
.topbar-inner {
  display: flex; align-items: center; gap: 12px;
  height: 36px; flex-wrap: nowrap; white-space: nowrap; overflow-x: auto;
}
.topbar-inner > .topbar-social { margin-left: auto; }
.topbar a { color: #fff; font-weight: 500; }
.topbar-hours { color: #8f949c; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { color: #fff; display: flex; align-items: center; }
.topbar-social a:hover { color: var(--red); }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: #fff; border: 1px solid rgba(255,255,255,.25); transition: .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-email { margin-top: 12px; font-size: .92rem; }
.footer-email a { color: #ff5a72; }

/* ---------- Header (sticky, below topbar) ---------- */
.site-header {
  position: sticky; top: 36px; z-index: 100; background: #fff;
  border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-badge {
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800;
  font-size: 1.15rem; padding: 7px 12px; letter-spacing: .5px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.brand-badge em { font-style: normal; color: #ffd7de; }
.brand-text { font-family: var(--font-head); font-weight: 700; color: var(--charcoal); font-size: 1.02rem; letter-spacing: 2px; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .66rem; color: var(--muted); letter-spacing: .4px; text-transform: none; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .dropdown-toggle {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .8px;
  color: var(--charcoal); font-weight: 700; font-size: .88rem; padding: 10px 12px;
  text-decoration: none !important; background: none; border: 0; cursor: pointer;
  border-bottom: 3px solid transparent;
}
.main-nav > a:hover, .dropdown-toggle:hover { color: var(--red); }
.main-nav > a.active { border-bottom-color: var(--red); color: var(--red); }
.caret { font-size: .7em; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--charcoal);
  padding: 6px 0; display: none; flex-direction: column; box-shadow: var(--shadow);
}
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a {
  padding: 11px 18px; color: #d8dbdf; font-weight: 500; font-size: .9rem;
  text-decoration: none !important; border-left: 3px solid transparent;
}
.dropdown-menu a:hover { background: var(--charcoal-2); border-left-color: var(--red); color: #fff; }
.dropdown.active .dropdown-toggle { color: var(--red); }

.main-nav > a.nav-book {
  color: var(--red); font-weight: 800;
  animation: bookPulse 1.8s ease-in-out infinite;
}
.main-nav > a.nav-book:hover { animation: none; border-bottom-color: var(--red); }
@keyframes bookPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

/* Every button linking to the booking form pulses site-wide */
.btn[href*="index.php/rantevou"] { animation: bookPulse 1.8s ease-in-out infinite; }
.btn[href*="index.php/rantevou"]:hover { animation: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--charcoal); margin: 5px 0; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); text-transform: uppercase;
  font-weight: 700; font-size: .92rem; letter-spacing: 1px; padding: 12px 24px;
  text-decoration: none !important; transition: .2s; border: 2px solid transparent;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--charcoal); }
.btn-light:hover { background: var(--bg-grey); }
.btn-dark-outline { border-color: var(--charcoal); color: var(--charcoal); clip-path: none; }
.btn-dark-outline:hover { background: var(--charcoal); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; clip-path: none; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--red); color: var(--red); clip-path: none; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-block { display: block; text-align: center; margin-top: 10px; }

/* ---------- Home hero (split) ---------- */
.home-hero { background: var(--bg-grey); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}
.eyebrow { color: var(--red); font-weight: 800; letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.hero-copy h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; margin-bottom: 18px; }
.hero-copy h1 .accent {
  color: #fff; background: var(--red); padding: 0 14px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-points li { font-size: .9rem; font-weight: 500; color: var(--charcoal); padding-left: 20px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--red); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: 420px; object-fit: cover;
  border-bottom: 6px solid var(--red);
}

/* Hero slider */
.hero-slider {
  height: 420px; overflow: hidden;
  border-bottom: 6px solid var(--red);
}
.hero-slider .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease; clip-path: none; border-bottom: 0;
}
.hero-slider .slide.active { opacity: 1; }
.slider-dots {
  position: absolute; bottom: 16px; left: 0; right: 0; display: flex;
  justify-content: center; gap: 10px; z-index: 5;
}
.slider-dots .dot {
  width: 12px; height: 12px; border: 2px solid #fff; background: transparent;
  cursor: pointer; padding: 0; transition: .2s;
}
.slider-dots .dot.active, .slider-dots .dot:hover { background: var(--red); border-color: var(--red); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--charcoal); color: #fff; padding: 58px 0 0; position: relative; }
.crumb { color: #9aa0a8; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.page-sub { color: #c3c7cd; max-width: 640px; margin: 8px 0 34px; }
.hero-stripe {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 22px, var(--charcoal) 22px 34px);
}

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--red); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 26px 12px; border-right: 1px solid rgba(255,255,255,.25); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stat span { font-size: .82rem; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-alt { background: var(--bg-grey); }
.section-title { text-align: center; margin-bottom: 36px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 360px; object-fit: cover; }

/* ---------- Service list ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: start;
  padding: 26px 10px; border-bottom: 1px solid var(--line); transition: .2s;
}
.service-row:hover { background: var(--bg-grey); }
.service-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1; }
.service-row p { color: var(--muted); margin-top: 4px; }

/* ---------- Dark stations section ---------- */
.dark-section { background: var(--charcoal); }
.dark-section .section-head h2 { color: #fff; }
.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.station-panel {
  display: flex; flex-direction: column; background: var(--charcoal-2); padding: 30px 26px;
  text-decoration: none !important; border-top: 4px solid var(--red); transition: .2s;
}
.station-panel:hover { background: #2d3138; }
a.panel-more:hover { text-decoration: underline !important; color: #ff5a72; }
.panel-num { font-family: var(--font-head); font-size: .95rem; font-weight: 800; color: var(--red); letter-spacing: 2px; }
.station-panel h3 { color: #fff; margin: 8px 0 6px; }
.station-panel p { color: #b9bdc4; font-size: .92rem; }
.station-panel .phones a { color: #fff; font-weight: 700; }
.panel-more { display: inline-block; margin-top: auto; padding-top: 16px; color: var(--red); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: 1px; }

/* ---------- Cards (generic, used on inner pages) ---------- */
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.station-card .phones a { display: inline-block; font-weight: 700; }
.station-card .btn { margin-top: 14px; }
.highlight { background: #fdf1f3; border-color: #f3ccd3; margin: 24px 0; }

/* ---------- Content pages ---------- */
.content h2 { margin: 36px 0 12px; }
.content h2:first-child { margin-top: 0; }
.content p { margin-bottom: 14px; }
.content img { margin-top: 20px; border-bottom: 5px solid var(--red); }
.checklist { list-style: none; margin: 12px 0 20px; }
.checklist li { padding: 7px 0 7px 30px; position: relative; }
.checklist li::before { content: "■"; position: absolute; left: 0; color: var(--red); font-size: .8em; top: 10px; }
.note { font-size: .9rem; color: var(--muted); border-left: 4px solid var(--red); padding-left: 12px; margin: 14px 0; background: var(--bg-grey); padding-top: 8px; padding-bottom: 8px; }

/* ---------- Tabs ---------- */
.tab-buttons { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 3px solid var(--charcoal); }
.tab-btn {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  padding: 13px 26px; border: 0; background: var(--bg-grey); color: var(--charcoal);
}
.tab-btn.active { background: var(--charcoal); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 { margin: 26px 0 10px; }
.tab-panel h3:first-child { margin-top: 0; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--charcoal); color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
tbody tr:nth-child(even) { background: var(--bg-grey); }
.fees-table th:not(:first-child), .fees-table td:not(:first-child) { text-align: center; }
tr:last-child td { border-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; height: 230px; object-fit: cover; border-bottom: 4px solid var(--red); }
.gallery-item figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; text-transform: uppercase; font-family: var(--font-head); letter-spacing: 1px; }

/* ---------- Contact / maps ---------- */
.contact-block:nth-child(even) { background: var(--bg-grey); }
.contact-block, section[id] { scroll-margin-top: 120px; }
.map-wrap { overflow: hidden; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }
.contact-block .phones a { display: inline-block; font-weight: 700; font-size: 1.05rem; margin: 2px 0; }

/* ---------- Signature ---------- */
.signature-section { padding: 20px 0 64px; }
.signature { text-align: right; font-size: 1rem; color: var(--muted); }
.signature strong {
  display: block; font-family: var(--font-head); text-transform: uppercase;
  font-size: 1.35rem; color: var(--charcoal); margin-top: 6px; letter-spacing: 1px;
}
.signature span { display: block; font-size: .88rem; color: var(--red); font-weight: 600; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background:
    linear-gradient(rgba(200,16,46,.92), rgba(157,11,35,.95)),
    var(--charcoal); color: #fff; padding: 58px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: #ffd7de; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #b9bdc4; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand .brand-text { color: #fff; }
.footer-about p { margin-top: 14px; font-size: .92rem; }
.footer-station h4 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.footer-station p { font-size: .9rem; margin-bottom: 6px; }
.footer-station a { color: #ff5a72; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .85rem;
}
.footer-bottom a { color: #b9bdc4; }

/* ---------- Misc ---------- */
#toTop {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px;
  border: 0; background: var(--red); color: #fff; font-size: 1.2rem; font-weight: 800;
  cursor: pointer; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); z-index: 90;
}
#toTop.show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4, .grid-3, .gallery, .station-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { height: 300px; clip-path: none; }
  .hero-slider { height: 300px; clip-path: none; }
  .hero-slider .slide { height: 100%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
}
@media (max-width: 760px) {
  .topbar-hours { display: none; }
  .topbar-social { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 110px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 14px 20px 22px; gap: 2px; border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow); display: none; max-height: calc(100vh - 110px); overflow-y: auto; z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .dropdown-toggle { padding: 13px 10px; font-size: 1rem; width: 100%; text-align: left; border-bottom: 0; }
  .dropdown-menu { position: static; box-shadow: none; }
  .grid-3, .grid-4, .gallery, .footer-grid, .station-grid, .stats-inner { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 46px; padding-bottom: 46px; }
  .section { padding: 46px 0; }
  .fees-table th, .fees-table td { padding: 8px 6px; font-size: .78rem; }
  .fees-table th { letter-spacing: 0; }
  .service-row { grid-template-columns: 56px 1fr; }
}
