/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #ccd6f6;
    background-color: #0a192f;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    background-color: #0a192f;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-links {
    list-style-type: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #64ffda;
    text-decoration: none;
    font-size: 18px;
}

.nav-links a:hover {
    color: #ccd6f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0a192f;
    color: #ffffff;
}


#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

#hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

#hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #8892b0;
}

.btn {
    padding: 10px 20px;
    background-color: #64ffda;
    color: #0a192f;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #52d6b8;
}

/* Typing effect */
.typing {
    font-family: 'Courier New', Courier, monospace;
    border-right: 2px solid #64ffda; /* Cursor */
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: typing 3s steps(22) 1 normal both, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #64ffda; }
}

/*Dokimastiko!!!!!!!!!!!!!!!!!*/
/* Typing effect */
.typing {
    font-family: 'Courier New', Courier, monospace;
    border-right: 2px solid #64ffda; /* Cursor */
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: typing 3s steps(22) 1 normal both, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #64ffda; }
}

/* Grid styles for interactive boxes */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-gap: 10px;
    padding: 50px 20px;
    background-color: #0a192f; /* Dark background for contrast */
}

.box {
    width: 100px;
    height: 100px;
    background-color: lightgray;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.box:hover {
    transform: scale(1.1);
}

/**/


/* Button style */
.download-cv {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 20px;
    font-size: 16px;
    color: #64ffda;
    background-color: transparent;
    border: 2px solid #64ffda;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.download-cv:hover {
    background-color: #64ffda;
    color: #0a192f;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* About Section */
#about {
    padding: 100px 50px;
    text-align: center;
    background-color: #0a192f;
    margin: 0 auto;
    max-width: 1000px;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 150px;
    border-radius: 50%;
    margin-right: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

#about p {
    color: #8892b0;
    font-size: 18px;
    max-width: 600px;
    text-align: left;
    line-height: 1.8;
}

/*Project*/
/* Carousel Container */
.carousel-container {
    position: relative;
    width: 60%;
    margin: 40px auto;
    overflow: hidden;
    border: 1px solid #112240; /* Χρώμα παρόμοιο με το υπόλοιπο στυλ */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Σκιά για βάθος */
    background-color: #0a192f; /* Σκούρο φόντο για συνεχή αισθητική */
}

/* Slide Styling */
.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project {
    display: flex;
    align-items: center;
    min-width: 100%;
    padding: 30px;
}

.project-img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-right: 40px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Σκιά για βάθος */
}

.project-img:hover {
    transform: scale(1.05);
}

/* Text Styling */
.project-info {
    margin-left: 20px;
    color: #ccd6f6; /* Ανοιχτό γκρι κείμενο για συνοχή */
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
    color: #64ffda; /* Πράσινο για τους τίτλους */
}

.project-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #8892b0; /* Σκούρο γκρι για το κείμενο */
}

/* Button Styling */
/* Στυλ για τα κουμπιά προηγούμενο/επόμενο */
.prev, .next {
    background-color: rgba(100, 255, 218, 0.2); /* Ελαφρώς διάφανο κουμπί */
    color: #64ffda; /* Έντονο χρώμα για το κείμενο */
    border: 2px solid #64ffda; /* Περίγραμμα με το κύριο χρώμα */
    padding: 15px 25px; /* Κάτι πιο άνετο */
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50px; /* Καμπύλες για πιο μοντέρνα εμφάνιση */
    transition: all 0.4s ease;
}

.prev {
    left: -70px;
}

.next {
    right: -70px;
}

.prev:hover, .next:hover {
    background-color: rgba(100, 255, 218, 0.7); /* Εντονότερο χρώμα κατά το hover */
    color: #0a192f; /* Αλλαγή χρώματος κειμένου */
    transform: translateY(-50%) scale(1.2); /* Μεγέθυνση και hover εφέ */
    border-color: transparent; /* Αφαίρεση του περιγράμματος στο hover */
}

/* Νέο στυλ για τα links κάτω από το project */
/* Button Styling for project link */
.project-link {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: #64ffda;
    color: #0a192f;
    border: 2px solid transparent;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect for the button */
.project-link:hover {
    background-color: transparent;
    color: #64ffda;
    border-color: #64ffda;
}

/* Underline effect only for the text inside the button */
.project-link .underline {
    position: relative;
    display: inline-block;
}

.project-link .underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px; /* Adjust this to be closer or further from the text */
    width: 0;
    height: 2px;
    background-color: #64ffda;
    transition: width 0.3s ease;
}

.project-link:hover .underline::after {
    width: 100%;
}



/* Εξασφάλιση ότι τα κουμπιά είναι πάνω από την εικόνα */
.project-img, .project-info {
    z-index: 1;
}



