/* ============================= */
/*         Ortak CSS             */
/* ============================= */

/* Renk ve font değişkenleri */
:root {
  --color-primary: #020060;
  --color-secondary: #0f3460;
  --color-accent: #4a90e2;
  --color-hover: #66b5ff;
  --color-background: #ffffff;
  --color-light-bg: #f5f7fa;
  --color-text: #2d3748; 
}

/* Sıfırlama ve temel ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;

  --font-size-logo-desktop: 8rem;
  --font-size-logo-tablet: 6rem;
  --font-size-logo-mobile: 4rem;

  --font-size-h1-desktop: 8rem;
  --font-size-h1-tablet: 6rem;
  --font-size-h1-mobile: 4rem;

  --font-size-h2-desktop: 2.5rem;
  --font-size-h2-tablet: 2rem;
  --font-size-h2-mobile: 1.8rem;

  --font-size-h3-desktop: 1.5rem;
  --font-size-h3-mobile: 1.4rem;

  --font-size-body: 1rem;
  --font-size-body-mobile: 0.9rem;

  --font-size-button-desktop: 1.25rem;
  --font-size-button-mobile: 1rem;

  --font-size-footer: 0.8rem;

  --font-logo-family: "Figtree", sans-serif;
}

body {
  background-color: var(--color-light-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  overflow: hidden;
}

/* Özel font tanımlaması (ortak) */
@font-face {
  font-family: 'ArtemisLogo';
  src: url('path/to/your/artemis-font.woff2') format('woff2'),
       url('path/to/your/artemis-font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Header genel stilleri (ortak) */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--color-primary), var(--color-secondary) 80%);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--color-accent);
  min-height: 100vh; /* Sabit height yerine min-height kullanıldı */
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

header .content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

header h1 {
  animation: fadeInScales ease-out 3s both;
  font-size: var(--font-size-h1-desktop);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1rem;
  font-family: var(--font-logo-family);
  font-weight: 800;
  font-style: normal;
  color: #e2e8f0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  color: #a0aec0;
}

/* Footer (ortak) */
footer {
  background-color: #e2e8f0;
  color: #4a5568;
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.8rem;
}

/* Ortak medya sorguları */
@media (max-width: 992px) {
  header h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: var(--font-size-h1-tablet);
  }
}

/* Mobil uyumluluk için ek medya sorguları */
@media (max-width: 480px) {
  header h1 {
    font-size: var(--font-size-h1-mobile);
  }
  header p {
    font-size: 1rem;
  }
  .about-us h2 {
      font-size: 1.8rem;
  }
  .about-us p {
      font-size: 1rem;
      max-width: 90%;
  }
}

@media (max-width: 400px) {
  header h1{
    font-size: 3rem;
  }
  .about-us h2 {
      font-size: 1.8rem;
  }
  .about-us p {
      font-size: 1rem;
      max-width: 90%;
  }
}

/* ============================= */
/*       Index'e Özel CSS        */
/* ============================= */

/* Genel bölüm yüksekliği */
.section, .about-us {
  min-height: 100vh; 
}

/* Ürünler Bölümü */
.section, #products {
  max-height: fit-content;
}

.products-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #2d3748;
  position: relative;
}

/* Ürünler içerisindeki logo düzenlemeleri */
.logo-container {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 1rem;
}

.logo-container a {
  text-decoration: none;
  color: inherit;
}

.logo-square {
  width: 150px;
  height: 150px;
  background-color: #0c2b60;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.862);
}

.logo-text:hover {
  font-size: 1.8rem;
  font-weight: 800;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.sector-text {
  font-size: 1rem;
  color: #2d3748;
  font-weight: 600;
}

/* Hakkımızda Bölümü */
.about-us {
  position: relative;
  padding: 5rem 1rem; /* Yatay padding eklenerek kenar boşluğu sağlandı */
  background-color: #fff;
  text-align: center;
  overflow: hidden;
}

#particles-about {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.about-us .container {
  position: relative;
  z-index: 1;
}

.about-us h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #2d3748;
  position: relative;
}

.about-us p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem; /* Mobilde kenar boşluğu için */
}


