@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap");

:root {
    --bg: #090d12;
    --surface: rgba(17, 23, 31, 0.72);
    --surface-hover: rgba(24, 32, 42, 0.88);
    --border: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(255, 255, 255, 0.18);

    --text: #f1f3f5;
    --muted: #9199a5;
    --muted-2: #69727e;

    --accent: #dfe6ec;

    --radius: 15px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: "Inter", sans-serif;
    color: var(--text);

    background:
        radial-gradient(
            circle at 50% -20%,
            #202b36 0,
            #0d131a 32%,
            #090d12 65%
        );

    overflow-x: hidden;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.background {
    position: fixed;
    inset: 0;
    z-index: -3;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(120, 150, 170, 0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 60%,
            rgba(80, 110, 130, 0.06),
            transparent 35%
        );
}

.background-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            to bottom,
            rgba(7, 10, 14, 0.15),
            rgba(7, 10, 14, 0.72)
        );

    pointer-events: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    width: min(calc(100% - 48px), var(--container));
    height: 84px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    border-bottom: 1px solid var(--border);
}

.logo {
    color: var(--text);
    text-decoration: none;

    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-style: italic;
    font-weight: 600;

    justify-self: start;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    position: relative;

    color: var(--muted);
    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    transition:
        color 160ms ease,
        transform 160ms ease;
}

.navigation a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.navigation a.active {
    color: var(--text);
}

.navigation a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;

    height: 1px;
    background: var(--text);
}

.about-button {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 15px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--text);
    background: rgba(255, 255, 255, 0.025);

    font: inherit;
    font-size: 13px;

    cursor: pointer;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.about-button:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}


/* =========================================================
   MAIN
   ========================================================= */

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 510px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;

    padding: 70px 0 60px;

    border-bottom: 1px solid var(--border);
}

.eyebrow {
    margin: 0 0 22px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.hero h1 {
    max-width: 720px;

    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: clamp(54px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 600;
}

.hero-description {
    max-width: 570px;

    margin: 28px 0 0;

    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 44px;
    padding: 0 18px;

    border-radius: 8px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;

    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #0a0d11;
    background: #e7ebef;
}

.button-primary:hover {
    background: #ffffff;
}

.button-secondary {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

.hero-quote {
    justify-self: end;

    max-width: 360px;
    margin: 0;

    color: #c6ccd3;

    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.55;

    text-align: right;
}

.hero-quote span {
    display: block;

    margin-top: 15px;

    color: var(--muted-2);

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   CARDS
   ========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    padding: 52px 0;
}

.card {
    position: relative;

    min-height: 165px;
    padding: 24px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    color: inherit;
    text-decoration: none;
    text-align: left;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    backdrop-filter: blur(14px);

    cursor: pointer;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );
}

.card-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: #cbd2d9;
    font-size: 16px;

    background: rgba(255, 255, 255, 0.025);
}

.card h2 {
    margin: 0 0 7px;

    font-size: 15px;
    font-weight: 600;
}

.card p {
    max-width: 230px;

    margin: 0;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.card-arrow {
    position: absolute;
    right: 22px;
    bottom: 21px;

    color: var(--muted-2);

    transition:
        transform 180ms ease,
        color 180ms ease;
}

.card:hover .card-arrow {
    color: var(--text);
    transform: translateX(4px);
}

.card-about {
    width: 100%;
    font-family: inherit;
}


/* =========================================================
   RECENT
   ========================================================= */

.recent {
    padding: 20px 0 70px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 16px;

    border-bottom: 1px solid var(--border);
}

.section-heading p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.section-heading a {
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
}

.section-heading a:hover {
    color: var(--text);
}

.activity-list {
    display: flex;
    flex-direction: column;
}

.activity {
    display: grid;
    grid-template-columns: 150px 1fr;

    padding: 21px 0;

    border-bottom: 1px solid var(--border);
}

.activity time {
    color: var(--muted-2);
    font-size: 11px;
}

.activity h3 {
    margin: 0 0 5px;

    font-size: 13px;
    font-weight: 600;
}

.activity p {
    margin: 0;

    color: var(--muted);
    font-size: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;

    min-height: 100px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;

    border-top: 1px solid var(--border);

    color: var(--muted-2);
    font-size: 10px;
}

.footer > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    color: var(--text);

    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-style: italic;
}

.footer p:nth-child(2) {
    text-align: center;
}

.footer p:last-child {
    text-align: right;
}


/* =========================================================
   ABOUT DRAWER
   ========================================================= */

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.drawer-backdrop.visible {
    opacity: 1;
    visibility: visible;
}

.about-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;

    width: min(420px, 100%);
    height: 100vh;

    padding: 30px;

    border-left: 1px solid var(--border);

    background: rgba(11, 16, 22, 0.96);
    backdrop-filter: blur(22px);

    transform: translateX(100%);

    transition: transform 260ms cubic-bezier(.2, .8, .2, 1);

    overflow-y: auto;
}

