:root {
    --color-header: rgb(5, 32, 75);
    --color-footer: rgb(20, 50, 110);
    --color-highlight: rgb(236, 124, 0);
    --color-extraHighligt: rgb(236, 77, 0);
    --color-muted: rgb(140, 155, 180);
}





h1 h2 h3 h4 h5 {
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-top: 64px;
    padding-top: 64px;
    font-family: sans-serif;
    letter-spacing: 2px;
}


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background-color: var(--color-footer);
}





a {
    text-decoration: none;
    color: var(--color-highlight);
}

    a:hover {
        color: var(--color-extraHighligt);
    }

.usefull-link {
    color: var(--color-header);
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 900px;
}



.navbar {
    background-color: var(--color-header);
    border-color: whitesmoke;
    opacity: 0.95;
}

.nav-item a {
    color: white;
}

    .nav-item a:hover {
        color: var(--color-highlight);
    }


/*#region Fade In στις σελίδες */
.fadeIn div {
    animation: fadein 0.5s;
    -moz-animation: fadein 0.5s; /* Firefox */
    -webkit-animation: fadein 0.5s; /* Safari and Chrome */
    -o-animation: fadein 0.5s; /* Opera */
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/*#endregion */


/* Login button --------------------------------------------*/

.loginButton {
    color: white;
    background-color: transparent;
    border: none;
    padding: 4px 4px;
    margin: 0 1px;
}

/* Languange selection button --------------------------------*/

.langButton:hover {
    color: var(--color-highlight);
    background-color: white;
}

.langButton {
    color: white;
    background-color: transparent;
    border: none;
    padding: 3px 3px;
    margin: 0 1px;
    font-size: 14px;
}

    .langButton:hover {
        font-weight: 500;
        color: var(--color-highlight);
        background-color: white;
    }

.active .langButton {
    background-color: var(--color-highlight);
}

    .active .langButton:hover {
        background-color: white;
    }

.navbar-toggler-icon {
    background-color: var(--color-highlight);
}

.close-icon {
    background-color: var(--color-highlight);
}



.text-muted {
    color: var(--color-muted) !important
}


/* Social --------------------------------------------*/
.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 28px;
    text-decoration: none;
    background-color: var(--color-footer); /* optional base bg */
    /* Smooth transition */
    transition: color 0.8s ease, background-color 0.8s ease, transform 0.8s ease, box-shadow 0.8s ease;
}

    .social-circle:hover {
        color: var(--color-highlight);
        background-color: silver;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }


.nav-pills .nav-link {
    color: white;
    background-color: var(--color-header);
    border-color: #1861ac;
    margin: 0px 10px 10px 0px;
}

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        color: white;
        background-color: var(--color-highlight );
        border-color: rgb(236, 124, 0);
    }

/* Info Buttons Section --------------------------------------------- */
/* Accordion container */
.infoAccordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Each clickable item */
.infoItem {
    border-radius: 14px;
    background: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

    /* Hover like news cards */
    .infoItem:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

/* Header */
.infoHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    font-weight: 600;
    color: var(--color-header);
}

.headerLeft {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .headerLeft i {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        background: linear-gradient( 135deg, rgba(5,32,75,0.25), rgba(236,124,0,0.25) );
        color: var(--color-header);
    }

/* Rotating arrow */
.arrow {
    transition: transform 0.3s ease;
}

    .arrow.open {
        transform: rotate(180deg);
    }

/* Expandable content */
.infoContent {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Inner card with single accent line */
.infoCard {
    padding: 16px 18px;
    background: white;
    border-radius: 8px;
    margin: 8px 10px 12px 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
    position: relative;
}

    /* Sliding accent line only — no border-left on card */
    .infoCard::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 0;
        background: var(--color-highlight);
        transition: width 0.3s ease;
    }

/* Slide in when content is open */
.infoContent[style*="height"]:not([style*="0px"]) .infoCard::before {
    width: 3px;
}

/* News --------------------------------------------- */
.newsList {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Each news item */
.newsItem {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

    .newsItem:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

/* Icon */
.newsIcon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5,32,75,0.25), rgba(236,124,0,0.25));
    box-shadow: 0 6px 16px rgba(5,32,75,0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}


.newsItem:hover .newsIcon {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 26px rgba(5, 32, 75, 0.35);
}

.newsIcon i {
    color: var(--color-header);
    font-size: 26px;
    transition: transform 0.35s ease;
}

.newsItem:hover .newsIcon i {
    transform: scale(1.05);
}

/* Services Icon */
.servicesIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
    will-change: transform;
}

/* hover effect */
.newsItem:hover .servicesIcon {
    transform: translateY(-3px) scale(1.08);
}

