:root {
--bg: #f4f9ff;
--card: #ffffff;
--ink: #0f172a;
--muted: #486384;
--brand: #3aa0ff;
--radius: 20px;
--shadow-1: 0 10px 30px rgba(15, 23, 42, 0.08);
--shadow-2: 0 30px 60px rgba(15, 23, 42, 0.12);
--hero-h: 240px;
--avatar: 160px;
--overlay: rgba(2, 6, 23, 0.55);
--ring: rgba(58, 160, 255, 0.38);
--blue-1: #e8f3ff;
--blue-2: #bddcff;
--blue-3: #3aa0ff;
--blue-4: #1f6bff;
}

@media (min-width: 640px) {
:root {
--hero-h: 280px;
--avatar: 170px;
}
}

@media (min-width: 1024px) {
:root {
--hero-h: 320px;
--avatar: 180px;
}
}

@media (prefers-color-scheme: dark) {
:root {
--bg: #0b1020;
--card: #0f172a;
--ink: black;
/* mevcut tasarım böyleydi */
--muted: #94a3b8;
--shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
--shadow-2: 0 30px 60px rgba(0, 0, 0, 0.45);
--overlay: rgba(2, 6, 23, 0.65);
}
}

* {
box-sizing: border-box;
}

html,
body {
height: 100%;
}

body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
"Helvetica Neue", Arial;
}

.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 16px 64px;
}

/* Arkaplan animasyonu (mevcut tasarım) */
body {
background: white;
background-size: 200% 200%;
animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
0% {
background-position: 0% 50%;
}

50% {
background-position: 100% 50%;
}

100% {
background-position: 0% 50%;
}
}

/* ================================ HERO ================================ */
.hero {
  position: relative;
  z-index: 2;
  aspect-ratio: 30/ 5;  /* en-boy oranı */
  overflow: visible;      /* taşanları kırpar */
  box-shadow: var(--shadow-1);
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* orantılı kırp */
  object-position: center; /* ortadan kırpsın */
}
@media (max-width: 700px) {
  .hero {
    aspect-ratio: 16 / 4;      /* hero biraz daha yüksek görünsün */
    padding-bottom: 20px;      /* alt kısma ekstra boşluk */
  }

  .avatar {
    width: 100px;              /* mobilde biraz küçült */
    height: 100px;
    bottom: calc(var(--avatar) * -0.35); /* yukarıya çek, daha dengeli görünür */
  }
}



.hero::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to bottom,
rgba(30, 64, 175, 0.2),
rgba(2, 132, 199, 0.1));
backdrop-filter: saturate(1.2) blur(0.5px);
}

.avatar img {
max-width: 90%;
max-height: 90%;
object-fit: contain;
display: block;
vertical-align: middle;
margin-top: -7%;
}

.avatar {
position: absolute;
left: 50%;
bottom: calc(var(--avatar) * -0.5);
transform: translateX(-50%);
width: var(--avatar);
height: var(--avatar);
border-radius: 999px;
background: white;
display: grid;
place-items: center;
box-shadow: 0 18px 35px rgba(2, 6, 23, 0.18),
0 5px 14px rgba(2, 6, 23, 0.08);
z-index: 20;
}

/* ============================== İÇERİK =============================== */
.card {
margin-top: 18px;
}

.title {
text-align: center;
margin: 10px 0 4px;
font-weight: 800;
font-size: clamp(18px, 2.6vw, 22px);
}

.subtitle {
text-align: center;
color: var(--muted);
margin: 0 0 22px;
font-size: 14px;
}

.grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px 10px;
padding: 0;
margin: 0;
list-style: none;
}

@media (min-width: 640px) {
.grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 22px 16px;
}
}

@media (min-width: 1024px) {
.grid {
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 24px 18px;
}
}
.item {
    list-style: none;
}

