/* ==========================================================================
   Ayaz İletişim - Premium Tech Service Design System (2026)
   Clean, Modern, Responsive & Conversion-Focused
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --tech-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  --accent: #06b6d4;
  --accent-light: rgba(6, 182, 212, 0.1);
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5b;
  --dark-bg: #0b1120;
  --dark-surface: #0f172a;
  --dark-card: #1e293b;
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 16px 32px -4px rgba(2, 132, 199, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------- Base Reset ---------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 74px; /* Space for mobile sticky action bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------------- Typography & Headings ---------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.025em;
}

.gradient-text {
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  border: 1px solid rgba(2, 132, 199, 0.18);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---------------- Buttons ---------------- */
.btn-ayaz-primary {
  background: var(--tech-gradient);
  color: #fff !important;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-ayaz-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
  color: #fff;
}

.btn-ayaz-outline {
  background: #ffffff;
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-ayaz-outline:hover {
  background: #f1f5f9;
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  color: #fff;
}

/* ---------------- Header & Navbar ---------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand-logo {
  height: 32px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .navbar-brand-logo {
    height: 38px;
    max-width: 190px;
  }
}

.nav-link {
  font-weight: 600;
  color: #334155 !important;
  padding: 7px 11px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.88rem !important;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .nav-link {
    padding: 7px 14px !important;
    font-size: 0.91rem !important;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(2, 132, 199, 0.07);
}

.header-action-btn {
  font-size: 0.82rem;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ---------------- Hero Section (Main Banner) ---------------- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.1) 0%, rgba(248, 250, 252, 0) 50%),
              radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.08) 0%, rgba(248, 250, 252, 0) 50%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 60px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 992px) {
  .hero-section {
    padding: 80px 0 90px;
  }
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  color: #0f172a;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.3rem;
  }
}

.hero-desc {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 580px;
}

/* Stats Counter Row in Hero */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 576px) {
  .hero-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.hero-stat-card {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  text-align: center;
}

.hero-stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-image-wrap {
  position: relative;
  text-align: center;
}

.hero-phone-img {
  max-width: 380px;
  width: 100%;
  filter: drop-shadow(0 20px 35px rgba(2, 132, 199, 0.2));
  animation: floatPhone 4s ease-in-out infinite alternate;
}

@keyframes floatPhone {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-14px); }
}

.hero-badge-tag {
  position: absolute;
  bottom: 25px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-badge-tag .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ---------------- Services Grid ---------------- */
.services-section {
  padding: 80px 0;
  background: #ffffff;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #bae6fd;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--tech-gradient);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-btn-quote {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.service-card:hover .service-btn-quote {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ---------------- Why Us Section ---------------- */
.why-us-section {
  padding: 80px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  height: 100%;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #cbd5e1;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.why-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.specialist-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

/* ---------------- Gallery Section ---------------- */
.gallery-section {
  padding: 80px 0;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  background-color: #e2e8f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 1.5rem;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ---------------- Testimonials ---------------- */
.testimonials-section {
  padding: 80px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.93rem;
  color: #334155;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tech-gradient);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------------- Contact & Map Section ---------------- */
.contact-section {
  padding: 80px 0;
  background: #ffffff;
}

.contact-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  transition: var(--transition);
}

.contact-info-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px);
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--tech-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-card h6 {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  word-break: break-word;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 260px;
  width: 100%;
  margin-bottom: 20px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------- Forms ---------------- */
.form-floating > .form-control {
  border-radius: var(--radius-md);
  border: 1.5px solid #e2e8f0;
  padding: 1rem 1rem;
}

.form-floating > .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 65px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: #38bdf8;
}

/* ---------------- Mobile Action Bar ---------------- */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid #e2e8f0;
  padding: 10px 14px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  gap: 10px;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-bar a {
  flex: 1;
  text-align: center;
  padding: 11px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-bottom-bar .bar-call {
  background: #0f172a;
  color: #ffffff;
}

.mobile-bottom-bar .bar-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}

/* ---------------- About Page Timeline ---------------- */
.about-hero {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  color: #ffffff;
  padding: 65px 0;
  text-align: center;
}

.about-hero h1 {
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 800;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: #e2e8f0;
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-subtle);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-content {
  margin-left: 50px;
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 55%;
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
  }
}

.timeline-year {
  display: inline-block;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.cert-preview-card {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.cert-preview-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.cert-preview-card img {
  border-radius: var(--radius-md);
  max-height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow-subtle);
}
