/* =========================================================
   SPORMIO DESIGN SYSTEM
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand */
    --sp-primary: #0f766e;
    --sp-primary-dark: #0b5f59;
    --sp-primary-light: #e8f7f5;

    /* Neutral */
    --sp-dark: #111827;
    --sp-heading: #101828;
    --sp-text: #475467;
    --sp-muted: #667085;
    --sp-border: #e4e7ec;
    --sp-background: #ffffff;
    --sp-surface: #f8fafc;

    /* Layout */
    --sp-container: 1440px;
    --sp-header-height: 82px;

    /* Radius */
    --sp-radius-sm: 8px;
    --sp-radius-md: 12px;
    --sp-radius-lg: 18px;
    --sp-radius-xl: 24px;

    /* Shadows */
    --sp-shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06);
    --sp-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);

    /* Animation */
    --sp-transition: 180ms ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--sp-text);
    background: var(--sp-background);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(100% - 48px, var(--sp-container));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: var(--sp-header-height);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--sp-border);
}

.header-inner {
    height: var(--sp-header-height);
    display: flex;
    align-items: center;
    gap: 36px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--sp-primary);
    color: #fff;

    font-size: 20px;
    font-weight: 800;
}

.logo-text {
    color: var(--sp-heading);
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 10px;
}

.main-nav a {
    position: relative;
    padding: 30px 0;

    color: var(--sp-text);
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color var(--sp-transition),
        transform var(--sp-transition);
}

.main-nav a:hover {
    color: var(--sp-primary);
}

.main-nav a::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 19px;

    width: 0;
    height: 2px;

    background: var(--sp-primary);
    border-radius: 10px;

    transform: translateX(-50%);
    transition: width var(--sp-transition);
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 10px;
}

.login-link {
    padding: 11px 12px;

    color: var(--sp-heading);
    font-size: 14px;
    font-weight: 600;

    transition: color var(--sp-transition);
}

.login-link:hover {
    color: var(--sp-primary);
}

.btn-register,
.btn-venue {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 17px;

    border-radius: var(--sp-radius-md);

    font-size: 13px;
    font-weight: 700;

    transition:
        background var(--sp-transition),
        border-color var(--sp-transition),
        color var(--sp-transition),
        transform var(--sp-transition),
        box-shadow var(--sp-transition);
}

.btn-register {
    color: var(--sp-heading);
    background: #fff;
    border: 1px solid var(--sp-border);
}

.btn-register:hover {
    border-color: #cbd5e1;
    background: var(--sp-surface);
}

.btn-venue {
    color: #fff;
    background: var(--sp-primary);
    border: 1px solid var(--sp-primary);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.16);
}

.btn-venue:hover {
    background: var(--sp-primary-dark);
    border-color: var(--sp-primary-dark);

    transform: translateY(-1px);

    box-shadow: 0 7px 18px rgba(15, 118, 110, 0.2);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-toggle {
    width: 44px;
    height: 44px;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    padding: 0;

    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-md);
}

.mobile-menu-toggle span {
    display: block;

    width: 19px;
    height: 2px;

    background: var(--sp-heading);
    border-radius: 5px;
}


/* =========================================================
   BASIC CONTENT
   ========================================================= */

main {
    min-height: 60vh;
}

