/* Base font rules updated for new theme */
body {
    margin: 0;
    color: #1a1a1a;
    font-weight: 400;
}

p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .ripple-effect-button, .send-message-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.jumbotron-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #0A0F29;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
}

/* New SVG Title Styles */
.hero-svg-title {
    width: 100%;
    height: auto;
    max-width: 1000px;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-style: normal;
    overflow: visible;
    
    /* ΠΡΟΣΘΗΚΗ ΓΙΑ ΑΠΟΦΥΓΗ FOUC */
    visibility: hidden; 
    opacity: 0;
}

.jumbotron-hero .subhead {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 3vw, 24px);
    color: #98abb4;
    margin: 20px auto 0 auto;
    max-width: 600px;
    position: relative;
    opacity: 0; /* Hide initially for GSAP */
}


.scroll-down-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    font-size: 28px;
    color: white;
    z-index: 1;
    animation: pulseArrow 2s infinite ease-in-out;
    cursor: pointer;
    padding: 10px;
}

@keyframes pulseArrow {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 10px); opacity: 0.7; }
}

#features.bg-white {
    padding-top: 80px;
    padding-bottom: 80px;
}
#features .feature-item {
    background-color: #fff;
}

#client.overlay::before {
    background-image: none;
    background-color: #d0ceceff;
}

/* CSS for Client Logo Hover Effect & Size */
.client-slider .client-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    padding: 5px;
    box-sizing: border-box;
}

.client-slider .client-item img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

#side-nav .sidenav-content .side-menu li a:hover {
    color: #f1f1f1;
    background-color: #555;
}

a#side-nav-open span.lnr-menu {
    font-size: 28px;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: opacity 0.3s, visibility 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #333;
}

#scrollToTopBtn.show {
    display: block;
}

#animated-logo-container {
    padding: 20px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 10;
    background-color: #0A0F29;
}

#animated-logo-container #Layer_1 .st0,
#animated-logo-container #Layer_1 .st1 {
    fill: none;
    stroke-width: 2px;
}

html {
    background-color: #0A0F29;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0A0F29;
    overflow-x: clip;
}

footer.mastfoot .inner .row .col-lg-4 p {
    color: #ffffff;
}

footer.mastfoot .nav-mastfoot .nav-link i {
    color: #ffffff !important;
    font-size: 24px !important;
}

footer.mastfoot .nav-mastfoot .nav-link:hover i {
    color: #dddddd;
}

footer.mastfoot p {
  color: #ffffff;
}

#portfolio .grid-portfolio .grid-item {
    margin-bottom: 30px;
}

/* Lightbox / GLightbox overrides */
#lightcase-case {
     max-height: 95vh;
}

#lightcase-content .lightcase-contentInner {
    width: 800px;
    height: 600px;
    max-width: 95vw;
    max-height: 90vh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: transparent;
}

#lightcase-case .lightcase-nav a.lightcase-icon-prev,
#lightcase-case .lightcase-nav a.lightcase-icon-next {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
}
#lightcase-case .lightcase-nav a.lightcase-icon-prev:before,
#lightcase-case .lightcase-nav a.lightcase-icon-next:before {
    color: white;
    font-size: 22px;
}

.paralos-section-container {
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.section-content.bg-white {
    background-color: #ffffff;
    color: #333;
}

.paralos-text-content {
    padding-left: 4.5rem;
}

.rotating-video-container {
    width: 100%;
    position: relative;
    perspective: 1200px;
    overflow: visible;
    height: auto;
    aspect-ratio: 1 / 1;
}

.rotating-video-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}

.paralos-video-box {
    position: absolute;
    width: 50%;
    height: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    transform: scale(1.02);
    aspect-ratio: 1 / 1;
}

.paralos-video-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

.rotating-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.video-box-1 { top: 0; left: 0; z-index: 4; }
.video-box-2 { top: 0; right: 0; left: auto; z-index: 3; }
.video-box-3 { bottom: 0; left: 0; top: auto; z-index: 2; }
.video-box-4 { bottom: 0; right: 0; top: auto; left: auto; z-index: 1; }

.gsap-marker-scroller-start, .gsap-marker-scroller-end, .gsap-marker-start, .gsap-marker-end {
  z-index: 9999;
}


@media (min-width: 992px) {
  #what-is-paralos .container,
  #reservation .container,
  footer.mastfoot .inner.container {
    max-width: 1400px;
  }
}

#features-list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

#features-list .list-inline-item {
    flex: 1;
    text-align: center;
    max-width: 200px;
}


@media (max-width: 991px) {
    .paralos-text-content {
        padding-left: 0;
        text-align: center;
        margin-top: 2.5rem;
    }

    .rotating-video-container {
        height: 400px;
        perspective: 800px;
    }
}

