@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

    :root {
      --bg: #0a0a0a;
      --surface: #141414;
      --accent: #ffcc00;
      --accent2: #ff5c35;
      --text: #f0ede6;
      --muted: #666;
      --border: #222;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.25rem 3rem;
      border-bottom: 1px solid var(--border);
      background: rgba(10,10,10,0.85);
      backdrop-filter: blur(12px);
    }

    .logo {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.6rem;
      letter-spacing: 2px;
      color: var(--text);
    }

    .logo span {
      color: var(--accent);
    }

    .logo-sub {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.65rem;
      font-weight: 300;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: -4px;
    }

    .nav-badge {
      font-size: 0.7rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 0.4rem 0.9rem;
      border-radius: 2rem;
    }

	.nav-badge a {
		color: #ffffff;
    	text-decoration: none;
	}

    /* HERO */
    .hero {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 8rem 3rem 4rem;
      position: relative;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-color: #393a3e;
    }

    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 60px 60px;
      opacity: 0.4;
    }

    .hero-content {
      position: relative;
      text-align: center;
      max-width: 800px;
    }

    .hero-tag {
      display: inline-block;
      font-size: 0.7rem;
      letter-spacing: 4px;
      color: var(--accent);
	  text-transform: uppercase;
      border: 1px solid rgba(232,197,71,0.3);
      padding: 0.4rem 1rem;
      border-radius: 2rem;
      margin-bottom: 2rem;
      animation: fadeUp 0.6s ease both;
    }

    .hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: 42px;
      animation: fadeUp 0.6s ease 0.1s both;
    }

	.hero h1 span:nth-child(1) {
      font-style: normal;
	  font-weight: 300;
	  display: block;
      color: #ffffff;
    }

	.hero h1 span:nth-child(2) {
      font-style: normal;
	  font-weight: 700;
		display: block;
      color: #ffffff;
    }

    .hero h1 span:nth-child(3) {
      font-style: normal;
		display: block;
	  font-weight: 700;
      color: var(--accent);
    }

    .hero p {
      margin-top: 1.5rem;
      font-size: 1rem;
      font-weight: 300;
      color: var(--muted);
      letter-spacing: 0.5px;
      line-height: 1.7;
      animation: fadeUp 0.6s ease 0.2s both;
    }

    .hero-cta {
      margin-top: 2.5rem;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: var(--accent);
      color: #0a0a0a;
      font-weight: 500;
      font-size: 0.85rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 0.9rem 2rem;
      border-radius: 0.25rem;
      text-decoration: none;
      animation: fadeUp 0.6s ease 0.3s both;
      transition: background 0.2s, transform 0.2s;
    }

    .hero-cta:hover { background: #f0d060; transform: translateY(-2px); }

    /* SERVICES */
    .services {
      padding: 5rem 3rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-label {
      font-size: 0.7rem;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 2.8rem;
      letter-spacing: 2px;
      margin-bottom: 3rem;
    }

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

    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 0.5rem;
      padding: 2rem;
      transition: border-color 0.25s, transform 0.25s;
      cursor: default;
    }

    .card:hover {
      border-color: rgba(232,197,71,0.4);
      transform: translateY(-4px);
    }

    .card-icon {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .card h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.3rem;
      letter-spacing: 1.5px;
      margin-bottom: 0.6rem;
    }

    .card p {
      font-size: 0.85rem;
      font-weight: 300;
      color: var(--muted);
      line-height: 1.7;
    }

    .card-tag {
      display: inline-block;
      margin-top: 1.25rem;
      font-size: 0.65rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent2);
      border: 1px solid rgba(255,92,53,0.25);
      padding: 0.25rem 0.65rem;
      border-radius: 2rem;
    }

    /* FOOTER */
    footer {
      border-top: 1px solid var(--border);
      padding: 2rem 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--muted);
      font-size: 0.75rem;
      letter-spacing: 1px;
    }

    footer .logo { font-size: 1.1rem; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 600px) {
      nav, .services, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
      .hero { padding-left: 1.5rem; padding-right: 1.5rem; }
    }

    .card-img {
      width: 100%;       /* Kart genişliğine yayılır */
      height: auto;      /* Orantıyı korur */
      display: block;    /* Alt boşlukları engeller */
      border-radius: 8px 8px 0 0; /* Eğer kartın köşeleri ovalse üstten uyum sağlar */
      margin-bottom: 15px;
    }


    /* Hizmetler Kapsayıcı Alanı */
