@font-face {
    font-family: 'AstyMonospaced';
    src: url('../fonts/AstyMonospaced-Thin.woff2') format('woff2'),
         url('../fonts/AstyMonospaced-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #f472b6;
    --secondary-color: #f43f5e;
    --text-dark: #1e293b;
    --text-light: #fff;
    --spacing-sm: 1.5rem;
    --spacing-lg: 6rem;
    --container-width: 1200px;
}

html, body { 
    margin: 0; 
    padding: 0;
    overflow-x: hidden;
    inline-size: 100vw;
    min-inline-size: 100%;
    background-color: #6b7280;
    font-family: 'AstyMonospaced', monospace;
    box-sizing: border-box;
}

.active { color: var(--primary-color); }
.text-shadow { text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.bg-gradient-hero { background-image: linear-gradient(to right, var(--secondary-color), #8b5cf6); }
.custom-container { inline-size: 100%; padding: 0; box-sizing: border-box; max-inline-size: 100%; margin: 0; }
.section-title { font-size: 2.5rem; font-weight: 600; color: #fff; margin-block-end: 2rem; text-align: center; }
.sticky-header { 
    position: fixed; 
    inset-block-start: 0; 
    inset-inline-start: 0; 
    inset-inline-end: 0; 
    z-index: 50; 
    background-color: #6b7280; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 
    inline-size: 100vw; 
    min-inline-size: 100%;
    overflow-x: hidden;
}
header { padding: var(--spacing-sm) 0; margin: 0; }
header .custom-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-inline-size: var(--container-width); 
    margin: 0 auto; 
    padding: 0 1rem;
}
header .custom-container nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    align-items: center; 
}
header .custom-container nav ul li { margin-inline-end: 1.5rem; }
header .custom-container nav ul li:last-child { margin-inline-end: 0; }
header .custom-container a, header .custom-container nav ul li a { 
    color: #fff; 
    text-decoration: none; 
}
header .custom-container nav ul li a:hover, header .custom-container nav ul li a.active { 
    color: var(--secondary-color); 
}
#mobile-menu { 
    display: none; 
    position: fixed; 
    inset-block-start: 0; 
    inset-inline-start: 0; 
    inline-size: 100%; 
    block-size: 100%; 
    z-index: 60; 
    background-color: rgba(0, 0, 0, 0.5);
}
#mobile-menu .bg-white { 
    background-color: rgba(107, 114, 128, 0.9);
    inline-size: 80%; 
    block-size: 100%; 
    position: fixed; 
    inset-block-start: 0; 
    inset-inline-end: 0; 
    padding: 2rem; 
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
}
#mobile-menu .close-menu-btn { 
    background-color: var(--primary-color); 
    border-radius: 50%; 
    inline-size: 40px; 
    block-size: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
#mobile-menu .close-menu-btn svg { 
    color: #fff; 
}
#mobile-menu nav ul { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
    margin-block-start: 2rem; 
}
#mobile-menu nav ul li a { 
    font-size: 1.25rem; 
    color: #fff; 
    padding: 0.5rem 0; 
    display: block; 
    position: relative; 
    transition: color 0.3s ease;
}
#mobile-menu nav ul li a:hover { 
    color: var(--primary-color); 
}
#mobile-menu nav ul li a::after { 
    content: ''; 
    position: absolute; 
    inline-size: 0; 
    block-size: 2px; 
    inset-block-end: 0; 
    inset-inline-start: 0; 
    background-color: var(--primary-color); 
    transition: inline-size 0.3s ease; 
}
#mobile-menu nav ul li a:hover::after { 
    inline-size: 100%; 
}
@media (max-width: 767px) {
    #mobile-menu.hidden { display: none; }
    #mobile-menu { display: block; }
    #hamburger-btn { 
        display: block; 
        margin-inline-end: 0.5rem;
    }
    header nav { display: none !important; }
    .custom-container {
        overflow: visible;
        padding: 0 0.5rem;
    }
    p, h1, h2, h3, h4, h5, h6, a, span, div {
        font-family: 'AstyMonospaced', monospace !important;
        font-size: calc(1rem + 3pt);
    }
    #video-player {
        max-inline-size: 100%;
        padding-block-end: 75%;
    }
    .carousel-arrow.prev {
        inset-inline-start: 5px;
        font-size: 20px;
    }
    .carousel-arrow.next {
        inset-inline-end: 5px;
        font-size: 20px;
    }
}
@media (min-width: 768px) { 
    #hamburger-btn { display: none !important; } 
}
#home { 
    background-image: linear-gradient(to right, var(--secondary-color), #8b5cf6); 
    padding: var(--spacing-lg) 0; 
    inline-size: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-block-size: 100vh; 
}
#home h1 { margin-block-end: 0.5rem; color: var(--text-light); }
#home p { margin-block-end: 1.5rem; color: var(--text-light); }
#about, #featured-clients, #new-services, #news-blog, #contact { 
    inline-size: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: var(--spacing-lg) 0; 
}
#about { background-color: #f7fafc; }
#about .about-content { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    padding: 2rem; 
    border-radius: 1.5rem; 
}
#about h2 { font-size: 2.5rem; font-weight: 600; color: var(--text-dark); margin-block-end: 1.5rem; text-align: start; }
#about p { font-size: 1.1rem; line-height: 1.75; color: #4b5563; margin-block-end: 2rem; }
#featured-clients { 
    background-color: #4B5563; 
    inline-size: 100%;
}
#new-services { background-image: linear-gradient(to bottom, #d8b4fe, #6b21a8); }
#news-blog { background-color: #e5e7f0; }
#contact { background-color: #f7fafc; }
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
    margin-block-start: 2rem; 
}
main { padding-block-start: 80px; min-block-size: calc(100vh - 80px); display: flex; flex-direction: column; }
footer { inline-size: 100%; padding: 1rem 0; }
.content-wrapper { 
    max-inline-size: 1200px;
    inline-size: 100%;
    margin: 0 auto; 
    padding: 0 var(--spacing-sm); 
}