@media (max-width: 767px) {
    .rotating-video-container {
        height: 300px;
        perspective: 600px;
    }
    .rotating-video-content,
    .paralos-video-box {
        transform-style: flat;
    }
    /* Pure CSS fix for mobile line breaks */
    .title-wrap h2 .mobile-br {
        display: block;
    }
    #features-list {
        flex-direction: column;
        align-items: center;
    }
    #features-list .list-inline-item {
        margin-bottom: 2rem;
        width: 100%;
    }
}

/* --- KNOW MORE / RIPPLE BUTTON --- */
.know-more-button-container {
    margin-top: 2.5rem;
    text-align: left;
}

@media (max-width: 991px) {
    .know-more-button-container {
        text-align: center;
    }
}


.ripple-effect-button {
    text-decoration: none;
    position: relative;
    font-size: 16px;
    color: #333;
    background-color: #ddd;
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.ripple-effect-button:hover {
    background-color: #ddd;
    color: #333;
}

.ripple-effect-button .ripple {
    position: absolute;
    border-radius: 50%;
    background-color: #893341;
    transform: scale(0);
    animation: rippleEffect 0.8s linear;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}


/* --- SEND MESSAGE BUTTON (Contact Form) --- */
.send-message-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: none;
    padding: 0;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: #ffffff;
    color: #893341;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.send-message-btn .text {
    padding: 0.8rem 1rem 0.8rem 1.5rem;
    color: #893341;
}

.send-message-btn .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 1.5rem;
}

.send-message-btn .icon svg {
    fill: #893341;
    width: 1.5rem;
    height: 1.5rem;
}

/* --- PORTFOLIO FILTER ACCENT COLOR --- */
.portfolio-header .filters a {
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    padding-bottom: 3px;
}

.portfolio-header .filters a.active {
    color: #893341;
    border-bottom-color: #893341;
}

.portfolio-header .filters a:hover {
    color: #893341;
}
/* --- Custom Modal Close 'X' Button --- */
.modal-header .btn-close {
    background: none;
    opacity: 1;
    font-size: 1.5rem;
    cursor: pointer;
}
.modal-header .btn-close:focus {
    box-shadow: none;
}
.modal-header .btn-close::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #888;
    transition: color 0.2s ease-in-out;
}
.modal-header .btn-close:hover::before {
    color: #000;
}

/*
=====================================================
STYLES FOR THE ANIMATION INSIDE THE MODAL (POP-UP)
=====================================================
*/

#paralosInfoModal .modal-dialog {
    max-width: 1000px;
    margin: 1.75rem auto;
}

#paralosInfoModal .modal-body {
    background-color: white;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
}

#paralosInfoModal .animated-modal-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Top section with Title and Paragraph */
#paralosInfoModal .top-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

#paralosInfoModal .title-block {
    flex: 1 1 450px;
    min-width: 450px;
}

#paralosInfoModal .main-paragraph-block {
    flex: 1 1 300px;
    max-width: 350px;
    padding-top: 10px;
}

/* Bottom section with Grey Box and Floating Titles */
#paralosInfoModal .bottom-section {
    position: relative;
    width: 100%;
}

#paralosInfoModal .services-box {
    width: 75%;
    background-color: #3f4a56;
    padding: 30px;
    box-sizing: border-box;
}

#paralosInfoModal .side-titles {
    position: absolute;
    right: 0;
    top: 30px;
    width: 23%;
    text-align: right;
}

#paralosInfoModal .red-title-2 {
    margin-top: 180px;
}

/* Animation Visibility Control */
#paralosInfoModal .title-block,
#paralosInfoModal .bottom-section,
#paralosInfoModal .main-paragraph-block {
     opacity: 0;
     visibility: hidden;
     transition: opacity 0.8s ease-in-out;
}

#paralosInfoModal .is-visible {
    opacity: 1;
    visibility: visible;
}

/* Typography and specific element styling */
#paralosInfoModal h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 82px;
    line-height: 1.05;
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 1.2px #893341;
    text-stroke: 1.2px #893341;
}

#paralosInfoModal .main-paragraph {
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: left;
}

#paralosInfoModal .typing-cursor {
    border-right: 2px solid black;
    animation: blink-caret-modal .75s step-end infinite;
}

@keyframes blink-caret-modal {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

#paralosInfoModal .services-text p {
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0 0 16px 0;
}

#paralosInfoModal .services-text p:last-child { margin-bottom: 0; }

#paralosInfoModal .services-text strong {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#paralosInfoModal .red-text-block {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #883441;
    line-height: 1.5;
}

/* Hide mobile-specific titles by default (on desktop) */
#paralosInfoModal .service-title-mobile {
    display: none;
}

