/* Γενικά Στυλ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #faf6f1;
  line-height: 1.6;
}

/* HEADER */
header.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5e9da;
  padding: 15px 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo h1 {
  color: #b85c00;
  font-size: 1.6rem;
}

.logo p {
  color: #666;
  font-size: 0.9rem;
}

nav a {
  text-decoration: none;
  color: #333;
  margin-left: 25px;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #b85c00;
}

.btn {
  background-color: #b85c00;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #8e4600;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-image 1s ease-in-out;
}
.hero {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-image 1s ease-in-out, opacity 1s ease-in-out;
}

.hero.fade {
  opacity: 0.4;
}


.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}


.hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  padding: 20px;
  z-index: 1;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.link {
  color: #f5e9da;
  font-weight: 600;
  transition: color 0.3s;
}

.link:hover {
  color: #ffb56b;
}

/* ΥΠΗΡΕΣΙΕΣ */
.services {
  padding: 70px 40px;
  text-align: center;
  background-color: #fff;
}

.services h3 {
  color: #b85c00;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #faf6f1;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card img {
  width: 80px;
  margin-bottom: 15px;
}

.service-card h4 {
  color: #b85c00;
  margin-bottom: 10px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* PROJECTS */
.projects {
  padding: 70px 40px;
  background-color: #f5e9da;
  text-align: center;
}

.projects h3 {
  color: #b85c00;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 projects ανά σειρά σε desktop */
  gap: 25px;
}

@media (max-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 projects ανά σειρά σε laptop/tablet οριζόντιο */
  }
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 projects ανά σειρά σε tablet */
  }
}

@media (max-width: 600px) {
  .project-grid {
    grid-template-columns: 1fr; /* 1 project ανά σειρά σε κινητό */
  }
}


.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.project-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-gallery img:hover {
  transform: scale(1.05);
}

.project-card h4 {
  color: #b85c00;
  margin: 15px 0 5px;
}

.project-card p {
  padding: 0 20px 20px;
  color: #555;
}

/* CONTACT */
.contact {
  padding: 70px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  background-color: #fff;
}

.contact-info h3 {
  color: #b85c00;
  margin-bottom: 10px;
}

.contact-info a {
  color: #b85c00;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #faf6f1;
  font-family: 'Poppins', sans-serif;
}

.contact-form button {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: #b85c00;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header.nav-bar {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .service-card img {
    width: 70px;
  }
}
  
/* LIGHTBOX με τίτλο */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  text-align: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  animation: fadeIn 0.4s ease;
}

.lightbox-caption {
  margin-top: 15px;
  color: #f5e9da;
  font-size: 1rem;
  background: rgba(255,255,255,0.1);
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
  user-select: none;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.3);
}

#prev { left: 40px; }
#next { right: 40px; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .nav-btn {
    font-size: 2rem;
    padding: 8px 12px;  
  }

  #prev { left: 15px; }
  #next { right: 15px; }

  .lightbox-caption {
    font-size: 0.9rem;
  }
}
.banner {
  width: 30%;
  text-align: center;
  background-color: #f3e3cc;
}

.banner img {
  width: 30%;
  height: auto;
  display: block;
  border-bottom: 3px solid #b87333; /* πορτοκαλί γραμμή */
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
  z-index: 5;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-nav.prev {
  left: 30px;
}

.hero-nav.next {
  right: 30px;
}

@media (max-width: 600px) {
  .hero-nav {
    font-size: 2rem;
    padding: 6px 10px;
  }

  .hero-nav.prev { left: 10px; }
  .hero-nav.next { right: 10px; }
}
.logo-banner {
  display: flex;
  align-items: center;
  gap: 30px; /* Απόσταση μεταξύ banner και λογότυπου */
}

.banner img {
  width: 200px; /* ή ό,τι μέγεθος θες */
  height: auto;
}

.logo h1 {
  font-size: 1.6rem;
  color: #b85c00;
  margin-bottom: 5px;
}

.logo p {
  font-size: 0.9rem;
  color: #666;
}

/* Logo + Banner side by side */
.logo-banner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.banner img {
  width: 200px;
  height: auto;
}

/* Logo text */
.logo h1 {
  font-size: 1.6rem;
  color: #b85c00;
  margin-bottom: 5px;
}

.logo p {
  font-size: 0.9rem;
  color: #666;
}

/* RESPONSIVE για μικρές οθόνες */
@media (max-width: 768px) {
  header.nav-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .logo-banner {
    flex-direction: column; /* Banner πάνω από logo */
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
  }

  nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 5px 10px;
  }
}

@media (max-width: 480px) {
  .banner img {
    width: 60px; /* μικρότερο banner σε κινητά */
  }

  .logo h1 {
    font-size: 1.3rem;
  }

  .logo p {
    font-size: 0.8rem;
  }
}
/* === HEADER SHRINK ON SCROLL (Μόνο για κινητά) === */
@media (max-width: 768px) {
  header.nav-bar {
    transition: all 0.3s ease;
    padding: 15px 20px;
  }

  header.nav-bar.shrink {
    padding: 5px 15px;
    background: rgba(245, 233, 218, 0.95); /* ελαφρώς πιο διαφανές */
  }

  header.nav-bar.shrink .banner img {
    width: 100px; /* Μικρότερο banner */
    transition: width 0.3s ease;
  }

  header.nav-bar.shrink .logo h1 {
    font-size: 1.2rem;
  }

  header.nav-bar.shrink .logo p {
    font-size: 0.75rem;
  }
}


