/*
Theme Name: My Theme
Theme URI: https://example.com
Author: Giannis K.
Author URI: https://example.com
Description: Ένα προσαρμοσμένο WordPress theme με Polylang και Gutenberg support
Version: 0.0.4
License: GPL v2 or later
Text Domain: my-theme
Domain Path: /languages
*/

/* ===== Βασικό Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: black;
}

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

/* ===== Main Content ===== */
.site-main {
	display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}


/* ===== Search & 404 ===== */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form input[type="submit"] {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ===== Gutenberg Blocks ===== */
.wp-block-image {
    margin: 20px 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-gallery {
    margin: 20px 0;
}

.wp-block-button__link {
    display: inline-block;
    padding: 10px 25px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.wp-block-cover {
    padding: 40px 20px;
    margin: 20px 0;
}

.wp-block-quote {
    border-left: 4px solid #333;
    padding-left: 20px;
    margin: 20px 0;
}

.wp-block-pullquote {
    padding: 20px;
    margin: 20px 0;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
    }

    .main-navigation ul li {
        width: 100%;
    }

    .main-navigation ul li a {
        display: block;
        padding: 8px 0;
    }

    .entry-title {
        font-size: 1.8rem;
    }

    .language-switcher {
        margin-top: 10px;
        flex-wrap: wrap;
    }
}


/* ========================================
   HARDCODED TEMPLATES STYLES
   ======================================== */


/* ===== Homepage Hero ===== */
.home-hero {
    background-color: black;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Features ===== */
.home-features {
    padding: 80px 0;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    color: #0073aa;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ===== Services ===== */
.home-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.5rem;
    color: #0073aa;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

/* ===== Testimonials ===== */
.home-testimonials {
    padding: 80px 0;
}

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

.testimonial-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0073aa;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: block;
    font-style: normal;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
}

/* ===== CTA ===== */
.home-cta {
    padding: 80px 0;
    background: #0073aa;
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-content .btn-primary {
    background: #fff;
    color: #0073aa;
}

.cta-content .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ===== Home Blog ===== */
.home-blog {
    padding: 80px 0;
}

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

.blog-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

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

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
}

.blog-title a:hover {
    color: #0073aa;
}

.blog-excerpt {
    margin-bottom: 15px;
    color: #555;
}

.blog-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

/* ===== About Page ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #0073aa;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.placeholder-image {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 10px;
    color: #999;
}

/* ===== Values ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.value-item {
    text-align: center;
    padding: 20px;
}

.value-icon {
    font-size: 2.5rem;
    color: #0073aa;
    margin-bottom: 15px;
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.team-member {
    text-align: center;
    padding: 20px;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #0073aa;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 15px;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-role {
    color: #0073aa;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    color: #666;
    font-size: 0.95rem;
}

/* ===== Services Detailed ===== */
.services-detailed {
    margin: 40px 0;
}

.services-detailed-grid {
    display: grid;
    gap: 30px;
}

.service-detailed-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    align-items: start;
}

.service-detailed-icon {
    font-size: 2.5rem;
    color: #0073aa;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-features li {
    padding: 5px 0;
    color: #555;
}

.service-features i {
    color: #28a745;
    margin-right: 10px;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
}

.required {
    color: #dc3545;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: #0073aa;
    min-width: 50px;
}

.contact-info-text h4 {
    margin-bottom: 5px;
}

.contact-social {
    margin: 30px 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-3px);
}

.contact-map {
    margin-top: 30px;
}

.contact-map iframe {
    border-radius: 10px;
}

/* ===== Blog Archive ===== */
.blog-archive-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.blog-archive-item .post-thumbnail {
    margin-bottom: 20px;
}

.blog-archive-item .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.entry-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
}

.entry-meta i {
    margin-right: 5px;
}

/* ===== Full Width ===== */
.page-template-template-full-width .container {
    max-width: 100%;
    padding: 0 40px;
}

/* ===== Responsive for Hardcoded Templates ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detailed-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .entry-meta {
        flex-direction: column;
        gap: 5px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: center;
    }
}