/* Redesigned "registered" parking page (Claude Design: Parking Page Redesign, screens 1c desktop / 1d mobile).
   Tokens mirror the domenebi.ge design system. Not bundled: this file is served as-is by _ParkingLayout. */

@font-face { font-family: "TKT"; src: url("../fonts/tkt/TKT-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "TKT"; src: url("../fonts/tkt/TKT-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "TKT"; src: url("../fonts/tkt/TKT-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --green-500: #99CC66;
    --green-600: #91C75E;
    --green-700: #86C053;
    --green-1000: #003333;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-800: #1F2937;
    --font-sans: "TKT", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ring-search: 0 0 0 6px #FFFFFF1A;
    --container-xl: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body.pk {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: #fff;
    -webkit-tap-highlight-color: transparent;
}

.pk a { text-decoration: none; }
.pk svg { display: block; flex-shrink: 0; }

.pk-container {
    width: 100%;
    max-width: calc(var(--container-xl) + 48px);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.pk-header { background: #fff; border-bottom: 1px solid var(--gray-100); }
.pk-header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.pk-logo img { display: block; height: 24px; width: auto; }

.pk-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    color: var(--gray-800);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    white-space: nowrap;
    transition: background-color .15s ease-in-out;
}
.pk-login:hover, .pk-login:focus-visible { background: var(--gray-50); color: var(--gray-800); }
.pk-login:active { background: var(--gray-100); transform: scale(.98); }
.pk-login svg { width: 18px; height: 18px; }
.pk-login-icon-solid { display: none !important; }

/* Hero */
.pk-hero {
    position: relative;
    flex: 1 0 auto;
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../images/home-banner.png") center / cover;
}
.pk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 51 51 / 78%), rgb(0 51 51 / 60%));
}
.pk-hero-content {
    position: relative;
    width: 100%;
    max-width: 760px;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pk-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: #FFFFFF1A;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.pk-pill svg { width: 16px; height: 16px; }

.pk-domain {
    margin: 28px 0 0;
    font-size: clamp(44px, 9vw, 96px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
    overflow-wrap: anywhere;
}
.pk-domain-ext { color: var(--green-500); }

.pk-lead { margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: #fff; }
.pk-lead a { color: var(--green-500); font-weight: 700; }
.pk-lead a:hover { color: var(--green-700); }
.pk-lead-mobile { display: none; }

/* Search — design-system SearchBar, "hero" variant */
.pk-search {
    margin-top: 40px;
    width: 640px;
    max-width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--ring-search);
}
.pk-search-input {
    width: 100%;
    min-width: 0;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--gray-800);
}
.pk-search-input::placeholder { color: var(--gray-400); }
.pk-search-btn {
    margin: 0 -14px 0 8px;
    padding: 12px;
    display: flex;
    border: none;
    border-radius: 12px;
    background: var(--green-500);
    color: #fff;
    cursor: pointer;
    transition: background-color .15s ease-in-out;
}
.pk-search-btn:hover { background: var(--green-600); }
.pk-search-btn:active { background: var(--green-700); transform: scale(.98); }
.pk-search-btn svg { width: 28px; height: 28px; }

.pk-views {
    margin: 28px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-200);
}
.pk-views svg { width: 16px; height: 16px; }

/* Footer */
.pk-footer-inner {
    padding-top: 28px;
    padding-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.pk-footer-brand { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--gray-500); }
.pk-footer-brand img { display: block; height: 20px; width: auto; }
.pk-footer-links { display: flex; gap: 24px; font-size: 14px; }
.pk-footer-links a { color: var(--gray-500); }
.pk-footer-links a:hover { color: var(--green-500); }

/* Mobile (design 1d) */
@media (max-width: 767px) {
    .pk-container { padding: 0 20px; }
    .pk-header-inner { height: 64px; }
    .pk-logo img { height: 22px; }

    .pk-login { width: 44px; height: 44px; padding: 0; color: var(--gray-400); }
    .pk-login:hover, .pk-login:focus-visible { color: var(--gray-400); }
    .pk-login-text, .pk-login-icon-outline { display: none !important; }
    .pk-login-icon-solid { display: block !important; }

    .pk-hero { min-height: 640px; }
    .pk-hero-content { padding: 56px 20px; }
    .pk-pill { padding: 6px 14px; font-size: 13px; }
    .pk-pill svg { width: 14px; height: 14px; }
    .pk-domain { margin-top: 20px; font-size: 44px; line-height: 1.05; }
    .pk-lead { margin-top: 16px; font-size: 16px; }
    .pk-lead-desktop { display: none; }
    .pk-lead-mobile { display: inline; }
    .pk-search { margin-top: 28px; width: 100%; }
    .pk-views { margin-top: 24px; font-size: 13px; }
    .pk-views svg { width: 14px; height: 14px; }

    .pk-footer-inner { padding-top: 24px; padding-bottom: 24px; }
    .pk-footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 13px; }
    .pk-footer-links { display: none; }
}
