/* =========================================
   RESET & BASICS
   ========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #050814;
  --color-bg-soft: #0b1020;
  --color-surface: #0f172a;
  --color-surface-soft: #111827;
  --color-accent: #fbbf24;
  --color-accent-soft: rgba(251, 191, 36, 0.15);
  --color-text: #e5e7eb;
  --color-text-soft: #9ca3af;
  --color-border: rgba(148, 163, 184, 0.3);

  --header-height: 76px;
  --header-min-height: 64px;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
  color: var(--color-text);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden !important;
}

/* =========================================
   HEADER / NAV
   ========================================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  line-height: var(--header-height);
  background: linear-gradient(to right, #020617cc, #020617ee);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  z-index: 1000;
  transition:
    height 0.25s ease,
    line-height 0.25s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

header.scrolled {
  height: var(--header-min-height);
  line-height: var(--header-min-height);
  background: #020617ee;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fbbf24, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.55);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #fbbf24, #f97316);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #fbbf24;
}

.nav-links a:hover::after {
  width: 100%;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
  display: none;
  font-size: 1.9rem;
  cursor: pointer;
  color: var(--color-text-soft);
}

/* =========================================
   HERO
   ========================================= */
.section {
  scroll-margin-top: 120px;
}

.hero {
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, #1e293b 0, transparent 40%),
    radial-gradient(circle at bottom right, #0b1120 0, #020617 60%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

/* LEFT SIDE */
.hero-text-block {
  max-width: 620px;
}

.hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  color: #f9fafb;
}

.highlight {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--color-text-soft);
  max-width: 540px;
  margin-bottom: 1.7rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(to right, #fbbf24, #f97316);
  color: #020617;
  box-shadow:
    0 14px 35px rgba(15, 23, 42, 0.85),
    0 0 26px rgba(251, 191, 36, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 32px rgba(251, 191, 36, 0.85);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-soft);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
  border-color: #fbbf24;
  color: #fbbf24;
  transform: translateY(-1px);
}

/* HERO META */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.hero-meta-item {
  padding-left: 0.7rem;
  border-left: 2px solid rgba(148, 163, 184, 0.5);
}

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-soft);
}

.meta-value {
  display: block;
  font-size: 0.92rem;
  color: #e5e7eb;
  font-weight: 500;
}

/* RIGHT SIDE */
.hero-side-card {
  background: linear-gradient(145deg, #020617, #020817, #020617);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.2rem;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.9),
    0 0 26px rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-image-wrapper {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-image-wrapper img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.hero-side-info h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.hero-side-info ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--color-text-soft);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

.hero-side-info li::before {
  content: "• ";
  color: var(--color-accent);
}

/* =========================================
   GENERAL PAGE WRAPPER
   ========================================= */
.page-wrapper {
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #020617 100%);
}

/* =========================================
   ABOUT
   ========================================= */
.section.about-section {
  padding: 100px 1.5rem 80px;
}

.about-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: flex-start;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.7rem;
}

.about-text h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: #f9fafb;
  margin-bottom: 0.7rem;
}

.about-lead {
  font-size: 0.96rem;
  color: var(--color-text-soft);
  margin-bottom: 0.8rem;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--color-text-soft);
}

.about-text p + p {
  margin-top: 0.6rem;
}

