/* ===== Theme ===== */
:root{
  --bg:#f6f7f8;
  --text:#16181b;
  --muted:#6b7280;
  --brand:#0ea5b7;
  --brand-dark:#121212;
  --panel:#ffffff;
  --hover:#0b7b88;
  --radius:14px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  scrollbar-gutter: stable;
}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
.container{width:min(1100px,92%);margin-inline:auto;}

/* ===== Topbar / Nav ===== */
.topbar{background:var(--brand-dark);position:sticky;top:0;z-index:50;}
.navwrap{display:flex;align-items:center;gap:1rem;min-height: 90px;padding: 0}
.brand{display: flex; align-items: center;color:#fff;font-weight:800;gap: 0.6rem;letter-spacing:.2px;text-decoration:none}
.brand-logo{height: 80px; width: auto; display: block;}
.brand-text{font-size: 1.15rem; white-space: nowrap;}



.nav{margin-left:auto;display:flex;gap:.4rem;align-items:center}
.nav a{color:#fff;text-decoration:none;padding:.6rem .9rem;border-radius:10px;
  transition:background .2s ease}
.nav a:hover{background:var(--hover)}
.nav a.active{background:var(--brand);color:#fff}

.burger{display:none;margin-left:auto;background:none;border:0;cursor:pointer}
.burger span{display:block;width:24px;height:2px;background:#fff;margin:5px 0}

/* ===== Image ===== */

.hero-full {
  width: 100%;
  height: 47vh;       
  overflow: hidden;
}

.hero-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Perfect crop */
  object-position: center; /* Center the important part */
  display: block;
}


/* ===== Cards & sections ===== */
.card{
  background:var(--panel);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:1.2rem 1.4rem;
}
.about{margin:1.2rem auto}
.about h1{margin:.2rem 0 .6rem;font-size:clamp(1.4rem,1.2rem + 1.5vw,2rem)}
.about p{margin:0;color:#1f2937}
.about-actions{margin-top:1rem;display:flex;gap:.6rem;flex-wrap:wrap}

.btn{
  display:inline-block;background:var(--brand);color:#fff;border:0;border-radius:10px;
  padding:.65rem .95rem;text-decoration:none;font-weight:700;transition:filter .15s;
}
.btn:hover{filter:brightness(.95)}
.btn.ghost{background:#e9f7f9;color:#0b5e6c}

.quickgrid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:1rem auto 2rem;
}
h3{margin-top:0}

/* ===== Footer ===== */
.footer{background:#0f0f10;color:#cfcfcf;font-size:0.9rem;padding:1.2rem 0;margin-top:auto}
.footer .container{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;   
  flex-wrap:wrap;      
}

/* ===== Lists ===== */
ul{margin:.4rem 0 0 1.2rem}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .quickgrid{grid-template-columns:1fr;}
  .navwrap{position: relative;}
  .brand{font-size:0.95rem;max-width:75%;line-height:1.3;}
  .brand-logo{height: 64px;}


  .burger{display:block;margin-left:auto;}
  .hero-full {
    width: 100%;
    height: 47vh;       
    overflow: hidden;
  }

  .hero-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    object-position: 75% center;
    display: block;
  }

    
  .nav{
    position:absolute;
    left:-5%;
    right:-5%;
    top:100%;
    background:#151515;
    /* ---- don't hide with display:none ---- */
    flex-direction:column;
    padding:.6rem 1rem 1rem;
    border-bottom-left-radius: 8%;
    border-bottom-right-radius: 8%;

    /* hidden state */
    opacity: 0;
    transform: translateY(-5px);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;

    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      max-height 0.35s ease;
  }

  .nav.open{
    /* visible state */
    opacity: 1;
    transform: translateY(0);
    max-height: 400px;   /* αρκετό ύψος για τα links */
    pointer-events: auto;
  }
}

/* ===== Company page layout ===== */
.company-page{ padding:1.5rem 0 2.5rem;}
.company-page h1{ margin:1rem 0 .5rem; font-size:clamp(1.5rem,1.2rem + 1.2vw,2.1rem);}
.company-page .card{ margin-bottom: 1.5rem;}
.company-page .card:last-of-type{ margin-bottom: 0.05;}
.company-intro{ margin:0 0 1.5rem; color:var(--muted);}


/* section titles inside cards */
.section-title{
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 0 0 .9rem;
  padding-bottom: .2rem;              /* space before the line */
  border-bottom: 2px solid #00000020; /* soft black line (20% opacity) */
}

.card-title{
  color: var(--te);
  margin: 0 0 .9rem;
  padding-bottom: .2rem;              /* space before the line */
  border-bottom: 2px solid #00000020; /* soft black line (20% opacity) */
}

/* ===== Definition list grid (infos) ===== */
.infos{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:1.5rem;
  row-gap:.5rem;
  margin:0;
}
.infos div{display:contents;}
.infos dt{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);}
.infos dd{margin:0 0 .15rem;font-weight:600;color:var(--text);}

/* back link */
.backlink{margin:1.5rem 0 0;}
.backlink a{text-decoration:none;color:var(--brand);}
.backlink a:hover{text-decoration:underline;}

/* responsive: stack infos on small screens */
@media (max-width: 700px){
  .infos{
    grid-template-columns:1fr;
  }
}
