/* 
  Tasarım Stili Rehberi'nden Alınan Stiller
  Bu dosya, tasarim_stili_rehberi.md'deki kurallara göre oluşturulmuştur.
*/

/* 1. Renk Paleti (Design Tokens) */
:root {
  /* Primary */
  --color-black: #000000;
  --color-white: #FFFFFF;
  /* Accent */
  --color-accent: #F5C000;     /* Sarı vurgu çubuğu */
  --color-cta: #FF6600;        /* Turuncu CTA ok ikonu */
  /* Neutrals */
  --color-gray-100: #F2F2F2;
  --color-gray-500: #666666;
  --color-gray-800: #1A1A1A;
}

/* Genel Stiller */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  background-color: var(--color-white);
}

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

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

/* 2. Tipografi */
h1, h2, h3 {
  margin: 0;
  font-weight: 600;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
}

h3 {
  font-size: 24px;
  line-height: 1.4;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-bold {
  font-weight: 700;
}

.text-muted {
  color: var(--color-gray-500);
}

/* 3. Grid ve Düzen */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 24px;
}

/* Breakpoint'ler (Örnek) */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

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

/* 4. Navigasyon ve Header */
.main-header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  z-index: 1000;
  padding: 16px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-nav .nav-item {
  padding: 0 16px;
}

.main-nav .nav-link {
  font-weight: 500;
  padding-bottom: 4px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  border-bottom: 2px solid var(--color-accent);
}

.hamburger-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-black);
    margin: 5px 0;
    transition: transform 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: var(--color-white);
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    padding: 60px 20px 20px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav .nav-item {
    margin-bottom: 1rem;
}

.mobile-nav .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    .hamburger-btn, .mobile-nav {
        display: block;
    }
}

/* 5. Bileşenler (Components) */

/* 5.1 Kart (Card) */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 16px;
  flex-grow: 1;
}

.card-title {
  font-size: 24px; /* H3 stili */
  margin-bottom: 8px;
}

.card-text {
  color: var(--color-gray-800);
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  color: var(--color-black);
}

.card-link:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    background-clip: padding-box;
    border: 1px solid var(--color-gray-500);
    border-radius: 4px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control:focus {
    border-color: var(--color-accent);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(245, 192, 0, 0.25);
}

textarea.form-control {
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-right: 0.5em;
}

/* 5.2 Buton (Button) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease-in-out, opacity .2s ease-in-out;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}

.btn-primary:hover {
  background: var(--color-gray-800);
}

.btn-primary .icon-arrow {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF6600'%3E%3Cpath d='M8 0l-1.41 1.41L12.17 7H0v2h12.17l-5.58 5.59L8 16l8-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.btn-secondary {
  background: var(--color-gray-100);
  color: var(--color-gray-800);
  border: 1px solid var(--color-gray-500);
}

.btn-secondary:hover {
  background: var(--color-gray-500);
  color: var(--color-white);
  border-color: var(--color-gray-500);
}

.btn.active {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* 8. Erişilebilirlik */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* 9. Mikro Etkileşimler */
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0;
}

.footer a {
    color: #f8f9fa;
    text-decoration: none;
}

.footer a:hover {
    color: #adb5bd;
    text-decoration: underline;
}

.footer .social-icons a {
    font-size: 1.5rem;
    margin-left: 15px;
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020; 
}

.nav-link.active {
    font-weight: bold;
    color: #0d6efd !important; 
}

.header-slogan h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Carousel için ek stiller (gerekirse) */
.carousel-item img {
    max-height: 500px; /* Örnek yükseklik */
    object-fit: cover;
}

/* Tedarikçi ve Kariyer Formları için Stiller */
.form-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Blog Sayfası Stilleri */
.tabs-nav .nav-link {
    color: #495057;
}

.tabs-nav .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
}

.blog-card img {
    height: 250px;
    object-fit: cover;
}

/* Network Sayfası */
#map {
    width: 100%;
    height: 400px;
    background-color: var(--color-gray-100);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

.partner-item {
    grid-column: span 4;
}

@media (max-width: 900px) {
  .partner-item {
    grid-column: span 6;
  }
}

@media (max-width: 600px) {
  .partner-item {
    grid-column: span 12;
  }
}

.partner-logo {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
}

/* Yasal Bilgiler Sayfası */
.legal-section {
    padding-top: 80px;
    margin-top: -60px;
}

.legal-section h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Genel Buton Stili */
.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* Header logo ve site adı yan yana */
header .navbar-brand img {
    max-height: 50px; /* Logonun yüksekliğini ayarlayın */
}

header .navbar-brand .site-title {
    font-size: 1.8rem; /* Site adının font boyutunu ayarlayın */
    font-weight: bold;
    margin-left: 10px; /* Logo ile yazı arasında boşluk */
}

/* Aktif menü öğesi için daha belirgin stil */
.navbar-nav .nav-link.active {
    color: #0d6efd !important; /* Bootstrap mavisini kullan */
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 6px; /* Alt çizgi için boşluk */
}

/* CEO mesajı bölümü */
.ceo-message-section {
    background-color: #f8f9fa; /* Hafif gri arka plan */
    padding: 40px 0;
}

.ceo-message-section img {
    border: 5px solid #fff; /* Fotoğraf etrafına beyaz çerçeve */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Hafif gölge */
}

/* Ürün ve Sektör kartları için hover efekti */
.card:hover {
    transform: translateY(-5px); /* Kartı hafifçe yukarı kaldır */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Daha belirgin gölge */
    transition: all 0.3s ease-in-out;
}

/* Sticky Nav for legal page */
.sticky-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 40px; /* Adjust as needed */
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.sticky-nav h5 {
    margin-bottom: 16px;
}

.sticky-nav .nav-link {
    padding: 8px 0;
    color: var(--color-gray-500);
    border-left: 2px solid transparent;
    padding-left: 16px;
}

.sticky-nav .nav-link:hover {
    color: var(--color-black);
    border-left: 2px solid var(--color-accent);
}

/* Blog Page Styles */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-100);
}

.tabs-nav .tab-link {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-gray-500);
    border-bottom: 3px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.tabs-nav .tab-link:hover {
    color: var(--color-black);
}

.tabs-nav .tab-link.active {
    color: var(--color-black);
    border-bottom-color: var(--color-accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Contact Page Styles */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    color: var(--color-accent);
}

/* Innovation Page Styles */
.innovation-section {
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-100);
}

.innovation-section .grid {
    align-items: center;
}

.innovation-section h2 {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.innovation-section .icon {
    width: 28px;
    height: 28px;
    margin-right: 0.75rem;
    color: var(--color-accent);
}

/* Sector Page Styles */
.sector-card .card-body {
    text-align: center;
}

.sector-card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

/* Services Page Styles */
.service-card {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-gray-100);
    border-radius: 4px;
    background-color: var(--color-white);
    align-items: center;
}

.service-card-icon {
    grid-column: span 2;
    text-align: center;
}

.service-card-icon .icon {
    width: 64px;
    height: 64px;
    color: var(--color-accent);
}

.service-card-body {
    grid-column: span 10;
}

.service-info-card {
    background-color: var(--color-gray-100);
    padding: 1rem;
    border-radius: 4px;
    height: 100%;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--color-gray-500);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--color-black);
}

.breadcrumb-item.active {
    color: var(--color-black);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin: 0 0.5rem;
    color: var(--color-gray-500);
}

/* Product Page Styles */
.product-detail-img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

/* Footer Styles */
footer.main-footer {
    background-color: var(--color-gray-800);
    color: var(--color-white);
    padding: 48px 0;
    margin-top: 64px;
} 