/* =========================================================
   THEMES – ανά σελίδα
   ========================================================= */

/* Default Theme (index.php) */
:root {
  --bg: #F2F0C9;
  --text1: #2C3540;
  --text2: #F2A285;
  --accent1: #516673;
  --accent2: #F2A285;
}

/* Χειρομαντεία */
body.theme-peach {
  --bg: #F2A285;
  --text1: #2C3540;
  --text2: #F2F0C9;
  --accent1: #516673;
  --accent2: #F2C299;
}

/* Γραμμές */
body.theme-light-blue {
  --bg: #516673;
  --text1: #F2F0C9;
  --text2: #F2C299;
  --accent1: #2C3540;
  --accent2: #F2A285;
}

/* Σημάδια */
body.theme-dark-blue {
  --bg: #2C3540;
  --text1: #F2C299;
  --text2: #F2F0C9;
  --accent1: #F2C299;
  --accent2: #516673;
}

/* Διάβασμα */
body.theme-gold {
  --bg: #F2C299;
  --text1: #2C3540;
  --text2: #516673;
  --accent1: #516673;
  --accent2: #F2F0C9;
}



html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text1);
  font-family: 'Roboto Serif', serif;
  overflow-x: hidden;
}
	
body, .site-footer {
  font-family: "Roboto Serif", serif;
}

.container,
.container-fluid,
.row {
  background: none !important;
}



p, h1, h2, h3 {
  color: var(--text1);
}	
	
a { color: var(--text2); }
a.link-terms { text-decoration: underline; }


/* Αριστερή εικόνα index: 50% πλάτος, 100vh ύψος σε desktop. Σε κινητά 100% x 100vh και object-fit: contain */
.chiromancy-wrap { position: relative; }
.chiromancy-img {
  width: 100%;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #F2F0C9;
}

/* Σε κινητά: η εικόνα να εμφανίζεται πάνω από όλα */
@media (max-width: 767.98px) {
  .image-side {
    order: -1; /* Μετακινεί την εικόνα πάνω απ’ τη φόρμα */
  }

  .chiromancy-img {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
  }

  .form-side {
    margin-top: 1rem;
  }

  /* Προαιρετικά: μικρό περιθώριο για να αναπνέει το layout */
  body {
    overflow-x: hidden;
  }
	
  .capture-btn {
    display: inline-block !important;
  }
}
	
@media (min-width: 768px) {
	  .dropzone {
		min-height: 220px;
	  }
	  .col-md-6 {
		padding-left: 15px;
		padding-right: 15px;
	  }
	  .form-label {
		white-space: nowrap;
	  }
	  label.form-label {
	  white-space: normal;
	  word-wrap: break-word;
	}

}
	
label.form-label {
  white-space: normal;
  word-wrap: break-word;
}


/* ========================================================================= */	
/* Μπάρα πλοήγησης: διάφανη */
/* ========================================================================= */	
.navbar { background: transparent !important; }
.navbar .nav-link { color: var(--text1) !important; font-weight: 600; }
.navbar .nav-link:hover { opacity: 0.8; }


/* ========================================================================= */	
/* Δεξιά οριζόντια εικόνα */
.future-img { width: 100%; height: auto; display: block; }


/* Drag & Drop zones */
.dropzone {
  border: 2px dashed #516673;
  border-radius: 15px;
  background-color: #F2F0C9 !important;
  text-align: center;
  padding: 1.5rem;
  min-height: 160px; /* ↓ μικρότερο ύψος */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
}

.dropzone:hover {
  background-color: #F2C299 !important;
}

	
.dropzone.dragover { border-color: var(--text2); background: rgba(242, 240, 201, 0.6); }
	
.dz-hint {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 6px;
}

.dz-hint.success {
  color: #2e7d32; /* Πράσινο */
  font-weight: 600;
}


/* ========================================================================= */
/* Κ Ο Υ Μ Π Ι Α */
/* ========================================================================= */	
.btn-accent {
  background-color: #F2F0C9; /* ανοιχτό χρώμα από την παλέτα */
  color: #2C3540; /* σκούρο γκρι για έντονη αντίθεση */
  border: 1px solid #516673;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.25s ease-in-out;
}

.btn-accent:hover {
  background-color: #516673;
  color: #F2F0C9;
  border-color: #2C3540;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
	
.upload-btn {
  font-weight: 600;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
}	
	
.btn-secondary {
  background-color: #F2F0C9;
  color: #2C3540;
  border: 1px solid #516673;
}
.btn-secondary:hover {
  background-color: #516673;
  color: #F2F0C9;
}	
#btnPayNow:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#btnPayNow:not(:disabled) {
  transition: 0.3s;
  background-color: #3f5c6e !important;
}
#btnPayNow:not(:disabled):hover {
  background-color: #516673 !important;
}

/* Από προεπιλογή (desktop): κρύψε το κουμπί λήψης */
.capture-btn {
  display: none;
}
	
