/* ==============================
   ROOT VARIABLES
============================== */

:root {
    --raf-navy: #0b1f3a;
    --raf-blue: #1f4e79;
    --raf-red: #b11226;

    --raf-sky: #eef5fb;
    --raf-surface: #ffffff;
    --raf-border: #d8e1ea;

    --raf-text: #1e2933;
}

/* ==============================
   GLOBAL RESET
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==============================
   BODY & LAYOUT
============================== */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: var(--raf-sky);
    color: var(--raf-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container,
.memorial-container,
.profile-container,
.legal-container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

@media (max-width: 768px) {

    .container,
    .memorial-container,
    .profile-container,
    .legal-container {
        width: calc(100% - 24px);
    }
}

/* ==============================
   TYPOGRAPHY
============================== */

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: 0.4px;
}

p {
    margin-bottom: 10px;
}

/* ==============================
   LINKS
============================== */

a {
    color: var(--raf-blue);
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* ==============================
   HEADER
============================== */

.site-header {
    background-color: var(--raf-navy);
    color: #ffffff;
    padding: 20px 0;
    border-bottom: 4px solid var(--raf-red);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo a:hover {
    text-decoration: none;
}

/* ==============================
   NAVIGATION
============================== */

.main-nav a {
    color: #ffffff;
    font-size: 0.95rem;
    margin-left: 20px;
    opacity: 0.9;
}

.main-nav a:hover {
    opacity: 1;
}

/* ==============================
   LANGUAGE SWITCH
============================== */

.language-switch {
    margin-top: 18px;
    font-size: 0.95rem;
}

.language-switch a {
    color: var(--raf-red);
    margin: 0 6px;
    font-weight: 600;
}

/* ==============================
   FOOTER
============================== */

.site-footer {
    background-color: var(--raf-navy);
    color: #d6e1ec;
    padding: 50px 0 30px;
    border-top: 4px solid var(--raf-red);
}

.footer-content {
    text-align: center;
}

.footer-top {
    max-width: 850px;
    margin: 0 auto 30px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-description {
    margin-bottom: 12px;
}

.footer-related {
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-links {
    margin-bottom: 25px;
    font-size: 0.92rem;
}

.footer-links a {
    color: #ffffff;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links span {
    margin: 0 10px;
    opacity: 0.5;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.85rem;
    opacity: 0.75;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .logo a {
        font-size: 1rem;
        text-align: center;
    }

    .main-nav {
        margin-top: 5px;
    }

    .main-nav a {
        margin: 0 10px;
    }

    .site-footer {
        padding: 40px 0 25px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-links span {
        display: none;
    }
}