/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    flex-wrap: wrap;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    position: relative;
    padding: 8px 15px;
    transition: color 0.3s ease;
	font-weight: bold; /* προστέθηκε */
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #00b894;
    transition: width 0.3s;
    bottom: -5px;
    left: 0;
}

nav ul li a:hover {
    color: #00b894;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 70px;
}

/* YouTube Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    animation: fadeInVideo 1.5s ease forwards;
    animation-delay: 1s;
}

.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    z-index: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-content h1 {
    font-size: 60px;
    color: #FFD700;
    margin-bottom: 20px;
}

.hero-logo {
    max-width: 450px;
    width: auto;
    margin-top: 20px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    z-index: 2;
}

/* Apps Section */
#apps {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.1), rgba(0, 0, 0, 0.1)), url('apps-bg.jpg') no-repeat center center/cover;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.app-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.app-card img {
    width: 100%;
    max-width: 150px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.app-card img:hover {
    transform: scale(1.05);
}

.app-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.app-card p {
    text-align: justify;
    margin-bottom: 20px;
}

/* Donate Section */
.donate-section {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.cta-btn {
    background-color: #00b894;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-btn:hover {
    background-color: #098f6f;
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInVideo {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.hero, .apps-grid, .donate-section {
    opacity: 0;
    animation: fadeIn 1s forwards;
}
.trial-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #0070ba;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

/* Εφέ hover */
.trial-button:hover {
    background-color: #005c99;
    transform: scale(1.05);
}
/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

    nav ul li a {
        font-size: 10px;
        padding: 4px 8px;
		font-weight: bold; /* προστέθηκε */
    }

    .hero-section {
        padding: 40px 20px;
        text-align: center;
    }

    .hero-content {
        padding-top: 30px;
    }

    .hero-content h1 {
        font-size: 30px;
        word-wrap: break-word;
        margin-bottom: 10px;
    }

    .hero-logo {
        max-width: 180px;
        margin-top: 10px;
    }

    .video-background iframe {
        width: 250vw;
        height: 100vh;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

     .apps-grid {
        grid-template-columns: 1fr; /* Μία κάρτα ανά γραμμή */
        gap: 15px;
    }

    .app-card {
        padding: 15px;
        font-size: 14px;
        border-radius: 8px;
    }

    .app-card img {
        max-width: 100px;
        margin: 0 auto 10px auto;
        display: block;
    }

    .app-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .app-card p {
    font-size: 13px;
    text-align: justify;
    line-height: 1.4;
    hyphens: auto;

	}

    .cta-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .donation-section,
    .languages {
        padding: 10px;
        font-size: 13px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 14px;
    }


	.trial-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    background-color: #0070ba;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
	}
	.trial-button:hover {
    background-color: #005c99;
	}
	
	#donate-title {
        font-size: 18px;
        line-height: 1.3;
        padding: 0 10px;
    }
}

	@media screen and (max-width: 480px) {
    #donate-title {
        font-size: 16px;
        line-height: 1.2;
        padding: 0 8px;
    }
}