/* 
Theme Name: ProjectPlus
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.3
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Boxed layout like the original site: grey page background, one 1340px white box */
html {
	background-color: #a4abbd;
}
body {
	max-width: 1340px;
	margin: 0 auto;
	background-color: #ffffff;
	min-height: 100vh;
}

/* Main menu: parent of the current page is highlighted too (as on the original site) */
.elementor-location-header .elementor-nav-menu--main > .elementor-nav-menu > li.current-menu-ancestor > a.elementor-item,
.elementor-location-header .elementor-nav-menu--main > .elementor-nav-menu > li.current-menu-parent > a.elementor-item {
	background-color: #3b8ced;
	color: #ffffff;
	border-radius: 4px;
}

/* Footer links keep the text colour, accent on hover */
.elementor-location-footer .elementor-widget-text-editor a {
	color: inherit;
}
.elementor-location-footer .elementor-widget-text-editor a:hover {
	color: #3b8ced;
}

/* Slider αρχικής: native αναπαραγωγή του Slider Revolution "slider-1" του live (1200x600, κύκλος 9s, loop).
   Θέσεις σε % του 1200x600 ώστε να κλιμακώνεται σε κάθε πλάτος. */
.pp-hero { position: relative; overflow: hidden; aspect-ratio: 2 / 1; width: 100%; max-width: 1200px; margin: 0 auto; }
.pp-hero > .elementor-element.pp-hero-layer { position: absolute !important; margin: 0 !important; padding: 0; max-width: none;
	animation-duration: 9s; animation-iteration-count: infinite; animation-fill-mode: both; will-change: transform, opacity; }
