* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8fafc;
    color: #111827;
}

html.intro-active,
html.intro-active body {
    overflow: hidden;
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 26px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 50% 40%, rgba(14, 165, 233, .2), transparent 30%),
        linear-gradient(145deg, #020617 0%, #0f172a 52%, #05070d 100%);
    opacity: 1;
    transition: opacity .55s ease, visibility .55s ease;
}

.site-intro::before {
    content: "";
    position: absolute;
    width: min(460px, 74vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, .18), transparent 68%);
    filter: blur(4px);
}

.site-intro.is-hiding {
    visibility: hidden;
    opacity: 0;
}

.site-intro-ring {
    position: relative;
    z-index: 1;
    display: grid;
    width: clamp(160px, 18vw, 230px);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: rgba(15, 23, 42, .36);
    box-shadow: inset 0 0 42px rgba(14, 165, 233, .12), 0 24px 70px rgba(2, 6, 23, .42);
}

.site-intro-ring span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 18%, #38bdf8 30%, transparent 45% 72%, #0ea5e9 86%, transparent 100%);
    filter: drop-shadow(0 0 16px rgba(14, 165, 233, .78));
    animation: introSpin 1.12s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

.site-intro-ring::before,
.site-intro-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.site-intro-ring::before {
    inset: 18px;
    border: 1px solid rgba(56, 189, 248, .22);
}

.site-intro-ring::after {
    inset: -14px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.site-intro-ring img {
    position: relative;
    z-index: 1;
    width: 62%;
    max-height: 62%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .38));
}

.site-intro-ring strong {
    position: relative;
    z-index: 1;
    padding: 0 28px;
    text-align: center;
    font-size: 24px;
}

.site-intro-title,
.site-intro-subtitle {
    position: relative;
    z-index: 1;
    max-width: calc(100vw - 32px);
    text-align: center;
    text-transform: uppercase;
}

.site-intro-title {
    color: #38bdf8;
    font-size: clamp(34px, 5.8vw, 76px);
    font-weight: 900;
    line-height: .92;
    white-space: nowrap;
    text-shadow: 0 0 28px rgba(56, 189, 248, .38);
}

.site-intro-subtitle {
    margin-top: -16px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(15px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: 5px;
}

@keyframes introSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .site-intro {
        gap: 22px;
        padding: 24px;
    }

    .site-intro-ring {
        width: min(178px, 46vw);
    }

    .site-intro-title {
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .site-intro-subtitle {
        margin-top: -14px;
        font-size: clamp(14px, 4.8vw, 21px);
        letter-spacing: 4px;
    }
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

.site-header {
    background: #111827;
    color: #fff;
    padding: 24px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-search {
    display: flex;
    width: min(340px, 32vw);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: #fff;
}

.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 12px 14px;
    color: #111827;
    font-size: 14px;
    outline: 0;
}

.header-search button {
    border: 0;
    padding: 0 16px;
    color: #fff;
    background: #2563eb;
    cursor: pointer;
    font-weight: 800;
}

.site-header a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.site-logo img {
    width: auto;
    max-width: 320px;
    max-height: 110px;
    object-fit: contain;
}

.breadcrumb {
    margin: 24px 0;
    color: #6b7280;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.6fr .8fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 40px;
}

.panel {
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, .08);
}

.main-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    background: #e5e7eb;
    cursor: zoom-in;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 14px;
}

.gallery img {
    width: 100%;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 90px;
    background: rgba(3, 7, 18, .92);
}

.image-lightbox.is-open {
    display: flex;
}

.lightbox-stage {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: auto;
}

.lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    object-fit: contain;
    transition: transform .18s ease;
    transform-origin: center;
}

.lightbox-close,
.lightbox-nav,
.lightbox-toolbar button {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    cursor: pointer;
    font-weight: 900;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 54px;
    height: 72px;
    border-radius: 18px;
    font-size: 54px;
    line-height: 1;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-toolbar {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    transform: translateX(-50%);
}

.lightbox-toolbar button {
    min-width: 46px;
    height: 40px;
    border-radius: 999px;
    font-size: 16px;
}

.summary {
    padding: 24px;
}

.summary h1 {
    margin: 16px 0 14px;
    font-size: 30px;
    line-height: 1.25;
}

.price {
    margin: 18px 0;
    color: #2563eb;
    font-size: 32px;
    font-weight: 800;
}

.badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.info-row span {
    color: #6b7280;
}

.info-row strong {
    text-align: right;
}

.description {
    padding: 26px;
    margin-bottom: 40px;
}

.description h2 {
    margin-top: 0;
}

.description p {
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.listing-consultant {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    align-items: center;
    padding: 24px;
    margin-bottom: 40px;
}

.listing-consultant img,
.listing-consultant-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    object-fit: contain;
    object-position: center top;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .22);
}

