/* ============================================================
   eHost Global — shared styles for the multi-page site
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; }

/* Layout */
.eh-container { max-width: 1340px; margin: 0 auto; padding: 0 32px; }
.eh-section   { padding: 80px 0; }

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; border-radius: var(--r-md);
  font-family: var(--font-sans); font-weight: 700;
  border: 1.5px solid transparent;
  padding: 12px 24px; font-size: 15px;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out),
              transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-cta {
  background: var(--eh-yellow-500); color: #fff;
  border-color: var(--eh-yellow-500); box-shadow: var(--shadow-yellow);
}
.btn-cta:hover { background: #fff; color: var(--eh-yellow-600); }

.btn-blue {
  background: var(--eh-blue-500); color: #fff;
  border-color: var(--eh-blue-500); box-shadow: var(--shadow-blue);
}
.btn-blue:hover { background: var(--eh-blue-600); color: #fff; }

.btn-ghost {
  background: transparent; color: var(--fg-1);
  border-color: var(--border-1); border-radius: 999px; padding: 9px 22px;
  font-size: 13px;
}
.btn-ghost:hover { background: var(--eh-ink-50); border-color: var(--eh-ink-300); }

.btn-pill-blue {
  background: var(--eh-blue-500); color: #fff;
  border-color: var(--eh-blue-500); border-radius: 999px; padding: 9px 22px;
  font-size: 13px; box-shadow: var(--shadow-blue);
}
.btn-pill-blue:hover { background: var(--eh-blue-600); color: #fff; }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Header ------------------------------------------------------ */
.eh-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-2);
}
.eh-header-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.eh-logo { display: flex; align-items: center; flex-shrink: 0; }
.eh-logo img { height: 30px; display: block; }

.eh-nav { display: flex; gap: 4px; }
.eh-nav-item {
  padding: 26px 14px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--fg-1); letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; font-family: inherit;
}
.eh-nav-item:hover { color: var(--eh-blue-500); }
.eh-nav-item .chev { transition: transform 160ms var(--ease-out); }
.eh-nav-item[aria-expanded="true"] .chev { transform: rotate(180deg); }

.eh-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Mega menu --------------------------------------------------- */
/* Always opens centered under the header, regardless of which nav-item triggered it. */
.eh-mega {
  position: fixed; left: 50%; top: 72px;
  transform: translateX(-50%) translateY(8px);
  width: min(960px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--border-2);
  border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 24px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.eh-mega.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

.eh-nav-item { box-sizing: border-box; border-bottom: 2px solid transparent; }
.eh-nav-item[aria-expanded="true"] { border-bottom-color: var(--eh-blue-500); }

.eh-mega-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: start;
}
.eh-mega-item {
  display: flex; gap: 12px; padding: 12px; border-radius: 12px;
  text-decoration: none; color: var(--fg-1);
  transition: background 140ms var(--ease-out);
}
.eh-mega-item:hover { background: var(--eh-ink-50); }
.eh-mega-icon {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  background: var(--eh-blue-50); color: var(--eh-blue-500);
  display: grid; place-items: center;
}
.eh-mega-title { font-weight: 600; font-size: 14px; color: var(--fg-1); margin: 0 0 4px; letter-spacing: 0; }
.eh-mega-desc  { font-size: 12px; color: var(--fg-3); line-height: 1.6; margin: 0; letter-spacing: 0; font-weight: 500; }

.eh-mega-side {
  background: var(--grad-blue); color: #fff;
  border-radius: 14px; padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-blue);
}
.eh-mega-side::before {
  content: ''; position: absolute; inset: 0; opacity: .07;
  background-image: repeating-linear-gradient(45deg,#fff 0 1px,transparent 1px 16px);
}
.eh-mega-side__top { position: relative; display: flex; flex-direction: column; }
.eh-mega-side__badge {
  display: inline-flex; align-items: center; align-self: flex-start;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9); border-radius: 999px;
  padding: 4px 12px; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; margin-bottom: 16px;
}
.eh-mega-side__price-row {
  display: flex; align-items: baseline; gap: 1px;
  line-height: 1; margin-bottom: 6px;
}
.eh-mega-side__currency {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: #fff; align-self: flex-start; margin-top: 6px;
}
.eh-mega-side__amount {
  font-family: var(--font-display); font-weight: 800;
  font-size: 48px; color: #fff; letter-spacing: -.03em;
}
.eh-mega-side__period {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.5); margin-left: 4px;
}
.eh-mega-side__from {
  font-size: 11px; color: rgba(255,255,255,.5);
  margin-bottom: 0; letter-spacing: .04em;
}
.eh-mega-side__divider {
  border: none; border-top: 1px solid rgba(255,255,255,.15);
  margin: 18px 0;
}
.eh-mega-side__tagline {
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  color: #fff; margin-bottom: 8px; letter-spacing: .01em;
}
.eh-mega-side p {
  font-size: 13px; color: rgba(255,255,255,.82);
  line-height: 1.7; margin: 0; letter-spacing: .02em;
}
.eh-mega-side__btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #FFC121; color: #0A1020;
  border-radius: 10px; padding: 11px 16px;
  font-size: 14px; font-weight: 800; letter-spacing: .03em; text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.eh-mega-side__btn:hover { background: #FFD050; transform: translateY(-1px); }

/* Mobile menu ------------------------------------------------- */
.eh-hamburger { display: none; }
@media (max-width: 980px) {
  .eh-nav, .eh-header-actions .desktop-only { display: none; }
  .eh-hamburger {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--eh-ink-50); border: none; cursor: pointer;
    margin-left: auto;
  }
}

