/* ==================================================
   1. VARIABLES
================================================== */

:root {
    --primary: #0d5b73;
    --secondary: #df7b4b;
    --background: #fcf8f4;
    --text: #30424c;
    --text-light: #6c757d;
    --white: #ffffff;
    --radius: 22px;
    --shadow-sm: 0 8px 18px rgba(0,0,0,.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 45px rgba(0,0,0,.12);
    --transition: .30s;
}


/* ==================================================
   2. GENERAL / BASE
================================================== */

html {
    scroll-behavior: smooth;
}

html,
body,
button,
input,
textarea,
select {
    font-family: 'Ubuntu Condensed', sans-serif;
}

body {
    padding-top: 90px;
    color: var(--text);
}

.section {
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.section-white {
    background: var(--white);
}


/* ==================================================
   3. COMMON SECTIONS
================================================== */

.section-title {
    max-width: 760px;
    margin: 0 auto 70px;
}

    .section-title h2 {
        margin: 15px 0 20px;
        font-size: 42px;
        font-weight: 700;
        color: var(--primary);
    }

    .section-title p {
        color: var(--text-light);
        line-height: 1.9;
    }

.section-subtitle {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==================================================
   4. BUTTONS
================================================== */

.btn {
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    .btn:hover {
        transform: translateY(-3px);
    }

.btn-primary-custom {
    background: var(--secondary);
    color: var(--white);
    border-radius: 40px;
    padding: 14px 28px;
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 40px;
    padding: 14px 28px;
}


/* ==================================================
   5. NAVBAR / HEADER
================================================== */

.navbar {
    height: 85px;
    padding: 0;
}

.glass-nav {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.logo-icon {
    width: 48px;
    height: auto;
    display: block;
}

.logo-text {
    width: 170px;
    height: auto;
    display: block;
}

.navbar-nav {
    gap: 10px;
}

.nav-link {
    position: relative;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary) !important;
    padding: 12px 16px !important;
    transition: var(--transition);
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--secondary) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 6px;
        height: 3px;
        background: var(--secondary);
        transform: scaleX(0);
        transform-origin: left;
        transition: var(--transition);
        border-radius: 20px;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }

.navbar-toggler {
    font-size: 34px;
    color: var(--primary);
}

.dropdown-menu {
    border: none;
    border-radius: 18px;
    min-width: 240px;
    padding: 12px;
    margin-top: 0;
    z-index: 99999;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

.dropdown-item {
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

    .dropdown-item:hover {
        background: #f8f8f8;
        color: var(--secondary);
    }


/* ==================================================
   6. HERO
================================================== */

.hero {
    background: linear-gradient( 180deg, #ffffff 0%, var(--background) 100% );
    padding: 70px 0 80px;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content-box {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(13,91,115,.08);
    border-radius: 28px;
    padding: 50px 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

.hero h1 {
    margin: 0 0 24px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.12;
}

.hero p {
    margin: 0 0 32px;
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.7;
}


/* ==================================================
   7. PHILOSOPHY
================================================== */

.philosophy-section {
    background: #f8f3ed;
    padding: 80px 0;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

    .philosophy-content h2 {
        color: #17657a;
        font-size: 38px;
        line-height: 1.25;
        font-weight: 700;
        margin: 15px auto 30px;
    }

.philosophy-text {
    max-width: 780px;
    margin: 0 auto;
}

    .philosophy-text p {
        color: #5f6669;
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 22px;
    }

.philosophy-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 35px;
    color: #17657a;
    font-size: 17px;
    font-weight: 600;
}

.philosophy-line {
    width: 45px;
    height: 2px;
    background: #df7d4b;
    opacity: .7;
}


/* ==================================================
   8. HOMEPAGE SERVICES
================================================== */

.services-section {
    padding: 100px 0;
    background: var(--white);
    background: linear-gradient( 180deg, #ffffff 0%, var(--background) 100% );
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    text-align: center;
    border: 1px solid #efefef;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    display: block;
    text-decoration: none;
    color: inherit;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        text-decoration: none;
        color: inherit;
    }

.service-icon {
    width: 90px;
    height: 90px;
    margin: auto auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 40px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon-img {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain;
    display: block;
}

.icon-blue {
    background: #E9F6FA;
    color: var(--primary);
}

.icon-orange {
    background: #FFF1E8;
    color: var(--secondary);
}

.service-card h4 {
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    min-height: 80px;
}

.service-card a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
    margin-top: auto;
}

    .service-card a:hover {
        color: var(--secondary);
    }

    .service-card a i {
        margin-left: 6px;
    }

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}
/* ==================================================
   9. SERVICES DETAIL PAGE
================================================== */

.services-header {
    padding: 70px 0 45px;
    text-align: center;
}

    .services-header h1 {
        color: var(--primary);
        font-size: 52px;
        font-weight: 700;
        margin: 0;
    }

        .services-header h1::after {
            content: "";
            display: block;
            width: 70px;
            height: 4px;
            background: var(--secondary);
            margin: 18px auto 0;
            border-radius: 5px;
        }

.service-section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.service-section-alt {
    background: #f8f3ed;
}

.service-image {
    overflow: hidden;
    border-radius: 20px;
}

    .service-image img {
        display: block;
        width: 100%;
        height: 500px;
        object-fit: cover;
    }

.service-content {
    padding: 20px;
}

    .service-content h2 {
        color: var(--primary);
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .service-content h3 {
        color: var(--secondary);
        font-size: 27px;
        font-weight: 500;
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .service-content p,
    .service-content li {
        font-size: 18px;
        line-height: 1.65;
    }

    .service-content p {
        margin-bottom: 18px;
    }

    .service-content ul {
        padding-left: 25px;
        margin: 20px 0;
    }

    .service-content li {
        margin-bottom: 8px;
    }

    .service-content blockquote {
        border-left: 4px solid var(--secondary);
        padding: 12px 20px;
        margin: 30px 0 0;
        font-size: 20px;
        font-style: italic;
        color: var(--primary);
    }


/* ==================================================
   10. CONTACT
================================================== */

.contact-section {
    padding: 55px 0;
    background: var(--white);
    background: #f8f3ed;
}

.contact-map {
    height: 100%;
    min-height: 520px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

    .contact-map iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

.contact-box {
    background: var(--background);
    border-radius: var(--radius);
    padding: 40px;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
    transform: translateY(-20px);
}

    .contact-box:hover {
        transform: translateY(-28px);
    }

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #E9F6FA;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h5 {
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
}

.contact-item p {
    margin: 0;
    color: #6c757d;
    line-height: 1.7;
}

.contact-item a,
.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

    .contact-item a:hover,
    .contact-link:hover {
        color: var(--secondary);
    }

    .contact-link:hover {
        text-decoration: underline;
    }


/* ==================================================
   11. FOOTER
================================================== */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0 15px;
    border-top: 5px solid var(--secondary);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    width: 130px;
    height: auto;
}

.footer-brand h4 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
}

.footer-brand span {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

.footer-text {
    opacity: .9;
    line-height: 1.8;
}

.footer h5 {
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

    .footer-contact li {
        display: flex;
        gap: 12px;
        margin-bottom: 18px;
    }

    .footer-contact i {
        color: var(--secondary);
    }

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

    .footer a:hover {
        color: var(--secondary);
    }

.social {
    display: flex;
    gap: 15px;
}

    .social a {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.12);
    }

        .social a:hover {
            background: var(--secondary);
        }

.footer hr {
    margin: 50px 0 25px;
    opacity: .15;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}


/* ==================================================
   12. FLOATING BUTTONS
================================================== */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: .35s;
    z-index: 999;
}

    .back-to-top:hover {
        color: var(--white);
        background: var(--primary);
        transform: translateY(-4px);
    }

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.floating-contact {
    position: fixed;
    left: 25px;
    bottom: 25px;
    height: 52px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    z-index: 999;
    transition: .3s ease;
}

    .floating-contact:hover {
        transform: translateY(-3px);
        color: var(--white);
        box-shadow: 0 12px 30px rgba(0,0,0,.16);
    }

    .floating-contact i {
        font-size: 18px;
    }


/* ==================================================
   13. RESPONSIVE
================================================== */

@media (max-width: 991px) {

    body {
        padding-top: 82px;
    }

    .navbar {
        height: 82px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
    }

    .logo-icon {
        width: 42px;
    }

    .logo-text {
        width: 145px;
    }

    .logo-wrapper {
        gap: 7px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 8px 25px 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
        border-top: 1px solid rgba(13,91,115,.08);
    }

    .navbar-nav {
        gap: 0;
        width: 100%;
    }

        .navbar-nav .nav-link {
            padding: 10px 0 !important;
            font-size: 16px;
        }

    .hero {
        padding: 45px 0 60px;
    }

    .hero-content-box {
        padding: 10px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.5rem;
        font-weight: 500;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content-box .d-flex {
        justify-content: center;
    }

    .service-section {
        padding: 50px 0;
    }

    .service-image img {
        height: 350px;
    }

    .service-content {
        padding: 10px 0;
    }

        .service-content h2 {
            font-size: 34px;
        }

        .service-content h3 {
            font-size: 23px;
        }

        .service-content p,
        .service-content li {
            font-size: 17px;
        }

    .contact-map {
        min-height: 350px;
    }

    .contact-box {
        padding: 30px;
    }
}


@media (max-width: 576px) {

    .service-card {
        padding: 24px 18px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 18px;
    }

    .service-card h4 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: .9rem;
    }
}


@media (max-width: 575px) {

    .philosophy-section {
        padding: 55px 20px;
    }

    .philosophy-content h2 {
        font-size: 29px;
    }

    .philosophy-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .philosophy-highlight {
        font-size: 15px;
        line-height: 1.5;
        gap: 10px;
    }

    .philosophy-line {
        width: 25px;
    }

    .floating-contact {
        left: 15px;
        bottom: 30px;
        height: 42px;
        padding: 0 14px;
        gap: 7px;
        font-size: 13px;
        border-radius: 22px;
    }

        .floating-contact i {
            font-size: 16px;
        }

    .back-to-top {
        width: 48px;
        height: 48px;
    }
}
/* ==========================================
   TEAM - MOBILE ORDER
   ========================================== */

@media (max-width: 991px) {

    .team-member .row {
        display: flex;
        flex-direction: column;
        row-gap: 45px !important;
    }

    /* Η φωτογραφία πάντα πρώτη */
    .team-member .col-lg-4 {
        order: 1;
    }

    /* Το περιεχόμενο πάντα δεύτερο */
    .team-member .col-lg-8 {
        order: 2;
    }

    /* Φωτογραφία */
    .team-photo,
    .team-photo-placeholder {
        width: 85%;
        margin: 0 auto;
    }

    /* Κείμενο */
    .team-content {
        padding: 0 10px;
    }

        .team-content h2 {
            font-size: 32px;
            margin-bottom: 6px;
        }

        .team-content h3 {
            font-size: 21px;
            margin-bottom: 20px;
        }

        .team-content p {
            font-size: 16px;
            line-height: 1.65;
            margin-bottom: 16px;
        }
}
/* ==========================================
   SERVICES - MOBILE ORDER
   ========================================== */

@media (max-width: 991px) {

    .service-section .row {
        display: flex;
        flex-direction: column;
        row-gap: 40px !important;
    }

    /* Η εικόνα πάντα πρώτη */
    .service-section .col-lg-5 {
        order: 1;
    }

    /* Το περιεχόμενο πάντα δεύτερο */
    .service-section .col-lg-7 {
        order: 2;
    }

    /* Εικόνα */
    .service-section .service-image {
        width: 90%;
        margin: 0 auto;
    }

        .service-section .service-image img {
            width: 100%;
            height: 350px;
            object-fit: cover;
        }

    /* Κείμενο */
    .service-section .service-content {
        padding: 0 10px;
    }

        .service-section .service-content h2 {
            font-size: 32px;
            margin-bottom: 12px;
        }

        .service-section .service-content h3 {
            font-size: 22px;
            line-height: 1.35;
            margin-bottom: 22px;
        }

        .service-section .service-content p,
        .service-section .service-content li {
            font-size: 16px;
            line-height: 1.7;
        }
}