.btn-primaryx { background: var(--text2); color: #fff; border: none; }
.btn-primaryx:disabled { opacity: 0.5; }
	
#readHandsBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Πράσινα checks */	
.was-validated .form-control:valid,
.was-validated .form-check-input:valid {
  border-color: #ced4da !important;
  background-image: none !important;
}
/* ========================================================================= */
/* ========================================================================= */		
	
	
	

/* =========================================================
   Custom Navigation (desktop + mobile menu)
   ========================================================= */

.main-nav {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 1000;
}

/* --- Desktop Links --- */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-family: "Roboto Serif", serif;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text1);
  transition: color 0.3s ease;
}

/* underline words animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -7px; /* λίγο κάτω από το κείμενο */
  left: 50%;
  width: 0;
  height: 0.7px;
  background-color: var(--text2);
  border-radius: 2px;
  transform: translateX(-50%);
  transition:
    width 0.35s ease,
    opacity 0.25s ease;
  opacity: 0;
}

.nav-links a:hover::after {
  width: 85%;
  opacity: 1;
}

/* Όταν φεύγει ο κέρσορας */
.nav-links a:not(:hover)::after {
  width: 0;
  opacity: 0;
}
/* end of underline words animation */




.nav-links a:hover {
  color: var(--text2);
}

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Το κουμπί "Μενού ▾" */
#menu-toggle {
  background: none;
  border: none;
  color: var(--text1);
  font-family: "Roboto Serif", serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 10px 20px;
  width: 100%;
  justify-content: center;
}

#menu-toggle .line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--text1);
  opacity: 0.5;
}

/* Το dropdown που ανοίγει */
#mobile-dropdown {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--accent1);
  width: 100%;
  text-align: center;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

#mobile-dropdown a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--text1);
  font-family: "Roboto Serif", serif;
  border-bottom: 1px solid rgba(44, 53, 64, 0.1);
}

#mobile-dropdown a:hover {
  background-color: rgba(81, 102, 115, 0.1);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}

/* --- Όταν ανοίγει --- */
.mobile-menu.open #mobile-dropdown {
  max-height: 500px;
  opacity: 1;
}
/* ========================================================================= */	
/* ========================================================================= */		
	
	

	
/* ========================================================================= */		
/* ========================================================================= */	
/* Χ Ε Ι Ρ Ο Μ Α Ν Τ Ε Ι Α   Τ Μ Η Μ Α   Σ Τ Ο   I N D E X */	
.chiromanteia-section {
  background-color: #F2C299;
  color: #2C3540;
  padding: 80px 20px;
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
}

.chiromanteia-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 95%;
  margin: 0 auto;
  gap: 40px;
}

/* Βασικό στυλ για κάθε στήλη */
.chiromanteia-container .col {
  flex: 1 1 calc(33.333% - 40px);
  min-width: 300px;
  box-sizing: border-box;
}

/* ✅ Όταν η οθόνη γίνει tablet ή μικρότερη */
@media (max-width: 1024px) {
  .chiromanteia-container .col {
    flex: 1 1 calc(50% - 40px);
  }

  /* Η τρίτη στήλη απλώνει σε όλο το πλάτος */
  .chiromanteia-container .col:nth-child(3) {
    flex: 1 1 100%;
  }
}

/* ✅ Όταν η οθόνη γίνει κινητό */
@media (max-width: 768px) {
  .chiromanteia-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    max-width: 90%;
    gap: 40px;
  }

  .chiromanteia-container .col {
    flex: 1 1 100%;
    width: 100%;
    min-width: unset;
  }

  .chiromanteia-container h2 {
    font-size: 1.7rem;
  }

  .chiromanteia-container p {
    font-size: 1.05rem;
    text-align: center;
  }
}

.chiromanteia-container h1 {
  font-family: "Roboto Serif", serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2C3540;
  font-weight: 700;
}
	
.chiromanteia-container h2 {
  font-family: "Roboto Serif", serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2C3540;
  font-weight: 700;
}

.chiromanteia-container p {
  font-family: "Roboto Serif", serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2C3540;
  text-align: justify;
}

