:root {
    --bg-deep: #0b0714;
    --bg-mid: #171425;
    --panel: rgba(20, 18, 30, 0.76);
    --panel-strong: rgba(31, 27, 45, 0.92);
    --text: #f4f7ff;
    --muted: #d9dff5;
    --accent: #ffb703;
    --accent-strong: #ff8f1f;
    --line: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] {
    --bg-deep: #fff8e7;
    --bg-mid: #f4ead2;
    --panel-strong: rgba(255, 255, 255, 0.96);
    --text: #2d2418;
    --muted: #665845;
    --line: rgba(91, 65, 28, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: radial-gradient(circle at top, rgba(255, 183, 3, 0.12), transparent 26%), linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
    color: var(--text);
    line-height: 1.7;
}

img,
video {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    padding: 1.1rem 1.5rem 0.8rem;
}

.brand img {
    width: 86px;
    filter: drop-shadow(0 10px 24px rgba(255, 183, 3, 0.45));
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 12, 22, 0.48);
    backdrop-filter: blur(10px);
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #1d1300;
}

.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-strong);
    color: var(--accent);
    font-size: 1.25rem;
    cursor: pointer;
}

html[data-theme="light"] .nav-links {
    background: rgba(255, 252, 243, 0.86);
}

html[data-theme="light"] .content-panel {
    background: linear-gradient(180deg, rgba(255, 252, 243, 0.94), rgba(255, 248, 231, 0.9));
}

.page-shell {
    max-width: 1220px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
}

.content-panel {
    padding: clamp(1.5rem, 2vw, 2.6rem);
    border: 1px solid var(--line);
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(35, 29, 50, 0.78), rgba(18, 15, 28, 0.78));
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.eyebrow {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 183, 3, 0.38);
    border-radius: 999px;
    background: rgba(255, 183, 3, 0.12);
    color: #ffd579;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

h1 {
    margin-top: 1rem;
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 4rem);
    color: #ffd579;
}

.section-block {
    margin-top: 2.5rem;
}

.section-block h2 {
    margin-bottom: 1.4rem;
    color: #ffd579;
    font-size: clamp(1.6rem, 2vw, 2.4rem);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(255, 166, 0, 0.12);
}

.card-item ul {
    list-style: none;
}

.card-item li {
    color: var(--text);
    font-weight: 700;
}

.card-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.footer-note {
    margin-top: 2.5rem;
    text-align: center;
    color: var(--muted);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1220px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
    color: var(--muted);
}

.email-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.email-box img {
    width: 30px;
    filter: drop-shadow(0 8px 18px rgba(255, 183, 3, 0.25));
}

@media (max-width: 760px) {
    .site-header {
        justify-content: space-between;
        padding-inline: 1rem;
    }

    .nav-links {
        gap: 0.4rem;
    }

    .nav-links a {
        font-size: 0.82rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 520px) {
    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .content-panel {
        padding: 1.2rem;
        border-radius: 24px;
    }

    .card-item img {
        height: 240px;
    }

    .site-footer {
        justify-content: center;
        text-align: center;
    }
}