/* ============================================================
   TURANLAR GROUP - Ana CSS
   style.css
   ============================================================ */

/* ----------------------------------------
   1. CSS DEĞİŞKENLERİ
   ---------------------------------------- */
:root {
  --gold:        #c49a6b;
  --gold-dark:   #a07a50;
  --gold-light:  #d4b48a;
  --dark:        #1a1a1a;
  --dark2:       #222222;
  --dark3:       #2d2d2d;
  --gray:        #555555;
  --light-gray:  #f5f5f5;
  --white:       #ffffff;
  --text:        #333333;
  --border:      #e0e0e0;
  --header-h:    110px;
  --transition:  0.3s ease;
  --radius:      2px;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.14);
}

/* ----------------------------------------
   2. RESET & TEMEL
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ----------------------------------------
   3. LAYOUT / GRID
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

[class*="col-"] { padding: 0 12px; }

.col       { flex: 1;       padding: 0 12px; }
.col-auto  { flex: 0 0 auto; padding: 0 12px; }
.col-sm-4  { width: 33.333%; }
.col-sm-6  { width: 50%; }
.col-sm-8  { width: 66.666%; }
.col-md-6  { width: 50%; }
.col-lg-4  { width: 33.333%; }
.col-lg-8  { width: 66.666%; }
.col-xl-6  { width: 50%; }
.col-12    { width: 100%; }

/* Yardımcı sınıflar */
.d-none             { display: none !important; }
.d-flex             { display: flex; }
.align-items-center { align-items: center; }
.align-items-start  { align-items: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap          { flex-wrap: wrap; }
.text-center        { text-align: center; }
.text-left          { text-align: left; }

.mt-3  { margin-top: 1rem; }
.mt-4  { margin-top: 1.5rem; }
.mt-5  { margin-top: 2rem; }
.mb-3  { margin-bottom: 1rem; }
.mb-4  { margin-bottom: 1.5rem; }
.mb-5  { margin-bottom: 2rem; }
.py-5  { padding: 3rem 0; }
.h-100 { height: 100%; }
.img-fluid { max-width: 100%; }

/* ----------------------------------------
   4. HEADER
   ---------------------------------------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--dark);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  min-width: 0;          /* Flex overflow koruması */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 54px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: 'Times New Roman', Times, serif;
  line-height: 1;
}

.logo-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  font-family: 'Times New Roman', Times, serif;  /* Direkt tanımla, inherit'e güvenme */
}

.logo .logo-sub {
  color: var(--white);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 0;
  line-height: 1;
  display: block !important;   /* 480px kuralının display:none'ını ezip header'da her zaman göster */
  font-family: 'Times New Roman', Times, serif;
}

.logo-text {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

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

.logo-sub {
  color: var(--gold);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Ana Nav */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: block;
  padding: 28px 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}

.main-nav > li > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--gold);
  width: 0;
  transition: width var(--transition);
  margin-top: 2px;
}

.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--gold); }

.main-nav > li > a:hover::after,
.main-nav > li.active > a::after { width: 100%; }

/* Dropdown */
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--dark2);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 200;
  border-top: 2px solid var(--gold);
}

.main-nav li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.main-nav .dropdown-menu li a:hover {
  color: var(--gold);
  background: rgba(196,154,107,0.1);
  padding-left: 26px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg)  translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobil Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: -100%;
  width: 280px;
  height: calc(100vh - var(--header-h));
  background: var(--dark);
  z-index: 999;
  overflow-y: auto;
  padding: 20px 0;
  transition: right var(--transition);
}

.mobile-nav.open { right: 0; }

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  color: #ccc;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  color: var(--gold);
  padding-left: 32px;
}

