/*
Theme Name: 3D Sanal Tur Premium
Theme URI: https://www.3dsanaltur.net
Author: 3D Sanal Tur
Author URI: https://www.3dsanaltur.net
Description: Kubio gerektirmeyen, mimari görselleştirme ve 360 sanal tur hizmetleri için hazırlanmış modern WordPress teması.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: 3dsanaltur-premium
*/

:root {
  --st-bg: #080b0e;
  --st-bg-soft: #101419;
  --st-card: #12171d;
  --st-card-2: #171d24;
  --st-text: #f6f7f8;
  --st-muted: #aab2bc;
  --st-line: rgba(255,255,255,.11);
  --st-orange: #ff7900;
  --st-orange-2: #ff9b32;
  --st-radius: 22px;
  --st-shadow: 0 22px 55px rgba(0,0,0,.38);
  --st-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--st-bg);
  color: var(--st-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.st-container { width: min(calc(100% - 40px), var(--st-container)); margin-inline: auto; }
.st-section { padding: 88px 0; }
.st-section--compact { padding: 58px 0; }
.st-eyebrow { color: var(--st-orange); font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.st-section-title { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.st-section-copy { margin: 0; max-width: 700px; color: var(--st-muted); }
.st-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.st-text-link { color: var(--st-orange-2); font-weight: 750; white-space: nowrap; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--st-line);
  background: rgba(7,10,13,.86);
  backdrop-filter: blur(18px);
}
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; min-width: max-content; }
.custom-logo-link img { max-height: 54px; width: auto; }
.site-title { font-weight: 900; font-size: 1.52rem; letter-spacing: -.045em; }
.site-title strong { color: var(--st-orange); font-size: 1.18em; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; padding: 0; margin: 0; }
.site-nav a { position: relative; color: #d8dde2; font-size: .94rem; font-weight: 680; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--st-orange); transition: right .25s ease; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: #fff; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { right: 0; }
.menu-toggle { display: none; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-card); color: #fff; width: 46px; height: 46px; cursor: pointer; }

.st-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 13px; border: 1px solid transparent; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.st-button:hover { transform: translateY(-2px); }
.st-button--orange { background: linear-gradient(135deg, var(--st-orange), #ff8f18); color: #fff; box-shadow: 0 12px 28px rgba(255,121,0,.22); }
.st-button--outline { border-color: rgba(255,255,255,.32); background: rgba(7,10,13,.38); color: #fff; }
.st-button--small { min-height: 44px; padding-inline: 18px; font-size: .9rem; }

.st-hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.st-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: url('assets/images/hero.jpg') center/cover no-repeat; transform: scale(1.015); }
.st-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,8,11,.98) 0%, rgba(5,8,11,.88) 31%, rgba(5,8,11,.35) 62%, rgba(5,8,11,.18) 100%), linear-gradient(0deg, rgba(5,8,11,.75), transparent 55%); }
.st-hero__glow { position: absolute; inset: auto auto -160px -100px; z-index: -1; width: 560px; height: 440px; background: radial-gradient(circle, rgba(255,121,0,.2), transparent 68%); filter: blur(12px); }
.st-hero__content { max-width: 720px; padding: 96px 0 110px; }
.st-hero h1 { max-width: 760px; margin: 14px 0 22px; font-size: clamp(3rem, 6.3vw, 5.7rem); line-height: .98; letter-spacing: -.057em; text-wrap: balance; }
.st-hero p { max-width: 610px; margin: 0; color: #d5dbe1; font-size: clamp(1rem, 2vw, 1.22rem); }
.st-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.st-hero__meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; color: #c6cdd5; font-size: .9rem; }
.st-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.st-hero__meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--st-orange); box-shadow: 0 0 18px var(--st-orange); }