main h1 {
    color: var(--sp-heading);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1280px) {

    .header-inner {
        gap: 24px;
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .btn-register {
        display: none;
    }
}


@media (max-width: 1024px) {

    :root {
        --sp-header-height: 72px;
    }

    .container {
        width: min(100% - 32px, var(--sp-container));
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .logo-text {
        font-size: 23px;
    }
}


@media (max-width: 576px) {

    .container {
        width: min(100% - 24px, var(--sp-container));
    }

    .logo-mark {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }

    .logo-text {
        font-size: 22px;
    }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 105px;
    background:
        radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.12), transparent 27%),
        radial-gradient(circle at 12% 90%, rgba(15, 118, 110, 0.06), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.hero::after {
    content: "";
    position: absolute;
    top: 70px;
    right: -120px;

    width: 430px;
    height: 430px;

    border: 1px solid rgba(15, 118, 110, 0.09);
    border-radius: 50%;

    box-shadow:
        0 0 0 55px rgba(15, 118, 110, 0.025),
        0 0 0 110px rgba(15, 118, 110, 0.018);

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1050px;
}

.hero-badge {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 23px;
    padding: 8px 13px;

    color: var(--sp-primary-dark);
    background: var(--sp-primary-light);

    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;

    background: var(--sp-primary);
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.hero h1 {
    max-width: 850px;

    margin: 0;

    color: var(--sp-heading);

    font-size: clamp(48px, 5vw, 76px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -3.6px;
}

.hero h1 span {
    color: var(--sp-primary);
}

.hero-description {
    max-width: 660px;

    margin: 25px 0 38px;

    color: var(--sp-text);

    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}


/* =========================================================
   HERO SEARCH
   ========================================================= */

.hero-search {
    width: 100%;
    max-width: 1050px;
    min-height: 92px;

    display: flex;
    align-items: center;

    padding: 10px;

    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: 20px;

    box-shadow:
        0 18px 45px rgba(16, 24, 40, 0.09),
        0 2px 6px rgba(16, 24, 40, 0.03);
}

.search-field {
    min-width: 190px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    padding: 8px 22px;
}

.search-location {
    flex: 1;
    min-width: 280px;
}

.search-field label {
    color: var(--sp-heading);

    font-size: 12px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: 0.2px;
}

.search-field input,
.search-field select {
    width: 100%;

    padding: 0;

    color: var(--sp-text);
    background: transparent;

    border: 0;
    outline: 0;

    font-size: 14px;
    font-weight: 500;
}

.search-field input::placeholder {
    color: #98a2b3;
}

.search-field select {
    cursor: pointer;
}

.search-divider {
    width: 1px;
    height: 43px;

    flex: 0 0 1px;

    background: var(--sp-border);
}

.hero-search-button {
    align-self: stretch;

    min-width: 145px;

    margin-left: 8px;
    padding: 0 24px;

    color: #ffffff;
    background: var(--sp-primary);

    border: 0;
    border-radius: 14px;

    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.19);

    transition:
        background var(--sp-transition),
        transform var(--sp-transition),
        box-shadow var(--sp-transition);
}

.hero-search-button:hover {
    background: var(--sp-primary-dark);

    transform: translateY(-1px);

    box-shadow: 0 12px 25px rgba(15, 118, 110, 0.24);
}


/* =========================================================
   NEAR ME
   ========================================================= */

.near-me-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;
    padding: 0;

    color: var(--sp-primary);
    background: transparent;

    border: 0;

    font-size: 14px;
    font-weight: 700;
}

.near-me-button span {
    width: 29px;
    height: 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--sp-primary-light);
    border-radius: 9px;

    font-size: 18px;

    transition: transform var(--sp-transition);
}

.near-me-button:hover span {
    transform: scale(1.08);
}


/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .hero {
        padding: 70px 0 80px;
    }

    .hero h1 {
        max-width: 720px;

        font-size: clamp(46px, 7vw, 64px);
        letter-spacing: -2.8px;
    }

    .hero-search {
        max-width: 760px;

        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 0;

        padding: 10px;
    }

    .search-field,
    .search-location {
        min-width: 0;
        padding: 15px 18px;
    }

    .search-divider {
        display: none;
    }

    .hero-search-button {
        min-height: 54px;

        grid-column: 1 / -1;

        margin: 5px 0 0;
    }
}


@media (max-width: 576px) {

    .hero {
        padding: 52px 0 65px;
    }

    .hero::after {
        display: none;
    }

    .hero-badge {
        margin-bottom: 18px;

        font-size: 12px;
    }

    .hero h1 {
        font-size: 43px;
        line-height: 1.06;

        letter-spacing: -2.3px;
    }

    .hero-description {
        margin: 21px 0 28px;

        font-size: 15px;
        line-height: 1.65;
    }

    .hero-search {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        min-height: 0;

        padding: 8px;

        border-radius: 18px;
    }

    .search-field,
    .search-location {
        width: 100%;
        min-width: 0;

        padding: 14px 13px;

        border-bottom: 1px solid var(--sp-border);
    }

    .search-field:nth-of-type(3) {
        border-bottom: 0;
    }

    .search-field input,
    .search-field select {
        min-height: 26px;

        font-size: 14px;
    }

    .hero-search-button {
        width: 100%;
        min-height: 54px;

        margin: 7px 0 0;

        border-radius: 13px;
    }

    .near-me-button {
        margin-top: 18px;

        font-size: 13px;
    }
}

