/* Γενικές Ρυθμίσεις */
html, body {
  height: 100%;
}

html {
  overflow-y: scroll; /* Μόνιμος χώρος */
}

/* Λεπτός, διακριτικός scrollbar — ταιριαστός με την παλέτα */
html::-webkit-scrollbar {
  width: 6px;
}

html::-webkit-scrollbar-track {
  background: #faf7f4;
}

html::-webkit-scrollbar-thumb {
  background: #d2b48c;
  border-radius: 3px;
}

html::-webkit-scrollbar-thumb:hover {
  background: #A67B5B;
}

html {
  scrollbar-width: thin;          /* Firefox */
  scrollbar-color: #d2b48c #faf7f4;
}

body {
  font-family: 'Calibri', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  background-color: #faf7f4;
  color: #4a3f38;
  margin: 0;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .navbar-brand, .hero-title {
  font-family: 'Times New Roman', serif;
  color: #A67B5B;
}

/* Κεντρικό περιεχόμενο με fade */
.page-content {
  flex: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding-top: 7rem; /* για να μην καλύπτεται από navbar */
  text-align: left;  /* Όλο το περιεχόμενο αριστερά */
}

.page-content.visible {
  opacity: 1;
}

/* Navbar */
nav.navbar {
  color: #A67B5B !important;
  font-weight: 300;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 2rem 0 1rem 0;
  align-items: flex-end;
}

nav{
  color: #A67B5B !important;

}


.navbar-nav {
  gap: 1.5rem; /* Απόσταση ανάμεσα στις επιλογές */
}

nav a.nav-link {

  font-family: 'Times New Roman', serif;
  color: #A67B5B !important;
  font-weight: 600;
  padding-top: 0.25rem;
  padding-bottom: 0;
}

nav a.nav-link:hover {
  color: #8B5E3C !important;
}

a {
  color: #A67B5B;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  /* Σκούρο καφέ — αναγνώσιμο σε λευκό φόντο (WCAG AA) */
  color: #6b4226;
}

/* ===== Minimal Footer ===== */
.footer-minimal {
  background:
    linear-gradient(180deg, rgba(243, 238, 234, 0.45) 0%, rgba(239, 231, 224, 0.9) 100%);
  border-top: 1px solid rgba(155, 111, 75, 0.18);
  color: #5f564f;
  margin-top: 3rem;
}

.footer-minimal .footer-inner {
  position: relative;
  z-index: 2;
  padding-top: 1.65rem;
  padding-bottom: 1rem;
}

.footer-panel {
  height: 100%;
  padding: 0.2rem 0;
}

.footer-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.footer-minimal h5 {
  font-family: 'Times New Roman', serif;
  color: #A67B5B;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.footer-minimal p,
.footer-minimal a,
.footer-minimal small {
  color: #5f564f;
  text-decoration: none;
}

.footer-minimal a:hover {
  color: #8B5E3C;
  text-decoration: none;
}

.footer-note {
  max-width: 32ch;
  margin-bottom: 1rem;
  color: #6d6257;
  line-height: 1.7;
}

.footer-minimal .social-icons {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-minimal .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 111, 75, 0.18);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  color: #8b6748;
  margin-right: 0;
  opacity: 0.95;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-minimal .social-icons a:hover {
  color: #6b4226;
  opacity: 1;
  background: #fff;
  border-color: rgba(155, 111, 75, 0.3);
  transform: translateY(-2px);
}

.footer-phone {
  margin-bottom: 0.24rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-phone a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-address {
  font-size: 0.92rem;
  color: #6c6258;
  margin-bottom: 0.55rem;
}

.footer-separator {
  border-top: 1px solid rgba(155, 111, 75, 0.16);
  margin-top: 1.5rem;
  padding-top: 1rem;
  gap: 0.75rem;
}

.footer-separator small {
  color: #74695f;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .footer-minimal .footer-inner {
    padding-top: 1.2rem;
    padding-bottom: 0.9rem;
  }

  .footer-panel {
    padding: 0;
  }

  .footer-minimal h5 {
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
  }

  .footer-phone,
  .footer-address,
  .footer-note,
  .footer-minimal p,
  .footer-minimal a,
  .footer-minimal small {
    font-size: 0.88rem;
  }

  .footer-note {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-minimal .social-icons {
    justify-content: center;
    margin-top: 0.2rem;
  }

  .footer-separator {
    margin-top: 1rem;
    padding-top: 0.8rem;
    flex-direction: column;
    align-items: center !important;
    gap: 0.25rem;
    text-align: center !important;
  }

  .footer-separator small {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* Scroll-to-top: ορατό focus */
.scroll-top:focus-visible {
  outline: 2px solid #A67B5B;
  outline-offset: 3px;
}


/* Scroll to Top — opacity/visibility για smooth fade (display:none δεν κάνει animate) */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  background-color: #A67B5B;
  color: white;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===== Home Page Custom Styles ===== */

/* Κουμπί Αρχικής */
 .btn-outline-secondary {
  color: #A67B5B;
  border-color: #A67B5B;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #A67B5B;
  color: #fff;
}

/* Εικόνα Hero */
.page-content img {
  max-height: 750px;
  object-fit: cover;
  border: 1px solid #D2B48C;
}

/* ===== Bio Page Styles ===== */
.page-content .row.g-4 h4 {
  font-weight: bold;
}
.navbar-nav .nav-link.active {
  color: #8B5E3C !important;      /* Λίγο πιο σκούρο καφέ */
}


#mainNavbar {
  transition: all 0.3s ease;
  padding: 1.2rem 0;
}

#mainNavbar.shrink {
  padding: 0.4rem 0;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  align-items: center; /* Fix: το .scrolled είχε αυτό αλλά η JS πρόσθετε .shrink */
}

/* Sliding underline */
.navbar {
  position: relative;
}

.nav-underline {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: #D2B48C;
  transition: all 0.3s ease;
  width: 0;
  left: 0;
}


/* ===== Home Hero Carousel — Full Bleed ===== */

/* Περιορισμός σε πιο compact hero footprint */
#homeHeroCarousel {
  padding: 0;
}

/* Κάθε slide: εικόνα σε όλο τον χώρο, κείμενο overlay στο κάτω μέρος */
.hero-slide-full {
  position: relative;
  width: 100%;
  height: clamp(480px, 72vh, 800px);
  border-radius: 16px;
  overflow: hidden;
  background: #707070; /* placeholder χρώμα κατά τη φόρτωση */
}

.hero-full-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  transition: transform 0.6s ease;
}

.carousel-item.active .hero-full-img {
  transform: scale(1.018);
}

/* Gradient overlay — ζεστό σκούρο καφέ που ταιριάζει στην παλέτα */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(38, 26, 16, 0)    25%,
    rgba(38, 26, 16, 0.55) 62%,
    rgba(38, 26, 16, 0.82) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 0 2.75rem 2.75rem;
}

