/* ============================================================
   Ana site - kurumsal / finans temalı tasarım (mobil öncelikli)
   ============================================================ */

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

:root{
  --bg:#070c18;
  --surface:#101a34;
  --surface-2:#152040;
  --border:rgba(255,255,255,.09);
  --text:#eef2fb;
  --text-muted:#95a2c3;
  --accent:#1fd88f;
  --accent-dark:#12a06c;
  --gold:#e7b64f;
  --danger:#ef5a6f;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-md:0 10px 30px rgba(0,0,0,.35);
  --font-heading:'Manrope',system-ui,-apple-system,Segoe UI,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;
  --gutter:20px;
}
@media (min-width:640px){ :root{ --gutter:24px; } }

*, *::before, *::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(31,216,143,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(231,182,79,.08), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{font-family:var(--font-heading); margin:0 0 .5em; letter-spacing:-.01em;}
p{margin:0 0 1em;}
a{color:inherit;}
img{max-width:100%;}
.container{max-width:1080px; margin:0 auto; padding:0 var(--gutter);}
.muted{color:var(--text-muted);}
.small{font-size:.85em;}

/* ---------- Sticky top bar (kayan yazı + menü tek blokta) ---------- */
.topbar{position:sticky; top:0; z-index:60;}

.ticker{
  background:linear-gradient(90deg, var(--accent-dark), var(--accent));
  color:#04140d;
  font-weight:600;
  font-size:.82rem;
  overflow:hidden;
  white-space:nowrap;
}
.ticker-track{
  display:inline-block;
  padding-left:100%;
  animation:ticker-scroll 32s linear infinite;
}
.ticker-track span{padding:7px 2em; display:inline-block;}
@keyframes ticker-scroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-100%);}
}
@media (prefers-reduced-motion: reduce){
  .ticker-track{animation:none;}
}