/* =========================================================
   NEARBY VENUES
========================================================= */

.nearby-venues {
    padding: 90px 0 100px;
    background: #ffffff;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--sp-primary);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.section-heading h2 {
    margin: 0;
    color: var(--sp-heading);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.section-heading p {
    max-width: 560px;
    margin: 10px 0 0;
    color: var(--sp-text);
    font-size: 16px;
    line-height: 1.6;
}

.section-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: var(--sp-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--sp-transition);
}

.section-link:hover {
    color: var(--sp-primary-dark);
    transform: translateX(3px);
}


/* =========================================================
   VENUE GRID
========================================================= */

.venue-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   VENUE CARD
========================================================= */

.venue-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-sm);
    transition:
        transform var(--sp-transition),
        box-shadow var(--sp-transition),
        border-color var(--sp-transition);
}

.venue-card:hover {
    transform: translateY(-5px);
    border-color: #d0d5dd;
    box-shadow: var(--sp-shadow-md);
}


/* Görsel Alanı */

.venue-card-image {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--sp-primary-light);
}

.venue-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(255,255,255,.35),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--sp-primary),
            var(--sp-primary-dark)
        );
}

.venue-card-placeholder span {
    color: rgba(255,255,255,.92);
    font-size: 68px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -4px;
}


/* Doğrulanmış Rozeti */

.venue-verified {
    position: absolute;
    top: 14px;
    left: 14px;

    display: inline-flex;
    align-items: center;

    padding: 7px 10px;

    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);

    color: var(--sp-primary);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;

    box-shadow: 0 4px 12px rgba(16,24,40,.08);
}


/* Kart İçeriği */

.venue-card-content {
    padding: 20px;
}

.venue-card-location {
    margin-bottom: 7px;

    color: var(--sp-muted);

    font-size: 12px;
    font-weight: 600;
}

.venue-card-title {
    margin: 0;

    color: var(--sp-heading);

    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;

    letter-spacing: -.4px;
}

.venue-card-rating {
    min-height: 22px;
    margin-top: 12px;

    color: #b7791f;

    font-size: 13px;
    font-weight: 700;
}

.venue-card-rating span {
    color: var(--sp-muted);
    font-weight: 500;
}

.venue-card-rating-empty {
    color: var(--sp-muted);
    font-weight: 500;
}


/* Kart Alt Alan */

.venue-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid var(--sp-border);
}

.venue-card-status {
    position: relative;

    padding-left: 13px;

    color: var(--sp-primary);

    font-size: 12px;
    font-weight: 700;
}

.venue-card-status::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 7px;
    height: 7px;

    background: var(--sp-primary);
    border-radius: 50%;

    transform: translateY(-50%);
}

.venue-card-link {
    color: var(--sp-heading);

    font-size: 12px;
    font-weight: 700;

    transition: var(--sp-transition);
}

.venue-card:hover .venue-card-link {
    color: var(--sp-primary);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    padding: 50px 30px;

    text-align: center;

    background: var(--sp-surface);
    border: 1px dashed var(--sp-border);
    border-radius: var(--sp-radius-lg);
}

.empty-state h3 {
    margin: 0 0 8px;

    color: var(--sp-heading);

    font-size: 18px;
}

.empty-state p {
    margin: 0;
    color: var(--sp-muted);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .venue-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .venue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 576px) {

    .nearby-venues {
        padding: 60px 0 70px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .venue-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .venue-card-image {
        height: 210px;
    }

}

/* =========================================================
   VENUE SPORT BADGES
========================================================= */

.venue-card-sports {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.venue-sport-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;

    color: var(--sp-primary);
    background: var(--sp-primary-light);

    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 999px;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}