/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #5bc0de;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: #31b0d5; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-item {
  position: relative;
  padding: 26px 22px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  letter-spacing: 0.2px;
  transition: background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.nav-item:hover {
  background: #5bc0de;
  color: #fff;
}

.nav-item.active {
  background: #5bc0de;
  color: #fff;
}

.nav-home i {
  font-size: 16px;
}

.nav-yukle {
  position: relative;
}

.nav-badge {
  position: absolute;
  top: 6px;
  right: -4px;
  background: #f0ad4e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 50%;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #5bc0de;
  cursor: pointer;
  padding: 18px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(35, 96, 132, 0.78), rgba(35, 96, 132, 0.78)),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=70') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 460px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 30px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-content {
  max-width: 900px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-content p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.95;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  z-index: 5;
  transition: background-color 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.45);
}

.hero-prev { left: 0; }
.hero-next { right: 0; }

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.hero-dot.active {
  background: #fff;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-light { background: #f5f5f5; }
.section-white { background: #ffffff; }

.section-title {
  font-size: 36px;
  font-weight: 300;
  text-align: center;
  color: #2a2a2a;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.title-badge {
  display: inline-block;
  font-size: 11px;
  background: #f0ad4e;
  color: #fff;
  padding: 4px 8px;
  border-radius: 50px;
  vertical-align: middle;
  margin-left: 8px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: #5bc0de;
  margin: 0 auto 22px;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #777;
  max-width: 760px;
  margin: 0 auto 50px;
  font-weight: 300;
}

/* ===== ABOUT ===== */
.about-text {
  max-width: 920px;
  margin: 0 auto;
  font-size: 15px;
  color: #555;
}

.about-text p {
  margin-bottom: 18px;
}

.about-text strong {
  color: #2a2a2a;
}

.about-sub {
  font-weight: 600;
  color: #2a2a2a;
  margin-top: 30px !important;
  margin-bottom: 14px !important;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
}

.about-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: #5bc0de;
  font-weight: 700;
}

/* ===== FUNKSIONALLIQ / FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: 0 10px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #5bc0de;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(91, 192, 222, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature:hover .feature-icon {
  background: #31b0d5;
  transform: scale(1.05);
}

.feature h4 {
  font-size: 16px;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 12px;
}

.feature p {
  font-size: 14px;
  color: #777;
  line-height: 1.65;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-item figcaption {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  padding: 14px 10px;
  border-top: 1px solid #eee;
}

/* ===== TUTORIAL LIST ===== */
.tutorial-list {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  columns: 2;
  column-gap: 50px;
}

.tutorial-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 18px;
  break-inside: avoid;
}

.tutorial-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #5bc0de;
  font-weight: 700;
}

.tutorial-list a {
  color: #5bc0de;
  font-size: 14px;
}

.tutorial-list a:hover {
  color: #31b0d5;
}

.tutorial-list .fa-youtube {
  color: #cc181e;
  background: #fff;
  margin-left: 6px;
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 14px;
}

/* ===== DOWNLOAD ===== */
.download-block {
  text-align: center;
  margin-top: 20px;
}

.download-line {
  font-size: 17px;
  color: #444;
  margin-bottom: 18px;
}

.download-line .btn {
  margin-left: 10px;
}

.download-support {
  font-size: 14px;
  color: #777;
}

.download-support .link {
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.25s ease, transform 0.15s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #5bc0de;
  color: #fff;
}
.btn-primary:hover {
  background: #31b0d5;
  color: #fff;
}

.btn-danger {
  background: #d9534f;
  color: #fff;
}
.btn-danger:hover {
  background: #c9302c;
  color: #fff;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.price-card-featured {
  border-top: 4px solid #5bc0de;
}

.price-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.price-card .price {
  font-size: 38px;
  font-weight: 300;
  color: #2a2a2a;
  margin-bottom: 24px;
}

.price-card .price span {
  font-size: 16px;
  color: #888;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.price-card ul li {
  padding: 11px 0;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #f1f1f1;
}

.price-card ul li:first-child {
  border-top: none;
}

