/* =====================
   FG Family Group CSS
   Apple-style, Mobile First
   ===================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E8780A;
  --dark: #1d1d1f;
  --mid: #6e6e73;
  --light-bg: #f5f5f7;
  --white: #ffffff;
  --radius-pill: 980px;
  --radius-card: 18px;
  --nav-height: 56px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--dark); background: var(--white);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}

h1 { font-size: clamp(36px, 8vw, 64px); font-weight: 600; letter-spacing: -2px; line-height: 1.05; }
h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 600; letter-spacing: -1.5px; }
h3 { font-size: 18px; font-weight: 500; }
p  { font-weight: 400; }
.orange { color: var(--orange); }
.white  { color: var(--white); }

/* ========== BUTTONS ========== */
.btn-pill {
  display: inline-block; padding: 13px 28px;
  border-radius: var(--radius-pill); font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none; font-family: inherit;
  white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.3s ease, background 0.2s ease;
}
.btn-orange { background: var(--orange); color: #fff; animation: pulse 2.5s infinite; }
.btn-orange:hover { transform: scale(1.07); box-shadow: 0 0 24px rgba(232,120,10,0.65); animation: none; }
.btn-orange:active { transform: scale(0.97); }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,120,10,0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(232,120,10,0); }
}
.btn-outline { background: transparent; color: var(--orange); border: 1.5px solid var(--orange); transition: box-shadow 0.2s, transform 0.2s, background 0.2s, color 0.2s; }
.btn-outline:hover { box-shadow: 0 0 18px rgba(232,120,10,0.6); transform: scale(1.04); background: var(--orange); color: #fff; }
.btn-outline:active { transform: scale(0.97); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

/* ========== NAVBAR ========== */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(29,29,31,0.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  height: var(--nav-height);
}
.nav-inner { max-width: 1100px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; color: #fff; text-decoration: none; flex-shrink: 0; }
.nav-logo b { color: var(--orange); }
.nav-links { display: flex; gap: 24px; list-style: none; margin-left: auto; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none; display: inline-block; transition: color 0.2s, transform 0.2s; }
.nav-links a:hover { color: var(--orange); transform: translateY(-4px); }
.nav-cta { margin-left: 16px; font-size: 13px; padding: 8px 18px; background: transparent; color: var(--orange); border: 1.5px solid var(--orange); position: relative; overflow: hidden; transition: color 0.3s; }
.nav-cta::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--orange); transition: left 0.3s ease; z-index: 0; }
.nav-cta:hover::before { left: 0; }
.nav-cta:hover { color: #fff; }
.nav-cta span { position: relative; z-index: 1; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero { background: var(--white); text-align: center; padding-top: 16px; }
.hero-image { width: 100%; max-width: 1400px; height: auto; object-fit: contain; display: block; margin: 0 auto; }
.hero-buttons { padding: 36px 24px 48px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; background: var(--white); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.hero-sub { font-size: 17px; color: var(--mid); max-width: 520px; margin: 20px auto 0; line-height: 1.65; }

/* ========== SECTIONS ========== */
.section { padding: 80px 24px; }
.bg-light { background: var(--light-bg); }
.bg-white { background: var(--white); }
.bg-dark  { background: var(--dark); }
.container { max-width: 1000px; margin: 0 auto; text-align: center; }
.section-title { margin-bottom: 10px; }
.section-sub { font-size: 17px; color: var(--mid); margin-bottom: 48px; }

/* ========== SERVICE CARDS ========== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: var(--radius-card); padding: 30px 22px; border: 0.5px solid rgba(0,0,0,0.08); text-align: center; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.card-icon { width: 52px; height: 52px; background: #fff3e0; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; color: var(--dark); }
.card p  { font-size: 14px; color: var(--mid); line-height: 1.55; }

/* ========== STATS ========== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.stat-card { background: var(--light-bg); border-radius: 16px; padding: 28px 16px; text-align: center; }
.stat-num  { font-size: 38px; font-weight: 600; color: var(--orange); letter-spacing: -2px; line-height: 1; }
.stat-label { font-size: 13px; color: var(--mid); margin-top: 6px; }

/* ========== GALLERY SLIDER ========== */
.gallery-wrap { position: relative; }

.gallery-counter {
  font-size: 13px; color: var(--mid);
  text-align: right; margin-bottom: 12px;
}
.gallery-counter span { font-weight: 500; color: var(--orange); }

.gallery-stage {
  display: flex; align-items: center; gap: 12px;
}

/* Το viewport κρύβει ό,τι βγαίνει έξω */
.gallery-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 18px;
  /* Σημαντικό: καθορίζει το πλάτος αναφοράς */
  width: 0;
}

/* Track — flex χωρίς gap ώστε κάθε slide = ακριβώς 100% viewport */
.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

/* Κάθε slide = ακριβώς 100% του viewport */
.gallery-slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Φωτογραφία — φυσικό μέγεθος, hover zoom */
.gallery-photo {
  width: 100%;
  max-width: 680px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--light-bg);
  cursor: zoom-in;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-photo:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.16);
}
.gallery-photo img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 560px;
  object-fit: contain;
  background: #f5f5f7;
}

.gallery-caption {
  font-size: 14px; color: var(--mid);
  margin-top: 14px; text-align: center;
}

.gallery-btn {
  background: var(--orange); color: #fff; border: none;
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  font-size: 26px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}
.gallery-btn:hover { transform: scale(1.1); }
.gallery-btn:disabled { opacity: 0.2; cursor: default; transform: none; }

.gallery-dots {
  display: flex; gap: 6px; justify-content: center;
  flex-wrap: wrap; margin-top: 24px;
}
.gallery-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,0,0,0.15); cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.gallery-dots span.on { background: var(--orange); width: 22px; border-radius: 4px; }

/* ========== CONTACT INFO ========== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 800px; margin: 0 auto 48px; }
.contact-card { background: rgba(255,255,255,0.06); border: 0.5px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 22px 24px; display: flex; align-items: center; gap: 14px; text-decoration: none; transition: background .2s; }
.contact-card:hover { background: rgba(255,255,255,0.1); }
.contact-icon { width: 40px; height: 40px; flex-shrink: 0; background: rgba(232,120,10,0.14); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-info { display: flex; flex-direction: column; text-align: left; }
.contact-label { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 3px; }
.contact-val   { font-size: 13px; color: #fff; font-weight: 500; word-break: break-word; }

/* ========== FOOTER ========== */
footer { background: #000; padding: 22px 24px; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
footer p { font-size: 12px; color: rgba(255,255,255,0.35); }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: var(--orange); }

/* ========== MOBILE ========== */
@media (max-width: 700px) {
  .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(29,29,31,0.97); backdrop-filter: blur(20px); border-bottom: 0.5px solid rgba(255,255,255,0.08); padding: 12px 0; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 28px; font-size: 15px; color: rgba(255,255,255,0.8); }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  #navbar { position: relative; }
  .section { padding: 60px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-btn { width: 36px; height: 36px; font-size: 20px; }
  .gallery-photo:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
  .gallery-photo img { max-height: 420px; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}