@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800;900&family=Exo+2:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ── VARIABLES ── */
:root {
  --dg-primary:   #375EFB;
  --dg-gold:      #c9a84c;
  --dg-steel:     #b0c4de;
  --dg-dark:      #07080c;
  --dg-font-head: 'Orbitron', sans-serif;
  --dg-font-body: 'Exo 2', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--dg-font-body);
  font-weight: 600;
  background-image: linear-gradient(180deg, rgba(4,5,9,0.78) 0%, rgba(4,5,9,0.55) 40%, rgba(4,5,9,0.85) 100%), url('../images/Site_Backgorund.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: var(--dg-dark);
  color: #cdd8f0;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dg-dark); }
::-webkit-scrollbar-thumb { background: var(--dg-primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--dg-gold); }

::selection { background: var(--dg-primary); color: #fff; }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: rgba(7, 8, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(55, 94, 251, 0.28);
  box-shadow: 0 2px 30px rgba(0,0,0,0.65);
  transition: background-color 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 38px;
  width: auto;
  transition: opacity 0.3s, transform 0.3s;
}
.header-logo img:hover { opacity: 0.85; transform: scale(1.04); }

/* ── NAV ── */
nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav ul li a {
  font-family: var(--dg-font-head);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cdd8f0;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--dg-primary), var(--dg-gold));
  transition: width 0.3s ease;
  border-radius: 2px;
}
nav ul li a:hover,
nav ul li a.active { color: #fff; }
nav ul li a:hover::after,
nav ul li a.active::after { width: 100%; }

/* ── ADMIN NAV LINK (ορατό μόνο σε συνδεδεμένους admin/author) ── */
nav ul li a.admin-nav-link {
  border: 1px solid rgba(176,196,222,0.45);
  border-radius: 999px;
  padding: 8px 14px;
  color: #b0c4de;
}
nav ul li a.admin-nav-link:hover { color: #fff; border-color: rgba(255,255,255,0.8); }
nav ul li a.admin-nav-link::after { display: none; }

/* ── FOOTER LOGIN (διακριτικό link "Είσοδος Μελών") ── */
.footer-login-row { text-align: center; margin-top: 8px; }
.footer-login {
  font-size: 0.68rem;
  color: rgba(176,196,222,0.3);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-login:hover { color: #b0c4de; }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #cdd8f0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MAIN ── */
main {
  flex: 1;
  animation: dgFadeIn 0.5s ease both;
}
@keyframes dgFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER ── */
footer {
  background: rgba(5, 6, 10, 0.97);
  border-top: 1px solid rgba(55, 94, 251, 0.25);
  padding: 40px 28px 20px;
  text-align: center;
}
footer p {
  font-family: var(--dg-font-body);
  font-size: 0.82rem;
  color: rgba(176, 196, 222, 0.55);
  letter-spacing: 0.05em;
}
footer strong { color: rgba(176, 196, 222, 0.7); }

.footer-inner {
  max-width: 1000px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
  align-items: start;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 10px; filter: drop-shadow(0 0 14px rgba(55,94,251,0.3)); }
.footer-slogan {
  font-family: var(--dg-font-head);
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.85) !important;
}
.footer-heading {
  font-family: var(--dg-font-head);
  font-size: 0.66rem !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(176, 196, 222, 0.45) !important;
  margin-bottom: 12px;
}
.footer-col a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--dg-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(205, 216, 240, 0.75);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-col a svg { flex-shrink: 0; color: #1877F2; }
.footer-copy {
  border-top: 1px solid rgba(55, 94, 251, 0.12);
  padding-top: 16px;
}

/* ── BACK TO HOME (inner pages) ── */
.dg-back-home {
  position: fixed;
  top: 80px; left: 20px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(176, 196, 222, 0.7);
  font-family: var(--dg-font-head);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(7, 8, 12, 0.82);
  border: 1px solid rgba(55, 94, 251, 0.25);
  border-radius: 4px;
  padding: 7px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color 0.2s, border-color 0.2s;
}
.dg-back-home:hover {
  color: #cdd8f0;
  border-color: rgba(55, 94, 251, 0.55);
}

/* ── BUTTONS ── */
.dg-btn {
  font-family: var(--dg-font-head);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 5px;
  background: linear-gradient(135deg, #375EFB, #1a3fd4);
  border: 1px solid rgba(55, 94, 251, 0.5);
  box-shadow: 0 4px 15px rgba(55, 94, 251, 0.3);
  color: #fff;
  padding: 11px 26px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(55, 94, 251, 0.55);
  color: #fff;
}
.dg-btn-outline {
  background: transparent;
  border-color: rgba(55, 94, 251, 0.45);
  color: rgba(176, 196, 222, 0.8);
  box-shadow: none;
}
.dg-btn-outline:hover {
  background: rgba(55, 94, 251, 0.1);
  color: #cdd8f0;
}

/* ── CONTACT FORM (shared) ── */
.dg-contact-form { display: flex; flex-direction: column; gap: 12px; }
.dg-form-row { display: flex; gap: 12px; }
.dg-form-row .dg-input { flex: 1; }

.dg-input {
  background: rgba(55, 94, 251, 0.06);
  border: 1px solid rgba(55, 94, 251, 0.22);
  border-radius: 5px;
  padding: 11px 15px;
  color: #cdd8f0;
  font-family: var(--dg-font-body);
  font-weight: 600;
  font-size: 0.88rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  outline: none;
}
.dg-input:focus { border-color: rgba(55, 94, 251, 0.55); }
.dg-input::placeholder { color: rgba(176, 196, 222, 0.6); }

.dg-field-label {
  display: block;
  text-align: left;
  font-family: var(--dg-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(205, 216, 240, 0.85);
  margin-bottom: 6px;
}
.dg-form-field { flex: 1; min-width: 0; }
.dg-textarea { resize: vertical; min-height: 110px; }

.dg-submit-btn {
  font-family: var(--dg-font-head);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #cdd8f0;
  background: linear-gradient(135deg, rgba(55,94,251,0.28), rgba(55,94,251,0.12));
  border: 1px solid rgba(55, 94, 251, 0.4);
  border-radius: 5px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  align-self: center;
}
.dg-submit-btn:hover {
  background: linear-gradient(135deg, rgba(55,94,251,0.5), rgba(55,94,251,0.28));
  box-shadow: 0 4px 20px rgba(55, 94, 251, 0.3);
}
.dg-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.dg-form-note {
  font-family: var(--dg-font-body);
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 18px;
  text-align: center;
}

/* ── SECTION HELPERS ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── SERVICES ── */
.dg-services {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.dg-service-card {
  flex: 1 1 260px;
  background: rgba(7, 8, 20, 0.5);
  border: 1px solid rgba(55, 94, 251, 0.18);
  border-radius: 10px;
  padding: 32px 26px;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.dg-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 94, 251, 0.5);
  box-shadow: 0 8px 28px rgba(55, 94, 251, 0.18);
}
.dg-svc-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.dg-svc-title {
  font-family: var(--dg-font-head);
  font-size: 0.82rem;
  font-weight: 900;
  color: #cdd8f0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
  text-shadow: 0 0 18px rgba(176,196,222,0.2);
}
.dg-svc-text {
  font-family: var(--dg-font-body);
  font-size: 0.88rem;
  color: rgba(176, 196, 222, 0.6);
  line-height: 1.7;
}

/* ── QUOTE ── */
.dg-quote-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55,94,251,0.35), transparent);
  margin: 0 auto 30px;
}
blockquote.dg-quote {
  margin: 0 0 30px;
  border: none;
  padding: 0;
}
.dg-quote p {
  font-family: var(--dg-font-body);
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(205, 216, 240, 0.75);
  font-style: italic;
  margin: 0 0 18px;
}
.dg-quote cite {
  font-family: var(--dg-font-head);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.18em;
  color: rgba(55, 94, 251, 0.8);
  text-transform: uppercase;
}

/* ── LANGUAGE SWITCHER ── */
[data-lang=el] .lang-en { display: none !important; }
[data-lang=en] .lang-el { display: none !important; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 20px;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--dg-font-head);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: none;
  border: none;
  color: rgba(176,196,222,0.38);
  cursor: pointer;
  padding: 2px 3px;
  transition: color 0.2s;
  line-height: 1;
}
.lang-btn.active { color: #cdd8f0; }
.lang-btn:hover  { color: rgba(176,196,222,0.75); }
.lang-sep { color: rgba(176,196,222,0.18); font-size: 0.58rem; line-height: 1; }

/* ── VIDEO ── */
.dg-video-wrap {
  padding: 60px 28px;
  border-top: 1px solid rgba(55,94,251,0.1);
  border-bottom: 1px solid rgba(55,94,251,0.1);
}
.dg-video-wrap video {
  display: block;
  margin: 0 auto;
  max-width: 55%;
  max-height: 380px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(55,94,251,0.15);
  box-shadow: 0 0 16px rgba(55,94,251,0.08), 0 4px 14px rgba(0,0,0,0.35);
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 70px 28px;
  border-top: 1px solid rgba(55,94,251,0.12);
}
.about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-label {
  font-family: var(--dg-font-head);
  font-size: 0.7rem;
  font-weight: 900;
  color: rgba(176,196,222,0.35);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}
.about-text {
  font-family: var(--dg-font-body);
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(205,216,240,0.75);
  background: rgba(5,7,14,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(55,94,251,0.12);
  border-radius: 8px;
  padding: 28px 36px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(7, 8, 12, 0.97);
    border-bottom: 1px solid rgba(55, 94, 251, 0.28);
    padding: 16px 24px;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 16px; }
  .dg-back-home { font-size: 0.55rem; padding: 6px 10px; top: 70px; }
  .dg-form-row { flex-direction: column; }
  .dg-services { flex-direction: column; }
  .dg-video-wrap video { max-width: 100%; }
  .about-text { padding: 22px 20px; font-size: 0.92rem; }
}