.eh-mobile-menu {
  position: fixed; inset: 72px 0 0 0; background: #fff;
  z-index: 99; overflow-y: auto;
  padding: 16px 24px 64px;
  transform: translateX(100%); transition: transform 220ms var(--ease-out), visibility 220ms;
  visibility: hidden;
}
.eh-mobile-menu.open { transform: translateX(0); visibility: visible; }
.eh-mobile-section { border-bottom: 1px solid var(--border-2); padding: 14px 0; }
.eh-mobile-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 6px 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-1);
}
.eh-mobile-sublist {
  display: none; padding: 8px 0 0;
}
.eh-mobile-sublist.open { display: block; }
.eh-mobile-sublist a {
  display: block; padding: 10px 0; color: var(--fg-2);
  font-size: 14px; text-decoration: none;
}
.eh-mobile-cta-row { display: flex; gap: 10px; margin-top: 16px; }
.eh-mobile-cta-row .btn { flex: 1; }

/* Footer ------------------------------------------------------ */
.eh-footer {
  background: var(--eh-ink-900); color: #B7BECD;
  padding-top: 24px;
}
.eh-footer-strip {
  border-bottom: 1px solid #16213A;
  padding: 18px 0;
}
.eh-footer-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-size: 13px; color: #B7BECD;
}
.eh-footer-strip-item { display: inline-flex; align-items: center; gap: 8px; }
.eh-footer-strip-item svg { color: var(--eh-blue-400); }

