/* General Styles */
* {
    box-sizing: border-box; /* Η κρίσιμη διόρθωση για την αποφυγή overflow */
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Αποτρέπει οριστικά το οριζόντιο scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    text-align: center;
}

h1, h2, h3 {
    color: #333;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #6A0DAD;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-button {
    display: inline-block;
    background-color: #6A0DAD;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #8C4AD0;
}

/* Header & Navbar */
.hero-section {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    background-image: url('images/filoxenia_istoselidon.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-section h1 {
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 9999;
}

.logo img {
    height: 80px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6A0DAD;
}

/* Packages Section */
.packages-section {
    background-color: #f9f9f9;
}

.common-features {
    text-align: center;
    margin-bottom: 40px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.common-features h3 {
    color: #6A0DAD;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.common-features ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.common-features li {
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    color: #555;
    position: relative;
    cursor: help;
    transition: background-color 0.3s ease;
}

.common-features li:hover {
    background-color: #e0e0e0;
}

.common-features li i {
    color: #6A0DAD;
    margin-right: 5px;
}

.common-features li::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.common-features li:hover::after {
    opacity: 1;
    visibility: visible;
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 50px;
}

.package-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.package-card h3 {
    color: #6A0DAD;
    font-size: 2em;
    margin-bottom: 10px;
}

.package-card .storage {
    font-size: 1.5em;
    font-weight: bold;
    color: #555;
    margin-top: 5px;
}

.package-card .description {
    font-size: 0.9em;
    color: #666;
    margin: 15px 0;
    flex-grow: 1;
}

.package-card .price {
    font-size: 3em;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
}

.package-card .price span {
    font-size: 0.5em;
    color: #888;
}

/* Portfolio Section */
.portfolio-section {
    background-color: #f9f9f9;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.portfolio-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-item h3 {
    color: #6A0DAD;
    padding: 15px;
    margin-bottom: 0;
}

.portfolio-item p {
    padding: 0 15px 15px;
    font-size: 0.9em;
    color: #555;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #6A0DAD;
    color: #fff;
    padding: 80px 0;
}

.testimonials-section h2, .testimonials-section p {
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    margin-top: 15px;
    font-style: normal;
    font-weight: bold;
    text-align: right;
}

.author-title {
    font-weight: normal;
    font-size: 0.9em;
    display: block;
}

/* Stats Section */
.stats-section {
    background-color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item .stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #6A0DAD;
}

/* Why Us Section */
.about-section {
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 3em;
    color: #6A0DAD;
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-top: 0;
}

.feature-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #666;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.faq-item h3 {
    cursor: pointer;
    position: relative;
    font-size: 1.2em;
    color: #6A0DAD;
    margin: 0;
    padding-right: 30px;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    display: none;
    padding-top: 15px;
}

.faq-item.active .faq-content {
    display: block;
}

/* Contact Section */
.contact-section {
    background-color: #f0f0f0;
}

.manage-services-button {
    margin-bottom: 30px;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #6A0DAD;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    cursor: pointer;
    border: none;
}

.notification {
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    border-radius: 5px;
    display: none;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
    font-size: 0.9em;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-about img {
    height: 40px;
    margin-bottom: 10px;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6A0DAD;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Return to Top Button */
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #6A0DAD;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

#return-to-top:hover {
    background-color: #8C4AD0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 2em;
    }

    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background-color: #333;
        padding: 10px 20px;
        z-index: 9999;
    }

    .hero-section {
        padding-top: 100px;
    }

    .menu-toggle {
        display: block;
        z-index: 10000;
        margin: 0 10px 0 0; /* Δίνει κενό από δεξιά */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #333;
        flex-direction: column;
        width: 100%;
        padding: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 9998;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        text-align: center;
    }

    .package-cards, .portfolio-grid, .testimonials-grid, .stats-grid, .features-grid, .footer-content-grid {
        grid-template-columns: 1fr;
    }
    .footer-links, .footer-contact {
        text-align: center;
    }
}