.mobile-nav .nav-group-label {
  display: block;
  padding: 16px 24px 4px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.mobile-nav .nav-sub-link {
  padding-left: 40px;
  font-size: 12px;
  color: #999;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
}

.nav-overlay.open { display: block; }

/* ----------------------------------------
   5. SAYFA BAŞLIĞI (İç sayfalar)
   ---------------------------------------- */
.pageheader {
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  margin-top: var(--header-h);
}

.pageheader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.pageheader .container {
  position: relative;
  z-index: 1;
  padding-bottom: 36px;
}

.pageheader h1 {
  color: var(--white);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb li {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb li::after {
  content: '›';
  margin-left: 8px;
}

.breadcrumb li:last-child::after { content: ''; }

.breadcrumb li a { color: rgba(255,255,255,0.7); }
.breadcrumb li a:hover { color: var(--gold); }

/* ----------------------------------------
   6. İÇ SAYFA İÇERİĞİ
   ---------------------------------------- */
.icerik { padding: 60px 0; }
.icerik p { margin-bottom: 18px; font-size: 15px; line-height: 1.9; }
.icerik strong { color: var(--dark); }
.icerik a { color: var(--gold); }
.icerik a:hover { text-decoration: underline; }
.icerik img { margin: 20px 0; border-radius: var(--radius); }

/* ----------------------------------------
   7. BUTONLAR
   ---------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ----------------------------------------
   8. KART BİLEŞENLERİ
   ---------------------------------------- */

/* Sektör / şirket kartı */
.s-item2 {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.s-item2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.s-item2 figure {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  margin: 0;
}

.s-item2 figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.s-item2:hover figure img { transform: scale(1.05); }

.s-item2 .content {
  padding: 16px 18px;
  border-top: 2px solid var(--gold);
}

.s-item2 .title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Şirket Detay */
.companydetail {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.companydetail .image { flex: 0 0 280px; }

.companydetail .image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.companydetail .text { flex: 1; min-width: 200px; }

.companydetail .text strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 12px;
}

/* ----------------------------------------
   9. FORM BİLEŞENLERİ
   ---------------------------------------- */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--gray);
}

.input-group { display: flex; }

.input-group-prepend { display: flex; align-items: flex-start; }

.input-group-text {
  background: var(--gold);
  color: var(--white);
  padding: 0 14px;
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Textarea yanındaki ikon üste yaslanır */
.input-group:has(textarea) .input-group-prepend { align-items: flex-start; }
.input-group:has(textarea) .input-group-text   { border-radius: 0; }

.form-control {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
  background: var(--white);
}

.form-control:focus { border-color: var(--gold); }

textarea.form-control {
  height: 160px;
  padding: 12px 16px;
  resize: vertical;
}

.checkbox label {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  line-height: 1.6;
}

.checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

/* Form başarı mesajı */
.alert-success {
  background: #d4edda;
  color: #155724;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.alert-success.show { display: block; }

/* ----------------------------------------
   10. KVKK / BİLGİ GÜVENLİĞİ
   ---------------------------------------- */
.kvkk-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 0;
}

.kvkk-card {
  width: 200px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
}

.kvkk-card:hover { transform: translateY(-6px); }

.kvkk-icon {
  width: 100px;
  height: 120px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 4px;
  font-size: 48px;
  color: var(--gold);
  border-bottom: 3px solid var(--gold);
}

.kvkk-card p {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Politika içeriği */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h3 {
  font-size: 18px;
  color: var(--gold);
  margin: 28px 0 16px;
  font-weight: 700;
}
.policy-item { margin-bottom: 28px; }
.policy-item > strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--dark);
}

/* ----------------------------------------
   11. BOŞ DURUM
   ---------------------------------------- */
.empty-state {
  color: var(--gray);
  padding: 80px 0;
}

.empty-state .empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.empty-state p {
  font-size: 14px;
  color: #999;
}

/* ----------------------------------------
   12. FOOTER
   ---------------------------------------- */
#footer {
  background: var(--dark2);
  color: #999;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-text {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(196,154,107,0.15);
  border: 1px solid rgba(196,154,107,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.footer-col h5 {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(196,154,107,0.3);
}

.footer-col ul li a {
  display: block;
  font-size: 12px;
  color: #888;
  padding: 5px 0;
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  padding: 5px 0;
}

.footer-contact li i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 12px; }

/* Telif hakkı barı */
.copy {
  background: #111;
  padding: 14px 0;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* ----------------------------------------
   13. YUKARI KAYDIRMA
   ---------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover { background: var(--gold-dark); }

/* ----------------------------------------
   14. RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1199px) {
  .main-nav > li > a { padding: 28px 12px; font-size: 13px; }
}

@media (max-width: 991px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

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

  .companydetail { flex-direction: column; }
  .companydetail .image { flex: none; width: 100%; max-width: 320px; }

  .kvkk-docs { gap: 16px; }
  .kvkk-card { width: 160px; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }

  .logo img { height: 38px; }
  .logo-name { font-size: 11px; letter-spacing: 4px; }          /* Mobilde logo küçülsün, header'a sığsın */

  .footer-grid { grid-template-columns: 1fr; }
  .pageheader { height: 220px; }
  .icerik { padding: 40px 0; }

  .col-sm-4, .col-sm-6, .col-sm-8,
  .col-md-6, .col-lg-4, .col-lg-8,
  .col-xl-6 { width: 100%; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .logo img { height: 32px; }          /* En küçük ekranlarda biraz daha küçük */
  .logo-name { font-size: 10px; letter-spacing: 3px; }
  .logo-text { font-size: 18px; }
  .logo-sub { display: none; }
  .container { padding: 0 16px; }
}