/* ===== FOOTER ===== */
.footer {
  background: #2c2c2c;
  color: #cfcfcf;
  padding-top: 60px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 22px;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.footer-list li i {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: #5bc0de;
  color: #fff;
  flex-shrink: 0;
}

.footer-list li i.fi-yt { background: #cc181e; }
.footer-list li i.fi-fb { background: #3b5998; }

.footer-list a {
  color: #cfcfcf;
}
.footer-list a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .hero-content h1 { font-size: 38px; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open {
    max-height: 600px;
  }
  .nav-item {
    padding: 14px 22px;
    border-bottom: 1px solid #f2f2f2;
    text-align: left;
  }
  .nav-container {
    justify-content: flex-end;
  }
  .nav-home {
    text-align: center;
  }
  .hero { min-height: 380px; }
  .hero-slides { min-height: 380px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .tutorial-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 24px; }
  .section-title { font-size: 24px; }
  .hero-arrow { width: 42px; height: 42px; font-size: 14px; }
}

/* =====================================================
   SEARCH / AGENCY PAGE
   ===================================================== */
.page-search { background: #f0f3f5; }

.page-title-bar {
  background: linear-gradient(180deg, #f7f9fa 0%, #eef2f4 100%);
  border-bottom: 1px solid #e3e8eb;
  padding: 28px 0;
}

.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-title-h {
  font-size: 26px;
  font-weight: 300;
  color: #2a2a2a;
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
}

.breadcrumb a {
  color: #5bc0de;
}

.breadcrumb a:hover { color: #31b0d5; }

.bc-sep {
  color: #bbb;
}

/* Layout */
.search-main { padding: 36px 0 70px; }

.search-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}

/* Generic card */
.card {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e6e9ec;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 22px;
}

.card-head {
  padding: 16px 22px;
  border-bottom: 1px solid #eef0f2;
  background: #fafbfc;
}

.card-head h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0;
}

.card-body {
  padding: 22px;
}

/* Search form */
.search-form { margin-bottom: 14px; }

.input-group {
  display: flex;
  gap: 0;
}

.form-control {
  flex: 1;
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #444;
  border: 1px solid #d4d9dd;
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #5bc0de;
  box-shadow: inset 0 1px 2px rgba(91, 192, 222, 0.15);
}

.btn-search {
  border-radius: 0 4px 4px 0;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.btn-search i { font-size: 13px; }

.search-help {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

.search-help strong { color: #5cb85c; }

/* Stat cards */
.stat-card {
  text-align: center;
  padding: 26px 18px;
}

.stat-value {
  font-size: 44px;
  font-weight: 300;
  color: #d4d9dd;
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.stat-value-status { font-size: 24px; font-weight: 600; }
.stat-value.status-good { color: #5cb85c; }
.stat-value.status-bad  { color: #d9534f; }
.stat-value.status-neutral { color: #f0ad4e; }

.stat-title {
  font-size: 16px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0 0 6px;
}

.stat-sub {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* Buttons */
.btn-block {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  font-size: 14px;
}

.btn-success {
  background: #5cb85c;
  color: #fff;
}

.btn-success:hover {
  background: #4cae4c;
  color: #fff;
}

/* Results / empty */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}

.empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eef6fa;
  color: #5bc0de;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

.empty-state h4 {
  font-size: 17px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13px;
  color: #888;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #eef0f2;
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  color: inherit;
}

.result-item:hover {
  background: #f7fbfd;
  border-color: #cde7f1;
  color: inherit;
}

.result-thumb {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background: #eef6fa;
  color: #5bc0de;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.result-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.result-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #888;
}

.result-meta i { margin-right: 4px; color: #5bc0de; }

.result-price {
  font-size: 15px;
  font-weight: 700;
  color: #5cb85c;
  white-space: nowrap;
}

/* Facebook embed card */
.fb-card { margin-top: 0; }

.fb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.fb-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #5bc0de;
}

.fb-avatar img { width: 100%; height: 100%; object-fit: cover; }

.fb-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.fb-time {
  font-size: 11px;
  color: #999;
}

.fb-logo {
  font-size: 22px;
  color: #1877f2;
}

.fb-text {
  font-size: 14px;
  color: #444;
  margin-bottom: 16px;
}

.fb-link-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid #e6e9ec;
  border-radius: 4px;
  background: #fafbfc;
  margin-bottom: 14px;
  align-items: center;
  transition: background-color 0.2s ease;
}

.fb-link-card:hover { background: #f3f6f9; }

.fb-link-img {
  width: 100px;
  height: 80px;
  background: linear-gradient(135deg, #5bc0de 0%, #31b0d5 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
}

.fb-link-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.fb-link-domain {
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.4px;
}

.fb-link-title {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.fb-link-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fb-actions {
  display: flex;
  gap: 22px;
  padding-top: 12px;
  border-top: 1px solid #eef0f2;
  font-size: 13px;
  color: #777;
}

.fb-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fb-action i { color: #5bc0de; }

/* Responsive search */
@media (max-width: 900px) {
  .search-layout {
    grid-template-columns: 1fr;
  }
  .page-title-h { font-size: 22px; }
}

@media (max-width: 540px) {
  .input-group { flex-direction: column; gap: 10px; }
  .form-control { border-right: 1px solid #d4d9dd; border-radius: 4px; }
  .btn-search { border-radius: 4px; justify-content: center; }
  .fb-link-card { grid-template-columns: 1fr; }
  .fb-link-img { width: 100%; height: 140px; }
  .result-item { grid-template-columns: 50px 1fr; }
  .result-price { grid-column: 1 / -1; text-align: right; }
}