/* Reset και βασικές ρυθμίσεις */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url('Light & Pixel--8198.jpg');
    background-size: cover;
    background-position: center;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
}

/* Header */
header {
    background-color: #ffffffcc;
    color: #333;
    padding: 15px 30px;
    position: fixed;
    margin-top: 20px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 a {
    text-decoration: none;
    color: #4a90e2;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    transition: color 0.3s ease;
}

header h1 a:hover {
    color: #357ABD;
}

/* Πλοήγηση */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #4a90e2;
}

/* Main Section */
main {
    height: auto;
    min-height: 100vh;
    padding-top: 180px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Ενημερωμένο h2 για να μην κόβεται */
main h2 {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    margin-bottom: 50px;
    padding: 20px 30px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    max-width: 90%;
    line-height: 1.6;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Buttons aligned far left and right */
main .buttons-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
    margin-top: 40px;
    position: absolute;
    bottom: 40px;
    left: 0;
}

/* Κουμπιά Booking & Airbnb */
main .bottom-button {
    padding: 12px 24px;
    font-size: 1.2rem;
    border-radius: 8px;
    background-color: rgb(247, 190, 4);
    color: #333;
    text-decoration: none;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

main .bottom-button:hover {
    background-color: #ffb347;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* Εναλλαγή γλώσσας */
.language-switch {
    cursor: pointer;
    margin-left: 8px;
}

.language-switch img {
    width: 32px;
    height: auto;
}
/* Responsive – Οριζόντια διάταξη για κινητές συσκευές */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        flex-wrap: wrap;
    }

    header h1 a {
        font-size: 1.8rem;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    main {
        padding-top: 150px;
        padding-bottom: 140px;
    }

    main h2 {
        font-size: 1.2rem;
        padding: 15px 20px;
        margin-bottom: 30px;
    }

    main .buttons-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        padding: 0 20px;
        position: fixed;
        bottom: 20px;
        left: 0;
    }

    main .bottom-button {
        min-width: 45%;
        font-size: 1rem;
        padding: 10px 16px;
    }

    .language-switch img {
        width: 28px;
    }
}
