:root {
  --bg: #0b0c10;
  --surface: #1a1c22;
  --muted: #b1b6bb;
  --text: #f1f1f1;
  --accent: #d72638; /* kırmızı */
  --accent-2: #4da3ff; /* mavi */
  --accent-3: #c5c6c7; /* açık gri tonu */
  --border: #2c2f36;
  --radius: 16px;
  --maxw: 1200px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* =========================
   GENEL YAPI & TEMA
========================= */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #0b0c10 0%, #121318 40%, #14161c 100%);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Ubuntu, system-ui, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}
a:hover {
  color: var(--accent-2);
  transform: translateY(-1px);
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 24px;
}

/* =========================
   HEADER / NAVBAR
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo img {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
  
}
.logo img:hover {
  transform: scale(1.05);
}

.nav-list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
}

.nav-list a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: 0.3s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}
.nav-list a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  font-size: 26px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================
   HERO BÖLÜMÜ
========================= */
.hero {
  position: relative;
  color: var(--text);
  padding: 140px 20px;
  text-align: center;
  border-bottom: 2px solid var(--accent);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--accent-2);
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
  animation: fadeDown 1.3s ease;
}
.hero p {
  max-width: 720px;
  margin: 0 auto 35px;
  color: var(--muted);
  font-size: 1.2rem;
  animation: fadeUp 1.4s ease;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* =========================
   BUTONLAR
========================= */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.btn:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
}
.btn-outline:hover {
  background: var(--accent-2);
  color: #fff;
}

/* =========================
   KARTLAR / SEKTÖR ALANI
========================= */
.section {
  padding: 80px 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

/* =========================
   FORM BÖLÜMÜ
========================= */
.form {
  max-width: 620px;
  margin: 0 auto;
}
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
label {
  margin-bottom: 6px;
  color: var(--muted);
}
input, textarea {
  background: #0e1016;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  border-radius: 10px;
  transition: 0.3s ease;
}
input:focus, textarea:focus {
  border-color: var(--accent-2);
  outline: none;
  box-shadow: 0 0 6px rgba(77,163,255,0.5);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #0f1115;
  border-top: 1px solid #222;
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
}
.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.site-footer a {
  color: var(--accent-2);
}
.site-footer a:hover {
  color: var(--accent);
}

/* =========================
   ANİMASYONLAR
========================= */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .features, .service-list, .pricing, .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .nav-list {
    display: none;
    flex-direction: column;
    background: var(--surface);
    position: absolute;
    right: 20px;
    top: 70px;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-list.show { display: flex; }
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1rem; }
}
@media (max-width: 480px) {
  .btn { width: 100%; }
  .cta-group { flex-direction: column; }
  .logo img { height: 50px; }
}

/* =========================
   USER LOGİN BUTTON
========================= */

.user-login {
  margin-left: 20px;
}

.user-login .btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: 0.3s ease;
}

.user-login .btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