.slideshow-container { 
    position: fixed; 
    inset-block-start: 0; 
    inset-inline-start: 0; 
    inline-size: 100%; 
    block-size: 100%; 
    background-color: rgba(0,0,0,0.9); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000; 
    display: none; 
}
.slide { 
    display: none; 
    inline-size: 100%; 
    max-inline-size: 800px; 
    block-size: auto; 
    object-fit: contain; 
    animation: fadeIn 0.5s ease; 
    margin: 0 auto; 
}
.slide img {
    display: block;
    margin: 0 auto; 
    inline-size: 100%;
    block-size: auto;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.prev, .next { 
    cursor: pointer; 
    position: absolute; 
    inset-block-start: 50%; 
    transform: translateY(-50%); 
    inline-size: auto; 
    padding: 16px; 
    color: white; 
    font-weight: bold; 
    font-size: 20px; 
    transition: 0.6s ease; 
    border-radius: 0 3px 3px 0; 
    user-select: none; 
    inset-inline-start: 10px; 
    inset-inline-end: auto; 
}
.next { inset-inline-end: 10px; inset-inline-start: auto; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); }
.caption { 
    color: #f2f2f2; 
    font-size: 15px; 
    padding: 8px 12px; 
    position: absolute; 
    inset-block-end: 8px; 
    inline-size: 100%; 
    text-align: center; 
}
.caption:empty {
    display: none;
}
.dot-container { text-align: center; position: absolute; inset-block-end: 20px; inline-size: 100%; }
.dot { 
    cursor: pointer; 
    block-size: 15px; 
    inline-size: 15px; 
    margin: 0 2px; 
    background-color: #bbb; 
    border-radius: 50%; 
    display: inline-block; 
    transition: background-color 0.6s ease; 
}
.active, .dot:hover { background-color: #999; }
.close-button { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; font-size: 30px; color: white; cursor: pointer; z-index: 1001; }
.close-button:hover { color: #ccc; }

.client-logo { 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    display: block; 
    inline-size: 100%; 
    max-inline-size: 300px; 
    block-size: 200px; 
    object-fit: cover; 
    border-radius: 0.5rem; 
    cursor: pointer; 
    position: relative; 
    z-index: 1; 
    margin-block-end: 1.5rem; 
}
.client-logo img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover; 
    border-radius: 0.5rem;
}
.client-logo:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.7); z-index: 2; }
.client-folder-name { 
    position: absolute; 
    inset-block-end: 50px; 
    inset-inline-start: 50%; 
    transform: translateX(-50%); 
    font-size: 1.1rem; 
    font-weight: 500; 
    color: #6b7280; 
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 0.25rem 0.5rem; 
    border-radius: 0.25rem; 
    z-index: 3; 
}
.blog-post-card { 
    background-color: white; 
    border-radius: 0.5rem; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    padding: 1.5rem; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}
