/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    max-width: 1400px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

/* Base styles for header navigation */
.header-container nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .header-container nav ul li {
    display: inline-block;
    position: relative;
  }
  .header-container nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
  }
  
  /* Dropdown styles */
  .dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown .dropdown-content li {
    display: block;
  }
  .dropdown .dropdown-content li a {
    padding: 10px;
    white-space: nowrap;
    color: #000;
  }
  .dropdown .dropdown-content li a:hover {
    background-color: #f2f2f2;
  }
  


/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 60px; /* Adjust height for better visibility */
    width: auto;
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hover Effect */
.logo img:hover {
    transform: scale(1.05); /* Slight enlargement on hover */
    opacity: 0.9;
}

/* Service Link Styling */
.service-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #004d99;
}

.service-link:hover i {
    transform: translateX(5px);
}


/* Ensure the logo scales properly on smaller screens */
@media (max-width: 768px) {
    .logo img {
        height: 50px; /* Slightly smaller on mobile */
    }
}


nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #002b5c;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #0066cc;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
/* Hero Section with Image Enhancements */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 27, 55, 0.4), rgba(0, 27, 55, 0.4)), url('image.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.5) 0%, rgba(0, 102, 204, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.cta-button {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.cta-button:hover {
    background-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.4);
}

/* About Section */
.about {
    padding: 100px 7%;
    background-color: #fff;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: #002b5c;
    position: relative;
    font-size: 36px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0066cc;
    margin: 20px auto 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.about-content p {
    margin-bottom: 25px;
}

/* Services Section */
.services {
    padding: 100px 7%;
    background-color: #f8f9fa;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 43, 92, 0.1), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 204, 0.1);
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-content h3 {
    color: #002b5c;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #0066cc;
}

.service-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.service-icon {
    font-size: 44px;
    color: #0066cc;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #004d99;
}

/* Contact Section */
.contact {
    padding: 100px 7%;
    background-color: #fff;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 43, 92, 0.1), transparent);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 350px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #002b5c;
    margin-bottom: 25px;
    font-size: 24px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #0066cc;
}

.contact-info p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    margin-right: 15px;
    color: #0066cc;
    font-size: 18px;
    margin-top: 3px;
}

.info-item p {
    margin-bottom: 0;
}

.contact-form {
    flex: 1 1 500px;
}

.contact-form h3 {
    color: #002b5c;
    margin-bottom: 25px;
    font-size: 24px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #0066cc;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #002b5c;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background-color: #fff;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-submit {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.form-submit:hover {
    background-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

/* Footer */
footer {
    background-color: #002b5c;
    color: white;
    padding: 70px 7% 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #003d82, #0066cc, #003d82);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    margin-bottom: 25px;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #0066cc;
    margin-top: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-section p {
    color: #aabfd4;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #aabfd4;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    display: block;
    padding: 3px 0;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section i {
    margin-right: 10px;
    color: #0066cc;
}


.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Hide hamburger by default, show only on mobile */
/* Hamburger styling */
/* Hamburger button styles */
.hamburger {
    display: none; /* Initially hidden on desktop */
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hide navigation on mobile */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger */
    }
    

    nav {
        display: none; /* Hide menu by default */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 15px;
    }

    /* Show menu when active */
    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        padding: 10px;
    }

    nav ul li a {
        text-decoration: none;
        color: #002b5c;
        font-weight: 500;
        font-size: 16px;
        display: block;
    }
    /* Show dropdown when active (For Mobile Click) */
.dropdown-content.open {
    display: block;
}
}
/* Desktop Hover Behavior */
@media screen and (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block; /* Enables hover for desktops */
    }
}

/* Mobile View (Disable Hover, Allow Click) */
@media screen and (max-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: none !important; /* Disable hover effect */
    }

    .dropdown-content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        box-shadow: none;
        text-align: center;
    }
}
/* Mobile Styles */
@media screen and (max-width: 768px) {
  /* Ensure the dropdown content is hidden by default */
  .dropdown-content {
    display: none;
  }
  /* When the active class is added, display the dropdown */
  .dropdown-content.active {
    display: block;
  }
  
}
@media (max-width: 768px) {
    header {
        width: 100vw; /* Χρησιμοποιεί το viewport width για να αποφευχθεί overflow */
    }

    .header-container {
        padding: 15px 5%; /* Μικρότερο padding για καλύτερη αξιοποίηση του χώρου */
    }
}

@media (max-width: 768px) {
    .map-container iframe {
        width: 100% !important;
        height: 300px !important; /* Μικρότερο ύψος μόνο για mobile */
    }
}
