/*
 * Tsisma Tweaks — CSS overrides (φορτώνεται από tsisma-tweaks.php με priority 999).
 * Μόνο διορθώσεις προσβασιμότητας/contrast που δεν ρυθμίζονται από τα plugins.
 */

/* Motion pass εσωτερικών σελίδων (server/divi/motion-pass): κάρτες με ανύψωση και χρυσή λάμψη, εικόνες με zoom στο hover */
.ts-card { transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1), border-color .4s !important; will-change: transform; }
.ts-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(201,164,92,0.35), 0 0 0 1px rgba(201,164,92,0.45) !important; }
.ts-img-hover .et_pb_image_wrap { overflow: hidden; border-radius: inherit; }
.ts-img-hover img { transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.ts-img-hover:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .ts-card:hover { transform: none; } .ts-img-hover:hover img { transform: none; } }

/* Hero κουμπιά (Αρχική v2, group με class ts-hero-ctas): το wrapper του Divi button είχε μικρότερο ύψος από το κουμπί και τα κουμπιά πατούσαν το ένα πάνω στο άλλο όταν τύλιγαν */
.ts-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ts-hero-ctas .et_pb_button_module_wrapper { display: flex; margin: 0 !important; }
.ts-hero-ctas .et_pb_button { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 767px) {
	.ts-hero-ctas > .et_pb_button_module_wrapper { width: 100%; }
	.ts-hero-ctas .et_pb_button { width: 100%; }
}

/* Bokeh φωτάκια σε Divi sections με class ts-bokeh (canvas από tsisma-tweaks.js) */
.ts-bokeh { position: relative; }
.ts-bokeh .ts-bokeh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.ts-bokeh > .et_pb_row { position: relative; z-index: 2; }

/* Σύνθεση «Ατμόσφαιρα» (Αρχική v2): η δεξιά στήλη μπαίνει πάνω στη μεγάλη φωτογραφία, η κάθετη φωτογραφία περιορίζεται */
@media (min-width: 981px) {
	.et_pb_column.ts-overlap-left { transform: translateX(-9%); }
}
.et_pb_image.ts-img-portrait { max-width: 300px; width: 100%; }
.et_pb_image.ts-img-portrait img { width: 100%; }