.about-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 45px;
}

.drawer-header h2 {
    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: 28px;
}

.close-button {
    width: 38px;
    height: 38px;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--text);
    background: transparent;

    font-size: 22px;

    cursor: pointer;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.06);
}

.about-avatar {
    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: #d7dde3;

    font-family: "Playfair Display", serif;
    font-size: 22px;

    background: rgba(255, 255, 255, 0.04);
}

.about-drawer h3 {
    margin: 0;

    font-size: 20px;
}

.about-location {
    margin: 7px 0 28px;

    color: var(--muted-2);
    font-size: 12px;
}

.about-text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.about-links {
    margin-top: 35px;

    border-top: 1px solid var(--border);
}

.about-links h4 {
    margin: 24px 0 10px;

    color: var(--muted-2);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-links a {
    display: flex;
    justify-content: space-between;

    padding: 13px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text);
    text-decoration: none;

    font-size: 13px;
}

.about-links a span {
    color: var(--muted-2);
}

.about-quote {
    margin: 40px 0 0;
    padding-left: 18px;

    border-left: 1px solid var(--border-hover);

    color: var(--muted);

    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .header {
        grid-template-columns: 1fr auto;
    }

    .navigation {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        min-height: auto;
        padding: 80px 0;
    }

    .hero-quote {
        justify-self: start;
        text-align: left;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 560px) {

    .header,
    .container,
    .footer {
        width: min(calc(100% - 30px), var(--container));
    }

    .header {
        height: 70px;
    }

    .hero {
        padding: 60px 0 45px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;

        padding: 35px 0;
    }

    .activity {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 8px;

        padding: 25px 0;
    }

    .footer p {
        margin: 0;
    }

    .footer p:nth-child(2),
    .footer p:last-child {
        text-align: left;
    }

}

/* =========================================================
   VISUAL UPDATE
   ========================================================= */

/* Prague background */

.background {
    background-image:
        linear-gradient(
            90deg,
            rgba(7, 11, 16, 0.94) 0%,
            rgba(7, 11, 16, 0.78) 42%,
            rgba(7, 11, 16, 0.48) 75%,
            rgba(7, 11, 16, 0.65) 100%
        ),
        linear-gradient(
            0deg,
            rgba(7, 11, 16, 0.98) 0%,
            rgba(7, 11, 16, 0.15) 55%,
            rgba(7, 11, 16, 0.38) 100%
        ),
        url("/assets/prague.png");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    opacity: 1;
}

.background-overlay {
    background:
        radial-gradient(
            circle at 65% 30%,
            transparent 0%,
            rgba(7, 11, 16, 0.18) 45%,
            rgba(7, 11, 16, 0.68) 100%
        );
}


/* Hero */

.hero {
    min-height: 540px;
    padding: 65px 0 55px;
}

.hero-content {
    animation: fade-up 700ms ease both;
}

.hero-quote {
    animation: fade-up 800ms 120ms ease both;
}


/* Cards */

.cards {
    padding: 30px 0 52px;
}

.card {
    min-height: 150px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 28, 37, 0.82),
            rgba(10, 15, 21, 0.72)
        );

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.15);

    opacity: 0;
    transform: translateY(18px);

    animation: card-in 500ms ease forwards;
}

.card:nth-child(1) {
    animation-delay: 100ms;
}

.card:nth-child(2) {
    animation-delay: 160ms;
}

.card:nth-child(3) {
    animation-delay: 220ms;
}

.card:nth-child(4) {
    animation-delay: 280ms;
}

.card:nth-child(5) {
    animation-delay: 340ms;
}

.card:nth-child(6) {
    animation-delay: 400ms;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.25);
}


/* Header glass effect */

.header {
    position: relative;
    z-index: 10;
}


/* Selection */

::selection {
    background: rgba(220, 230, 240, 0.9);
    color: #080b0f;
}


/* Animations */

@keyframes fade-up {

    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes card-in {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   PRAGUE HERO BACKGROUND FIX
   ========================================================= */

body {
    background: #090d12;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 720px;

    z-index: -1;

    background:
        linear-gradient(
            to bottom,
            rgba(8, 13, 19, 0.30) 0%,
            rgba(8, 13, 19, 0.42) 45%,
            #090d12 100%
        ),
        linear-gradient(
            to right,
            rgba(8, 13, 19, 0.45) 0%,
            rgba(8, 13, 19, 0.18) 55%,
            rgba(8, 13, 19, 0.32) 100%
        ),
        url("/assets/prague.png");

    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
}

.background-overlay {
    display: none;
}
