/* =========================
   CERA PRO FONT TANIMLARI
   ========================= */

@font-face {
  font-family: "Cera Pro";
  src: url("fonts/cera-pro-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cera Pro";
  src: url("fonts/CERA PRO LIGHT.OTF") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cera Pro";
  src: url("fonts/CERA PRO MEDIUM.OTF") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cera Pro";
  src: url("fonts/CERA PRO BOLD.OTF") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================
   RESET
   ========================= */

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

/* =========================
   TEMEL AYARLAR
   ========================= */

body {
  font-family: "Cera Pro", sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HEADER
   ========================= */

header {
  background-color: #ffffff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 100px;
  display: block;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   MENÜ
   ========================= */

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  font-family: "Cera Pro", sans-serif;
  font-weight: 500;
  color: #0d1b2a;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #5e7cff;
}

#menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #0d1b2a;
  cursor: pointer;
}

/* =========================
   HERO
   ========================= */

.hero {
  background: linear-gradient(135deg, #5e7cff, #243b55);
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-family: "Cera Pro", sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* =========================
   BUTON
   ========================= */

.btn-primary {
  font-family: "Cera Pro", sans-serif;
  font-weight: 600;
  background-color: #ff6f61;
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 6px 15px rgba(255, 111, 97, 0.5);
  transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #ff4b3a;
}

/* =========================
   PROJELER
   ========================= */

.projects {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

.projects h2 {
  font-family: "Cera Pro", sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #0d1b2a;
}

.project-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-card {
  width: 300px;
  background-color: #f2f6ff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  font-family: "Cera Pro", sans-serif;
  font-weight: 600;
  margin: 15px;
  color: #243b55;
}

.project-card p {
  margin: 0 15px 20px;
  font-size: 0.95rem;
  color: #4a5568;
}

/* =========================
   HAKKIMIZDA
   ========================= */

.about {
  padding: 60px 20px;
  background-color: #e4ebff;
  text-align: center;
}

.about h2 {
  font-family: "Cera Pro", sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #0d1b2a;
}

.about p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
}

/* =========================
   İLETİŞİM
   ========================= */

.contact {
  background-color: #0d1b2a;
  color: #a8c0ff;
  text-align: center;
  padding: 50px 20px;
}

.contact h2 {
  font-family: "Cera Pro", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* =========================
   FOOTER
   ========================= */

footer {
  background-color: #091426;
  color: #778ca3;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
    margin-top: 15px;
  }

  nav ul.active {
    display: flex;
  }

  #menu-toggle {
    display: block;
  }

  .project-list {
    flex-direction: column;
    align-items: center;
  }
}