/* Gallery «Ατμόσφαιρα» (Supreme Filterable Gallery με class ts-gallery-3d): 3D είσοδος, tilt, παράλλαξη ανά στήλη */
.ts-gallery-section > .et_pb_row { position: relative; z-index: 2; }
.ts-gallery-3d .dsm-filterable-gallery-item { perspective: 1100px; }
.ts-gallery-3d .dsm-filterable-gallery-inner-item {
	border-radius: 14px; overflow: hidden; background: #151312;
	transform-style: preserve-3d; will-change: transform;
	box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
	transition: box-shadow .5s cubic-bezier(.16,1,.3,1);
}
.ts-gallery-3d .ts-pending .dsm-filterable-gallery-inner-item {
	opacity: 0; transform: translateY(40px) rotateX(10deg) scale(.96);
}
.ts-gallery-3d .ts-revealed .dsm-filterable-gallery-inner-item {
	opacity: 1; transform: none;
	transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), box-shadow .5s;
}
.ts-gallery-3d .dsm-filterable-gallery-inner-item:hover { box-shadow: 0 40px 80px -34px rgba(201, 164, 92, 0.45), 0 0 0 1px rgba(201, 164, 92, 0.5); }
.ts-gallery-3d .dsm-filterable-gallery-image-wrapper { position: relative; transform: translateY(var(--ts-py, 0px)) scale(1.18); will-change: transform; }
.ts-gallery-3d .dsm-filterable-gallery-image-wrapper::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(11,11,11,0) 55%, rgba(11,11,11,.55) 100%);
	opacity: 0; transition: opacity .4s;
}
.ts-gallery-3d .dsm-filterable-gallery-inner-item:hover .dsm-filterable-gallery-image-wrapper::after { opacity: 1; }
.ts-gallery-3d .dsm-fg-gallery-image { transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.ts-gallery-3d .dsm-filterable-gallery-inner-item:hover .dsm-fg-gallery-image { transform: scale(1.06); }
/* φίλτρα κατηγοριών σε χρυσά pills */
.ts-gallery-3d .dsm-filterable-gallery-filter-item {
	font: 800 12px/1 Manrope, Arial, sans-serif !important; letter-spacing: .12em; text-transform: uppercase;
	border-radius: 50px !important; padding: 13px 22px !important; margin: 0 6px 12px !important;
	background: transparent !important; color: #B8B1A6 !important; border: 1px solid #3a332b !important;
	transition: color .25s, border-color .25s, background .25s;
}
.ts-gallery-3d .dsm-filterable-gallery-filter-item:hover { color: #F5F0E8 !important; border-color: #C9A45C !important; }
.ts-gallery-3d .dsm-filterable-gallery-filter-item.dsm-active-filter { background: #C9A45C !important; color: #111111 !important; border-color: #C9A45C !important; }
.ts-gallery-3d .dsm-gallery-loadmore-container { margin-top: 28px; }
.ts-gallery-3d .dsm-gallery-loadmore-button { background: transparent !important; color: #C9A45C !important; border: 1px solid #C9A45C !important; border-radius: 50px !important; font: 800 12px/1 Manrope, Arial, sans-serif !important; letter-spacing: .14em; text-transform: uppercase; padding: 14px 26px !important; cursor: pointer; transition: background .25s, color .25s; }
.ts-gallery-3d .dsm-gallery-loadmore-button:hover { background: #C9A45C !important; color: #111111 !important; }
@media (max-width: 767px) {
	.ts-gallery-3d .dsm-filterable-gallery-inner-item { border-radius: 10px; }
	.ts-gallery-3d .dsm-filterable-gallery-filter-item { padding: 10px 14px !important; margin: 0 4px 8px !important; font-size: 11px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.ts-gallery-3d .ts-pending .dsm-filterable-gallery-inner-item { opacity: 1; transform: none; }
}

/* Κάρτες υπηρεσιών (Αρχική v2): Supreme Flipbox με class ts-flip. Μπροστά φωτογραφία + τίτλος, πίσω κείμενο + κουμπί. */
.ts-flip .dsm-flipbox { perspective: 1400px; cursor: pointer; }
/* Το hover υπολογίζεται στο σταθερό κουτί, όχι στις όψεις που γυρίζουν (αλλιώς τρεμοπαίζει στις άκρες) */
.ts-flip .dsm_flipbox_child { pointer-events: none; }
.ts-flip .dsm_flipbox_child .et_pb_button { pointer-events: auto; }
/* Κατάσταση «γυρισμένη» για οθόνες αφής (πρώτο tap γυρίζει, δεύτερο ανοίγει τον σύνδεσμο) */
.ts-flip .dsm-flipbox-effect-right.ts-flipped .dsm_flipbox_child:first-child { transform: rotateX(0deg) rotateY(180deg); }
.ts-flip .dsm-flipbox-effect-right.ts-flipped .dsm_flipbox_child:nth-child(2) { transform: rotateX(0deg) rotateY(0deg); }
.ts-flip .dsm-flipbox-effect-left.ts-flipped .dsm_flipbox_child:first-child { transform: rotateX(0deg) rotateY(-180deg); }
.ts-flip .dsm-flipbox-effect-left.ts-flipped .dsm_flipbox_child:nth-child(2) { transform: rotateX(0deg) rotateY(0deg); }
.ts-flip .dsm_flipbox_child { transition: transform .85s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.ts-flip:hover .dsm_flipbox_child { box-shadow: 0 40px 80px -34px rgba(201, 164, 92, 0.35), 0 0 0 1px rgba(201, 164, 92, 0.45) !important; }
.ts-flip .dsm_flipbox_wrapper { display: flex; flex-direction: column; width: 100%; }
.ts-flip .dsm-subtitle { order: -1; font: 800 11px/1 Manrope, Arial, sans-serif; letter-spacing: .22em; color: #C9A45C; margin-bottom: 12px; }
.ts-flip .dsm-flipbox-face-back .dsm-subtitle { display: none; }
.ts-flip .dsm-title { margin: 0 !important; padding: 0 !important; }
.ts-flip .dsm-content { margin-top: 12px; }
.ts-flip .dsm-content p:last-child { margin-bottom: 0; }
.ts-flip .et_pb_button { font: 800 12px/1 Manrope, Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase; color: #111111 !important;
	background: #C9A45C !important; border: 1px solid #C9A45C !important; border-radius: 50px !important; padding: 13px 22px !important; margin-top: 20px; transition: background .25s, border-color .25s; }
.ts-flip .et_pb_button:hover { background: #F5F0E8 !important; border-color: #F5F0E8 !important; padding: 13px 22px !important; }
.ts-flip .et_pb_button:after { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	.ts-flip .dsm_flipbox_child { transition: none; }
}

/* Method (Αρχική v2): Supreme Stacking Cards με class ts-method. Φωτογραφία αριστερά, κείμενο δεξιά, κάθετη στοίβα σε κινητό. */
.ts-method .dsm_stacking_card_wrapper { gap: 34px; align-items: center; }
.ts-method .dsm_image_wrapper { flex: 0 0 42%; }
.ts-method .dsm_image_wrapper img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.ts-method .dsm_title { margin: 0 0 12px !important; padding: 0 !important; }
.ts-method .dsm_content { margin: 0; }
.ts-method .dsm_stacking_card_child { backdrop-filter: blur(6px); }
@media (max-width: 767px) {
	.ts-method .dsm_stacking_card_wrapper { flex-direction: column; align-items: stretch; gap: 18px; }
	.ts-method .dsm_image_wrapper { flex: none; }
	.ts-method .dsm_image_wrapper img { aspect-ratio: 16 / 10; }
}

/* Marquee (Αρχική v2): δύο Supreme Marquee σε αντίθετες κατευθύνσεις, class ts-marquee-track */
.ts-marquee-section .et_pb_row { padding: 0 !important; }
.ts-marquee-track { margin-bottom: 0 !important; }
.ts-marquee-section .et_pb_row + .et_pb_row { margin-top: 18px !important; }
.ts-marquee-track .dsm_marquee_child_text { white-space: nowrap; }

/* Κριτικές Google (Αρχική v2, section με class ts-reviews): σκούρες γυάλινες κάρτες, 3D είσοδος και tilt (JS) */
.ts-reviews .wpsr-container .wpsr-business-info-wrapper .wpsr-business-info { background: #151312 !important; border: 1px solid rgba(201,164,92,0.25); border-radius: 18px; }
.ts-reviews .wpsr-business-info .wpsr-total-rating, .ts-reviews .wpsr-business-info .wpsr-total-reviews, .ts-reviews .wpsr-business-info .wpsr-total-reviews span, .ts-reviews .wpsr-business-info .wpsr-business-info-logo span { color: #F5F0E8 !important; }
.ts-reviews .wpsr-container .wpsr-business-info .wpsr-business-info-right .wpsr-write-review-modal-wrapper a.wpsr-write-review { background-color: #C9A45C !important; border-color: #C9A45C !important; color: #111111 !important; border-radius: 50px !important; font: 800 12px/1 Manrope, Arial, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; padding: 13px 22px !important; }
.ts-reviews .wpsr-container .wpsr-business-info .wpsr-business-info-right .wpsr-write-review-modal-wrapper a.wpsr-write-review:hover { background-color: #F5F0E8 !important; border-color: #F5F0E8 !important; color: #111111 !important; }
.ts-reviews .wpsr-review-template { background: #151312 !important; border: 1px solid rgba(201,164,92,0.22) !important; border-radius: 18px !important; box-shadow: 0 30px 60px -36px rgba(0,0,0,0.9) !important;
	transform-style: preserve-3d; will-change: transform; transition: box-shadow .5s cubic-bezier(.16,1,.3,1), border-color .4s; }
.ts-reviews .wpsr-col-4 { perspective: 1100px; }
.ts-reviews .ts-rv-pending .wpsr-review-template { opacity: 0; transform: translateY(40px) rotateX(10deg) scale(.96); }
.ts-reviews .ts-rv-revealed .wpsr-review-template { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), box-shadow .5s, border-color .4s; }
.ts-reviews .wpsr-review-template:hover { box-shadow: 0 40px 80px -34px rgba(201,164,92,0.45), 0 0 0 1px rgba(201,164,92,0.5) !important; border-color: rgba(201,164,92,0.6) !important; }
.ts-reviews .wpsr-review-template .wpsr-reviewer-name, .ts-reviews .wpsr-review-template .wpsr-reviewer-name a { color: #F5F0E8 !important; font-family: "Playfair Display", Georgia, serif !important; font-weight: 500 !important; }
.ts-reviews .wpsr-review-template .wpsr-review-content, .ts-reviews .wpsr-review-template .wpsr-review-content * { color: #D4CDC1 !important; }
.ts-reviews .wpsr-review-template .wpsr-review-info .wpsr-review-date { color: #9C9488 !important; }
.ts-reviews .wpsr-review-template .wpsr-review-content .wpsr_read_more, .ts-reviews .wpsr-review-template .wpsr-review-content .wpsr_read_less { color: #C9A45C !important; }
.ts-reviews .wpsr-review-template .wpsr-reviewer-image .wpsr-reviewer-avatar, .ts-reviews .wpsr-review-template .wpsr-reviewer-image img { border: 3px solid #151312 !important; box-shadow: 0 0 0 1px rgba(201,164,92,0.5); }
.ts-reviews .wpsr-reviews-loadmore, .ts-reviews .wpsr_more, .ts-reviews .wpsr-load-more-wrapper button { background: transparent !important; color: #C9A45C !important; border: 1px solid #C9A45C !important; border-radius: 50px !important; font: 800 12px/1 Manrope, Arial, sans-serif !important; letter-spacing: .14em; text-transform: uppercase; padding: 14px 26px !important; transition: background .25s, color .25s; }
.ts-reviews .wpsr-reviews-loadmore *, .ts-reviews .wpsr_more * { background: transparent !important; color: inherit !important; padding: 0 !important; border: 0 !important; font: inherit !important; letter-spacing: inherit !important; }
.ts-reviews .wpsr-reviews-loadmore:hover, .ts-reviews .wpsr_more:hover { background: #C9A45C !important; color: #111111 !important; }
@media (prefers-reduced-motion: reduce) { .ts-reviews .ts-rv-pending .wpsr-review-template { opacity: 1; transform: none; } }

/* Hub υπηρεσιών σε κινητό: 2 κάρτες ανά σειρά αντί για 12 στη σειρά */
@media (max-width: 767px) {
	.ts-hub-row { display: flex !important; flex-wrap: wrap; gap: 12px; }
	.ts-hub-row > .et_pb_column { width: calc(50% - 6px) !important; margin: 0 !important; }
	.ts-flip { margin-bottom: 0 !important; }
	.ts-flip .dsm-flipbox { height: 250px !important; }
	.ts-flip .dsm-title { font-size: 19px !important; }
	.ts-flip .dsm-content { font-size: 13px !important; line-height: 1.5 !important; margin-top: 8px; }
	.ts-flip .dsm_flipbox_child { padding: 18px !important; }
	.ts-flip .et_pb_button { padding: 10px 16px !important; font-size: 11px !important; margin-top: 12px; }
	.ts-flip .dsm-flipbox-3d .dsm_flipbox_face_inner { transform: none !important; }
}

/* WP Social Ninja (Google reviews) — WCAG AA 4.5:1 */
.wpsr-business-info .wpsr-rating-and-count .wpsr-total-reviews,
.wpsr-business-info .wpsr-rating-and-count .wpsr-total-reviews span {
	color: #555555; /* ήταν #9a9a9a σε #fdf4f4 (2.6:1) → 6.8:1 */
}

.wpsr-review-template .wpsr-review-info .wpsr-review-date {
	color: #666666; /* ήταν #888888 σε λευκό (3.5:1) → 5.7:1 */
}

.wpsr-review-template .wpsr-review-content .wpsr_read_more,
.wpsr-review-template .wpsr-review-content .wpsr_read_less {
	color: #0b6fb0; /* ήταν #1194dc (3.3:1) → 5.4:1 */
}

/* Υψηλότερη specificity από το generated CSS του plugin (.wpsr-reviews-920 .wpsr-container ... a) */
.wpsr-container .wpsr-business-info .wpsr-business-info-right .wpsr-write-review-modal-wrapper a.wpsr-write-review {
	background-color: #1a5fd0; /* ήταν #4284f3 (3.6:1) → 5.9:1 με λευκό */
	border-color: #1a5fd0;
	color: #ffffff;
}

.wpsr-container .wpsr-business-info .wpsr-business-info-right .wpsr-write-review-modal-wrapper a.wpsr-write-review:hover,
.wpsr-container .wpsr-business-info .wpsr-business-info-right .wpsr-write-review-modal-wrapper a.wpsr-write-review:focus {
	background-color: #144aa3;
	border-color: #144aa3;
	color: #ffffff;
}