.pp-hero .pp-hero-layer img { display: block; width: 100%; height: auto; max-width: none; }
.pp-hero > .pp-hero-logo     { left: 32%;      top: 41.333%; width: 36% !important;     animation-name: pp-hero-flip; }
.pp-hero > .pp-hero-krd      { left: 1.667%;   top: 3.333%;  width: 16.667% !important; animation-name: pp-hero-left; }
.pp-hero > .pp-hero-pens     { left: 77.833%;  top: -5.5%;   width: 25% !important;     animation-name: pp-hero-right; }
.pp-hero > .pp-hero-mitsis   { left: 75%;      top: 58.833%; width: 25% !important;     animation-name: pp-hero-rise; }
.pp-hero > .pp-hero-coasters { left: 0;        top: 68.333%; width: 16.667% !important; animation-name: pp-hero-spin; }
@keyframes pp-hero-left  { 0% { opacity: 0; transform: translateX(-100%) skewX(45deg) scaleY(.7); } 7%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes pp-hero-right { 0% { opacity: 0; transform: translateX(100%) skewX(-45deg) scaleY(.7); } 7%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes pp-hero-spin  { 0% { opacity: 0; transform: rotate(70deg) scale(2); } 7%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes pp-hero-rise  { 0% { opacity: 1; transform: perspective(800px) translateY(120%) rotateX(35deg) scale(1.8); } 17%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes pp-hero-flip  { 0%, 8% { opacity: 0; transform: perspective(800px) rotateX(70deg); } 21%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pp-hero > .elementor-element.pp-hero-layer { animation: none; } }

/* Αρχική, Κατηγορίες Προϊόντων: πλέγμα 4x2 (2 στήλες σε κινητό), όλη η κάρτα είναι link. */
.pp-cats .pp-cats-heading .elementor-heading-title { font-family: Roboto, sans-serif; font-size: 28px; font-weight: 700; color: #1f2b4d; letter-spacing: .2px; }
.pp-cats .pp-cats-heading { margin-bottom: 28px !important; }
.pp-cats .pp-cats-heading .elementor-heading-title::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0; background: #3b8ced; border-radius: 2px; }
.pp-cats .pp-cat-card { background: #fff; border: 1px solid #e6eaf0; border-radius: 10px; overflow: hidden; text-decoration: none;
	box-shadow: 0 2px 8px rgba(20, 32, 56, .05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pp-cats .pp-cat-card .pp-cat-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.pp-cats .pp-cat-card .pp-cat-img { overflow: hidden; margin: 0 !important; }
.pp-cats .pp-cat-card .pp-cat-title { padding: 14px 12px 16px; border-top: 1px solid #eef1f5; margin: 0 !important; }
.pp-cats .pp-cat-card .pp-cat-title .elementor-heading-title { font-family: Roboto, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.3; color: #1f2b4d; transition: color .25s ease; }
.pp-cats .pp-cat-card:hover, .pp-cats .pp-cat-card:focus-visible { transform: translateY(-4px); border-color: #cfe0f7; box-shadow: 0 12px 28px rgba(20, 32, 56, .12); }
.pp-cats .pp-cat-card:hover .pp-cat-img img, .pp-cats .pp-cat-card:focus-visible .pp-cat-img img { transform: scale(1.04); }
.pp-cats .pp-cat-card:hover .pp-cat-title .elementor-heading-title, .pp-cats .pp-cat-card:focus-visible .pp-cat-title .elementor-heading-title { color: #3b8ced; }
.pp-cats .pp-cat-card:focus-visible { outline: 3px solid #3b8ced; outline-offset: 2px; }
@media (max-width: 767px) {
	.pp-cats .pp-cats-heading .elementor-heading-title { font-size: 22px; }
	.pp-cats .pp-cat-card .pp-cat-title { padding: 10px 8px 12px; }
	.pp-cats .pp-cat-card .pp-cat-title .elementor-heading-title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pp-cats .pp-cat-card, .pp-cats .pp-cat-card .pp-cat-img img { transition: none; } .pp-cats .pp-cat-card:hover { transform: none; } }

/* Εσωτερικές σελίδες: ίδιες κάρτες με την αρχική. Κάρτες προϊόντων (κωδικός, διαστάσεις, lightbox) και κάρτες
   κατηγορίας χωρίς σελίδα (στατικές, χωρίς hover). */
.pp-prods .pp-prod-card .pp-cat-title { padding: 14px 12px 4px; }
.pp-prods .pp-prod-card .pp-cat-title .elementor-heading-title { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.pp-prods .pp-prod-card .pp-prod-dims { padding: 0 12px 16px; margin: 0 !important; text-align: center; color: #5b6578; font-size: 13.5px; line-height: 1.55; }
.pp-prods .pp-prod-card .pp-prod-dims p { margin: 0; }
.pp-prods .pp-prod-card .pp-prod-dims strong, .pp-prods .pp-prod-card .pp-prod-dims b { color: #1f2b4d; font-weight: 600; }
.pp-prods .pp-prod-card .pp-cat-img a { display: block; cursor: zoom-in; }
.pp-cats .pp-cat-card--static:hover { transform: none; border-color: #e6eaf0; box-shadow: 0 2px 8px rgba(20, 32, 56, .05); }
.pp-cats .pp-cat-card--static:hover .pp-cat-img img { transform: none; }
.pp-cats .pp-cat-card--static:hover .pp-cat-title .elementor-heading-title { color: #1f2b4d; }
@media (max-width: 767px) {
	.pp-prods .pp-prod-card .pp-cat-title .elementor-heading-title { font-size: 14px; }
	.pp-prods .pp-prod-card .pp-prod-dims { font-size: 12.5px; padding: 0 8px 12px; }
}
/* Κατάλογοι (flipbook): το εξώφυλλο σαν βιβλίο σε τετράγωνη περιοχή, τίτλος από κάτω. Λιγότεροι από 4: κεντραρισμένοι. */
.pp-books .pp-book-card .pp-book-thumb { margin: 0 !important; }
.pp-books .pp-book-card .book-thumbnail { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 26px; box-sizing: border-box;
	background: linear-gradient(180deg, #f6f8fb, #e8edf4); overflow: hidden; }
.pp-books .pp-book-card .book-thumbnail a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: pointer; }
.pp-books .pp-book-card .book-thumbnail img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important;
	box-shadow: 0 14px 26px rgba(20, 32, 56, .3); transition: transform .35s ease; }
.pp-books .pp-book-card:hover .book-thumbnail img { transform: scale(1.04); }
@media (min-width: 768px) {
	.pp-books.pp-n-1 .pp-cats-grid { grid-template-columns: minmax(0, 300px) !important; justify-content: center; }
	.pp-books.pp-n-2 .pp-cats-grid { grid-template-columns: repeat(2, minmax(0, 300px)) !important; justify-content: center; }
	.pp-books.pp-n-3 .pp-cats-grid { grid-template-columns: repeat(3, minmax(0, 300px)) !important; justify-content: center; }
}
@media (max-width: 767px) { .pp-books .pp-book-card .book-thumbnail { padding: 16px; } }