.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: inherit;
}

/* Başlık ve Açıklama Bölümü */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.services-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Düzeni (Otomatik Responsive) */
.services-grid {
    display: grid;
    /* Ekran küçüldükçe kartları daraltmak yerine alt satıra atar (min 320px) */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Hizmet Kartı Temel Yapısı */
.service-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Kart İçi Görsel Alanı */
.service-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08); /* Hover durumunda hafif zoom efekti */
}

/* Kart İçi Metin ve Buton Alanı */
.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* İçerik boyları farklı olsa da butonları en alta hizalamak için alanı doldurur */
}

.service-content h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-content p {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Açıklama kısa/uzun olsa dahi butonu aşağı doğru iter */
}

/* Detay Butonu */
.service-btn {
    display: inline-block;
    align-self: flex-start; /* Butonu sola hizalar. Ortalamak için 'center' yapabilirsin. */
    padding: 10px 24px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.service-btn:hover {
    background-color: #2980b9;
    color: #ffffff;
}

/* ==========================================
   İLETİŞİM SAYFASI (contact.php) STİLLERİ
   ========================================== */

.contact-hero { text-align: center; padding: 60px 20px; background-color: #2c3e50; color: #fff; }
.contact-hero-label { color: #3498db; font-weight: bold; text-transform: uppercase; font-size: 14px; letter-spacing: 2px; }
.contact-hero-title { margin-top: 10px; color: #fff; font-size: 2.5rem; text-transform: uppercase; }

.contact-breadcrumb-container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.contact-breadcrumb-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; font-size: 14px; color: #666; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.contact-breadcrumb-link { color: #666; text-decoration: none; }
.contact-breadcrumb-link:hover { color: #3498db; }
.contact-breadcrumb-active { color: #3498db; font-weight: 600; }

.contact-main-section { padding: 40px 20px; font-family: inherit; }
.contact-container { max-width: 1200px; margin: 0 auto; }
.contact-flex-wrapper { display: flex; flex-wrap: wrap; gap: 40px; }

/* Sol Bilgi Alanı */
.contact-info-col { flex: 1; min-width: 300px; }
.contact-info-title { font-size: 1.8rem; color: #2c3e50; margin-top: 0; margin-bottom: 20px; }
.contact-info-desc { color: #666; line-height: 1.6; margin-bottom: 30px; }
.contact-info-list { list-style: none; padding: 0; margin: 0 0 30px 0; color: #555; }
.contact-info-item { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; }
.contact-info-icon { color: #3498db; font-size: 1.2rem; margin-top: 4px; }
.contact-info-label { display: block; color: #333; margin-bottom: 5px; font-weight: bold; }
.contact-info-link { color: #555; text-decoration: none; transition: color 0.3s; }
.contact-info-link:hover { color: #3498db; }

.contact-map-wrapper { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.contact-map-iframe { border: 0; width: 100%; height: 250px; }

/* Sağ Form Alanı */
.contact-form-col { flex: 1; min-width: 300px; background: #f9f9f9; padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.contact-form-title { font-size: 1.8rem; color: #2c3e50; margin-top: 0; margin-bottom: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-row { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-form-group { flex: 1; min-width: 150px; }
.contact-form-label { display: block; margin-bottom: 8px; color: #555; font-weight: 500; }
.contact-form-input { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; outline: none; font-family: inherit; transition: border-color 0.3s; }
.contact-form-input:focus { border-color: #3498db; }
textarea.contact-form-input { resize: vertical; }
.contact-form-submit { background: #3498db; color: #fff; padding: 15px 30px; border: none; border-radius: 4px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: background 0.3s; text-transform: uppercase; }
.contact-form-submit:hover { background: #2980b9; }

/* ==========================================
   KATEGORİ DETAY SAYFASI (service-details.php) STİLLERİ
   ========================================== */

.sd-page-header {
    text-align: center;
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.sd-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.sd-hero-content {
    position: relative;
    z-index: 2;
}

.sd-section-label {
    color: #ddd;
}

.sd-section-title {
    margin-top: 10px;
    color: #fff;
}

.sd-hero-desc {
    max-width: 700px;
    margin: 15px auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.sd-services-section {
    padding-top: 50px;
}

.sd-no-content {
    text-align: center;
    width: 100%;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #555;
}