/* =========================================================
   gooy.net - Kurumsal Web Sitesi
   HTML + CSS + Vanilla JS
   ========================================================= */

/* Base */
:root{
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 18px 45px rgba(15, 23, 42, .10);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, .10);
  --radius: 16px;
  --radius-sm: 12px;

  --primary: #0ea5e9;
  --primary-2: #0284c7;
  --success: #16a34a;

  --container: 1140px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 60%, var(--bg) 100%);
  line-height: 1.6;
}

img{ max-width: 100%; height: auto; display:block; }
a{ color: inherit; text-decoration: none; }
p{ margin: 0 0 1rem; color: var(--muted); }
h1,h2,h3{ margin: 0 0 .7rem; line-height: 1.2; }
h1{ font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.02em; }
h2{ font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.01em; }
h3{ font-size: 1.1rem; }

.container{
  width: min(100%, calc(var(--container) + 2rem));
  margin-inline: auto;
  padding-inline: 1rem;
}

.section{ padding: clamp(2.2rem, 3vw, 4rem) 0; }
.section--soft{ background: rgba(255,255,255,.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head{ display:flex; align-items:flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section__kicker{ font-weight: 700; color: var(--primary-2); text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.section__desc{ max-width: 65ch; }

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top: 8px;
  background: #fff; border: 1px solid var(--border);
  padding: .6rem .8rem; border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus{ left: 12px; z-index: 10000; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content: space-between;
  padding: .85rem 0;
  gap: 1rem;
}

.brand{ display:flex; align-items:center; gap: .7rem; }
.brand__text{ display:flex; flex-direction: column; }
.brand__name{ font-weight: 800; letter-spacing: -0.02em; }
.brand__tag{ font-size: .85rem; color: var(--muted); }

/* Nav */
.nav{ display:flex; align-items:center; gap: 1rem; }
.nav__list{ list-style:none; margin:0; padding:0; display:flex; gap: .25rem; align-items:center; }
.nav__item{ position: relative; }
.nav__link, .nav__link--button{
  display:flex; align-items:center; gap: .55rem;
  padding: .65rem .75rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  font-size: .95rem;
}
.nav__link:hover, .nav__link--button:hover{
  background: rgba(2,132,199,.08);
  border-color: rgba(2,132,199,.18);
}
.nav__link.is-active{ background: rgba(14,165,233,.12); border-color: rgba(14,165,233,.22); }
.nav__chev{ font-size: .85rem; opacity: .8; }

.nav__cta{ display:flex; align-items:center; }

.nav-toggle{
  display:none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
}
.nav-toggle__bar{ display:block; height: 2px; background: var(--text); margin: 7px 10px; border-radius: 2px; }

/* Dropdown (scrollable) */
.dropdown{
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .55rem;
  display:none;

  /* Scroll (desktop + mobile) */
  max-height: min(70vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.nav__item--dropdown.is-open .dropdown{ display:block; }
.dropdown__link{
  display:flex; align-items:center; gap: .65rem;
  padding: .7rem .75rem;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
}
.dropdown__link:hover{ background: rgba(2,132,199,.08); }
.dropdown__divider{ height:1px; background: var(--border); margin: .35rem 0; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: .55rem;
  border-radius: 14px;
  padding: .85rem 1rem;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(2,132,199,.25);
}
.btn--primary:hover{ box-shadow: 0 18px 36px rgba(2,132,199,.30); }
.btn--ghost{
  background: rgba(255,255,255,.8);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.btn--ghost:hover{ background: #fff; }
.btn--wide{ width: 100%; }

/* Hero */
.hero{ padding: clamp(2.2rem, 4vw, 4.6rem) 0 2rem; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.6rem;
  align-items:center;
}
.hero__card{
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 2.2vw, 2rem);
}
.hero__lead{ font-size: 1.05rem; max-width: 65ch; }
.hero__badges{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top: 1rem; }
.badge{
  display:inline-flex; align-items:center; gap: .5rem;
  border: 1px solid var(--border);
  background: rgba(246,247,249,.85);
  border-radius: 999px;
  padding: .5rem .7rem;
  font-weight: 800;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  font-size: .92rem;
}
.hero__actions{ display:flex; flex-wrap: wrap; gap:.7rem; margin-top: 1.2rem; }
.hero__aside{
  border-radius: var(--radius);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.hero__aside::before{
  content:"";
  position:absolute; inset: -120px -120px auto auto;
  width: 240px; height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(14,165,233,.25), rgba(14,165,233,0));
  pointer-events: none;
}
.hero__aside h3{ margin: .2rem 0 .6rem; }
.hero__aside ul{ margin:0; padding:0; list-style:none; display:grid; gap:.5rem; }
.hero__aside li{ display:flex; gap:.55rem; align-items:flex-start; color: var(--muted); }
.hero__aside i{ color: var(--primary-2); margin-top: .18rem; }

/* Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.card{
  grid-column: span 4;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
  transition: transform .14s ease, box-shadow .14s ease;
  position: relative;
}
.card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.card__icon{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(14,165,233,.10);
  border: 1px solid rgba(14,165,233,.20);
  color: var(--primary-2);
  margin-bottom: .8rem;
}
.card__title{ font-weight: 900; margin-bottom: .35rem; }
.card__meta{ color: var(--muted); font-size: .96rem; }
.card__actions{ margin-top: .95rem; display:flex; gap:.6rem; flex-wrap: wrap; }

/* Table (scrollable on mobile) */
.table-wrap{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.9);

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
table{ width:100%; border-collapse: collapse; min-width: 720px; }
th, td{ padding: .9rem .9rem; text-align:left; border-bottom: 1px solid var(--border); }
th{ font-weight: 900; background: rgba(246,247,249,.95); }
td i{ color: var(--success); }
tr:last-child td{ border-bottom: none; }

/* Steps */
.steps{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.step{
  grid-column: span 3;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}
.step__num{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 12px;
  border: 1px solid rgba(2,132,199,.25);
  background: rgba(2,132,199,.10);
  font-weight: 900;
  color: var(--primary-2);
  margin-bottom: .75rem;
}

/* Reviews slider */
.slider{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
}
.slider__track{
  display:flex;
  transition: transform .45s ease;
  will-change: transform;
}
.review{
  flex: 0 0 100%;
  padding: 1.25rem;
}
.review__top{ display:flex; align-items:center; justify-content: space-between; gap: 1rem; }
.stars{ display:flex; gap: .15rem; color: #f59e0b; }
.review__name{ font-weight: 900; }
.review__role{ font-size: .9rem; color: var(--muted); }
.slider__controls{
  display:flex; gap: .5rem; justify-content: flex-end;
  padding: .75rem;
  border-top: 1px solid var(--border);
  background: rgba(246,247,249,.85);
}
.icon-btn{
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
  display:grid; place-items:center;
  cursor:pointer;
}
.icon-btn:hover{ background: rgba(14,165,233,.08); border-color: rgba(14,165,233,.22); }

/* References */
.ref-grid .card{ grid-column: span 4; }
.ref-thumb{
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14,165,233,.10), rgba(255,255,255,.0));
  height: 140px;
  overflow:hidden;
  display:grid;
  place-items:center;
  margin-bottom: .9rem;
}
.ref-thumb img{ width: 80%; opacity: .9; }

/* Page hero */
.page-hero{ padding: 2.2rem 0 1rem; }
.breadcrumbs{
  display:flex; flex-wrap:wrap; gap: .4rem;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}
.breadcrumbs a{ color: var(--primary-2); }
.page-hero__box{
  margin-top: .9rem;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.kv{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.kv .card{ grid-column: span 6; }

/* Blog */
.blog-post{ margin-bottom: 1rem; }
.blog-post__meta{ display:flex; gap:.6rem; flex-wrap:wrap; margin-top: .6rem; }
.pill{
  display:inline-flex; align-items:center; gap:.5rem;
  padding: .45rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(246,247,249,.85);
  font-weight: 800;
  color: var(--muted);
  font-size: .9rem;
}
.comment{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  padding: .9rem 1rem;
}
.comment + .comment{ margin-top: .7rem; }

/* FAQ */
.faq{ display:grid; gap:.7rem; }
.faq details{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  padding: .9rem 1rem;
}
.faq summary{ cursor:pointer; font-weight: 900; }
.faq summary::-webkit-details-marker{ display:none; }

/* Footer */
.site-footer{
  padding: 2.2rem 0 1.2rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.70);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.footer__brand{ display:flex; gap: .7rem; align-items:flex-start; }
.footer__name{ font-weight: 900; }
.footer__desc{ color: var(--muted); font-size: .95rem; }
.footer__title{ font-weight: 900; margin-bottom: .6rem; display:flex; align-items:center; gap:.55rem; }
.footer__contact, .footer__links{ list-style:none; padding:0; margin:.8rem 0 0; display:grid; gap:.5rem; }
.footer__contact li, .footer__links li{ display:flex; gap:.55rem; align-items:flex-start; color: var(--muted); }
.footer__links a{ color: var(--text); font-weight: 800; }
.footer__links a:hover{ color: var(--primary-2); }
.footer__social{ display:flex; gap:.5rem; margin-top: 1rem; }
.social{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
  display:grid; place-items:center;
}
.social:hover{ background: rgba(14,165,233,.08); border-color: rgba(14,165,233,.22); }

.footer__col--cta{ background: rgba(246,247,249,.75); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1rem; }
.footer__cta-text{ margin-bottom: .9rem; }

.footer__bottom{
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}
.footer__bottom a{ color: var(--primary-2); font-weight: 800; }

/* WhatsApp floating button */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display:flex;
  align-items:center;
  gap: .6rem;
  padding: .85rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 20px 42px rgba(22,163,74,.28);
  border: 1px solid rgba(0,0,0,.04);
  font-weight: 900;
}
.wa-float i{ font-size: 1.2rem; }
.wa-float span{ font-size: .95rem; }
@media (max-width: 520px){
  .wa-float span{ display:none; }
  .wa-float{ padding: .9rem; }
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
  .card{ grid-column: span 6; }
  .step{ grid-column: span 6; }
  .kv .card{ grid-column: span 12; }
}
@media (max-width: 760px){
  .nav-toggle{ display:block; }
  .nav{
    position: absolute;
    right: 1rem;
    top: calc(100% + 10px);
    width: min(520px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .6rem;
    display:none;
    flex-direction: column;
    align-items: stretch;

    /* Scrollable mobile menu */
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open{ display:flex; }
  .nav__list{ flex-direction: column; align-items: stretch; }
  .nav__link, .nav__link--button{ width:100%; justify-content: space-between; }
  .dropdown{
    position: static;
    box-shadow: none;
    border: none;
    padding: 0.35rem 0 0;
    display:none;
    min-width: auto;
    max-height: 55vh;
    overflow-y: auto;
  }
  .nav__item--dropdown.is-open .dropdown{ display:block; }
  .dropdown__link{ border: 1px solid var(--border); margin: .35rem 0; background: rgba(246,247,249,.70); }
  .grid{ gap: .85rem; }
  .card{ grid-column: span 12; }
  .step{ grid-column: span 12; }
  .ref-grid .card{ grid-column: span 12; }
  .footer__grid{ grid-template-columns: 1fr; }
}