/* ΕΙΚΟΝΙΔΙΟ ΠΑΛΑΜΗΣ ΧΕΙΡΟΜΑΝΤΕΙΑ */	
.icon-palm-lg {
  width: 420px!important;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* ΕΙΚΟΝΙΔΙΟ ΠΑΛΑΜΗΣ ΑΡΧΙΚΗ ΣΕΛΙΔΑ */	
.icon-palm {
  width: 220px!important;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
  .icon-palm {
    width: 255px;
    margin-bottom: 0.8rem;
  }
}
	
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.icon-palm {
  animation: fadeInUp 0.8s ease-out;
}
	
/* ΕΙΚΟΝΙΔΙΟ ΠΑΛΑΜΗΣ ΣΕΛΙΔΑΣ */	
.icon-lines-lg {
  width: 420px!important;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* ΕΙΚΟΝΙΔΙΟ ΠΑΛΑΜΗΣ homepage */	
.icon-lines {
  width: 220px!important;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
  .icon-lines {
    width: 255px;
    margin-bottom: 0.8rem;
  }
}
	
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.icon-lines {
  animation: fadeInUp 0.8s ease-out;
}	

/* ΕΙΚΟΝΙΔΙΟ ΠΑΛΑΜΗΣ ΣΕΛΙΔΑΣ */	
.icon-cross-lg {
  width: 420px!important;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* ΕΙΚΟΝΙΔΙΟ ΠΑΛΑΜΗΣ ΣΗΜΑΔΙΑ */	
.icon-cross {
  width: 220px!important;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
  .icon-cross {
    width: 255px;
    margin-bottom: 0.8rem;
  }
}
	
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.icon-cross {
  animation: fadeInUp 0.8s ease-out;
}
.more-link {
  color: #2C3540;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  float: right;
}

.more-link::after {
  content: "→";
  position: absolute;
  right: -18px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: #2C3540;
}

.more-link:hover {
  transform: translateX(-4px);
}

.more-link:hover::after {
  opacity: 1;
  transform: translateX(5px);
}
/* ========================================================================= */	
/* ========================================================================= */		
	






/* ========================================================================= */	
/*  Σ Ε Λ Ι Δ Α    X E I R O M A N T E I A  */	
/* ========================================================================= */	
.xeiromanteia-wrap {
  display: flex;
  justify-content: center; /* Οριζόντια στο κέντρο */
  position: relative;
}

.xeiromanteia-img {
  width: 30%;        /* ✅ Προεπιλογή για μεγάλες οθόνες */
  height: 30vh;
  object-fit: contain;
  object-position: center;
}

/* Μεσαίες οθόνες (π.χ. tablets) */
@media (max-width: 1024px) {
  .xeiromanteia-img {
	width: 50%;
  }
}

/* Μικρές οθόνες (κινητά) */
@media (max-width: 600px) {
  .xeiromanteia-img {
	width: 80%;
  }
}



.two-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 στήλες ίσου πλάτους */
  gap: 3rem;                      /* απόσταση μεταξύ στηλών */
  align-items: start;             /* ✅ οι στήλες ξεκινούν στο ίδιο ύψος */
  justify-content: center;
  margin: 3rem auto;
  max-width: auto;
  padding: 0 2rem;
}

.two-cols-grid p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
  color: var(--text1);
  text-align: start; /* ✅ φυσική ροή, όχι τέλεια στοίχιση */
  word-break: normal;
}

.two-cols-grid h2, 
.two-cols-grid h3 {
  color: var(--text1);
  margin-bottom: 1rem;
  text-align: center;
}

/* ✅ Responsive – σε κινητά/tablets γίνεται μία στήλη */
@media (max-width: 992px) {
  .two-cols-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
}

/* ========================================================================= */	
/* ========================================================================= */	







	
/* ========================================================================= */		
/* ========================================================================= */		
/* F O O T E R */
.site-footer {
  background-color: #F2A285;
  color: #2C3540;
  font-family: "Playfair Display", serif;
  padding: 50px 20px 25px;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  border-top: 1px solid rgba(44, 53, 64, 0.45);
}

/* ---- Κύριο layout: 2 Ζώνες ---- */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 25px;
}

/* ---- Αριστερή Ζώνη ---- */
.footer-left {
  flex: 1 1 300px;
  text-align: center;
}

.footer-logo {
  width: 350px;
  display: block;
  margin: 0 auto 20px;
}

/* ---- Δεξιά Ζώνη (ομάδα 3 στηλών) ---- */
.footer-right {
  flex: 2 1 600px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 40px;
  width: 100%;
}

/* ---- Στήλες ---- */
.footer-column h5 {
  color: #516673;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  color: #2C3540;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #516673;
  text-decoration: none;
}

/* Επικοινωνία */
.footer-column p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.footer-column a {
  color: #516673;
  text-decoration: none;
}

.footer-column a:hover {
  color: #2C3540;
  text-decoration: none;
}

/* Viva Wallet */
.viva-col {
  text-align: center;
}

.viva-logo {
  width: 230px;
  opacity: 0.9;
  margin-top: 10px;
}

/* ---- Κάτω Τμήμα ---- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(44, 53, 64, 0.3);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #2C3540;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom a {
  color: #2C3540;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #516673;
  text-decoration: none;
}

/* ---- Responsive ---- */

/* 🟠 Μεσαίες οθόνες (tablet) */
@media (max-width: 992px) {
  .footer-main {
    flex-direction: none;
    align-items: center;
    gap: 50px;
  }

  .footer-right {
    width: 100%;
  }

  .footer-group {
    justify-content: center;
    gap: 40px;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* 🔵 Κινητά */
@media (max-width: 600px) {
  .footer-group {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .footer-column h5 {
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    width: 100%;
    text-align: center;
  }
}
/* ========================================================================= */	
/* ========================================================================= */	