/* optional small image animation */
.servicesIcon img {
    transition: transform 0.35s ease;
}

.newsItem:hover .servicesIcon img {
    transform: scale(1.05);
}

/* News Details Page -------------*/
.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.news-detail-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-detail-date {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-text {
    font-size: 1rem;
    line-height: 1.75;
/*    text-align: justify;*/
    margin-bottom: 30px;
}

    .news-detail-text img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 20px auto;
        border-radius: 8px;
    }

.news-detail-back {
    text-align: right;
}

    .news-detail-back a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 14px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

        .news-detail-back a:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
        }

/* Content */
.newsContent {
    display: flex;
    flex-direction: column;
}

.newsTitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-header);
    margin-bottom: 6px;
}

.newsItem:hover .newsTitle {
    color: var(--color-highlight);
}

.newsDate {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/*button paging*/
.btn-paging {
    background-color: whitesmoke;
    color: var(--color-footer);
    padding: 0.5rem 0.9rem;
    font-size: 14px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Hover effect using highlight */
    .btn-paging:hover {
        background-color: var(--color-highlight);
        color: #ffffff; /* keep text readable */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
.btn-pagingCurrent {
    background-color: var(--color-header);
    color:white;
    font-weight: 500;
}

.btn-pagingCurrent:hover {
    background-color: var(--color-highlight);
    color: #ffffff; /* keep text readable */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* Carousel --------------------------------------------*/

.full-carousel {
    width: 100%;
    margin-top: -32px; /* pull under navbar */
}

.carousel-item {
    height: 550px;
    position: relative;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Dark overlay */
    .carousel-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1;
    }
/* Caption styling */
.custom-caption {
    z-index: 2;
    bottom: 20%;
    text-align: left;
}
/* Typography */
.slide-title {
    font-size: 3rem;
    font-weight: 700;
}

.slide-text {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.slide-btn {
    font-size: 16px; /* smaller than btn-lg default */
    padding: 0.5rem 1rem;
}


/* Base button style */
.btn-custom {
    background-color: var(--color-footer); /* or your base button color */
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
    /* Hover effect using highlight */
    .btn-custom:hover {
        background-color: var(--color-highlight);
        color: #ffffff; /* keep text readable */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }


.btn-outline-primary {
    color: var(--color-header);
    border-color: var(--color-header);
}

    .btn-outline-primary:hover {
        background-color: var(--color-highlight);
        color: #ffffff; /* keep text readable */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }


/* Keyframe animation */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Apply animation when slide becomes active */
.carousel-item.active .slide-title {
    animation: slideUpFade 0.8s ease forwards;
}

.carousel-item.active .slide-text {
    animation: slideUpFade 0.8s ease forwards;
    animation-delay: 0.2s;
}

.carousel-item.active .slide-btn {
    animation: slideUpFade 0.8s ease forwards;
    animation-delay: 0.4s;
}


/* Persons List --------------------------------------------- */
.personsList {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card */
.personCard {
    padding: 25px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

    .personCard:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

/* Header */
.personHeader {
    margin-bottom: 15px;
}

.personTitle {
    font-size: 0.95rem;
    color: var(--color-highlight);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.personName {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-header);
}

/* Contact Section */
.personContact {
    margin-top: 10px;
    font-size: 0.95rem;
}

.contactHeading {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444;
}

.contactItem {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

    .contactItem span {
        font-weight: 600;
    }

    .contactItem a {
        color: var(--color-header);
        text-decoration: none;
    }

        .contactItem a:hover {
            text-decoration: underline;
        }



/* Image λίγο μεγαλύτερο zoom effect στο hover ---------------------------------*/
.grow-img05 {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    overflow: hidden;
}

    .grow-img05:hover {
        -moz-transform: scale(1.05);
        -o-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        overflow: hidden;
    }


.change_opacity {
    opacity: 1;
}

    .change_opacity:hover {
        opacity: 0.8;
    }


.fixed-bg {
    height: 200px;
    color: white;
    display: flex;
    align-items: center; /* vertical center */
    justify-content: flex-start; /* align items to the left */
    gap: 80px; /* space between text and button */
    padding-left: 130px; /* optional, gives some left margin */
    position: relative;
    background-image: url('/CmsMedia/Uploads/Images/athens.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    z-index: 0;
}

    /* overlay to darken the image */
    .fixed-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

    /* make sure text and button are above overlay */
    .fixed-bg p {
        position: relative;
        z-index: 2;
        margin: 0;
    }

    .fixed-bg a {
        position: relative;
        z-index: 2;
        color: white !important; /* text stays readable */
        border: 2px solid white !important; /* crisp border */
        background-color: rgba(236, 124, 0, 0.25); /* very light orange tint, 20% opacity */
        padding: 10px 25px; /* nice button size */
        border-radius: 5px; /* smooth corners */
        font-weight: 600; /* bold for visibility */
        transition: all 0.3s ease; /* smooth hover transition */
    }
/* Menu --------------------------------------------*/

.header-logo {
    width: 190px;
}


/* when burger menu is open */
.navbar-collapse.show .navbar-nav > li > a {
    font-size: 14px;
    transition: font-size 0.2s ease;
    margin: 4px;
}


.navbar-inverse .navbar-brand {
    color: white; /*το άλλαξα*/
}

.navbar-nav > li > a {
    color: white; /*Menu color*/
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: var(--color-highlight);
}

.navbar-inverse .navbar-nav > li > a:before {
    content: "";
    position: absolute;
    width: 60%;
    height: 1.2px;
    bottom: 5px;
    left: 20%;
    background-color: #229038;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -o-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.navbar-inverse .navbar-nav > li > a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}

/*#region Drop Down Menu*/
.dropdown {
    font-family: 'Segoe UI';
    font-size: 14px;
    font-weight: 600;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }


    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

.dropdown-menu {
    padding: 0; /* remove top/bottom padding */
    margin: 0; /* remove default margin */
    border-radius: 6px; /* keep rounded corners if you like */
    background-color: #fff3e0; /* match item background */
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}



.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}



.dropdown-submenu.pull-left {
    float: none;
}


    .dropdown-submenu.pull-left > .dropdown-menu {
        left: -100%;
        margin-left: 10px;
        -webkit-border-radius: 6px 0 6px 6px;
        -moz-border-radius: 6px 0 6px 6px;
        border-radius: 6px 0 6px 6px;
    }




.dropdown-menu > li > a {
    display: block;
    padding: 6px 15px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: var(--color-header);
    white-space: nowrap;
    font-family: 'Segoe UI';
    font-size: 14px;
    font-weight: 600;
    background-color: transparent;
}

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        color: white;
        text-decoration: none;
        background-color: var(--color-highlight);
    }

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: var(--color-highlight);
    text-decoration: none;
    background-color: pink;
    outline: 0;
}
/*#endregion*/
/*#region Auto drop down menu */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
/*#endregion*/



/* Κινητά  ---------------------------------------------------------*/



/* expand navbar only above 1200px */
@media (min-width: 1200px) {
    body {
        margin-top: 80px;
        padding-top: 80px;
        margin-bottom: 320px;
    }


    .slide-title {
        font-size: 1.8rem;
    }

    .slide-text {
        font-size: 0.9rem;
    }
}

/* Smooth dropdowns on desktop only */
@media (min-width: 992px) { /* lg+ screens */
    .dropdown-menu {
        display: block; /* keep it in the DOM */
        opacity: 0; /* start invisible */
        transform: translateY(10px); /* slide down slightly */
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .dropdown:hover > .dropdown-menu,
    .dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    /* Submenus slide from right */
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: -1px;
        border-radius: 0 6px 6px 6px;
        opacity: 0;
        transform: translateX(10px);
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        transform: translateX(0);
        visibility: visible;
    }
}


/* Tablet */
@media (max-width: 1200px) {
    body {
        margin-bottom: 420px;
    }


    .header-logo {
        width: 120px;
    }


    .slide-title {
        font-size: 2.0rem;
    }

    .slide-text {
        font-size: 1.0rem;
    }

    .navbar-nav > li > a {
        font-size: 13px;
        letter-spacing: 0.5px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .langButton {
        padding: 1px 1px;
        margin: 0 1px;
        font-size: 12px;
    }
}


@media (max-width: 768px) {

    body {
        margin-bottom: 620px;
    }


    .header-logo {
        width: 130px;
    }


    .slide-title {
        font-size: 1.8rem;
    }

    .slide-text {
        font-size: 0.9rem;
    }

    .navbar-nav > li > a {
        font-size: 11px;
        letter-spacing: 0.1px;
        padding-left: 3px;
        padding-right: 3px;
    }

    .langButton {
        padding: 1px 1px;
        margin: 0 1px;
        font-size: 13px;
    }
}



/* Small phones */
@media (max-width: 480px) {
    body {
        margin-bottom: 620px;
    }


    .header-logo {
        width: 150px;
    }


    .slide-title {
        font-size: 1.4rem;
    }

    .slide-text {
        font-size: 0.8rem;
    }

    .navbar-nav > li > a {
        font-size: 14px;
        letter-spacing: 0.5px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .langButton {
        padding: 1px 1px;
        margin: 0 1px;
        font-size: 14px;
    }
}