.blog-post-card:hover { transform: translateY(-0.5rem); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.blog-post-card h3 { font-size: 1.25rem; font-weight: 500; color: #1e293b; margin-block-end: 0.5rem; }
.blog-post-card p { font-size: 1rem; color: #4b5563; }
.get-quote-button { 
    background-color: var(--primary-color); 
    color: var(--text-light); 
    font-weight: 600; 
    padding: 0.75rem 1.5rem; 
    border-radius: 1.5rem; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    text-decoration: none; 
}
.get-quote-button:hover { background-color: var(--text-light); color: var(--primary-color); transform: translateY(-0.25rem); }
.video-container { display: flex; justify-content: center; margin-block-end: 2rem; inline-size: 100%; position: relative; }
.video-wrapper { 
    inline-size: 100%; 
    max-inline-size: 1200px; 
    position: relative; 
    padding-block-end: 56.25%; 
    block-size: 0; 
    overflow: hidden; 
    border-radius: 0.75rem; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
}
.video-wrapper iframe, .video-wrapper video { 
    position: absolute; 
    inset-block-start: 0; 
    inset-inline-start: 0; 
    inline-size: 100%; 
    block-size: 100%; 
    display: block; 
}
.service-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.service-item img {
    inline-size: 160px;
    block-size: 160px;
    margin-block-end: 1rem;
    transition: transform 0.3s ease;
}
.service-item img:hover {
    animation: bounce 0.5s ease;
}
.service-item h3 { font-size: 1.25rem; font-weight: 500; color: #fff; margin-block-end: 0.5rem; }
.service-item p { font-size: 1rem; color: #e5e7eb; }
.blog-icon { font-size: 2rem; color: var(--primary-color); margin-block-end: 1rem; display: block; transition: color 0.3s ease; }
.blog-post-card:hover .blog-icon { color: #8b5cf6; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.client-logo[title]:hover::after {
    content: attr(title);
    position: absolute;
    inset-block-end: 100%;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 10;
}

.contact-form {
    max-inline-size: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-block-end: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: 'AstyMonospaced', monospace;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(244, 114, 182, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-block-size: 100px;
}

.form-group .error-message {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-block-start: 0.25rem;
    min-block-size: 1.2rem;
}

.form-status {
    text-align: center;
    margin-block-start: 1rem;
    font-size: 1rem;
    min-block-size: 1.2rem;
    color: var(--text-dark);
}

.form-status.success {
    color: green;
}

.form-status.error {
    color: var(--secondary-color);
}

.video-carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block-end: 2rem;
    inline-size: 100%;
    max-inline-size: 800px;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

#video-player {
    inline-size: 800px;
    position: relative;
    padding-block-end: 56.25%;
    block-size: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

#youtube-player {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inline-size: 100%;
    block-size: 100%;
}

.carousel-arrow {
    cursor: pointer;
    position: absolute;
    inset-block-start: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
}

.carousel-arrow.prev {
    inset-inline-start: -40px;
}

.carousel-arrow.next {
    inset-inline-end: -40px;
}

.carousel-arrow:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.2);
}

.carousel-caption {
    text-align: center;
    margin-block-start: 1rem;
    font-family: 'AstyMonospaced', monospace;
    font-size: 1.2rem;
    color: #fff;
}

.photos-title {
    font-family: 'AstyMonospaced', monospace;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-block-end: 1rem;
    margin-block-start: 100px;
    text-align: center;
}

.thumbnail-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-block-start: 52px;
    inline-size: 100%;
    max-inline-size: 1200px;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-button {
    background-color: transparent;
    color: var(--text-dark);
    font-family: 'AstyMonospaced', monospace;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-button:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-0.25rem);
}

/* Added styles for YouTube player dimensions */
#youtube-player {
    inline-size: 800px;
    block-size: 450px;
}

/* Added styles to center and constrain the width of the About Us text */
#about-us-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Added styles for cta-button in the About Us section to match get-quote-button */
#about .cta-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

#about .cta-button:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-0.25rem);
}

/* === Η προσθήκη για τους μοβ τίτλους, μόνο αυτά τα δύο sections === */
#news-blog .section-title,
#contact .section-title {
    color: #8b5cf6 !important;
}
@media (max-width: 767px) {
    main {
        padding-block-start: 160px;
    }
}
@media (max-width: 600px) {
  a.get-quote-button,
  #about a.cta-button,
  a.cta-button,
  button.cta-button {
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 98vw;
    white-space: normal;
    word-break: break-word;
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
  }
}
