/* ============================================================
   VIEWS CARDS COMPONENT
   Περιλαμβάνει:
   - Overlay τίτλους σε grid cards
   - Spacing μεταξύ καρτών
   - Styling επαγγελματικού οδηγού
   - Styling οριζόντιων views
   ============================================================ */


/* ------------------------------------------------------------
   1. OVERLAY TITLE (Παραλίες – Αξιοθέατα – Κοινότητες)
   ------------------------------------------------------------ */

.view-id-paralies .views-view-grid .views-field-title,
.view-id-axiotheata .views-view-grid .views-field-title,
#views-bootstrap-koinotites-kai-oikismoi-block-1 .views-field-title {
  position: relative;
  margin-top: -48px !important;
  z-index: 5;
}

.view-id-paralies .views-view-grid .views-field-title a,
.view-id-axiotheata .views-view-grid .views-field-title a,
#views-bootstrap-koinotites-kai-oikismoi-block-1 .views-field-title a {
  display: block;
  background: rgba(255,255,255,0.92);
  padding: 0 10px;
  margin: 0 8px 8px 8px;
  border-radius: 8px;
  font-weight: 700;
  color: #006a9f;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
}

.view-id-paralies .views-view-grid .views-field-title a:hover,
.view-id-axiotheata .views-view-grid .views-field-title a:hover,
#views-bootstrap-koinotites-kai-oikismoi-block-1 .views-field-title a:hover {
  background: #e6f4ff;
  color: #004c73;
}


/* Images styling */
.view-id-paralies .views-view-grid img,
.view-id-axiotheata .views-view-grid img,
#views-bootstrap-koinotites-kai-oikismoi-block-1 img {
  display: block;
  width: 100%;
  border-radius: 12px;
}


/* Mobile tweak */
@media (max-width: 768px) {
  .view-id-paralies .views-view-grid .views-field-title,
  .view-id-axiotheata .views-view-grid .views-field-title,
  #views-bootstrap-koinotites-kai-oikismoi-block-1 .views-field-title {
    margin-top: -42px !important;
  }
}


/* ------------------------------------------------------------
   2. ΚΕΝΟ ΑΝΑΜΕΣΑ ΣΤΙΣ ΚΑΡΤΕΣ
   ------------------------------------------------------------ */

.view-id-paralies .views-view-grid .col-12,
.view-id-axiotheata .views-view-grid .col-12,
#views-bootstrap-koinotites-kai-oikismoi-block-1 .col-12 {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}


/* ------------------------------------------------------------
   3. ΕΠΑΓΓΕΛΜΑΤΙΚΟΣ ΟΔΗΓΟΣ – ΚΑΡΤΕΣ ΠΕΛΑΤΩΝ
   ------------------------------------------------------------ */

div[id^="views-bootstrap-syndesi-me-"] .views-field-title {
  margin-top: 8px;
  text-align: center;
}

div[id^="views-bootstrap-syndesi-me-"] .views-field-title a {
  display: block;
  padding: 6px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #003d5c;
  text-decoration: none !important;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

div[id^="views-bootstrap-syndesi-me-"] .views-field-title a:hover {
  color: #009fe3;
  background-color: rgba(0,159,227,0.08);
}

div[id^="views-bootstrap-syndesi-me-"] img {
  border-radius: 10px;
}


/* ------------------------------------------------------------
   4. ΟΡΙΖΟΝΤΙΑ VIEWS (Παραλίες – Αξιοθέατα)
   ------------------------------------------------------------ */

div[id^="views-bootstrap-orizontia-"] .views-field-title {
  margin-top: 6px;
  text-align: center;
}

div[id^="views-bootstrap-orizontia-"] .views-field-title a {
  display: block;
  padding: 6px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #003d5c;
  text-decoration: none !important;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

div[id^="views-bootstrap-orizontia-"] .views-field-title a:hover {
  color: #009fe3;
  background-color: rgba(0,159,227,0.08);
}

div[id^="views-bootstrap-orizontia-"] img {
  border-radius: 10px;
}