.about-list {
  margin-top: 1rem;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-bottom: 0.45rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.about-badges {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

/* RIGHT SIDE – panel */
.about-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-image-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.about-image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.about-image-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  color: var(--color-text);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Stats grid */
.about-stats-grid {
  display: grid;
  /* κάθε κουτί min 170px, αλλιώς σπάει σε 2η / 3η σειρά */
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
}


.stat-card {
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-radius: 16px;
  padding: 0.8rem 1rem;       /* λίγο μεγαλύτερο padding */
  border: 1px solid rgba(148, 163, 184, 0.4);
  min-height: 90px;           /* λίγο πιο ψηλά κουτάκια */
  overflow-wrap: break-word;  /* αν μια λέξη είναι τεράστια, να σπάει */
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  line-height: 1.3;
  white-space: normal;        /* σιγουρεύει ότι σπάει σε 2 γραμμές */
}


.stat-value {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: #f9fafb;
  font-weight: 600;
}

/* Services strip */
.services-strip {
  max-width: 1200px;
  margin: 2.4rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1rem 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  border-color: rgba(251, 191, 36, 0.75);
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fbbf24, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.service-card h3 {
  font-size: 0.98rem;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

/* =========================================
   CONTACT
   ========================================= */
.section.contact-section {
  padding: 90px 1.5rem 80px;
  background: radial-gradient(circle at top, #020617 0, #020617 55%, #020617 100%);
}

.section.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.8rem;
  color: #f9fafb;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.contact-item {
  display: flex;
  gap: 0.85rem;
}

.contact-badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(to right, #fbbf24, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #020617;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 0.95rem;
  color: #fbbf24;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.contact-link {
  color: #e5e7eb;
  text-decoration: none;
}

.contact-link:hover {
  color: #fbbf24;
}

/* Map */
.contact-map-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  background: #020617;
  height: 100%;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
}

/* =========================================
   Γ.Ε.ΜΗ.
   ========================================= */
.section.gemi-section {
  padding: 90px 1.5rem 90px;
  background: #020617;
}

.section.gemi-section h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #f9fafb;
  max-width: 1200px;
  margin-inline: auto;
}

.gemi-intro {
  max-width: 1200px;
  margin: 0 auto 1.6rem;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}

.gemi-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.gemi-card {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  padding: 1.6rem 1.6rem;
}

.gemi-card h3 {
  font-size: 1rem;
  color: #fbbf24;
  margin-bottom: 0.9rem;
}

/* Πίνακες */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.8);
  border-radius: 999px;
}

.gemi-table {
  min-width: 600px;
  border-collapse: collapse;
}

.gemi-table th,
.gemi-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
  font-size: 0.88rem;
}

.gemi-table th {
  background: #020617;
  color: #e5e7eb;
  width: 32%;
  text-align: left;
  font-weight: 500;
}

.gemi-table td {
  color: var(--color-text-soft);
}

/* Πίνακες με κεφαλίδες */
.gemi-table-partners thead th,
.gemi-table-activities thead th {
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: #020617;
  font-size: 0.88rem;
}

.gemi-table-partners tbody td,
.gemi-table-activities tbody td {
  background: #020617;
}

.gemi-table-partners tbody tr:nth-child(even),
.gemi-table-activities tbody tr:nth-child(even) {
  background: #020617;
}

.gemi-note {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-up,
.fade-down,
.fade-left,
.fade-right {
  opacity: 0;
}

.fade-up {
  transform: translateY(100px);
}

.fade-down {
  transform: translateY(-100px);
}

.fade-left {
  transform: translateX(-100px);
}

.fade-right {
  transform: translateX(100px);
}

.fade-up.show,
.fade-down.show,
.fade-left.show,
.fade-right.show {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    transform 1s cubic-bezier(0.16, 0.84, 0.44, 1),
    opacity 0.9s ease;
}

/* =========================================
   MOBILE MENU
   ========================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 72%;
  max-width: 320px;
  height: 100vh;
  background: #020617f0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e5e7eb;
  padding: 1.6rem 1.4rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 0 40px rgba(15, 23, 42, 0.9);
  transition: left 0.3s ease;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-menu-header button {
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.mobile-menu-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.98rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
  color: #fbbf24;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1.3fr 1.1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-panel {
    max-width: 520px;
    margin-top: 0.6rem;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gemi-section {
    padding-top: 80px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-side-card {
    order: -1;
  }

  .hero {
    padding-top: 100px;
  }

  .section.about-section {
    padding-top: 80px;
  }

  .services-strip {
    grid-template-columns: 1fr;
  }

  .gemi-table {
    min-width: 540px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .section.about-section,
  .section.contact-section,
  .section.gemi-section {
    padding-inline: 1rem;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-strip {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.9rem;
  }
}


/* Αποτροπή δημιουργίας επιπλέον scroll από τα fade animations */
.fade-up,
.fade-down,
.fade-left,
.fade-right {
  will-change: opacity, transform;
  transform: none !important;     /* αρχικά χωρίς μετατόπιση */
}

.fade-up.show,
.fade-down.show,
.fade-left.show,
.fade-right.show {
  transform: none !important;      /* το animation μόνο με opacity */
  opacity: 1 !important;
  transition: opacity 0.8s ease;
}
