* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f2f2f2;
  --surface: #ffffff;
  --surface-alt: #e6e6e6;
  --ink: #111111;
  --ink-soft: #333333;
  --line: #1a1a1a;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding-top: 120px; /* reserve space for fixed header */
}

/* HEADER */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 120px; /* compact header height */
  padding: 0px 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--line);
  transition: padding 0.3s ease, transform 0.25s ease-out;
  will-change: padding, transform;
}

/* header size utility classes */
.header--small {
  padding: 0px 20px;
}
.header--large {
  padding: 12px 20px;
}

.logo img {
  width: 100px;
  height: auto;
  max-width: 100%;
  display: block;
  transition: width 0.25s ease-out, transform 0.25s ease-out;
  will-change: width, transform;
}

nav {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
  background: transparent; /* container transparent, items framed */
  border: none;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  border-bottom: 2px solid transparent;
  font-size: 16px; /* biraz daha büyük */
  padding: 8px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%); /* individual frame */
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  white-space: nowrap;
}

nav a:hover {
  color: #000;
  border-bottom: 2px solid var(--line);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #111111 0%, #2c2c2c 100%);
  color: #ffffff;
  text-align: center;
  padding: 110px 20px;
  border-bottom: 5px solid #000;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: none;
}

.hero-content p {
  font-size: 15px;
  margin-bottom: 0;
  color: #d9d9d9;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.btn {
  display: inline-block;
  background: #000;
  color: white;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  border: 2px solid #000;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.btn:hover {
  background: #ffffff;
  color: #000;
  transform: scale(1.05);
}

/* SERVICES */
.services {
  padding: 80px 50px;
  text-align: center;
  background: var(--surface);
  border-top: 5px solid #000;
  border-bottom: 5px solid #000;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.services--stack .cards {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid var(--line);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.1) brightness(1.02);
  transition: filter 0.3s ease;
}

.card:hover img {
  filter: contrast(1.15) brightness(1.08);
}

@media (min-width: 769px) {
  .card img {
    height: 320px;
    filter: contrast(1.05) brightness(1.0);
  }
  
  .card:hover img {
    filter: contrast(1.1) brightness(1.05);
  }
}

.card h3 {
  padding: 20px;
  font-size: 18px;
  color: #000;
  font-weight: bold;
}

/* ABOUT HOME */
.about-home {
  padding: 80px 50px;
  text-align: center;
  background: var(--surface-alt);
  border-top: 5px solid #000;
  border-bottom: 5px solid #000;
}

.about-home h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-home p {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.outline-btn {
  display: inline-block;
  border: 3px solid #000;
  color: #000;
  padding: 12px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  background: transparent;
}

.outline-btn:hover {
  background: #000;
  color: white;
  transform: scale(1.05);
}

/* CONTACT HOME */
.contact-home {
  padding: 80px 50px;
  background: var(--surface);
  border-top: 5px solid #000;
  border-bottom: 5px solid #000;
}

.contact-home h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-home p {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: center;
  color: #333;
  font-weight: 500;
}

.contact-home p strong {
  color: #000;
  font-weight: bold;
}

.contact-home iframe {
  margin-top: 40px;
  border: 3px solid #000;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #000;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
  transition: all 0.3s;
  border: 2px solid #ffffff;
}

.whatsapp--footer {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

.whatsapp--footer:hover {
  background: #f2f2f2;
  color: #000000;
}

.whatsapp:hover {
  background: #1a1a1a;
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* FOOTER */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 30px;
  border-top: 5px solid #000;
  font-weight: 500;
}

footer p {
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  body {
    padding-top: 195px;
  }

  header {
    flex-direction: column;
    height: auto;
    padding: 12px 14px 14px;
    gap: 10px;
    align-items: center; /* keep centered on mobile */
    border-bottom: 3px solid #000;
  }

  .btn {
    padding: 12px 20px;
    font-size: 13px;
    display: block;
    text-align: center;
    width: 100%;
  }

  /* restore nav to normal flow on small screens */
  nav {
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 6px;
    box-shadow: none;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  nav a {
    font-size: 12px;
    padding: 5px 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: none;
    width: 100%;
    text-align: center;
  }

  .logo img {
    width: 100px;
  }

  .hero {
    padding: 80px 18px;
    border-bottom: 3px solid #000;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .services,
  .about-home,
  .contact-home {
    padding: 50px 20px;
  }

  .services h2,
  .about-home h2,
  .contact-home h2 {
    font-size: 28px;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .card {
    border: 1px solid var(--line);
  }

  .whatsapp {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }
}
