* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f4f7f8;
    --surface: #ffffff;
    --surface-strong: #eef3f4;
    --text: #172026;
    --muted: #5e6c72;
    --accent: #0f766e;
    --accent-strong: #8a1f3d;
    --border: rgba(23,32,38,0.12);
    --shadow: rgba(23,32,38,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

header {
    background:
        linear-gradient(rgba(10,25,30,0.66), rgba(10,25,30,0.8)),
        url('me.jpg') center/cover no-repeat;
    padding: 110px 20px;
    text-align: center;
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
}

header h1,
header p,
.language-switch {
    position: relative;
    z-index: 2;
}

header h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

header p {
    max-width: 700px;
    margin: auto;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.86);
}

nav {
    background: rgba(255,255,255,0.96);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: center;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
    line-height: 1.3;
}

nav a:hover,
nav a:focus-visible {
    color: var(--accent);
}

section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 50px 35px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 12px 32px var(--shadow);
    border: 1px solid var(--border);
    scroll-margin-top: 90px;
}

h2 {
    margin-bottom: 25px;
    color: var(--accent);
    font-size: clamp(1.55rem, 3vw, 2rem);
}

h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

ol {
    margin-left: 22px;
}

.section-lead {
    color: var(--muted);
}

.info-box {
    background: #fff3f5;
    border-left: 5px solid var(--accent-strong);
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.notice-box {
    background: #eef7f6;
    border-left: 5px solid var(--accent);
    padding: 22px 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.steps {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.steps li {
    padding-left: 6px;
}

.daily-grid,
.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.daily-item,
.experience-card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
}

.daily-item p,
.experience-card p {
    margin-bottom: 0;
}

.experience-card h3 {
    margin-top: 0;
    color: var(--accent-strong);
    font-size: 1.05rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: var(--surface-strong);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.4s ease;
    display: block;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.profile-box {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow:
        0 14px 36px rgba(23,32,38,0.18),
        0 0 0 1px var(--border);
}

.language-switch {
    margin-top: 25px;
}

.language-switch a {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(255,255,255,0.14);
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s ease;
}

.language-switch a:hover,
.language-switch a:focus-visible {
    background: rgba(255,255,255,0.2);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(15,118,110,0.35);
    outline-offset: 3px;
}

.contact-note {
    color: var(--muted);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.contact-links a,
.contact-links span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
}

.contact-links span {
    color: var(--muted);
    opacity: 0.75;
}

.contact-links a:hover,
.contact-links a:focus-visible {
    border-color: rgba(15,118,110,0.55);
    color: var(--accent);
}

@media (max-width: 768px) {
    header {
        padding: 90px 18px;
    }

    header p {
        font-size: 1rem;
    }

    section {
        margin: 20px;
        padding: 35px 20px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .daily-grid,
    .report-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: #172026;
    color: #ffffff;
    margin-top: 50px;
}

.small {
    font-size: 0.85rem;
    opacity: 0.7;
}
