/* ============================================
   OPTIMA AJANS - DİJİTAL DÖNÜŞÜM & YAZILIM AJANSI
   Özel Web Yazılımları | Dijital Reklam | Domain & Hosting
   ============================================ */

:root {
  --brand-navy: #0b192c;
  --brand-navy-dark: #060e18;
  --brand-blue: #1e3a8a;
  --brand-cyan: #06b6d4;
  --brand-cyan-hover: #0891b2;
  --brand-indigo: #4f46e5;
  --brand-purple: #7c3aed;
  --brand-accent: #f59e0b;
  --brand-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 25, 44, 0.12);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Image Protection (No Drag, No Selection) */
img, picture, .responsive-picture, .software-card-img-wrap, .blog-card-img-wrap {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ---- Topbar ---- */
.topbar-custom {
  background: var(--brand-navy-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar-custom a {
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--transition);
}
.topbar-custom a:hover {
  color: var(--brand-cyan);
}

/* ---- Navbar ---- */
.navbar-custom {
  background: #ffffff;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}
.navbar-brand img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}
.navbar-custom .nav-link {
  color: #1e293b;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 0.95rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--brand-cyan);
  background-color: rgba(6, 182, 212, 0.08);
}

@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: dropSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
.dropdown-menu {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  min-width: 250px;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: #334155;
  transition: var(--transition);
}
.dropdown-item:hover {
  background-color: rgba(6, 182, 212, 0.09);
  color: var(--brand-cyan-hover);
  transform: translateX(4px);
}
@keyframes dropSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Hero Carousel / Slider ---- */
.hero-slider-container {
  position: relative;
  background-color: var(--brand-navy);
  overflow: hidden;
}
.hero-slider-container .carousel-item {
  min-height: 580px;
  background-size: cover;
  background-position: center;
  position: relative;
}
@media (max-width: 768px) {
  .hero-slider-container .carousel-item {
    min-height: 500px;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 24, 0.94) 0%, rgba(11, 25, 44, 0.85) 55%, rgba(11, 25, 44, 0.5) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 5;
  padding: 5rem 0;
}
.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #a5f3fc;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-slide-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-slide-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-slide-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .hero-slide-title { font-size: 2rem; }
  .hero-slide-desc { font-size: 0.98rem; }
}

/* ---- Buttons & CTA ---- */
.btn-brand-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}
.btn-brand-cyan:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
}

.btn-brand-indigo {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.btn-brand-indigo:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
}

.btn-brand-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-brand-outline:hover {
  background: #ffffff;
  color: var(--brand-navy) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ---- Info Strip ---- */
.info-bar-strip {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  position: relative;
  z-index: 10;
}
.info-box-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.info-box-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.1);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ---- Section Headers ---- */
.section-subtitle {
  color: var(--brand-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* ---- Software Cards Grid ---- */
.software-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.software-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, 0.4);
}
.software-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b192c;
  cursor: pointer;
  display: block;
}
.software-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.software-card:hover .software-card-img-wrap img,
.software-card-img-wrap:hover img {
  transform: scale(1.05);
}
.software-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 25, 44, 0.8);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  z-index: 2;
}
.software-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.software-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.software-card-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.software-card:hover .software-card-title,
.software-card-title a:hover {
  color: var(--brand-cyan-hover);
}
.software-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  flex: 1;
}
.software-features-list li {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.software-features-list li i {
  color: #10b981;
  font-size: 0.95rem;
}

/* ---- Digital Ads Platform Cards ---- */
.ad-platform-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.ad-platform-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-cyan);
}
.ad-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.google-ads-icon { background: rgba(234, 67, 53, 0.1); color: #ea4335; }
.meta-ads-icon { background: rgba(225, 48, 108, 0.1); color: #e1306c; }
.linkedin-ads-icon { background: rgba(10, 102, 194, 0.1); color: #0a66c2; }
.yandex-ads-icon { background: rgba(252, 63, 29, 0.1); color: #fc3f1d; }

.ad-platform-card:hover .ad-icon-circle {
  transform: scale(1.1) rotate(5deg);
}

/* ---- Stats & Counters Strip ---- */
.stats-strip {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
}
.stat-counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-counter-label {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ---- Interactive Quote Box ---- */
.quote-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  padding: 2.5rem;
}
.quote-dark-banner {
  background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 3rem 2.5rem;
}

/* ---- Blog & Guide Cards ---- */
.blog-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-card-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b192c;
  cursor: pointer;
  display: block;
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img-wrap img,
.blog-card-img-wrap:hover img {
  transform: scale(1.05);
}

/* ---- Footer ---- */
.footer-custom {
  background: var(--brand-navy-dark);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-custom a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}
.footer-custom a:hover {
  color: var(--brand-cyan);
  padding-left: 3px;
}
.footer-custom h5, .footer-custom .h6 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-custom h5::after, .footer-custom .h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--brand-cyan);
}
.footer-bottom {
  background: #03080e;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

/* ---- WhatsApp Floating Button (Above Back To Top) ---- */
.floating-whatsapp {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* ---- Back To Top Floating Button (Underneath WhatsApp) ---- */
.btn-back-to-top {
  position: fixed;
  bottom: 22px;
  right: 27px;
  width: 50px;
  height: 50px;
  background: var(--brand-navy, #0b192c);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.btn-back-to-top.show-scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn-back-to-top:hover {
  background: var(--brand-cyan, #06b6d4);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}