.link {
    --ring: rgba(58, 160, 255, 0.38);
    display: grid;
    justify-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px 8px;
    border-radius: 16px;
    outline: none;
    border: 2px solid #e3f0ff;
    background: linear-gradient(135deg, #fff 80%, #e8f3ff 100%);
    box-shadow: 0 2px 8px rgba(58, 160, 255, 0.06);
    transition: 
        transform 0.18s cubic-bezier(.4,1,.7,1),
        box-shadow 0.18s cubic-bezier(.4,1,.7,1),
        border-color 0.18s,
        background 0.18s;
}

.link:focus-visible {
    box-shadow: 0 0 0 6px var(--ring), 0 2px 8px rgba(58, 160, 255, 0.10);
    border-color: #3aa0ff;
}

.link:hover {
    transform: translateY(-4px) scale(1.04);
    background-color: w;
    border-color: #3aa0ff;
    box-shadow: 0 8px 24px rgba(31, 107, 255, 0.13);
    color: #1f6bff;
}

.icon-wrap {
width: 74px;
height: 74px;
border-radius: 999px;
display: grid;
place-items: center;
box-shadow: var(--shadow-1);
border: 1px solid rgba(2, 6, 23, 0.06);
color: #1163ff;
background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
transition: transform 0.18s ease, box-shadow 0.18s ease,
background 0.25s ease, color 0.18s ease;
}

.link:hover .icon-wrap {
color: #fff;
background: linear-gradient(135deg, var(--blue-3), var(--blue-4));
box-shadow: 0 18px 40px rgba(31, 107, 255, 0.22);
}

.label {
margin-top: 10px;
font-weight: 600;
font-size: 14px;
text-align: center;
}

.icon {
width: 34px;
height: 34px;
fill: currentColor;
}

.icon-stroke {
stroke: currentColor;
stroke-width: 2.2;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
}

/* ========================= SEARCH-BOX CTA ========================= */
.search-cta {
margin-top: 115px;
display: flex;
justify-content: center;
padding: 0 2px;
margin-bottom: 8px;
}

:root {
--cta-fg: #0f172a;
--cta-bg: #ffffff;
--cta-shadow: 0 14px 36px rgba(37, 99, 235, 0.22);
}

@media (prefers-color-scheme: dark) {
:root {
--cta-fg: #e8edff;
--cta-bg: rgba(255, 255, 255, 0.06);
--cta-shadow: 0 14px 36px rgba(37, 99, 235, 0.35);
}
}

.search-button {
box-shadow: 0 4px 24px rgba(58, 160, 255, 0.1),
0 1.5px 8px rgba(58, 160, 255, 0.08);
border: 2.5px solid #e3f0ff;
background: var(--cta-bg);
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
position: relative;
isolation: isolate;
gap: 12px;
width: min(320px, 100%);
padding: 14px 18px;
border-radius: 999px;
text-decoration: none;
color: var(--cta-fg);
background: transparent;
box-shadow: var(--cta-shadow);
transition: transform 0.18s ease, box-shadow 0.18s ease;
outline: none;
margin-bottom: 15px;
}

.search-button::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
padding: 2px;
background: linear-gradient(90deg,
#2563eb 0%,
#1d4ed8 10%,
#2563eb 20%,
#3b82f6 35%,
#60a5fa 55%,
#93c5fd 70%,
#60a5fa 82%,
#3b82f6 90%,
#2563eb 100%);
background-size: 400% 100%;
animation: borderFlow 4.2s linear infinite;
-webkit-mask: linear-gradient(#000 0 0) content-box,
linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 1;
}

@keyframes borderFlow {
0% {
background-position: 0% 0;
}

100% {
background-position: 400% 0;
}
}

.search-button::after {
content: "";
position: absolute;
inset: 2.5px;
border-radius: inherit;
background: var(--cta-bg);
backdrop-filter: saturate(1.1) blur(8px);
z-index: 0;
}

.search-button>* {
position: relative;
z-index: 1;
}

.search-button:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-2);
}

.search-button:focus-visible {
box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.28), var(--cta-shadow);
}

.search-icon {
width: 18px;
height: 18px;
opacity: 0.95;
transition: transform 0.25s ease;
color: rgba(0, 0, 0, 0.55);
}

.arrow-icon {
width: 16px;
height: 16px;
opacity: 0;
transform: translateX(-6px);
transition: opacity 0.25s ease, transform 0.25s ease;
color: rgba(0, 0, 0, 0.55);
}

.search-text {
font-weight: 700;
letter-spacing: 0.1px;
transition: letter-spacing 0.25s ease;
text-transform: lowercase;
color: #2595e2;
}

.search-button:hover .search-icon {
transform: rotate(-8deg) scale(1.02);
}