/* Κείμενο & κουμπί */
.hero-overlay-content {
  max-width: 620px;
}

.hero-overlay-content h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-overlay-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.4rem;
  max-width: 500px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* Ghost button — για dark backgrounds */
.main-button--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.main-button--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

/* ===== Carousel Indicators ===== */
.carousel-indicators {
  margin-bottom: 0.85rem;
  gap: 0.4rem;
}

.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.5);
  border-top: 0;
  border-bottom: 0;
  opacity: 1;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel-indicators .active {
  width: 44px;
  background-color: #fff;
}

/* ===== Carousel Prev/Next Buttons ===== */
.carousel-control-prev,
.carousel-control-next {
  width: 3.2rem;
  opacity: 1;
}

.carousel-control-prev { left: 0.6rem; }
.carousel-control-next { right: 0.6rem; }

.carousel-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.carousel-control-prev:hover .carousel-arrow-btn,
.carousel-control-next:hover .carousel-arrow-btn {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .hero-slide-full {
    height: clamp(360px, 62vh, 560px);
    border-radius: 12px;
  }

  .hero-overlay {
    padding: 0 1.5rem 2rem;
  }

  .hero-overlay-content h1 {
    font-size: 1.75rem;
  }

  .hero-overlay-content p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .carousel-control-prev { left: 0.3rem; }
  .carousel-control-next { right: 0.3rem; }

  .carousel-arrow-btn {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.75rem;
  }
}