.navbar{
  background:rgba(7,12,24,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.navbar .container{display:flex; align-items:center; gap:12px; height:64px;}
.brand{display:flex; align-items:center; gap:9px; font-family:var(--font-heading); font-weight:800; font-size:1rem; min-width:0; margin-right:auto;}
.brand-dot{
  flex:0 0 auto;
  width:30px; height:30px; border-radius:9px;
  background:linear-gradient(135deg, var(--accent), var(--gold));
  display:inline-flex; align-items:center; justify-content:center;
  font-size:14px;
  box-shadow:0 6px 16px rgba(31,216,143,.35);
}
.brand-logo{
  flex:0 0 auto;
  height:32px; width:auto; max-width:140px;
  object-fit:contain; border-radius:6px;
}
.brand-text{overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.nav-links{display:flex; align-items:center; gap:24px;}
.nav-links a{color:var(--text-muted); text-decoration:none; font-weight:600; font-size:.92rem; transition:color .2s; white-space:nowrap;}
.nav-links a:hover{color:var(--text);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 24px; border-radius:999px; border:none; cursor:pointer;
  font-family:var(--font-body); font-weight:700; font-size:.96rem;
  text-decoration:none; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-block{width:100%;}
.btn-primary{
  background:linear-gradient(135deg, var(--accent), var(--accent-dark));
  color:#05170f;
  box-shadow:0 10px 25px rgba(31,216,143,.35);
}
.btn-primary:hover{box-shadow:0 14px 32px rgba(31,216,143,.5); transform:translateY(-1px);}
.btn-ghost{
  background:transparent; color:var(--text); border:1.5px solid var(--border);
}
.btn-ghost:hover{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.2);}
.btn-telegram{
  background:linear-gradient(135deg,#2ea6ff,#1785e0);
  color:#fff; box-shadow:0 12px 28px rgba(46,166,255,.4); font-size:1.02rem; padding:16px 24px;
  margin-top:8px;
}
.btn-telegram:hover{box-shadow:0 16px 36px rgba(46,166,255,.55); transform:translateY(-1px);}

.btn-sm-nav{flex:0 0 auto; padding:9px 16px; font-size:.85rem; color:#05170f;}
.btn-sm-nav:hover{color:#05170f;}

/* ---------- Hero ---------- */
.hero{padding:56px 0 44px; position:relative;}
.hero-inner{max-width:720px;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--gold); font-weight:700; font-size:.78rem; letter-spacing:.05em; text-transform:uppercase;
  background:rgba(231,182,79,.1); border:1px solid rgba(231,182,79,.3);
  padding:6px 14px; border-radius:999px; margin-bottom:18px;
}
.hero h1{font-size:clamp(1.9rem, 6vw, 3.1rem); font-weight:800; line-height:1.15;}
.hero .subtitle{font-size:1.05rem; color:var(--text-muted); max-width:560px;}
.hero-cta{display:flex; margin-top:26px;}
.hero-cta .btn{width:100%;}
@media (min-width:560px){
  .hero-cta{display:inline-flex;}
  .hero-cta .btn{width:auto;}
}

/* ---------- Section heading (Hizmetlerimiz / Galeri) ---------- */
.section-head{text-align:center; max-width:640px; margin:48px auto 28px; padding:0 var(--gutter);}
.section-head h2, .section-head h1{font-size:clamp(1.5rem, 3.5vw, 2.1rem);}
.section-head .eyebrow{margin-bottom:14px;}
.page-main{padding-top:36px;}

/* ---------- Services (Hizmetlerimiz) ---------- */
.services-grid{display:grid; grid-template-columns:1fr; gap:16px; margin:0 0 44px;}
@media (min-width:720px){ .services-grid{grid-template-columns:repeat(3,1fr); gap:20px;} }
.service-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:24px 22px; text-align:center;
}
.service-card .icon{
  width:52px; height:52px; margin:0 auto 14px; border-radius:14px;
  background:rgba(231,182,79,.12); display:flex; align-items:center; justify-content:center; font-size:24px;
}
.service-card h3{font-size:1.05rem; margin-bottom:8px;}
.service-card p{color:var(--text-muted); font-size:.92rem; margin:0;}

/* ---------- Gallery preview (homepage) ---------- */
.gallery-preview-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin:0 0 20px;
}
@media (min-width:640px){ .gallery-preview-grid{grid-template-columns:repeat(4,1fr); gap:14px;} }
.gallery-preview-item{display:block; border-radius:var(--radius-sm); overflow:hidden; aspect-ratio:1/1; border:1px solid var(--border);}
.gallery-preview-item img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease;}
.gallery-preview-item:hover img{transform:scale(1.06);}

/* ---------- Gallery page (full grid) ---------- */
.gallery-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin:0 0 60px;
}
@media (min-width:640px){ .gallery-grid{grid-template-columns:repeat(3,1fr);} }
@media (min-width:960px){ .gallery-grid{grid-template-columns:repeat(4,1fr); gap:18px;} }
.gallery-item{
  position:relative; display:block; border-radius:var(--radius-md); overflow:hidden;
  aspect-ratio:1/1; border:1px solid var(--border); background:var(--surface);
}
.gallery-item img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease;}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-caption{
  position:absolute; left:0; right:0; bottom:0; padding:10px 12px 8px;
  background:linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color:#fff; font-size:.82rem; font-weight:600;
}

/* ---------- Lightbox ---------- */
.lightbox{
  display:none; position:fixed; inset:0; z-index:200; background:rgba(3,6,14,.92);
  align-items:center; justify-content:center; padding:24px;
}
.lightbox.open{display:flex;}
.lightbox img{max-width:min(92vw,1100px); max-height:82vh; border-radius:12px; box-shadow:0 30px 80px rgba(0,0,0,.6);}
.lightbox-caption{position:absolute; bottom:32px; left:0; right:0; text-align:center; color:#fff; font-weight:600;}
.lightbox-close{
  position:absolute; top:20px; right:20px; width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); color:#fff;
  font-size:18px; cursor:pointer;
}
.lightbox-close:hover{background:rgba(255,255,255,.16);}

