:root {
  --bg: #111315;
  --bg-soft: #1a1d20;
  --text: #f3f4f6;
  --text-muted: #b5bac1;
  --accent: #c24f3a;
  --accent-strong: #df5d45;
  --card-border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(17, 19, 21, 0.88);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading p {
  color: var(--accent-strong);
  font-weight: 500;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: 0.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.brand img {
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-decoration: none;
}

.whatsapp-float i {
  line-height: 1;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("hero-overlay.png")
      center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 19, 21, 0.8), rgba(17, 19, 21, 0.15));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(194, 79, 58, 0.2);
  color: #ffd9d2;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  color: #d8dde3;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--card-border);
}

.btn-secondary:hover {
  border-color: var(--accent-strong);
  color: #fff;
}

.trust-strip {
  padding-top: 3.25rem;
  padding-bottom: 1.25rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-card {
  background: #14171a;
  border: 1px solid var(--card-border);
  border-left: 3px solid rgba(194, 79, 58, 0.7);
  border-radius: var(--radius);
  padding: 1rem;
}

.trust-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.trust-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.pulse {
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.services {
  background: var(--bg-soft);
}

.references {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.references-track {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.2rem 0.15rem 0.6rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.references-track::-webkit-scrollbar {
  height: 8px;
}

.references-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.reference-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid var(--card-border);
  background: #15181b;
  color: #e6e9ee;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  background: #15181b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.service-card i {
  font-size: 1.4rem;
  color: var(--accent-strong);
}

.service-card h3 {
  margin: 0.7rem 0;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.filter-btn {
  border: 1px solid var(--card-border);
  background: #171a1d;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  color: #fff;
  border-color: rgba(194, 79, 58, 0.7);
  background: rgba(194, 79, 58, 0.12);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}

.empty-portfolio {
  grid-column: 1 / -1;
  border: 1px dashed var(--card-border);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--text-muted);
  text-align: center;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1d20;
  border: 1px solid var(--card-border);
  aspect-ratio: 4 / 3;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.78));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.portfolio-overlay h4 {
  font-size: 1.05rem;
}

.portfolio-overlay p {
  color: #d8dde3;
  font-size: 0.88rem;
}

.portfolio-actions {
  text-align: center;
  margin-top: 1.6rem;
}

.contact {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-panel,
.map-panel {
  background: #15181b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-intro {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #101315;
  border: 1px solid #2a2e33;
  color: var(--text);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-strong);
}

.map-panel iframe {
  border: 0;
  width: 100%;
  min-height: 380px;
  border-radius: 10px;
}

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 1.2rem 0;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 4%;
    width: min(260px, 92%);
    background: #171b1f;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.7rem;
    display: none;
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .contact-details {
    margin: 20px 0;
  }
  
  .contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-weight: 500;
  }
  
  .contact-details i {
    color: #ff4d00; /* markaya göre değiştir */
  }
  
  .contact-details a {
    color: inherit;
    text-decoration: none;
  }
  
  .contact-details a:hover {
    text-decoration: underline;
  }
}