/* ========================= */
/*     HOME OPTIONS AREA     */
/* ========================= */
.home-options-section {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.home-options-header {
  max-width: 760px;
  margin: 0 auto;
}

.home-options-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.home-options-header p {
  max-width: 690px;
  margin: 0 auto;
  color: #6d6257;
  line-height: 1.7;
}

.home-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-option-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(155, 111, 75, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(77, 52, 35, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(77, 52, 35, 0.1);
  border-color: rgba(155, 111, 75, 0.22);
  color: inherit;
}

.home-option-number {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9b6f4b;
}

.home-option-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
  line-height: 1.15;
  color: #A67B5B;
  text-shadow: none;
}

.home-option-card p {
  margin-bottom: 1.2rem;
  color: #5f564f;
  line-height: 1.75;
}

.home-option-link {
  margin-top: auto;
  font-weight: 600;
  color: #8b6748;
  transition: transform 0.22s ease, color 0.22s ease;
}

.home-option-card:hover .home-option-link {
  transform: translateX(4px);
  color: #A67B5B;
}

@media (max-width: 991px) {
  .home-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-option-card {
    min-height: auto;
    padding: 1.2rem;
    border-radius: 10px;
  }

  .home-option-card h3 {
    font-size: 1.28rem;
  }

  .home-option-card p {
    margin-bottom: 1rem;
  }
}

/* Parallax Banner */
.parallax-section {
  background-image: url('content/images/giannis.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  min-height: 500px;
}

/* iOS Safari δεν υποστηρίζει background-attachment: fixed — fallback σε scroll */
@supports (-webkit-touch-callout: none) {
  .parallax-section {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
    min-height: 320px;
  }
}

.text-shadow {
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

/* ===== Timeline Section ===== */
.timeline-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.timeline-heading {
  max-width: 760px;
  margin: 0 auto;
}

.timeline-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.timeline-heading h2 {
  margin-bottom: 0.9rem;
}

.timeline-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #6d6257;
  line-height: 1.7;
}

.timeline-refined {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 2.25rem;
}

.timeline-refined::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 0.55rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(155, 111, 75, 0.15), rgba(155, 111, 75, 0.55), rgba(155, 111, 75, 0.15));
}

