/* Ceha Onepage - Minimal, responsive, no framework */
:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --surface2:#ffffff;
  --text:#121418;
  --muted:rgba(18,20,24,.68);
  --line:rgba(18,20,24,.10);
  --brand:#f7c500;      /* logo yellow */
  --brand2:#ffd34a;     /* soft yellow */
  --shadow: 0 18px 55px rgba(0,0,0,.12);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(247,197,0,.16), transparent 55%),
    radial-gradient(900px 600px at 80% 10%, rgba(0,0,0,.05), transparent 60%),
    var(--bg);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; font-size:.95em}

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

.muted{color:var(--muted)}
.small{font-size:.92rem}
.sep{opacity:.5; margin-inline:8px}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  font-size:.88rem;
}

.topbar{
  border-bottom:1px solid var(--line);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:12px;
}
.topbar__left{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.topbar__right{display:flex; align-items:center; gap:8px; font-size:.92rem}
.topbar__link{opacity:.9}
.topbar__link:hover{opacity:1; text-decoration:underline}

.header{
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:12px; min-width:220px}
.brand__logo{width:46px; height:46px; border-radius:12px; background:rgba(255,255,255,.06); border:1px solid var(--line)}
.brand__name{font-weight:800; letter-spacing:.2px; line-height:1.05}
.brand__tag{font-size:.9rem; color:var(--muted); margin-top:2px}

.nav{display:flex; align-items:center; gap:18px}
.nav a{
  font-size:.95rem;
  opacity:.9;
  position:relative;
  padding:8px 6px;
}
.nav a:hover{opacity:1}
.nav a::after{
  content:"";
  position:absolute; left:8px; right:8px; bottom:3px;
  height:2px; border-radius:999px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .2s ease;
}
.nav a:hover::after{transform: scaleX(1)}

.header__actions{display:flex; align-items:center; gap:10px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  box-shadow:none;
  cursor:pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
  font-weight:600;
  font-size:.95rem;
}
.btn:hover{background: rgba(255,255,255,.07); border-color:rgba(233,238,252,.22)}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: linear-gradient(90deg, rgba(247,197,0,.96), rgba(255,211,74,.92));
  border-color: rgba(255,255,255,.18);
  color:#141414;
}
.btn--primary:hover{filter:saturate(1.05) brightness(1.02)}
.btn--secondary{
  background: rgba(255,255,255,.06);
}
.btn--ghost{background: transparent}
.btn--block{width:100%}
.btn--call{
  border-color: rgba(248,194,58,.35);
  background: rgba(248,194,58,.08);
}
.phoneDot{
  width:9px; height:9px; border-radius:50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(247,197,0,.18);
}

/* Burger */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.burger span{
  display:block;
  width:18px;
  height:2px;
  background: rgba(233,238,252,.9);
  margin:4px auto;
  border-radius:999px;
}

.mobileNav{
  display:none;
  border-top:1px solid var(--line);
  padding:10px 16px 16px;
}
.mobileNav a{
  display:block;
  padding:12px 6px;
  border-bottom:1px dashed rgba(233,238,252,.10);
  opacity:.95;
}
.mobileNav a:last-child{border-bottom:none}
.mobileCall{
  margin-top:6px;
  border:1px solid rgba(248,194,58,.35);
  background: rgba(248,194,58,.08);
  border-radius:14px;
}

/* Hero */
.hero{
  position:relative;
  height: clamp(460px, 62vh, 760px);
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero__slides{position:absolute; inset:0}
.hero__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
  filter: saturate(1.08) contrast(1.02);
}
.hero__img.is-active{
  opacity:1;
  transform: scale(1.0);
}
.hero__fade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(246,247,251,.62) 55%, rgba(246,247,251,.92));
}
.hero__content{position:relative; height:100%; display:flex; align-items:flex-end; padding:28px 0 34px}
.heroCard{
  width:min(620px, 100%);
  padding:22px 22px 18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.heroCard h1{margin:0 0 10px; font-size: clamp(1.55rem, 3.3vw, 2.4rem); letter-spacing:.2px}
.heroCard p{margin:0 0 16px; color:var(--muted); line-height:1.55}
.heroCard__cta{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px}
.heroCard__stats{display:flex; gap:14px; flex-wrap:wrap; border-top:1px solid rgba(233,238,252,.10); padding-top:12px}
.stat{display:flex; gap:8px; align-items:baseline}
.stat b{font-size:1.05rem}
.stat span{color:var(--muted); font-size:.95rem}

/* Sections */
.section{padding:70px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top:1px solid rgba(233,238,252,.06);
  border-bottom:1px solid rgba(233,238,252,.06);
}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:14px; margin-bottom:18px; flex-wrap:wrap
}
.section__head h2{margin:0; font-size:1.7rem}
.section__head p{margin:0; color:var(--muted); max-width:58ch; line-height:1.55}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns: repeat(3, 1fr)}
.card{
  padding:18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.card__icon{font-size:1.6rem; margin-bottom:8px}
.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted); line-height:1.55}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.gItem{
  border:none;
  padding:0;
  background: transparent;
  cursor:pointer;
  border-radius: 16px;
  overflow:hidden;
  outline:1px solid rgba(233,238,252,.10);
  transition: transform .12s ease, outline-color .2s ease;
}
.gItem:hover{transform: translateY(-2px); outline-color:rgba(248,194,58,.34)}
.gItem img{width:100%; aspect-ratio:1/1; object-fit:cover}