.search-button:hover .arrow-icon {
opacity: 1;
transform: translateX(0);
}

.search-button:hover .search-text {
letter-spacing: 0.2px;
}

.glint {
position: absolute;
inset: -1px;
border-radius: inherit;
background: linear-gradient(120deg,
transparent 20%,
rgba(255, 255, 255, 0.8) 50%,
transparent 80%);
transform: translateX(-120%);
transition: transform 0.6s ease;
mix-blend-mode: screen;
pointer-events: none;
z-index: 1;
}

.search-button:hover .glint {
transform: translateX(120%);
}

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

.search-button,
.search-icon,
.arrow-icon,
.search-text,
.glint {
transition: none !important;
}

.search-button::before {
animation: none !important;
}
}



/* ===================== Telefon Listesi Modal (Mavi&Beyaz) ===================== */
.no-scroll {
overflow: hidden;
}

.phone-modal-backdrop[hidden] {
display: none !important;
}

.phone-modal-backdrop {
position: fixed;
inset: 0;
display: grid;
place-items: center;
background: var(--overlay);
backdrop-filter: blur(6px);
z-index: 999;
padding: 16px;
}

.phone-modal {
width: min(520px, 100%);
background: #fff;
border-radius: 18px;
box-shadow: 0 24px 60px rgba(31, 107, 255, 0.22);
border: 1.5px solid #e6f0ff;
overflow: hidden;
}

.phone-modal__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
border-bottom: 1px solid #e5f0ff;
}

.phone-modal__title {
margin: 0;
font-size: 16px;
font-weight: 800;
color: #0f172a;
letter-spacing: 0.2px;
}

.phone-modal__close {
appearance: none;
border: 0;
background: #fff;
color: #1f6bff;
border-radius: 10px;
padding: 6px 10px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 2px 8px rgba(58, 160, 255, 0.12);
}

.phone-modal__content {
padding: 8px 8px 14px 8px;
background: #ffffff;
}

.phone-list {
list-style: none;
margin: 0;
padding: 6px;
display: grid;
gap: 8px;
}

.phone-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border: 1px solid #e7f0ff;
border-radius: 14px;
background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.phone-meta {
display: grid;
gap: 2px;
}

.phone-label {
font-size: 14px;
font-weight: 700;
color: #0f172a;
}

.phone-number {
font-size: 13px;
color: #2563eb;
letter-spacing: 0.2px;
}

.phone-actions {
display: flex;
align-items: center;
gap: 8px;
}

.btn {
appearance: none;
border: 0;
cursor: pointer;
text-decoration: none;
white-space: nowrap;
padding: 8px 12px;
border-radius: 999px;
font-size: 13px;
font-weight: 800;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
outline: none;
box-shadow: 0 0 0 6px var(--ring);
}

.btn:hover {
transform: translateY(-1px);
}

.btn-call {
color: #fff;
background: linear-gradient(135deg, var(--blue-3), var(--blue-4));
box-shadow: 0 8px 22px rgba(31, 107, 255, 0.25);
}

.btn-alt {
color: #1f6bff;
background: #eef5ff;
border: 1px solid #d7e7ff;
}

/* Telefon modalı her zaman mavi-beyaz tema ile açılır */
.phone-modal,
.phone-modal__header,
.phone-modal__title,
.phone-modal__close,
.phone-modal__content,
.phone-item,
.phone-label,
.phone-number,
.btn-alt {
background: unset !important;
color: unset !important;
border-color: unset !important;
}

.phone-modal {
background: #fff !important;
border-color: #e6f0ff !important;
}

.phone-modal__header {
background: linear-gradient(135deg, #e8f3ff, #bddcff) !important;
border-bottom-color: #e5f0ff !important;
}

.phone-modal__title {
color: #0f172a !important;
}

.phone-modal__close {
background: #fff !important;
color: #1f6bff !important;
}

.phone-modal__content {
background: #fff !important;
}

.phone-item {
background: linear-gradient(180deg, #fff, #f7fbff) !important;
border-color: #e7f0ff !important;
}

.phone-label {
color: #0f172a !important;
}

.phone-number {
color: #2563eb !important;
}

.btn-alt {
background: #eef5ff !important;
border-color: #d7e7ff !important;
color: #1f6bff !important;
}