.listing-consultant-placeholder {
    display: grid;
    place-items: center;
    color: #2563eb;
    font-size: 42px;
    font-weight: 800;
}

.listing-consultant span {
    color: #6b7280;
    font-weight: 700;
}

.listing-consultant h2 {
    margin: 8px 0 16px;
    font-size: 30px;
}

.consultant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.consultant-actions a {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    text-decoration: none;
    font-weight: 800;
}

.contact-box {
    padding: 22px;
    margin-top: 20px;
    border-radius: 18px;
    background: #eef2ff;
}

.consultant-box {
    display: grid;
    gap: 14px;
    padding: 22px;
    background: linear-gradient(180deg, #eef4ff, #f7faff);
}

.consultant-box img,
.consultant-box-placeholder {
    width: 100%;
    height: 210px;
    border-radius: 16px;
    object-fit: contain;
    object-position: center top;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .22);
}

.consultant-box-placeholder {
    display: grid;
    place-items: center;
    color: #2563eb;
    font-size: 42px;
    font-weight: 800;
}

.consultant-box span {
    color: #64748b;
    font-weight: 700;
}

.consultant-box strong {
    font-size: 22px;
    line-height: 1.25;
}

.consultant-box-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.consultant-box-actions a {
    display: block;
    padding: 13px;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

.consultant-box-actions .whatsapp-link {
    background: #16a34a;
}

.site-footer {
    padding: 30px 0;
    color: #fff;
    background: #111827;
}

.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    border-radius: 999px;
    color: #fff;
    background: #16a34a;
    box-shadow: 0 10px 30px rgba(22, 163, 74, .35);
    text-decoration: none;
    font-weight: 800;
    transition: .2s;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .site-header .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header-actions {
        width: 100%;
        align-items: center;
        flex-direction: column;
    }

    .header-search {
        width: min(100%, 420px);
    }

    .site-header nav {
        justify-content: center;
        margin-top: 0;
        flex-wrap: wrap;
    }

    .site-logo {
        justify-content: center;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .main-image {
        height: 320px;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .listing-consultant {
        grid-template-columns: 1fr;
    }

    .listing-consultant img,
    .listing-consultant-placeholder {
        width: 100%;
        height: 260px;
    }
}

@media (max-width: 600px) {
    .summary h1 {
        font-size: 24px;
    }

    .price {
        font-size: 26px;
    }

    .info-row {
        display: block;
    }

    .info-row strong {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

    .image-lightbox {
        padding: 68px 16px 92px;
    }

    .lightbox-nav {
        top: auto;
        bottom: 24px;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        font-size: 34px;
        transform: none;
    }

    .lightbox-prev {
        left: 18px;
    }

    .lightbox-next {
        right: 18px;
    }

    .lightbox-toolbar {
        bottom: 24px;
    }

    .lightbox-close {
        top: 14px;
        right: 14px;
    }

    .consultant-box {
        padding: 18px;
    }

    .consultant-box img,
    .consultant-box-placeholder {
        height: 220px;
    }

    .consultant-box-actions {
        grid-template-columns: 1fr;
    }
}

.search-toggle {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.search-toggle span {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.search-toggle span::after {
    content: "";
    position: absolute;
    right: -7px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #cbd5e1;
    transform: rotate(45deg);
}

.header-search {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    display: none;
    width: min(420px, 92vw);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
}

.header-search.is-open {
    display: flex;
}

@media (max-width: 900px) {
    .site-header {
        padding: 18px 0 22px;
    }

    .site-header .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "logo spacer search"
            "nav nav nav";
        gap: 14px;
        align-items: center;
    }

    .header-actions {
        display: contents;
    }

    .site-logo {
        grid-area: logo;
        justify-content: flex-start;
    }

    .site-logo img {
        max-width: min(168px, 46vw);
        max-height: 82px;
    }

    .site-header nav {
        grid-area: nav;
        display: flex;
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        justify-content: center;
        flex: none;
        gap: 8px;
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 999px;
        background: rgba(255, 255, 255, .06);
        scrollbar-width: none;
    }

    .site-header nav::-webkit-scrollbar {
        display: none;
    }

    .site-header nav a {
        flex: 0 0 auto;
        min-width: max-content;
        padding: 10px 15px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        line-height: 1;
        text-align: center;
    }

    .search-toggle {
        grid-area: search;
        justify-self: end;
        width: 46px;
        height: 46px;
    }

    .header-search {
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100%;
        height: 44px;
    }
}

.header-actions {
    position: relative;
}

.header-search {
    top: 50%;
    right: 52px;
    transform: translateY(-50%);
    width: min(360px, 42vw);
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

.header-search input {
    color: #fff;
    background: transparent;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, .76);
}

.header-search button {
    background: rgba(37, 99, 235, .92);
}

@media (max-width: 900px) {
    .header-search {
        top: 4px;
        left: auto;
        right: 58px;
        width: min(250px, calc(100vw - 178px));
        height: 46px;
        transform: none;
    }

    .site-header.is-searching .site-logo {
        justify-self: start;
    }

    .site-header.is-searching .site-logo img {
        max-width: 96px;
        max-height: 54px;
    }

    .site-header nav a {
        padding: 10px 11px;
    }
}

/* Ortak altbilgi, erişilebilirlik ve mobil yerleşim düzeltmeleri */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

img,
iframe {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

.site-footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
}

.site-footer-copyright {
    line-height: 1.6;
}

.powered-by {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    width: max-content;
    align-items: center;
    gap: 9px;
    margin: 28px auto 0;
    padding: 9px 13px 9px 10px;
    border: 1px solid rgba(201, 255, 50, .16);
    border-radius: 14px;
    color: #f3eee3;
    background: rgba(12, 16, 13, .53);
    font-family: Inter, Arial, sans-serif;
    text-decoration: none;
    animation: creditGlow 2.2s ease-in-out infinite;
}

.powered-by::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -120%;
    bottom: -120%;
    left: -55%;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(201, 255, 50, .08), rgba(98, 231, 213, .2), rgba(201, 255, 50, .08), transparent);
    transform: rotate(18deg);
    animation: creditScan 3s ease-in-out infinite;
}

.powered-by small {
    color: #666b67;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: .2em;
}

.fk-mark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border: 1px solid rgba(201, 255, 50, .5);
    border-radius: 9px;
    color: #c9ff32;
    background: #0c100d;
    font: 900 9px monospace;
    animation: logoDance 2.6s ease-in-out infinite, logoGlow 1.5s ease-in-out infinite;
}

.fk-mark::before {
    content: "";
    position: absolute;
    inset: -65%;
    z-index: -2;
    background: conic-gradient(transparent 0deg, transparent 38%, #c9ff32 44%, #62e7d5 52%, transparent 59%);
    animation: fkOrbit 4.8s linear infinite;
}

.fk-mark::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: 6px;
    background: #0c100d;
}

.fk-mark i {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c9ff32;
    box-shadow: 0 0 8px #c9ff32;
    animation: fkPulse 1.6s ease infinite;
}

.powered-by b {
    color: transparent;
    background: linear-gradient(105deg, #fff 35%, #999 45%, #fff 55%) 100% 50% / 240% text;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.7px;
    animation: wordScan 5.8s ease infinite;
}

.powered-by b em {
    color: transparent;
    background: linear-gradient(90deg, #c9ff32, #62e7d5, #c9ff32) 0 0 / 200% text;
    -webkit-background-clip: text;
    background-clip: text;
    font-style: normal;
    animation: wordCode 3.4s linear infinite;
}

.powered-by > span:last-child {
    color: #f3eee3;
    font-size: 16px;
}

@keyframes logoDance {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(5deg) scale(1.08); }
}

@keyframes logoGlow {
    50% { box-shadow: 0 0 18px rgba(201, 255, 50, .47), 0 0 30px rgba(98, 231, 213, .18); }
}

@keyframes creditGlow {
    50% { border-color: rgba(98, 231, 213, .42); box-shadow: 0 0 27px rgba(201, 255, 50, .11); }
}

@keyframes creditScan {
    0%, 18% { left: -55%; opacity: 0; }
    30%, 72% { opacity: 1; }
    86%, 100% { left: 125%; opacity: 0; }
}

@keyframes fkOrbit {
    to { transform: rotate(360deg); }
}

@keyframes fkPulse {
    50% { opacity: .25; transform: scale(.5); }
}

@keyframes wordScan {
    0%, 65%, 100% { background-position: 100% center; }
    82% { background-position: 0 center; }
}

@keyframes wordCode {
    to { background-position: -200% center; }
}

@media (max-width: 900px) {
    .site-header nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        justify-content: stretch;
    }

    .site-header nav a {
        min-width: 0;
        padding: 10px 4px;
        white-space: normal;
    }

    .site-footer {
        padding: 24px 0 90px;
    }

    .site-footer-row {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .whatsapp-button {
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .site-intro {
        display: none;
    }

    html.intro-active,
    html.intro-active body {
        overflow: auto;
    }
}
