/* =========================================
   GOVERNMENT OF AIGAIA - OFFICIAL STYLING
========================================= */

:root {
    --navy: #0b1f33;
    --navy-light: #16324f;
    --gold: #c6a55c;
    --gold-light: #d8bc7c;
    --background: #eef3f8;
    --card: #ffffff;
    --text: #1e1e1e;
    --muted: #6c757d;
    --border: #d9e0e7;
}

/* ===== RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "Inter", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
}

/* ===== NAVIGATION ===== */

.topbar {
    background: rgba(11, 31, 51, 0.97);
    backdrop-filter: blur(10px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 50px;

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 3px solid var(--gold);

    box-shadow: 0 3px 14px rgba(0,0,0,0.15);
}

.nav-left h1 {
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-right a {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 500;

    position: relative;

    transition: all 0.2s ease;
}

.nav-right a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.nav-right a:hover {
    color: white;
}

.nav-right a:hover::after {
    width: 100%;
}

/* ===== HERO ===== */

.hero {
    height: 520px;

    background:
        linear-gradient(
            rgba(7, 15, 25, 0.58),
            rgba(7, 15, 25, 0.58)
        ),
        url("https://upload.wikimedia.org/wikipedia/commons/e/e8/Oia_Santorini_Greece.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.1),
            rgba(0,0,0,0.4)
        );
}

.hero-overlay {
    position: relative;
    z-index: 2;

    text-align: center;
    color: white;

    max-width: 900px;
    padding: 20px;
}

.hero-overlay h2 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 1px;

    margin-bottom: 18px;

    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-overlay p {
    font-size: 1.15rem;
    opacity: 0.95;
}

.subtext {
    margin-top: 10px;
    color: rgba(255,255,255,0.8);
}

/* ===== MAIN ===== */

main {
    max-width: 1250px;
    margin: auto;
    padding: 50px 24px;
}

/* ===== CONTENT BOXES ===== */

.content-box {
    background: var(--card);

    margin-bottom: 40px;
    padding: 38px;

    border-radius: 18px;

    border: 1px solid var(--border);

    box-shadow:
        0 10px 28px rgba(0,0,0,0.06),
        0 2px 6px rgba(0,0,0,0.03);

    transition: transform 0.2s ease;
}

.content-box:hover {
    transform: translateY(-2px);
}

.content-box h2 {
    font-size: 2.1rem;
    color: var(--navy);

    margin-bottom: 24px;

    padding-bottom: 12px;

    border-bottom: 3px solid var(--gold);
}

.content-box h3 {
    color: var(--navy-light);

    margin-top: 28px;
    margin-bottom: 12px;

    font-size: 1.35rem;
}

.content-box p {
    margin-bottom: 16px;
    font-size: 1rem;
}

/* ===== INFO CARDS ===== */

.info-card {
    background: linear-gradient(
        145deg,
        #f8fafc,
        #edf2f7
    );

    border-left: 6px solid var(--gold);

    border-radius: 14px;

    padding: 24px;

    margin-top: 24px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.info-card h4 {
    font-size: 1.3rem;
    color: var(--navy);

    margin-bottom: 5px;
}

.title {
    color: var(--muted);

    font-size: 0.95rem;

    margin-bottom: 12px;
}

/* ===== REGION GRID ===== */

.region-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 24px;

    margin-top: 25px;
}

.region-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f3f6fa
        );

    border-top: 5px solid var(--navy);

    border-radius: 16px;

    padding: 25px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.region-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.region-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* ===== NEWS ===== */

.news-post {
    padding: 25px 0;

    border-bottom: 1px solid #d8dee5;
}

.news-post:last-child {
    border-bottom: none;
}

.news-post h3 {
    color: #7d1010;
    margin-bottom: 5px;
}

.date {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

/* ===== FOOTER ===== */

footer {
    background: var(--navy);

    color: rgba(255,255,255,0.88);

    text-align: center;

    padding: 32px;

    margin-top: 40px;

    border-top: 4px solid var(--gold);
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #dfe6ee;
}

::-webkit-scrollbar-thumb {
    background: var(--navy-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

    .topbar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        height: 420px;
    }

    .hero-overlay h2 {
        font-size: 2.5rem;
    }

    .content-box {
        padding: 28px;
    }
}

@media (max-width: 600px) {

    .hero-overlay h2 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .content-box h2 {
        font-size: 1.7rem;
    }
}