/* ---------------------- Temel Ayarlar ---------------------- */
/*
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: url("../picture/bg1.webp") no-repeat center center fixed;
  background-size: cover;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

 Varsayılan (Dark) tema zaten tanımlı 

body.light-mode {
  background: #f0f0f0;
}

body.light-mode header h1,
body.light-mode h2 {
  color: #121212;
}

body.light-mode .hero-header {
  background-color: #ffffff;
  color: #121212;
}

body.light-mode .hero-header h1,
body.light-mode .hero-header p {
  color: #121212;
}

body.light-mode .section-box,
body.light-mode footer {
  background-color: #ffffff;
  color: #121212;
}

body.light-mode .section-box p,
body.light-mode .section-box a {
  color: #333;
}

body.light-mode .button {
  background-color: #000 !important;
  color: #fff !important;
  border: none;
}

body.light-mode .button:hover {
  background-color: #333 !important;
  color: #fff !important;
}
*/

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #121212; 
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  transition: background-color 0.3s ease;
}

.fixed-background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../picture/bg1.webp") no-repeat center center;
  background-size: cover;
  z-index: -1;
  background-attachment: scroll; 
}

/* ---------------------- Light Mode (Gündüz Modu) ---------------------- */


body.light-mode {
  background-color: #f0f0f0;
}

body.light-mode .fixed-background-overlay {
  display: none; 
}

body.light-mode header h1,
body.light-mode h2,
body.light-mode .hero-header h1,
body.light-mode .hero-header p {
  color: #121212;
}

body.light-mode .hero-header,
body.light-mode .section-box,
body.light-mode footer {
  background-color: #ffffff;
  color: #121212;
}

body.light-mode .section-box p,
body.light-mode .section-box a {
  color: #333;
}

body.light-mode .button {
  background-color: #000 !important;
  color: #fff !important;
  border: none;
}

body.light-mode .button:hover {
  background-color: #333 !important;
  color: #fff !important;
}


/* ---------------------- Header ---------------------- */
.hero-header {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 60px 20px 30px;
  border-radius: 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-header h1 {
  font-size: 3.5rem;
  color: #fefefe;
  margin-bottom: 10px;
}

.hero-header p {
  font-size: 1.4rem;
  color: #ccc;
}

.hero-logo{
  width: 150px;           /* 70–110 arası dene */
  height: auto;
  display: block;
  margin: 0 auto 18px;   /* ortala + alta boşluk */
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}


/* ---------------------- Butonlar ---------------------- */
.button {
  display: inline-block;
  max-width: 260px;
  margin-top: 30px;
  background-color: #ffcc00;
  color: #121212;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition:  0.3s ease, color 0.3s ease;
}

.button:hover {
  background-color: #e6b800;
  color: #000;
}

/* Section içindeki butonları ortala */
.section-box .button,
.project-card .button {
  margin: 20px auto 0;
  display: block;
  width: fit-content;
}

/* ---------------------- Ana Bölümler ---------------------- */
.sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ---------------------- Section Box ---------------------- */
.section-box {
  background-color: #1e1e1e;
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-height: 400px;
  overflow-y: auto;
  text-align: left;
}

/* ----------------  Scrollbar stilleri  ---------------- */
.section-box::-webkit-scrollbar {
  width: 6px;
}

.section-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.section-box::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------------- Section başlık ve metin -------------- */
.section-box h2 {
  color: #ffffff;
  margin-bottom: 15px;
  text-align: center;
}

.section-box p,
.section-box a {
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 10px;
  line-height: 1.6;
}

.iltsm{
  color:#ffcc00;
}

/* ---------------------- Form ---------------------- */
form input,
form textarea {
  width: 90%;
  max-width: 500px;
  padding: 12px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background-color: #2a2a2a;
  color: #f5f5f5;
  font-family: 'Inter', sans-serif;
}

form input::placeholder,
form textarea::placeholder {
  color: #aaa;
}

form textarea {
  resize: vertical;
}

/* ---------------------- Proje Kartları ---------------------- */
.project-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
}

.project-card {
  width: 300px;
  background-color: #1e1e1e;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.project-card img:hover {
  transform: scale(1.02);
}

.project-card h3 {
  color: #fff;
  font-size: 1.3rem;
}

.project-card p {
  color: #ccc;
  font-size: 0.95rem;
  margin: 10px 0;
}

/* ---------------------- Footer ---------------------- */
footer {
  background-color: #1e1e1e;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #999;
}

/* ---------------------- Responsive (Mobil) ---------------------- */
/*
@media (max-width: 960px) {
  .sections {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .section-box,
  .project-card {
    width: 95%;
    max-width: 500px;
    padding: 20px;
    box-sizing: border-box;
  }

  .hero-header h1 {
    font-size: 2.2rem;
    text-align: center;
  }

  .hero-header p {
    font-size: 1.1rem;
    text-align: center;
    padding: 0 10px;
  }

  .button {
    font-size: 1.1rem;
    padding: 12px 24px;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    display: block;
    text-align: center;
  }

  footer {
    font-size: 0.9rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .button {
    padding: 10px 20px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-header h1 {
    font-size: 1.8rem;
  }

  .hero-header p {
    font-size: 1rem;
  }

  .section-box,
  .project-card {
    padding: 15px;
    margin: 10px auto;
  }
}
*/

@media (max-width: 960px) {
  .fixed-background-overlay {
    background-attachment: scroll !important;
    height: 100%; 
  }

  .sections {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .section-box,
  .project-card {
    width: 95%;
    max-width: 500px;
    padding: 20px;
    box-sizing: border-box;
  }

  .hero-header h1 {
    font-size: 2.2rem;
    text-align: center;
  }

  .hero-header p {
    font-size: 1.1rem;
    text-align: center;
    padding: 0 10px;
  }

  .button {
    font-size: 1.1rem;
    padding: 12px 24px;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    display: block;
    text-align: center;
  }

  footer {
    font-size: 0.9rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .button {
    padding: 10px 20px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-header h1 {
    font-size: 1.8rem;
  }

  .hero-header p {
    font-size: 1rem;
  }

  .section-box,
  .project-card {
    padding: 15px;
    margin: 10px auto;
  }
}