﻿/* === Γενικές ρυθμίσεις === */
body {
  margin: 0;
  font-family: sans-serif;
  background-color: white;
  color: black;
  text-align: center;
}

/* === Λογότυπο === */
.site-logo {
  max-width: 300px; /* Περιορίζει το μέγεθος στο desktop */
  width: 80%;       /* Κάνει resize σε μικρές οθόνες */
  height: auto;
  margin-top: 20px;
}

/* === Υπότιτλος κάτω από το logo === */
.subtitle {
  font-style: italic;
  margin-bottom: 10px;
}

/* === Κουμπιά πλοήγησης === */
.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap; /* για να μην σπάνε στο κινητό */
}

.nav a {
  text-decoration: none;
  color: black;
  padding: 8px 14px;
  border: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.nav a:hover {
  background-color: black;
  color: white;
}

.nav a.active {
  background-color: black;
  color: white;
}

/* === Τίτλος σελίδας === */
.page-title{
  margin: 22px 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}


/* === Τίτλος section === */
.section-title {
  font-size: 24px;
  margin-bottom: 30px;
}

/* === Wrapper για έργο === */
.artwork {
  max-width: 600px;
  margin: 0 auto 60px auto;
  padding: 0 15px;
}

/* === swiper (γκαλερί εικόνων) === */
.swiper {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.swiper img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* === swiper arrows and pagination styling === */
.swiper-button-next,
.swiper-button-prev {
  color: black;
}

.swiper-pagination-bullet {
  background: black;
}

/* === Πληροφορίες έργου === */
.artwork-info p {
  margin: 5px 0;
}

/* Κόκκινη βουλίτσα για sold στη gallery */
.sold-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #c00000; /* προσαρμόζεις αν θες πιο ήπιο κόκκινο */
  margin-left: 6px;
  vertical-align: middle;
}


/* === Responsive λογότυπο: μικρότερο στο κινητό === */
@media (max-width: 600px) {
  .logo {
    max-width: 200px;
  }

  .nav a {
    font-size: 14px;
    padding: 6px 10px;
  }
}

/* Εμφάνιση βελών στο desktop */
.swiper-button-next,
.swiper-button-prev {
  color: black;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

 /* Ειδικό styling για τη σελίδα vessels */

    body {
      font-family: sans-serif;
      margin: 0;
      padding: 0;
      text-align: center;
      background-color: white;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .art-description {
      margin-top: 10px;
      margin-bottom: 40px;
      font-size: 1rem;
      line-height: 1.6;
    }

    /* Απόσταση ανάμεσα στις γκαλερί */
    .gallery-block {
      margin-bottom: 60px;
    }

    /* Κουμπιά πλοήγησης σελίδας */
    .top-nav {
      margin: 20px 0;
    }

    .top-nav a {
      margin: 0 10px;
      text-decoration: none;
      color: black;
      font-weight: normal;
      border: none;
    }

    .top-nav a.active {
      background-color: black;
      color: white;
      padding: 4px 8px;
      border-radius: 4px;
    }

    .swiper {
      width: 90%;
      max-width: 600px;
      margin: 0 auto;
    }

    .swiper-pagination {
      margin-top: 10px;
    }


.contact-page {
  max-width: 600px;
  margin: 40px auto;
  text-align: left;
}


/* Anchors */
.art-description .work-link {
  color: inherit;
  text-decoration: none;
}

.art-description .work-link:hover {
  text-decoration: underline;
}

/* ώστε το anchor να έρχεται λίγο κάτω από το πάνω άκρο, 
   αν έχεις header / λογότυπο από πάνω */
.gallery-block {
  scroll-margin-top: 80px; /* προσαρμόζεις ανάλογα το ύψος του header σου */
}


/* ===== Work page layout ===== */

.work-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

/* Hero section (πάνω μέρος) */
.work-hero {
  margin-bottom: 40px;
}

.work-hero-inner {
  display: flex;
  flex-direction: column;   /* mobile: κάθετα */
  gap: 32px;
}

/* Hero image */
.work-hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Hero info (τίτλος, περιγραφή, στοιχεία) */
.work-hero-info {
  text-align: left;
}

/* Back link / breadcrumb */
.work-breadcrumb {
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.work-breadcrumb a {
  text-decoration: none;
  color: #555;
}

.work-breadcrumb a:hover {
  text-decoration: underline;
}

/* Τίτλος έργου */
.work-meta-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.work-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.work-year {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.work-sold {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #c00;
  color: #c00;
}

/* Περιγραφή έργου */
.work-description {
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Λεπτομέρειες (material, dimensions, weight, price) */
.work-details {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 6px;
  column-gap: 12px;
  font-size: 0.95rem;
}

.work-detail-row {
  display: contents;
}

.work-detail-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #666;
}

.work-detail-value {
  justify-self: start;
}

.work-price-sold {
  opacity: 0.6;
}

/* Κάτω gallery με τις υπόλοιπες εικόνες */

.work-gallery {
  margin-top: 40px;
}

.work-gallery-heading {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.work-gallery-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.work-gallery-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== Desktop layout: split hero ===== */

@media (min-width: 900px) {
  .work-hero-inner {
    flex-direction: row;     /* δύο στήλες */
    align-items: flex-start;
  }

  .work-hero-image {
    flex: 3;
  }

  .work-hero-info {
    flex: 2;
  }

  .work-page {
    padding: 0 40px;
  }

  .work-gallery-images {
    grid-template-columns: repeat(2, 1fr); /* 2-στήλη grid για extra εικόνες */
  }
}


/* ===== Enquiry page ===== */

.enquiry-page {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px;
  text-align: left;
}

.enquiry-title {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.enquiry-intro {
  margin: 0 0 20px;
  line-height: 1.6;
}

.enquiry-context {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.enquiry-thumb img {
  width: 120px;
  height: auto;
  display: block;
}

.enquiry-details div {
  margin-bottom: 6px;
}

.enquiry-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 14px;
}

.enquiry-btn {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #000;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
}

.enquiry-copy textarea {
  width: 100%;
  margin: 10px 0 8px;
  padding: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}

.enquiry-copy-btn {
  padding: 10px 14px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .enquiry-context {
    flex-direction: column;
  }

  .enquiry-thumb img {
    width: 160px;
  }
}

.work-cta {
  margin-top: 18px;
}

.enquiry-work {
  /* κρατάει το ίδιο στυλ με τα social buttons, απλά το κάνουμε λίγο πιο "primary" αν θες */
  /* Αν δεν θες καμία διαφοροποίηση, μπορείς να σβήσεις όλο αυτό το block */
}


/* Dimensions arrows (H × W × D)
 *
 * Τα βελάκια είναι unicode arrows σε ::before / ::after pseudo-elements.
 *
 * ΣΗΜΑΝΤΙΚΟ — iOS emoji problem:
 * Το iOS/Safari ερμηνεύει ορισμένα unicode arrows (↕ ↔ ↗) ως emoji και τα αποδίδει
 * έγχρωμα ως πλακίδια, σπάζοντας τελείως την αισθητική.
 * Λύση: U+FE0E (variation selector-15) αμέσως μετά τον χαρακτήρα αναγκάζει
 * text rendering (όχι emoji) σε όλα τα συστήματα.
 * CSS escape: \FE0E
 */

.dims {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.dim {
  position: relative;
  display: inline-block;
  padding: 0 2px;
  line-height: 1.2;
}

.dim-sep { opacity: 0.7; }

.dim-unit {
  margin-left: 2px;
  opacity: 0.8;
}

/* Κοινό styling για όλα τα βελάκια: πολύ ανοιχτό χρώμα ώστε να είναι υπαινικτικά */
.dim::before,
.dim::after {
  color: rgba(0, 0, 0, 0.22);
  font-size: 1.05em;
  line-height: 1;
}

/* H: κάθετο διπλό βελάκι, αριστερά του αριθμού */
.dim-h { padding-left: 12px; }
.dim-h::before {
  content: "\2195\FE0E"; /* ↕ + text variation selector */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* W: οριζόντιο διπλό βελάκι, κάτω από τον αριθμό */
.dim-w { padding-bottom: 10px; }
.dim-w::after {
  content: "\2194\FE0E"; /* ↔ + text variation selector */
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
}

/* D: διαγώνιο βελάκι, κάτω-δεξιά */
.dim-d {
  padding-bottom: 8px;
  padding-right: 10px;
}
.dim-d::after {
  content: "\2197\FE0E"; /* ↗ + text variation selector */
  position: absolute;
  right: 1px;
  bottom: 0px;
}


