/* fakeDESIGN — static site styles */

:root {
    --bright: #ffffff;
    --dark: #000000;
    --blue: #66768c;
    --grey: #706f6f;
    --max-width: 720px;
    --space: clamp(2.5rem, 6vw, 5rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0 auto;
    max-width: var(--max-width);
    width: 100%;
    padding: clamp(1.5rem, 6vw, 3.5rem) clamp(1rem, 5vw, 1.5rem) 0;
    background-color: var(--bright);
    color: var(--grey);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.0625rem);
    line-height: 1.5;
}

/* Links */
a {
    color: var(--blue);
}

a:hover {
    color: var(--dark);
}

a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Header */
.logo-link {
    display: block;
}

.logo {
    display: block;
    width: 50%;
    height: auto;
    margin: 0 auto;
}

nav .lang-switcher {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    text-align: right;
}

.lang-switcher li {
    display: inline;
    margin-left: 0.5rem;
}

.lang-switcher [aria-current="page"] {
    color: var(--dark);
    font-weight: 600;
}

/* Headings & sections */
h1 {
    color: var(--blue);
    border-bottom: 0.1em solid var(--blue);
    margin: 0 0 0.5em;
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2rem);
    font-weight: 600;
}

.main-section {
    margin-top: var(--space);
}

main .main-section:first-child {
    margin-top: 0;
}

p {
    margin: 0 0 1rem;
}

/* Values */
.values-list {
    list-style: none;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

.values-list li {
    position: relative;
    padding-left: 1em;
}

.values-list li::before {
    content: "\2022";
    position: absolute;
    top: 0;
    left: 0;
}

/* Team photo */
.team-photo {
    display: block;
    width: 100%;
    height: auto;
    margin: 0.5rem 0 1.5rem;
}

/* People / contact cards */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.contact-element {
    flex: 1 1 280px;
}

.people-name {
    font-weight: bold;
    color: var(--blue);
    margin: 0;
    padding: 0.5em 0 0.2em;
}

.people-title,
.people-contact {
    list-style: none;
    margin: 0.4em 0;
    padding: 0;
}

.contact-box {
    margin-bottom: clamp(3rem, 8vw, 8em);
}

/* Instagram icon */
.instagram-icon {
    display: inline-block;
}

.instagram-icon svg {
    height: 3em;
    width: auto;
    margin-top: 2em;
    fill: var(--blue);
    transition: fill 0.2s ease;
}

.instagram-icon:hover svg,
.instagram-icon:focus-visible svg {
    fill: var(--dark);
}

/* Footer */
footer {
    padding: 1.5rem 0 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Smaller screens: stack contact cards, centre the language switcher */
@media (max-width: 760px) {
    nav .lang-switcher {
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
    }
}

/* Subtle entrance animation — CSS only, content stays visible if unsupported */
@media (prefers-reduced-motion: no-preference) {
    @keyframes fade-in-up {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: none;
        }
    }

    .main-section {
        animation: fade-in-up 0.6s ease both;
    }

    .main-section:nth-child(2) {
        animation-delay: 0.08s;
    }

    .main-section:nth-child(3) {
        animation-delay: 0.16s;
    }

    .main-section:nth-child(4) {
        animation-delay: 0.24s;
    }
}
