:root {
    --ana-renk: #FF6600;
    --koyu-renk: #003366;
  }

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f9f9f9;
    color: #333;
    scroll-behavior: smooth;
  }

/* NAVBAR */
.navbar {
    background-color: white;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .navbar .container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    max-height: 70px;   /* Nav yüksekliğine göre ayarla (örneğin 60px) */
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
  }
  
  .nav-links li a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
    padding: 8px;
    transition: 0.3s;
  }
  
  .nav-links li a:hover {
    color: var(--ana-renk);
  }
  
  .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--ana-renk);
  }


/* INTRO */
.intro {
  background: url('images/project/main.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Koyu overlay */
  z-index: 1;
}

.intro-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.intro-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--ana-renk);
}

.intro-content p {
  font-size: 1.2rem;
  color: #ddd;
}

/* Geçiş efektleri için animasyon ayarları */
.intro {
  transition: all 1s ease;
  will-change: transform, opacity, filter;
}

.intro.hidden {
  opacity: 0;
  transform: translateY(-50px) scale(0.95);
  filter: blur(6px);
  pointer-events: none;
}

.projects {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.projects.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Giriş sahnesi görselliği için istersen ekle */
.project-scene {
  text-align: center;
  margin: 60px 0;
}

.project-scene img {
  width: 80%;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.project-info {
  margin-top: 20px;
}

/* PROJE SAHNESİ */
.projects {
  padding: 80px 20px;
}
.project-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}
.project-scene img {
  width: 60%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.6s ease;
}
.project-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 12px;
  color: white;
}
.project-info h2 {
  font-size: 1.6rem;
  color: var(--koyu-renk);
}
.project-info p {
  font-size: 1rem;
  color: var(--koyu-renk);
}

@media (max-width: 768px) {
  .project-info {
    position: static;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: none;
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    color: var(--koyu-renk);
    width: 90%;
    text-align: center;
  }

  .project-info h2 {
    font-size: 1.2rem;
  }

  .project-info p {
    font-size: 0.95rem;
  }

  .project-scene img {
    width: 100%;
  }
}


/* FİLTRE BUTONLARI */
.filter-section {
  text-align: center;
  padding: 60px 20px 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--ana-renk);
  background-color: white;
  color: var(--ana-renk);
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--ana-renk);
  color: white;
}

/* PROJE GRID */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: auto;
}

/* PROJE KARTI */
.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
}

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

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

.project-card h3 {
  font-size: 1.2rem;
  margin: 12px 0 6px;
  color: var(--koyu-renk);
}

.project-card p {
  font-size: 0.95rem;
  color: #666;
  padding: 0 10px 10px;
}

.project-card button {
  margin-bottom: 16px;
  padding: 8px 14px;
  background-color: var(--ana-renk);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
}

.project-card button:hover {
  background-color: #e65600;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  animation: fadeIn 0.3s ease;
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 10px;
}

.modal-content h3 {
  margin-bottom: 12px;
  color: var(--ana-renk);
}

.modal-content p {
  color: #444;
  line-height: 1.6;
}

.modal .close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

.modal .close:hover {
  color: var(--ana-renk);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--ana-renk);
}

/* ANİMASYON */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}



/* ANİMASYON */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .project-scene img {
    width: 90%;
  }
  .intro-content h1 {
    font-size: 1.8rem;
  }
}

/* Proje sahne efektleri */
.project-scene {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.project-scene.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sol giriş */
.project-scene[data-effect="left"] {
  transform: translateX(-60px);
}
.project-scene[data-effect="left"].visible {
  transform: translateX(0);
}

/* Sağ giriş */
.project-scene[data-effect="right"] {
  transform: translateX(60px);
}
.project-scene[data-effect="right"].visible {
  transform: translateX(0);
}

/* Zoom in */
.project-scene[data-effect="zoom"] {
  transform: scale(0.9);
}
.project-scene[data-effect="zoom"].visible {
  transform: scale(1);
}


/* Etiket gibi sol üst köşe butonu */
.tag-button {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--ana-renk);
  color: #333;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
}

.tag-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.tag-button i {
  margin-left: 8px;
}


.project-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

.project-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.modal-content h3 {
  margin-bottom: 12px;
  color: var(--ana-renk);
}

.modal-content p {
  color: #444;
  line-height: 1.6;
}

.modal .close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
}

.modal .close:hover {
  color: var(--ana-renk);
}

/* FOOTER */
.footer {
  background-color: var(--ana-renk);
  color: white;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column {
  flex: 1 1 300px;
  min-width: 200px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.footer-column hr {
  border: none;
  height: 2px;
  background-color: white;
  margin: 10px 0 20px;
  width: 50px;
}

.footer-column p,
.footer-column li {
  margin: 8px 0;
  font-size: 0.95rem;
}

.footer-column a {
  color: white;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-menu {
  list-style: none;
  padding: 0;
}

.footer-icons {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  margin-top: 80px;
}

.footer-copy {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 30px;
  font-size: 0.9rem;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.icon-box:hover {
  transform: scale(1.1);
}

/* MARKA RENKLERİ */
.facebook {
  background-color: #3b5998;
}

.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.whatsapp {
  background-color: #25D366;
}

.map-container {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}