/* Education Section */
#education {
    padding: 100px 50px;
    background-color: #0a192f;
    text-align: center;
}

#education h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ccd6f6;
}

/* Container για τα εκπαιδευτικά στοιχεία */
.education-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.education-item {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 20px 0;
    background-color: #112240;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-content {
    padding: 20px;
    color: #ccd6f6;
}

.education-item h3 {
    font-size: 24px;
    color: #64ffda;
    margin-bottom: 10px;
}

.education-item h4 {
    font-size: 20px;
    color: #ccd6f6;
    margin-bottom: 10px;
}

.education-duration {
    font-size: 16px;
    color: #8892b0;
    margin-bottom: 15px;
}

.education-description {
    color: #8892b0;
    font-size: 18px;
    line-height: 1.8;
}

/* Hover effects */
.education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Experience Section */
#experience {
    padding: 100px 50px;
    background-color: #0a192f;
    text-align: center;
}

#experience h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ccd6f6;
}

/* Container για δύο στήλες */
.experience-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Κοινό στυλ για τις καρτέλες */
.experience-item {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.experience-item.left {
    justify-content: flex-start;
}

.experience-item .experience-content {
    background-color: #112240;
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item.right .experience-content {
    text-align: left;
}

.experience-item.left .experience-content {
    text-align: right;
}

.experience-item h3 {
    font-size: 24px;
    color: #64ffda;
    margin-bottom: 10px;
}

.experience-item h4 {
    font-size: 20px;
    color: #ccd6f6;
    margin-bottom: 10px;
}

.experience-duration {
    font-size: 16px;
    color: #8892b0;
    margin-bottom: 15px;
}

.experience-description {
    color: #8892b0;
    font-size: 18px;
    line-height: 1.8;
}

/* Συνδετική γραμμή στο κέντρο */
.experience-container::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #64ffda;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.experience-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #64ffda;
    top: 30px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.experience-item.left::before {
    left: auto;
    right: -8px;
}

.experience-item.right::before {
    left: -8px;
}

/* Hover effects */
.experience-item .experience-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Contact Section 
#contact {
    padding: 100px 50px;
    background-color: #0a192f;
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

#contact p {
    color: #8892b0;
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-links .btn {
    margin: 10px;
    padding: 15px 25px;
    font-size: 16px;
}

.contact-links .btn:hover {
    background-color: #52d6b8;
}*/
#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background-color: #0a192f; /* Dark background for contrast */
    color: #ccd6f6;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #64ffda; /* Accent color for title */
}

#contact p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #8892b0;
}

/* Flexbox container for buttons */
.button-container {
    display: flex;
    gap: 20px; /* Space between the buttons */
    justify-content: center; /* Center the buttons */
}

/* Button Styling */
.btn {
    padding: 12px 25px;
    background-color: #64ffda;
    color: #0a192f;
    border: 2px solid transparent;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect for buttons */
.btn:hover {
    background-color: transparent;
    color: #64ffda;
    border-color: #64ffda;
}

/* Button animation on hover */
.btn::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #64ffda;
    transition: width 0.3s;
}

.btn:hover::after {
    width: 100%;
    transition: width 0.3s;
}

/* Quiz */
#quiz {
    padding: 100px 20px;
    background-color: #0a192f;
    color: #ccd6f6;
    text-align: center;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #112240;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.quiz-question {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #64ffda;
    border-radius: 5px;
    font-size: 18px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #52d6b8;
}

/* Button styling with underline effect */
button {
    padding: 12px 20px;
    background-color: #64ffda;
    color: #0a192f;
    border: 2px solid transparent; /* Αρχικό αόρατο περίγραμμα */
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 5px;
}

button:hover {
    background-color: transparent;
    color: #64ffda;
    border-color: #64ffda; /* Προσθήκη τυρκουάζ περιγράμματος */
    transform: scale(1.05);
}

/* Underline effect only for the text inside the button */
button .underline {
    position: relative;
    display: inline-block;
}

button .underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px; /* Adjust this to be closer or further from the text */
    width: 0;
    height: 2px;
    background-color: #64ffda;
    transition: width 0.3s ease;
}

button:hover .underline::after {
    width: 100%;
}

button:active {
    transform: scale(0.95);
}

.quiz-result {
    font-size: 20px;
    margin-top: 20px;
    color: #64ffda;
    animation: fadeIn 0.5s ease;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 15px;
    }
    
    .quiz-question {
        font-size: 20px;
    }
    
    input[type="text"] {
        font-size: 16px;
    }
    
    button {
        font-size: 16px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #0a192f;
    color: #8892b0;
    font-size: 14px;
}
/* Contact Section Styling */
footer p {
    margin: 0;
}
