/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #f9f9f9;
    margin: 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#ffffff;
    padding: 0.5rem 1rem;
    color: rgb(255, 255, 255);
}
/* Right Section (Wise Media Name) */
.header-right {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    color: #163fc9;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Tagline */
.tagline {
    margin-top: -0.2rem;  /* Adjust vertical spacing */
    font-size: 0.4rem;  /* Slightly smaller font size */
    font-weight: normal;  /* Lighter weight */
    color: #163fc9;  /* Ensures it's visible on dark background */
    line-height: 1.2;  /* Adds some spacing between lines if necessary */
}

/* Left Section (Hamburger + Logo) */
.header-left {
    display: flex;
    align-items: center;
}


.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger-menu div {
    width: 100%;
    height: 3px;
    background-color:  #163fc9;
}

.header-logo {
    margin-left: 10px;
    width: 50px;
    height: auto;
}

/* Center Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color:  #163fc9;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #0077ff;
    color: white;
    overflow-y: auto;
    transition: 0.3s ease-in-out;
    padding: 1rem;
    z-index: 1000;
}

.side-menu.active {
    left: 0;
}

.side-menu ul {
    list-style: none;
    margin-top: 1rem;
}

.side-menu ul li {
    margin-bottom: 1rem;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Close Button (Arrow) */
.close-button {
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1rem;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0077ff;
}

/* Footer Section in Side Menu */
.side-menu-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #ccc;
}

/* Social Media Section */
.social-media {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-media li {
    list-style: none;
}

.social-media .social-icon {
    color: #ccc;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-media .social-icon:hover {
    color: white;
}

/* Αφαίρεση οποιουδήποτε overflow από τη σελίδα */
body, html {
    overflow-x: hidden;
}
/* Hide Wise Media on screens smaller than 945px */
@media (max-width: 910px) {
    .header-right {
        display: none;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .social-media {
        flex-direction: row;
    }
}
/* Show Wise Media on screens bigger than 200px and smaller than 768px */
@media (max-width: 768px) {
    .header-right {
        display: block;
    }
}
/* Hide Wise Media on screens smaller than 200px */
@media (max-width: 220px) {
    .header-right {
        display: none;
    }
}

/* About Section */
.about-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-layer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

/* Top and Bottom Layers */
.top-layer,
.bottom-layer {
    background-color: #fff;
    color: #007BFF;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Middle Layer */
.middle-layer {
    background-color: #007BFF;
    color: #fff;
    border: 1px solid #0056b3;
    border-radius: 8px;
}

.text-content {
    flex: 1;
    padding: 20px;
}

.text-content h1, .text-content h2 {
    margin-bottom: 10px;
}

.text-content p {
    margin-bottom: 10px;
}

.image-content {
    flex: 1;
    text-align: center;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-layer {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        padding: 10px;
    }

    .image-content {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 10px;
    }

    .text-content {
        padding: 5px;
    }
}