/* Offer */
.offer{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
.form{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.form__row{display:grid; grid-template-columns: repeat(2, 1fr); gap:12px}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:12px}
label{font-weight:600; font-size:.95rem}
input, textarea{
  width:100%;
  border:1px solid rgba(233,238,252,.14);
  border-radius:14px;
  padding:12px 12px;
  background: rgba(0,0,0,.03);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(77,211,255,.55);
  box-shadow: 0 0 0 4px rgba(77,211,255,.14);
}
textarea{resize: vertical; min-height:120px}
.form__hint{margin:10px 0 0; color:var(--muted); font-size:.92rem}

.offer__aside .asideCard{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid rgba(248,194,58,.22);
  background: rgba(248,194,58,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}
.asideCard h3{margin:0 0 8px}
.asideCard p{margin:0 0 14px; color:var(--muted); line-height:1.55}
.asideCard__list{margin-top:12px; color:rgba(233,238,252,.86); display:grid; gap:10px}

/* Map + Contact */
.mapWrap{
  border-radius: var(--radius);
  overflow:hidden;
  outline:1px solid rgba(233,238,252,.12);
  background: rgba(255,255,255,.03);
}
.mapWrap iframe{width:100%; height:360px; border:0}
.contactLine{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.contactLine__item{
  padding:14px;
  border:1px solid rgba(233,238,252,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
}
.contactLine__item .label{display:block; color:var(--muted); font-size:.9rem; margin-bottom:6px}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.86);
  padding:24px 0;
}
.footer__inner{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap}
.footer__brand{display:flex; align-items:center; gap:12px; margin-bottom:10px}
.footer__brand img{width:40px; height:40px; border-radius:12px; border:1px solid var(--line); background: rgba(255,255,255,.05)}
.footer__right{display:flex; align-items:center; gap:8px; color:var(--muted)}
.footer__right a:hover{color:var(--text); text-decoration:underline}

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.78);
  display:none;
  align-items:center; justify-content:center;
  padding:20px;
  z-index:100;
}
.lightbox.is-open{display:flex}
.lightbox img{
  max-width:min(1100px, 100%);
  max-height: 82vh;
  border-radius: 18px;
  outline:1px solid rgba(255,255,255,.20);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.04);
}
.lightbox__close{
  position:absolute;
  top:16px; right:16px;
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 28px;
  line-height: 0;
  cursor:pointer;
}
.lightbox__close:hover{background: rgba(255,255,255,.16)}

/* Responsive */
@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-grid; place-items:center}
  .grid--3{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(3, 1fr)}
  .offer{grid-template-columns: 1fr}
  .contactLine{grid-template-columns: 1fr}
}
@media (max-width: 560px){
  .topbar__right{display:none}
  .brand__text{display:none}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  .form__row{grid-template-columns: 1fr}
}


/* WhatsApp Floating Button */
.waFloat{
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247,197,0,.98), rgba(255,211,74,.92));
  color: #121418;
  border: 1px solid rgba(18,20,24,.10);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
  font-weight: 700;
}
.waFloat:hover{filter: brightness(1.02)}
.waIcon{
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background:
    radial-gradient(circle at 35% 40%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%),
    rgba(18,20,24,.22);
  position: relative;
}
.waIcon::after{
  content:"";
  position:absolute;
  inset: 3px 4px 5px 4px;
  border-radius: 9px;
  border: 2px solid rgba(255,255,255,.85);
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(-20deg);
  opacity: .85;
}
.waText{font-size:.96rem}
@media (max-width: 560px){
  .waFloat{right: 12px; bottom: 12px; padding: 12px 12px}
  .waText{display:none}
}


/* === MOBILE HEADER PHONE BUTTON FIX (SAFE) === */
@media (max-width: 560px){
  .header__actions{gap:8px}
  .btn--call{
    padding:10px 12px;
    border-radius:999px;
  }
  /* Phone button: keep compact on mobile (prevents overflow / kayma) */
  .btn--call span:last-child{display:none}
}

/* Sticky header anchor offset (prevents section titles hiding under header) */
#teklif, #galeri, #hizmetler, #iletisim, #home{
  scroll-margin-top: 92px;
}