.eh-footer-main {
  display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 24px;
  padding: 56px 0 32px;
}
.eh-footer-brand img { height: 38px; margin-bottom: 18px; display: block; }
.eh-footer-brand .addr { font-size: 13px; line-height: 1.65; color: #B7BECD; margin: 0 0 14px; }
.eh-footer-brand .ctc  { font-size: 13px; color: #B7BECD; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.eh-footer-brand .ctc a { color: #B7BECD; }
.eh-footer-brand .ctc a:hover { color: #fff; }
.eh-footer-brand .iso  {
  display: inline-block; border: 1px solid #38445E; border-radius: 999px;
  padding: 6px 14px; font-size: 11px; font-weight: 700; color: #fff; margin-top: 10px;
}
.eh-footer-col h4 {
  font-family: var(--font-display); color: #fff;
  font-weight: 700; font-size: 14px; margin: 0 0 14px;
  letter-spacing: 0;
}
.eh-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.eh-footer-col a {
  color: #B7BECD; font-size: 13px; text-decoration: none;
  transition: color 140ms var(--ease-out);
}
.eh-footer-col a:hover { color: #fff; }
.eh-footer-col + .eh-footer-col-stack { margin-top: 28px; }

.eh-footer-bottom {
  border-top: 1px solid #16213A;
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.eh-social { display: flex; gap: 10px; }
.eh-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #38445E; display: grid; place-items: center;
  color: #B7BECD; transition: all 140ms var(--ease-out);
}
.eh-social a:hover { color: #fff; border-color: var(--eh-blue-400); background: #16213A; }
.eh-copyright { font-size: 12px; color: #8089A0; }
.eh-etbis {
  width: 90px; height: auto; border-radius: 8px;
  background: #fff; padding: 4px; display: grid; place-items: center;
}
.eh-etbis img { width: 100%; height: auto; object-fit: contain; display: block; }

/* WhatsApp floating button ------------------------------------ */
.eh-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: flex; align-items: flex-end; gap: 12px;
  font-family: var(--font-sans);
}
.eh-wa-bubble {
  background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); max-width: 240px; font-size: 13px;
  line-height: 1.45; color: var(--fg-1);
  border: 1px solid var(--border-2);
  display: none;
}
.eh-wa.open .eh-wa-bubble { display: block; animation: eh-wa-pop .22s var(--ease-out); }
.eh-wa-bubble strong { display: block; font-weight: 700; margin-bottom: 4px; }
.eh-wa-bubble a {
  display: inline-block; margin-top: 8px; color: var(--eh-blue-500);
  font-weight: 700; font-size: 13px;
}
.eh-wa-bubble .close-x {
  position: absolute; top: 6px; right: 8px; background: none; border: none;
  cursor: pointer; color: var(--fg-4); font-size: 16px; line-height: 1;
}
.eh-wa-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  cursor: pointer; border: none;
  box-shadow: 0 8px 22px rgba(37,211,102,.5);
  transition: transform 140ms var(--ease-out);
  position: relative;
}
.eh-wa-btn:hover { transform: scale(1.05); }
.eh-wa-btn::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #25D366; opacity: .5;
  animation: eh-wa-pulse 2s ease-out infinite;
}
@keyframes eh-wa-pulse {
  0% { transform: scale(.8); opacity: .55; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes eh-wa-pop {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Page-title strip (for non-home pages) ----------------------- */
.eh-pagetitle {
  background: #fff; border-bottom: 1px solid var(--border-2);
  font-family: var(--font-display); font-weight: 700;
  color: var(--fg-1); font-size: 17px;
  padding: 14px 0;
}

/* Hero (page-level blue) -------------------------------------- */
.eh-hero {
  background: var(--grad-blue); color: #fff;
  position: relative; overflow: hidden;
}
.eh-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 50%),
                    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.eh-hero-inner { padding: 64px 0 80px; position: relative; }

/* Cards & utils ----------------------------------------------- */
.eh-card {
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.eh-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--eh-blue-200); }

.eh-stub {
  max-width: 720px; margin: 80px auto; text-align: center;
  padding: 0 24px;
}
.eh-stub .badge {
  display: inline-block; background: var(--eh-blue-50); color: var(--eh-blue-700);
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  margin-bottom: 18px;
}

/* Reveal on scroll (intersection observer hook) -------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Float anim -------------------------------------------------- */
@keyframes eh-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes eh-float-badge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.eh-float { animation: eh-float 5s ease-in-out infinite; }
.eh-float-badge { animation: eh-float-badge 4s ease-in-out infinite; }

@keyframes eh-shimmer {
  0%   { transform: translateX(-100%); opacity: 0; }
  40%  { opacity: 1; }
  60%  { opacity: 1; }
  100% { transform: translateX(200%); opacity: 0; }
}

/* Marquee ----------------------------------------------------- */
@keyframes eh-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.eh-marquee {
  overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.eh-marquee-track { display: flex; gap: 28px; width: max-content; animation: eh-marquee 40s linear infinite; }
.eh-marquee:hover .eh-marquee-track { animation-play-state: paused; }

/* Extra button variants --------------------------------------- */
.btn-outline {
  background: transparent; color: var(--fg-1);
  border-color: var(--border-1);
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--eh-blue-500); color: var(--eh-blue-600); }

.btn-white {
  background: #fff; color: var(--eh-blue-700);
  border-color: #fff;
}
.btn-white:hover { background: var(--eh-blue-50); }

.btn-ghost-white {
  background: rgba(255,255,255,0.12); color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.22); }

/* Marquee (p-marquee / t-marquee) ----------------------------- */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes eh-partners-marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@keyframes eh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes eh-marquee-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.p-marquee, .t-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.p-marquee:hover .p-track { animation-play-state: paused; }
.t-marquee:hover .t-track { animation-play-state: paused; }

/* Uptime pulse (why section) ---------------------------------- */
@keyframes eh-uptime-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.eh-pulse-dot { animation: eh-uptime-pulse 2s ease-in-out infinite; }

/* FAQ accordion — animation handled by hosting.css (max-height transition) */

/* ── netlen: Akan gradyan çizgiler (flowRight) ──────────────── */
@keyframes eh-flow-right {
  0%   { transform: translateX(-110%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}
.eh-flow-line {
  position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--fl-c, rgba(27,107,255,0.45)) 50%, transparent 100%);
  animation: eh-flow-right var(--fl-dur, 4s) ease-in-out infinite;
  animation-delay: var(--fl-delay, 0s);
  opacity: 0;
}

/* ── hosting.com: CTA ok animasyonu ─────────────────────────── */
.btn-cta svg, .eh-btn--gold svg {
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.btn-cta:hover svg, .eh-btn--gold:hover svg { transform: translateX(5px); }

/* ── netlen: 3'lü kart hover ────────────────────────────────── */
.eh-card {
  transition: transform 280ms cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 280ms ease,
              border-color 280ms ease !important;
}
.eh-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 48px rgba(14,23,38,0.13) !important;
  border-color: rgba(27,107,255,0.28) !important;
}

/* ── hosting.com + netlen: Utility bar ──────────────────────── */
.eh-util-bar {
  background: #0A1726 !important;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
  line-height: 1;
}
.eh-util-bar-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; white-space: nowrap; overflow: hidden;
}
.eh-util-left  { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.55); }
.eh-util-right { display: flex; align-items: center; gap: 12px; }
.eh-util-bar a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 140ms ease;
}
.eh-util-bar a:hover { color: #fff; }
.eh-util-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.14); flex-shrink: 0; }
.eh-util-status { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.55); }
.eh-util-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #10B981; flex-shrink: 0;
  animation: eh-uptime-pulse 2s ease-in-out infinite;
}
@media (max-width: 768px) { .eh-util-bar { display: none; } }

/* Responsive grids -------------------------------------------- */
@media (max-width: 1100px) {
  .eh-footer-main { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
@media (max-width: 720px) {
  .eh-footer-main { grid-template-columns: 1fr 1fr; }
  .eh-footer-brand { grid-column: 1 / -1; }
  .eh-section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .eh-footer-main { grid-template-columns: 1fr; }
  .eh-footer-strip-inner { gap: 8px; font-size: 12px; }
}