/* Mobile responsive adjustments for the modal */
@media (max-width: 991px) {
    #paralosInfoModal .top-section,
    #paralosInfoModal .bottom-section {
        flex-direction: column;
    }
    #paralosInfoModal .title-block {
        position: static;
        min-width: unset;
    }
    #paralosInfoModal .main-paragraph-block {
        max-width: 100%;
    }
    #paralosInfoModal .services-box {
        width: 100%;
    }

    #paralosInfoModal .side-titles {
        display: none;
    }
    #paralosInfoModal .service-title-mobile {
        display: block;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1.2rem;
        color: #ffffff;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    #paralosInfoModal .service-title-mobile + p + p + p + p + .service-title-mobile {
        margin-top: 30px;
    }
    #paralosInfoModal .red-title-2 {
        margin-top: 15px;
    }
}

/* === STYLES FOR CUSTOM CAROUSEL ARROWS === */
.custom-lightbox-content .carousel-control-prev,
.custom-lightbox-content .carousel-control-next {
    background: #000000;
    opacity: 1;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 10;
}

.custom-lightbox-content .carousel-control-prev:hover,
.custom-lightbox-content .carousel-control-next:hover {
    background: #333333;
}

.custom-carousel-arrow {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: transparent;
}

.custom-carousel-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
}

.carousel-control-next .custom-carousel-arrow::before {
    border-width: 7px 0 7px 9px;
    border-color: transparent transparent transparent white;
    transform: translate(-50%, -50%);
}

.carousel-control-prev .custom-carousel-arrow::before {
    border-width: 7px 9px 7px 0;
    border-color: transparent white transparent transparent;
    transform: translate(-50%, -50%);
}

.custom-lightbox-content .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



@media (max-width: 767px) {
  .contact-info-extra .phone-line {
    display: block;
    margin-top: 8px; /* Adds a little space above the phone number */
  }
}

/* --- CALL TO ACTION POP-UP (ΚΑΘΑΡΟΣ ΚΩΔΙΚΑΣ) --- */

#cta-popup-container {
    position: fixed;
    bottom: 20px;
    right: 20px; /* ΑΛΛΑΓΗ: Επιστροφή στα δεξιά */
    left: auto;
    z-index: 1050;
    width: 720px;
    height: 360px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    
    /* ΑΛΛΑΓΗ: Animation από δεξιά */
    opacity: 0;
    transform: translateX(110%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

/* Ενεργοποίηση εμφάνισης από Javascript */
#cta-popup-container.show {
    opacity: 1;
    transform: translateX(0);
}

/* --- 5. ΕΣΩΤΕΡΙΚΗ ΔΙΑΤΑΞΗ (ΚΕΙΜΕΝΟ & ΒΙΝΤΕΟ) --- */
.cta-content {
    display: flex; /* Τοποθετεί το κείμενο και το βίντεο το ένα δίπλα στο άλλο */
    flex-direction: row;
    width: 100%;
    height: 100%;
}

/* Το κομμάτι του κειμένου (αριστερά) */
.cta-text {
    flex: 1; /* Παίρνει τον υπόλοιπο χώρο */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Το κομμάτι του βίντεο (δεξιά) */
.cta-video {
    width: 360px; /* Σταθερό πλάτος για το βίντεο */
    height: 360px; /* Σταθερό ύψος για το βίντεο */
    flex-shrink: 0; /* Αποτρέπει το βίντεο από το να "μαζέψει" */
}

.cta-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Γεμίζει το πλαίσιο 360x360 χωρίς παραμόρφωση */
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* --- ΣΤΥΛ ΓΙΑ ΤΑ ΚΕΙΜΕΝΑ & ΤΟ ΚΟΥΜΠΙ --- */
.cta-title-container {
    margin-bottom: 25px;
    overflow: hidden;
	text-align: center;
}

.cta-title-container div {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #333;
    line-height: 1.2;
    padding: 2px 0;
    opacity: 0; /* Για το animation */
    white-space: nowrap;
}

.cta-subtext {
    font-family: 'Roboto', sans-serif;
    color: #555;
    margin-bottom: 15px;
    opacity: 0; /* Για το animation */
    text-align: center;
}
.cta-subtext h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}
.cta-subtext p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.cta-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    background-color: #893341;
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    opacity: 0; /* Για το animation */
}

.cta-button:hover {
    background-color: #6d2834;
	color: #faf064;
}

#close-popup-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    z-index: 2;
}

/* --- Ρυθμίσεις για κινητά --- */
@media (max-width: 767px) {
    #cta-popup-container {
        width: 90vw;
        height: auto;
        left: 5vw;
        right: 5vw;
    }
    .cta-content {
        flex-direction: column; /* Το βίντεο πηγαίνει κάτω από το κείμενο */
    }
    .cta-video {
        width: 100%;
        height: 200px;
        border-radius: 0 0 15px 15px;
    }
    .cta-video video {
        border-radius: 0 0 15px 15px;
    }
}