.timeline-row {
  position: relative;
  margin-bottom: 1.35rem;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-point {
  position: absolute;
  left: -2.25rem;
  top: 1.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b07b53;
  border: 3px solid #f6f2ee;
  box-shadow: 0 0 0 1px rgba(155, 111, 75, 0.18);
}

.timeline-card {
  padding: 1.35rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(155, 111, 75, 0.12);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(77, 52, 35, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(77, 52, 35, 0.10);
  border-color: rgba(155, 111, 75, 0.22);
}

.timeline-year {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9b6f4b;
}

.timeline-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.timeline-card p {
  margin-bottom: 0;
  color: #5f564f;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline-heading {
    padding: 0 0.5rem;
  }

  .timeline-refined {
    padding-left: 2rem;
  }

  .timeline-refined::before {
    left: 0.45rem;
  }

  .timeline-point {
    left: -2rem;
    top: 1.2rem;
  }

  .timeline-card {
    padding: 1.15rem 1.1rem;
    border-radius: 8px;
  }

  .timeline-card h3 {
    font-size: 1.2rem;
  }
}

/* ========================= */
/*       CONTACT PAGE        */
/* ========================= */

.contact-section {
  padding-top: 0.5rem;
}

.contact-header {
  max-width: 760px;
  margin: 0 auto;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.contact-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #6d6257;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch; /* important */
}

.contact-form-wrap,
.contact-info-wrap {
  min-width: 0;
  height: 100%;
}

.contact-panel {
  background: #ffffff;
  border: 1px solid rgba(155, 111, 75, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(77, 52, 35, 0.06);
}

.contact-form {
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%; /* important */
}

.form-row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #5d5046;
}

.contact-form .form-control {
  min-height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(155, 111, 75, 0.22);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: #8B5E3C;
  background-color: #fff;
  box-shadow: none;
}

.contact-form .form-control::placeholder {
  color: #9d7e66;
}

.contact-form textarea.form-control {
  min-height: 165px;
  resize: vertical;
}

.contact-form .form-control:focus {
  border-color: rgba(155, 111, 75, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(155, 111, 75, 0.12);
  outline: none;
}

.contact-actions {
  margin-top: auto; /* pushes button to bottom */
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.contact-info-grid .location-card {
  flex: 1; /* equal height maps */
}

.location-card {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.location-card-header {
  text-align: left;
}

.location-card-header h5 {
  margin-bottom: 0.25rem;
  color: #A67B5B;
  font-size: 1.1rem;
  font-weight: 600;
}

.location-card-header p {
  margin-bottom: 0;
  color: #6d6257;
}

.mini-map {
  overflow: hidden;
  border-radius: 12px;
  min-height: 230px;
}

.mini-map iframe {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-form {
    padding: 1.2rem;
  }

  .form-row-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    text-align: center;
  }

  .mini-map,
  .mini-map iframe {
    min-height: 220px;
  }
}

.main-button {
  background: transparent;
  border: 1.5px solid #A67B5B;
  color: #A67B5B;
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.main-button:hover {
  background: #A67B5B;
  color: #fff;
}

/* ========================= */
/*       GALLERY PAGE        */
/* ========================= */
.gallery-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.gallery-header {
  max-width: 760px;
  margin: 0 auto;
}

.gallery-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.gallery-intro {
  max-width: 640px;
  margin: 0 auto;
  color: #6d6257;
  line-height: 1.7;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  margin: 0 0 1.5rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.gallery-item a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f3ef;
  border: 1px solid rgba(155, 111, 75, 0.12);
  box-shadow: 0 10px 28px rgba(77, 52, 35, 0.06);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item a:hover img {
  transform: scale(1.035);
  opacity: 0.96;
}

@media (max-width: 991px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    column-count: 1;
    column-gap: 0;
  }

  .gallery-item {
    margin-bottom: 1.15rem;
  }

  .gallery-item a {
    border-radius: 10px;
  }
}

/* ========================= */
/*         BIO PAGE          */
/* ========================= */
.bio-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.bio-header {
  max-width: 780px;
  margin: 0 auto;
}

.bio-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.bio-intro {
  max-width: 700px;
  margin: 0 auto;
  color: #6d6257;
  line-height: 1.7;
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 2rem;
  align-items: start;
}

.bio-media-wrap,
.bio-content-wrap {
  min-width: 0;
}

.bio-media-card,
.bio-content-card {
  background: #ffffff;
  border: 1px solid rgba(155, 111, 75, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(77, 52, 35, 0.06);
}

.bio-media-card {
  overflow: hidden;
  position: sticky;
  top: 120px;
}

.bio-portrait-img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bio-content-card {
  padding: 1.75rem;
}

.bio-content-title {
  margin-bottom: 1.1rem;
}

.bio-content-card p {
  margin-bottom: 1rem;
  color: #5f564f;
  line-height: 1.85;
}

.bio-content-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .bio-layout {
    grid-template-columns: 1fr;
  }

  .bio-media-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .bio-content-card {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .bio-media-card {
    border-radius: 10px;
  }
}

/* ========================= */
/*    SPACES SECTION (bio)   */
/* ========================= */

.spaces-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.spaces-header {
  max-width: 760px;
  margin: 0 auto;
}

.spaces-intro {
  max-width: 680px;
  margin: 0 auto;
  color: #6d6257;
  line-height: 1.7;
}

/* Κάθε block (εργαστήριο / ευρύχωρον): κείμενο + φωτογραφίες δίπλα-δίπλα */
.spaces-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.spaces-block:last-child {
  margin-bottom: 0;
}

/* Εναλλαγή στήλης για το δεύτερο block */
.spaces-block--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.spaces-block--reverse .spaces-text-wrap {
  order: 2;
}

.spaces-block--reverse .spaces-media-wrap {
  order: 1;
}

/* Κάρτα κειμένου — ίδιο style με bio-content-card */
.spaces-text-card {
  background: #ffffff;
  border: 1px solid rgba(155, 111, 75, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(77, 52, 35, 0.06);
  padding: 1.75rem;
}

.spaces-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.spaces-text-card h3 {
  font-size: 1.6rem;
  color: #A67B5B;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-shadow: none;
}

.spaces-text-card p {
  color: #5f564f;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.spaces-text-card p:last-child {
  margin-bottom: 0;
}

/* Πλέγμα φωτογραφιών: 2 φωτογραφίες side-by-side */
.spaces-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Κάθε "slot" φωτογραφίας */
.spaces-photo-slot {
  border-radius: 10px;
  overflow: hidden;
  background: #ede5db;           /* placeholder χρώμα όταν δεν υπάρχει εικόνα */
  aspect-ratio: 4 / 5;           /* portrait ratio — αλλάζεις αν οι φωτο είναι landscape */
  border: 1px solid rgba(155, 111, 75, 0.12);
  box-shadow: 0 8px 24px rgba(77, 52, 35, 0.07);
}

.spaces-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Όταν το src είναι κενό, κρύψε το img ώστε να φαίνεται το placeholder background */
.spaces-photo-slot img:not([src]),
.spaces-photo-slot img[src=""] {
  visibility: hidden;
}

/* Responsive */
@media (max-width: 991px) {
  .spaces-block,
  .spaces-block--reverse {
    grid-template-columns: 1fr;
  }

  .spaces-block--reverse .spaces-text-wrap,
  .spaces-block--reverse .spaces-media-wrap {
    order: unset;
  }

  .spaces-photo-grid {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .spaces-text-card {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .spaces-photo-slot {
    border-radius: 8px;
  }

  .spaces-block {
    margin-bottom: 2.5rem;
  }
}

/* ========================= */
/*       HISTORY PAGE        */
/* ========================= */
.history-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.history-header {
  max-width: 820px;
  margin: 0 auto;
}

.history-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b6f4b;
}

.history-intro {
  max-width: 700px;
  margin: 0 auto;
  color: #6d6257;
  line-height: 1.7;
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: start;
}

.history-content-wrap,
.history-media-wrap {
  min-width: 0;
}

.history-content-card {
  background: #ffffff;
  border: 1px solid rgba(155, 111, 75, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(77, 52, 35, 0.06);
  padding: 1.75rem;
}

.history-content-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.history-content-card h3:not(:first-child) {
  margin-top: 1.8rem;
}

.history-content-card p {
  margin-bottom: 1rem;
  color: #5f564f;
  line-height: 1.85;
}

.history-content-card p:last-child {
  margin-bottom: 0;
}

.history-media-wrap {
  position: sticky;
  top: 120px;
}

.history-media-stack {
  display: grid;
  gap: 1rem;
}

.history-inline-media {
  display: grid;
  gap: 1rem;
  margin: 1.1rem 0 1.4rem;
}

.history-media-mobile {
  display: none;
}

.history-photo {
  width: 100%;
  display: block;
  border-radius: 12px;
  background: #f7f3ef;
  border: 1px solid rgba(155, 111, 75, 0.12);
  box-shadow: 0 10px 28px rgba(77, 52, 35, 0.06);
}

.history-sources {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.history-sources h5 {
  margin-bottom: 0.9rem;
}

.history-sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.history-sources-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(155, 111, 75, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #8b6748;
  transition: all 0.22s ease;
}

.history-sources-list a:hover {
  background: #A67B5B;
  color: #fff;
}

@media (max-width: 991px) {
  .history-layout {
    grid-template-columns: 1fr;
  }

  .history-media-wrap {
    position: relative;
    top: auto;
  }

  .history-media-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .history-content-card {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .history-media-desktop {
    display: none;
  }

  .history-media-mobile {
    display: grid;
  }

  .history-inline-media {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
  }

  .history-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
  }

  .history-sources-list {
    gap: 0.55rem;
  }
}

/* ===== LOADING BAR (πλοήγηση SPA) ===== */
/* ===== LOADING BAR (πλοήγηση SPA) ===== */
.page-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #A67B5B;
  z-index: 9999;
  opacity: 0;
  transition: none;
  pointer-events: none;
}

.page-loading-bar.active {
  opacity: 1;
  width: 75%;
  transition: width 1.8s cubic-bezier(0.1, 0.6, 0.3, 1);
}

.page-loading-bar.done {
  width: 100%;
  opacity: 0;
  transition: width 0.15s ease, opacity 0.3s ease 0.15s;
}

/* ===== GALLERY FILTER BUTTONS ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Mobile: horizontal scroll αντί για άσχημο wrap */
@media (max-width: 600px) {
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter-btn {
    flex-shrink: 0;
  }
}

.gallery-filter-btn {
  background: transparent;
  border: 1.5px solid #A67B5B;
  color: #A67B5B;
  padding: 0.4rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.03em;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: #A67B5B;
  color: #fff;
}

/* Transition για gallery items (φίλτρο) */
.gallery-item {
  transition: opacity 0.25s ease;
}

/* Textarea — λογικό ύψος, ο χρήστης μπορεί να το μεγαλώσει αν θέλει */
.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* ===== ΦΟΡΜΑ — FIELD ERRORS ===== */
.field-error {
  display: block;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  min-height: 1.1em;
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

/* ===== LANGUAGE TOGGLE ===== */

/* Κρύβει αγγλικό περιεχόμενο όταν είμαστε σε ελληνικά (default) */
html:not(.lang-en) .lang-en { display: none; }
/* Κρύβει ελληνικό περιεχόμενο όταν είμαστε σε αγγλικά */
html.lang-en .lang-el { display: none; }

.lang-toggle-btn {
  background: transparent;
  border: 1.5px solid #A67B5B;
  color: #A67B5B;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Times New Roman', serif;
  letter-spacing: 0.07em;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1.5;
  flex-shrink: 0;
}

.lang-toggle-btn:hover {
  background: #A67B5B;
  color: #fff;
}

/* ===== GALLERY COMING SOON ===== */

.gallery-coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  padding: 2rem 0;
}

.gallery-coming-soon-inner {
  background: #fff;
  border: 1px solid rgba(155, 111, 75, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(77, 52, 35, 0.06);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.gallery-coming-soon-icon {
  display: block;
  font-size: 2.6rem;
  margin-bottom: 1.1rem;
  line-height: 1;
}

.gallery-coming-soon-inner h3 {
  font-size: 1.75rem;
  color: #A67B5B;
  margin-bottom: 0.75rem;
  text-shadow: none;
}

.gallery-coming-soon-inner p {
  color: #6d6257;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .gallery-coming-soon-inner {
    padding: 2rem 1.5rem;
    border-radius: 10px;
  }
}

/* ===================================== */
/*   MOBILE — MINIMAL CONTENT (<768px)   */
/* ===================================== */
@media (max-width: 768px) {

  /* Bio: κρύβουμε 3η + 4η παράγραφο (ανά γλώσσα) — μένει το βασικό προφίλ */
  .bio-content-card p.lang-el:nth-of-type(n+3),
  .bio-content-card p.lang-en:nth-of-type(n+3) {
    display: none;
  }

  /* Spaces: κρύβουμε 2η παράγραφο κάθε χώρου — μένει η ουσία */
  .spaces-text-card p.lang-el:last-of-type,
  .spaces-text-card p.lang-en:last-of-type {
    display: none;
  }

  /* Home options: περικοπή σε 3 γραμμές — ο χρήστης βλέπει αρκετά */
  .home-option-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* History: κρύβουμε τις πηγές — reference links, δεν χρειάζονται στο mobile */
  .history-sources {
    display: none;
  }

  /* Μειωμένο spacing μεταξύ sections στο bio και history */
  .bio-content-card p,
  .history-content-card p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
  }

  /* Spaces section: μικρότερο gap μεταξύ των δύο blocks */
  .spaces-block {
    margin-bottom: 2rem;
  }

}

/* ===================================== */
/*   MOBILE UI/UX REFINEMENTS            */
/* ===================================== */

/* Μικρότερο top padding σε mobile — navbar είναι πιο κοντός */
@media (max-width: 768px) {
  .page-content {
    padding-top: 5rem;
  }
}

/* Κρύψε παράγραφο hero σε πολύ μικρές οθόνες — τίτλος + κουμπί αρκούν */
@media (max-width: 480px) {
  .hero-overlay-content p {
    display: none;
  }

  .hero-overlay-content {
    max-width: 100%;
  }

  .hero-overlay {
    padding: 0 1.1rem 1.6rem;
  }

  .hero-overlay-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Scroll-to-top: πιο compact σε mobile */
@media (max-width: 768px) {
  .scroll-top {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
    bottom: 16px;
    right: 14px;
  }
}

/* Navbar: λίγο πιο compact σε mobile */
@media (max-width: 991px) {
  #mainNavbar {
    padding: 0.65rem 0;
  }
}

/* Offcanvas mobile menu: μικρότερο gap σε πολύ μικρές οθόνες */
@media (max-width: 380px) {
  .offcanvas-body.gap-5 {
    gap: 2rem !important;
  }
}

/* Parallax section: μικρότερο font σε mobile */
@media (max-width: 768px) {
  .parallax-section h2 {
    font-size: clamp(1.2rem, 5vw, 1.75rem);
    padding: 0 1rem;
    text-align: center;
  }
}