/* ---------- Feature cards ---------- */
.features{display:grid; grid-template-columns:1fr; gap:16px; margin:40px 0;}
@media (min-width:720px){ .features{grid-template-columns:repeat(3,1fr); gap:20px; margin:56px 0;} }
.feature{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:22px 20px;
}
.feature .icon{
  width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:rgba(31,216,143,.12); font-size:19px; margin-bottom:12px;
}
.feature h3{font-size:1.02rem; margin-bottom:6px;}
.feature p{color:var(--text-muted); font-size:.9rem; margin:0;}

/* ---------- Cards (form / about) ---------- */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow-md);
  margin-bottom:24px;
}
@media (min-width:640px){ .card{padding:36px; margin-bottom:32px;} }
.form-card{scroll-margin-top:16px;}
.form-card h2, .about-card h2{font-size:1.35rem;}
@media (min-width:640px){ .form-card h2, .about-card h2{font-size:1.5rem;} }

.lead-form .field{margin-bottom:16px;}
.lead-form label, .about-card label{display:block; font-weight:600; font-size:.9rem; margin-bottom:7px; color:var(--text);}
.req{color:var(--danger);}
.lead-form input, .lead-form select{
  width:100%; padding:13px 14px; border-radius:var(--radius-sm);
  border:1px solid var(--border); background:var(--surface-2); color:var(--text);
  font-family:var(--font-body); font-size:1rem; outline:none;
  transition:border-color .15s, box-shadow .15s;
  -webkit-appearance:none; appearance:none;
}
.lead-form select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2395a2c3' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:36px;
}
.lead-form input:focus, .lead-form select:focus{
  border-color:var(--accent); box-shadow:0 0 0 3px rgba(31,216,143,.18);
}
.lead-form select option{background:var(--surface-2); color:var(--text);}

/* ---------- About ---------- */
.about-card{display:flex; flex-direction:column; gap:16px;}
@media (min-width:640px){ .about-card{flex-direction:row; align-items:flex-start; gap:24px;} }
.about-card .icon{
  flex:0 0 auto; width:48px; height:48px; border-radius:14px;
  background:rgba(231,182,79,.12); display:flex; align-items:center; justify-content:center; font-size:22px;
}
.about-card p{color:var(--text-muted); margin:0;}

/* ---------- Alerts ---------- */
.alert{padding:14px 16px; border-radius:var(--radius-sm); margin-bottom:18px; font-size:.9rem;}
.alert ul{margin:0; padding-left:20px;}
.alert-error{background:rgba(239,90,111,.12); border:1px solid rgba(239,90,111,.35); color:#ffb3bf;}
.alert-info{background:rgba(46,166,255,.12); border:1px solid rgba(46,166,255,.35); color:#bfe1ff;}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--border); padding:22px 0; margin-top:32px;}
.site-footer .container{
  color:var(--text-muted); font-size:.85rem;
  display:flex; flex-direction:column; gap:4px; text-align:center;
}
@media (min-width:560px){
  .site-footer .container{flex-direction:row; justify-content:space-between; text-align:left;}
}

/* ---------- Thank you page ---------- */
.thankyou-page{display:flex; align-items:center; justify-content:center; min-height:90vh; padding:40px var(--gutter);}
.thankyou-card{max-width:440px; width:100%; text-align:center;}
.check-icon{
  width:60px; height:60px; border-radius:50%; margin:0 auto 18px;
  background:linear-gradient(135deg, var(--accent), var(--accent-dark));
  display:flex; align-items:center; justify-content:center; font-size:28px; color:#04140d;
  box-shadow:0 10px 25px rgba(31,216,143,.4);
}
.thankyou-card h1{font-size:1.5rem;}
.back-link{display:inline-block; margin-top:18px; color:var(--text-muted); text-decoration:none; font-weight:600; font-size:.88rem;}
.back-link:hover{color:var(--text);}
.extra-buttons{display:flex; flex-direction:column; gap:12px; margin-top:14px;}

/* ---------- Small-screen refinements ---------- */
@media (max-width:559px){
  .navbar .nav-links{display:none;}
}
