@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --navy: #101923;
    --navy-2: #172636;
    --gold: #c9a15a;
    --sand: #f3efe7;
    --paper: #fbfaf7;
    --ink: #18202a;
    --muted: #68727d;
    --line: #e4dfd5;
    --white: #ffffff;
    --shadow: 0 24px 60px rgba(16, 25, 35, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell {
    min-width: 300px;
    overflow: hidden;
}

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

.top-strip {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.strip-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.strip-inner a {
    color: var(--gold);
    font-weight: 800;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 250, 247, 0.94);
    border-bottom: 1px solid rgba(16, 25, 35, 0.08);
    backdrop-filter: blur(16px);
}

.nav-row {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand img {
    max-width: 230px;
    max-height: 70px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0;
}

.logo-text {
    display: grid;
    color: var(--navy);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.logo-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    color: #2e3c49;
    font-size: 14px;
    font-weight: 800;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
    color: var(--gold);
}

.nav-cta,
.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 900;
    text-align: center;
}

.nav-cta,
.btn.primary {
    background: var(--gold);
    color: var(--navy);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn.secondary.dark {
    background: transparent;
    border-color: rgba(16, 25, 35, 0.18);
    color: var(--navy);
}

.btn.full {
    width: 100%;
}

.nav-cta:hover,
.btn.primary:hover {
    background: #dbb870;
}

.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--navy);
    font-size: 24px;
}

.hero {
    min-height: 670px;
    background-size: cover;
    background-position: center;
}

.hero-shade {
    min-height: 670px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(16, 25, 35, 0.88) 0%, rgba(16, 25, 35, 0.64) 42%, rgba(16, 25, 35, 0.1) 100%);
}

.hero-content {
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-title h1,
.section h2,
.detail-panel h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.hero p {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.stats-band {
    position: relative;
    margin-top: -58px;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    min-height: 126px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    color: var(--navy);
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-card span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.section {
    padding: 96px 0;
}

.section.muted {
    background: var(--sand);
}

.split,
.detail-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 52px;
    align-items: start;
}

.section h2 {
    max-width: 780px;
    font-size: clamp(34px, 4vw, 52px);
    color: var(--navy);
}

.section p,
.detail-panel p,
.contact-box p {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--navy);
    font-weight: 900;
    border-bottom: 2px solid var(--gold);
}

.source-card,
.contact-box,
.detail-panel,
.consultant-card,
.admin-panel,
.login-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(16, 25, 35, 0.07);
}

.source-card,
.contact-box,
.detail-panel,
.consultant-card {
    padding: 32px;
}

.source-card h3,
.contact-box h2,
.contact-box h3,
.consultant-card h2,
.site-footer h3,
.admin-panel h2 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: 24px;
    line-height: 1.2;
}

.source-card ul {
    padding-left: 20px;
    margin: 0;
    color: var(--muted);
}

.source-card li + li {
    margin-top: 10px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.listing-grid.all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-card {
    min-height: 360px;
}

.listing-card > a {
    height: 100%;
    display: grid;
    grid-template-rows: 180px 1fr;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 14px 40px rgba(16, 25, 35, 0.08);
    transition: 180ms ease;
}

.listing-card > a:hover,
.listing-card > a:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.listing-visual {
    display: flex;
    align-items: end;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(16, 25, 35, 0.82), rgba(201, 161, 90, 0.68)),
        url("../images/hero-bodrum-representative.png");
    background-size: cover;
    background-position: center;
}

.listing-visual span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
}

.listing-body {
    padding: 24px;
}

.price {
    display: block;
    color: var(--gold);
    font-size: 20px;
    font-weight: 900;
}

.price.large {
    font-size: 34px;
}

.listing-body h3 {
    min-height: 78px;
    margin: 12px 0;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.25;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta span {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--sand);
    color: #3d4650;
    font-size: 12px;
    font-weight: 800;
}

.page-title {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--white);
}

.page-title p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.detail-specs div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
}

.detail-specs span,
.contact-box strong {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-specs strong {
    display: block;
    margin-top: 4px;
    color: var(--navy);
}

.source-note {
    padding: 14px 16px;
    border-left: 4px solid var(--gold);
    background: var(--sand);
}

.consultant-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.avatar {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-size: 26px;
    font-weight: 900;
}

.consultant-card span {
    display: inline-flex;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
}

.site-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 161, 90, 0.18);
}

.alert {
    padding: 13px 16px;
    border-radius: 4px;
    font-weight: 800;
}

.alert.success {
    background: #e8f6ec;
    color: #17643a;
}

.alert.error {
    background: #fde7e7;
    color: #8a1c1c;
}

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 42px;
    padding: 70px 0;
}

.footer-brand .logo-text,
.footer-brand .logo-text small {
    color: var(--white);
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
    color: var(--gold);
}

.site-footer h3 {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--navy);
}

.login-card {
    width: min(430px, 100%);
    padding: 34px;
}

.login-card h1 {
    margin: 18px 0 22px;
    color: var(--navy);
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-logo span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    font-weight: 900;
}

.login-logo strong {
    display: grid;
    color: var(--navy);
    line-height: 1;
}

.login-logo small {
    margin-top: 4px;
    color: var(--muted);
}

.login-logo.small strong,
.login-logo.small small {
    color: var(--white);
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    background: #f6f3ed;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 18px;
    background: var(--navy);
    color: var(--white);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar a {
    padding: 11px 12px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.admin-main {
    padding: 30px;
}

.admin-top {
    margin-bottom: 24px;
}

.admin-top span {
    color: var(--gold);
    font-weight: 900;
}

.admin-top h1 {
    margin: 0;
    color: var(--navy);
    font-size: 40px;
    line-height: 1.1;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-cards div {
    padding: 26px;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(16, 25, 35, 0.08);
}

.admin-cards strong {
    display: block;
    color: var(--gold);
    font-size: 42px;
    line-height: 1;
}

.admin-panel {
    padding: 28px;
    margin-bottom: 24px;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.editor-block,
.inbox-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
    margin-bottom: 16px;
}

.editor-block h3,
.inbox-item h3 {
    margin-top: 0;
}

.inbox-item h3 {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.inbox-item h3 span {
    color: var(--muted);
    font-size: 13px;
}

.danger-link {
    border: 0;
    background: transparent;
    color: #b02424;
    font-weight: 900;
}

@media (max-width: 980px) {
    .main-nav {
        gap: 14px;
    }

    .stats-grid,
    .listing-grid,
    .listing-grid.all,
    .consultant-grid,
    .footer-grid,
    .admin-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split,
    .detail-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .admin-body {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .strip-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-row {
        min-height: 76px;
        flex-wrap: wrap;
    }

    .menu-btn {
        display: grid;
        place-items: center;
    }

    .main-nav {
        width: 100%;
        display: none;
        order: 5;
        margin-left: 0;
        padding: 0 0 18px;
    }

    .main-nav.is-open {
        display: grid;
    }

    .nav-cta {
        display: none;
    }

    .hero,
    .hero-shade {
        min-height: 560px;
    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(16, 25, 35, 0.9), rgba(16, 25, 35, 0.62));
    }

    .stats-grid,
    .listing-grid,
    .listing-grid.all,
    .consultant-grid,
    .footer-grid,
    .form-grid,
    .admin-cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .section-head {
        display: block;
    }

    .detail-specs {
        grid-template-columns: 1fr;
    }

    .admin-body {
        display: block;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-main {
        padding: 20px 14px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

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

    .source-card,
    .contact-box,
    .detail-panel,
    .consultant-card,
    .admin-panel,
    .login-card {
        padding: 22px;
    }
}
