/* ═══════════════════════════════════════
   BACKGROUND
═══════════════════════════════════════ */

.background-image {
    filter: brightness(0.4);
}

html.darkmode .background-image,
.background-image.darkmode {
    background: url("../img/background_dark.png") center / cover no-repeat;
    filter: brightness(0.28);
}

html.lightmode .background-image,
.background-image.lightmode {
    background: url("../img/background_light.png") center / cover no-repeat;
    filter: brightness(0.4);
}

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */

.content {
    max-width: 680px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ═══════════════════════════════════════
   HEADING
═══════════════════════════════════════ */

.content h1 {
    font-family: 'Arvo', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--brighter);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    margin: 0 0 2rem;
    text-align: center;
}

/* ═══════════════════════════════════════
   TEXT CARD
═══════════════════════════════════════ */

.content .text {
    width: 100%;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--brighter);
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════
   IMAGE
═══════════════════════════════════════ */

.image {
    margin: 0.5rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.image img {
    max-width: 260px;
    border-radius: 12px;
    opacity: 0.9;
}

/* ═══════════════════════════════════════
   CONTACT LINKS
═══════════════════════════════════════ */

.contact {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 2rem;
}

.contact a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brighter);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateX(4px);
}

.contact a span {
    margin: 0;
}

.contact svg {
    fill: var(--brighter);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   LIGHT MODE
═══════════════════════════════════════ */

body.lightmode .content .text,
body.lightmode .contact a {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(0, 0, 0, 0.18);
}

body.lightmode .contact a:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 600px) {
    .content {
        padding: 4rem 0.3rem 3rem;
    }

    .content .text {
        padding: 1.5rem 0.9rem;
        border-radius: 10px;
    }

    .contact a {
        border-radius: 10px;
    }
}