.st-services { position: relative; margin-top: -62px; z-index: 4; }
.st-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.st-service-card { position: relative; min-height: 260px; overflow: hidden; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-card); box-shadow: var(--st-shadow); }
.st-service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.st-service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,9,12,.98), rgba(6,9,12,.12) 72%); }
.st-service-card__content { position: absolute; inset: auto 22px 20px; z-index: 2; }
.st-service-card__icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 10px; border: 1px solid rgba(255,121,0,.52); border-radius: 12px; color: var(--st-orange); background: rgba(12,15,18,.7); font-size: 1.2rem; }
.st-service-card h3 { margin: 0; font-size: 1.22rem; }
.st-service-card p { margin: 4px 0 0; color: #b7c0c9; font-size: .85rem; line-height: 1.45; }
.st-service-card:hover img { transform: scale(1.06); }

.st-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.st-project-card { overflow: hidden; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: linear-gradient(145deg, var(--st-card-2), var(--st-card)); transition: transform .25s ease, border-color .25s ease; }
.st-project-card:hover { transform: translateY(-6px); border-color: rgba(255,121,0,.45); }
.st-project-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #181d22; }
.st-project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.st-project-card:hover img { transform: scale(1.045); }
.st-project-card__tag { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(5,8,11,.82); color: var(--st-orange-2); font-size: .72rem; font-weight: 850; backdrop-filter: blur(10px); }
.st-project-card__body { padding: 20px 20px 22px; }
.st-project-card h3 { margin: 0 0 5px; font-size: 1.2rem; }
.st-project-card p { margin: 0; color: var(--st-muted); font-size: .9rem; }

.st-process { border-block: 1px solid var(--st-line); background: radial-gradient(circle at 50% 0%, rgba(255,121,0,.085), transparent 35%), #0c1014; }
.st-process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; counter-reset: process; }
.st-process-item { position: relative; padding: 26px 22px; border: 1px solid var(--st-line); border-radius: 18px; background: rgba(18,23,29,.86); }
.st-process-item::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 22px; color: var(--st-orange); font-size: 1.65rem; font-weight: 900; }
.st-process-item:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -18px; width: 20px; border-top: 2px dotted rgba(255,121,0,.55); }
.st-process-item h3 { margin: 0 0 7px; }
.st-process-item p { margin: 0; color: var(--st-muted); font-size: .9rem; }

.st-cta { padding: 50px 0; }
.st-cta-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px; border: 1px solid rgba(255,121,0,.34); border-radius: 24px; background: linear-gradient(120deg, #1b120c, #13171b 64%); }
.st-cta-box::after { content: ""; position: absolute; width: 320px; height: 320px; right: 12%; bottom: -250px; background: var(--st-orange); border-radius: 50%; filter: blur(100px); opacity: .26; }
.st-cta-box > * { position: relative; z-index: 2; }
.st-cta h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.st-cta p { margin: 8px 0 0; color: var(--st-muted); }
.st-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { padding: 62px 0 20px; border-top: 1px solid var(--st-line); background: #070a0d; }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 48px; }
.site-footer h3, .site-footer h4 { margin: 0 0 17px; }
.site-footer p, .site-footer li, .site-footer a { color: #aab2bb; font-size: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--st-orange); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--st-line); color: #77818b; font-size: .8rem; }

.st-page-hero { padding: 110px 0 70px; border-bottom: 1px solid var(--st-line); background: radial-gradient(circle at 70% 20%, rgba(255,121,0,.12), transparent 30%), #0b0f13; }
.st-page-hero h1 { margin: 8px 0; font-size: clamp(2.7rem, 5vw, 5rem); letter-spacing: -.05em; line-height: 1; }
.st-page-content { padding: 72px 0; }
.st-page-content .entry-content { max-width: 880px; color: #d0d6dc; }
.st-page-content .entry-content h2, .st-page-content .entry-content h3 { color: #fff; }
.st-page-content .entry-content a { color: var(--st-orange); }
.st-archive-grid { padding: 74px 0; }

@media (max-width: 1050px) {
  .site-header__cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; top: 82px; left: 20px; right: 20px; display: none; margin: 0; padding: 18px; border: 1px solid var(--st-line); border-radius: 18px; background: rgba(8,11,14,.98); box-shadow: var(--st-shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a { display: block; padding: 12px 4px; }
  .site-nav a::after { bottom: 6px; }
  .st-service-grid { grid-template-columns: repeat(2,1fr); }
  .st-process-grid { grid-template-columns: repeat(2,1fr); }
  .st-process-item::after { display: none; }
  .site-footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 740px) {
  body.admin-bar .site-header { top: 46px; }
  .st-container { width: min(calc(100% - 26px), var(--st-container)); }
  .site-header__inner { min-height: 70px; }
  .site-nav { top: 70px; }
  .st-hero { min-height: 700px; align-items: end; }
  .st-hero::before { background-position: 62% center; }
  .st-hero::after { background: linear-gradient(0deg, rgba(5,8,11,1) 8%, rgba(5,8,11,.8) 62%, rgba(5,8,11,.26)); }
  .st-hero__content { padding: 120px 0 110px; }
  .st-hero h1 { font-size: clamp(2.7rem, 14vw, 4.3rem); }
  .st-hero__actions .st-button { width: 100%; }
  .st-services { margin-top: -54px; }
  .st-service-grid, .st-project-grid, .st-process-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .st-service-card { min-height: 245px; }
  .st-section { padding: 66px 0; }
  .st-section-head { align-items: start; flex-direction: column; }
  .st-cta-box { align-items: stretch; flex-direction: column; padding: 30px 24px; }
  .st-cta__actions .st-button { width: 100%; }
  .site-footer__bottom { flex-direction: column; }
}
