/* Minimal (Google-like) UI — ARQ / farmakeio360
   - clean whites, subtle borders
   - Roboto system feel
   - accessible focus states
*/

:root{
  --bg: #6f7a5d;          /* luxury olive-tinted background */
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #6b6f63;
  --border: #e2e4dc;
  --shadow: 0 1px 2px rgba(40,50,40,.12), 0 1px 3px rgba(40,50,40,.08);
  --shadow-hover: 0 6px 16px rgba(40,50,40,.18);
  --primary: #6b7f3b;     /* olive green */
  --primary-hover: #5a6c32;
  --radius: 16px;
  --maxw: 1080px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }

body{
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; }
img{ max-width: 100%; display:block; }

.container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
nav{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  padding: 12px 0;
}

nav a{
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

nav a:hover{
  background: #f1f3f4;
  color: var(--text);
}

nav a.active{
  color: var(--primary);
  background: rgba(26,115,232,.08);
}

/* Hero */
header#home{
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.hero{
  text-align: center;
  padding: 0 0 10px;
}

.hero h1{
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.hero p{
  margin: 0 auto;
  max-width: 900px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
}

.actions{
  margin-top: 24px;
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration:none;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.button:hover{
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.button.secondary{
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.button.secondary:hover{
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* Sections */
section{
  padding: 44px 0;
  scroll-margin-top: 110px;
}

.section-title{
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.2px;
  text-align: center;
}

.section-subtitle{
  margin: 0 auto 18px;
  max-width: 900px;
  text-align: center;
  color: var(--muted);
}

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 26px;
}

.card + .card{ margin-top: 18px; }

/* Services grid */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-box{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 18px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: none;
  text-align: left;
}

.service-box:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #d2d6dc;
}

.service-box h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.1px;
  color: var(--text);
  text-align: left;
}

.service-box p{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Projects / gallery */
.gallery-top{
  display:flex;
  justify-content:center;
  margin: 10px 0 18px;
}

.glider-contain{
  position: relative;
}

.glider-prev, .glider-next{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor:pointer;
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
  z-index: 10;
}

.glider-prev:hover, .glider-next:hover{
  background: #f8f9fa;
  box-shadow: var(--shadow-hover);
  transform: translateY(-50%) scale(1.02);
}

.glider-prev{ left: -12px; }
.glider-next{ right: -12px; }

#dots{
  margin-top: 10px;
  text-align:center;
}

.glider-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #dadce0;
  margin: 0 4px;
}
.glider-dot.active{ background: var(--primary); }

/* Footer */
footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: #f5f6f2;   /* ανοιχτό off-white για να φαίνεται */
  font-size: 13px;
  text-align:center;
}

/* Scroll to top button */
#scrollTopBtn{
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor:pointer;
  box-shadow: var(--shadow);
  display:none;
  z-index: 999;
}

#scrollTopBtn:hover{
  box-shadow: var(--shadow-hover);
  background: #f8f9fa;
}

/* Modal (match minimal style) */
.modal{
  display:none;
  position:fixed;
  z-index: 999999;
  inset: 0;
  background-color: rgba(32,33,36,.72);
}

.modal-content{
  background-color: #fff;
  margin: 28px auto;
  padding: 18px;
  border: 1px solid var(--border);
  width: min(1200px, 94vw);
  border-radius: var(--radius);
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: var(--shadow-hover);
}

.closeModal{
  color: var(--muted);
  position:absolute;
  right: 16px;
  top: 10px;
  font-size: 28px;
  font-weight: 400;
  cursor:pointer;
}

.modal h3{
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.grid-gallery{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 10px 0 18px;
}

.grid-gallery img, .glider-slide img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor:pointer;
  padding: 0;
  transition: transform .15s ease, box-shadow .15s ease;
  background: #fff;
}

.grid-gallery img:hover, .glider-slide img:hover{
  transform: scale(1.01);
  box-shadow: var(--shadow);
}

/* Focus visibility */
:focus-visible{
  outline: 3px solid rgba(26,115,232,.35);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 980px){
  .services-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .glider-prev{ left: -6px; }
  .glider-next{ right: -6px; }
}

@media (max-width: 640px){
  .nav-inner{ justify-content: flex-start; overflow-x:auto; }
  nav a{ white-space: nowrap; }
  header#home{ padding: 54px 0 28px; }
  .card{ padding: 18px; }
  .services-grid{ grid-template-columns: 1fr; }
  .grid-gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Centered contact section */
#contact .card{
  text-align: center;
}

#contact p,
#contact a{
  display: block;
  margin: 6px 0;
  font-size: 15px;
}

#contact a{
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

#contact a:hover{
  text-decoration: underline;
}

/* Contact section refinements */
#contact .actions{
  margin-top: 18px;
}

#contact .button{
  background-color: var(--primary);
  color: #ffffff;          /* 👈 αυτό λύνει το πρόβλημα */
  width: auto;
  display: inline-flex;
  padding: 10px 18px;
  font-size: 14px;
  border: none;
}

#services{
  padding-top: 90px;   /* ίδιο με τα άλλα */
}

#contact .button.secondary{
  display: inline-flex;
}

/* Prevent buttons from stretching */
#contact .actions{
  align-items: center;
}

#contact .actions a{
  display: flex;
  justify-content: center;
}
#contact{
  padding-bottom: 120px;          /* δίνει χώρο μέσα στο section */
  min-height: calc(100vh - 90px); /* ώστε να υπάρχει πάντα αρκετό ύψος */
}
