/* ============================================
   NakliPro – Ana Stil Dosyası
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --blue-900: #042C53;
  --blue-800: #0C447C;
  --blue-600: #185FA5;
  --blue-400: #378ADD;
  --blue-200: #85B7EB;
  --blue-100: #B5D4F4;
  --blue-50: #E6F1FB;
  --white: #ffffff;
  --gray-200: #B4B2A9;
  --gray-600: #5F5E5A;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--blue-900);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', sans-serif;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--blue-800);
  padding: 0.5rem 0;
  font-size: 0.83rem;
}

.topbar a {
  color: var(--blue-100);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--white);
}

.topbar i {
  color: var(--blue-400);
  font-size: 0.9rem;
}

.topbar-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(133, 183, 235, 0.3);
  margin: 0 1rem;
  vertical-align: middle;
}

/* ── NAVBAR ── */
.navbar {
  background: var(--blue-900);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 3px solid var(--blue-600);
  box-shadow: 0 2px 16px rgba(4, 44, 83, 0.18);
}

.navbar-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: 1px;
}

.navbar-brand span {
  color: var(--blue-400);
}

.navbar-nav .nav-link {
  color: var(--blue-100) !important;
  font-weight: 500;
  margin: 0 0.2rem;
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
  background: rgba(55, 138, 221, 0.12);
}

.btn-navbar {
  background: var(--blue-400);
  color: var(--white);
  border: none;
  padding: 0.45rem 1.3rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
}

.btn-navbar:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--blue-600) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23378ADD' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(55, 138, 221, 0.18);
  border: 1px solid rgba(55, 138, 221, 0.5);
  color: var(--blue-200);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.hero h1 span {
  color: var(--blue-400);
}

.hero p {
  color: var(--blue-100);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: var(--blue-400);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  margin-right: 0.8rem;
  margin-bottom: 0.5rem;
}

.btn-hero-primary:hover {
  background: var(--blue-200);
  color: var(--blue-900);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(133, 183, 235, 0.55);
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(133, 183, 235, 0.2);
  flex-wrap: wrap;
}

.hero-stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--blue-200);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

/* ── BÖLÜM GENEL ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-600);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.1;
}

.section-title span {
  color: var(--blue-600);
}

/* ── HİZMETLER ── */
.services-section {
  background: var(--white);
  padding: 5.5rem 0;
}

.service-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-400);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 36px rgba(4, 44, 83, 0.11);
  background: var(--white);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--blue-900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.45rem;
  color: var(--blue-200);
  line-height: 1;
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* ── NEDEN BİZ ── */
.whyus-section {
  background: var(--blue-900);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.whyus-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(55, 138, 221, 0.07);
  pointer-events: none;
}

.whyus-section .section-label {
  color: var(--blue-400);
}

.whyus-section .section-title {
  color: var(--white);
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: rgba(55, 138, 221, 0.12);
  border: 1px solid rgba(55, 138, 221, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--blue-400);
  line-height: 1;
}

.feature-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.87rem;
  color: var(--blue-200);
  line-height: 1.6;
  margin: 0;
}

/* ── PORTFÖY ── */
.portfolio-section {
  background: var(--blue-50);
  padding: 5.5rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--blue-100);
  cursor: pointer;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 44, 83, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.3rem;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

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

.portfolio-caption {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}

.portfolio-caption small {
  display: block;
  font-size: 0.78rem;
  color: var(--blue-200);
  font-weight: 400;
  margin-top: 2px;
}

/* Placeholder boş kutular (resim yokken) */
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--blue-400);
  background: var(--blue-50);
  border: 2px dashed var(--blue-200);
}

.portfolio-placeholder i {
  font-size: 2rem;
}

.portfolio-placeholder span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--blue-100);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

.btn-cta {
  background: var(--white);
  color: var(--blue-900);
  border: none;
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.4rem;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  color: var(--blue-900);
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  margin: 0.4rem;
}

.btn-cta-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-3px);
}

/* ── FOOTER ── */
.footer {
  background: var(--blue-900);
  padding: 4rem 0 2rem;
}

.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-brand span {
  color: var(--blue-400);
}

.footer-desc {
  color: var(--blue-200);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 1.1rem;
}

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

.footer ul li {
  margin-bottom: 0.55rem;
}

.footer ul li a {
  color: var(--blue-200);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: var(--white);
}

.footer ul li a i {
  font-size: 0.85rem;
  color: var(--blue-400);
}

.footer-bottom {
  border-top: 1px solid rgba(133, 183, 235, 0.15);
  padding-top: 1.5rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--blue-200);
  font-size: 0.82rem;
  margin: 0;
}

.social-links a {
  color: var(--blue-200);
  font-size: 1.1rem;
  margin-left: 0.6rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(133, 183, 235, 0.2);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.social-links a:hover {
  color: var(--white);
  background: rgba(55, 138, 221, 0.2);
  border-color: rgba(55, 138, 221, 0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .hero-visual {
    margin-top: 3rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .topbar .justify-content-end {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .topbar-sep {
    display: none;
  }
}

/* ── REFERANSLAR ── */
.referanslar-section {
  background: var(--white);
  /* koyu maviden beyaza */
  padding: 5rem 0;
  position: relative;
}

.referanslar-section .section-label {
  color: var(--blue-600);
}

.referanslar-section .section-title {
  color: var(--blue-900);
}

.referanslar-section .section-title span {
  color: var(--blue-600);
}

.referanslar-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
}

.referanslar-img {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: none;
  /* beyaz arka planda orijinal renkler dursun */
  transition: opacity 0.3s;
}

.referanslar-wrap:hover .referanslar-img {
  opacity: 0.9;
}

/* ── İLETİŞİM ── */
.iletisim-section {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.iletisim-section::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.iletisim-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}

.iletisim-desc {
  color: var(--blue-100);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.iletisim-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.iletisim-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(55, 138, 221, 0.2);
  border: 1px solid rgba(55, 138, 221, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-400);
}

.iletisim-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--blue-300, #6aaee8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.iletisim-item a,
.iletisim-item span {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.iletisim-item a:hover {
  color: var(--blue-200);
}

.iletisim-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 100%;
  min-height: 380px;
}

/* ── HERO ARKA PLAN RESMİ ── */
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.18;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* ── DROPDOWN ── */
.dropdown-menu {
  background: var(--blue-900);
  border: 1px solid rgba(55, 138, 221, 0.3);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  margin-top: 0.5rem;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(4, 44, 83, 0.4);
}

.dropdown-item {
  color: var(--blue-100);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item i {
  font-size: 1rem;
  color: var(--blue-400);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(55, 138, 221, 0.15);
  color: var(--white);
}

/* Mobil: collapsed menü içinde düzgün görünsün */
@media (max-width: 991px) {
  .dropdown-menu {
    background: var(--blue-900);
    border: none;
    border-left: 2px solid rgba(55, 138, 221, 0.3);
    border-radius: 0;
    margin: 0.3rem 0 0.3rem 1rem;
    padding: 0.2rem 0;
    box-shadow: none;
  }

  .dropdown-item {
    color: var(--blue-200);
    padding: 0.5rem 1rem;
  }

  .dropdown-item:hover {
    background: rgba(55, 138, 221, 0.1);
    color: var(--white);
  }

  /* Mobilde toggle tıklanınca açılsın */
  .navbar-nav .dropdown-toggle::after {
    float: right;
    margin-top: 0.4rem;
  }
}