* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
  height: 100%;
  color: white;
}

.header {
  height: 70px; /* sabit yükseklik */
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.logo img {
  height: 115px; /* header yüksekliğine uyumlu olur */
  max-height: 115px; /* taşmasın diye sınırla */
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.site-title {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none; 
  cursor: pointer;
}

.site-title:hover { 
  color:#00bfff; 
}

.menu-toggle {
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.menu {
  position: fixed;
  top: 0;
  right: -270px;
  height: 100vh;
  width: 270px;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 30px;
  transition: right 0.8s ease;
  z-index: 999;
  overflow-y: auto;
}

.menu.active {
  right: 0;
}

.menu ul {
  list-style: none;
  width: 100%;
}

.menu li {
  border-bottom: 1px solid #444;
  padding: 15px 0;
}

.menu li a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  display: block;
  font-weight: normal;
}

.menu li a:hover,
.menu li a.active-page {
  color: #00bfff;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0,0,0,0.5);
  display: none;
  z-index: 998;
}

.menu.active ~ .menu-overlay {
  display: block;
}


.home-main {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.home-text {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.home-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.home-text p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  z-index: 1000;
}

.about-main {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("assets/aboutsayfasıarkaplan.jpeg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  z-index: 1;
}

.about-text {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  color: white;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-main {
    padding-top: 120px; /* Header'a çarpmaması için */
    padding-bottom: 40px;
  }
}

/* === PROJECTS PAGE - TEMİZ VE YALNIZCA BU SAYFAYA ÖZEL === */
.projects-page .projects-gallery {
  padding-top: 0px;
  background-color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  font-family: Calibri, sans-serif;
}

.projects-page .project-box {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1300px;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  background-color: #1c1c1c;
}

.projects-page .project-image {
  flex: 3;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.projects-page .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.projects-page .project-text {
  flex: 1.2;
  padding: 40px;
  background-color: #222;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: Calibri, sans-serif;
  max-height: 600px;
  height: 100%;
}

.projects-page .project-text h2 {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
}

.projects-page .project-text p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}
.projects-page .project-box.no-modal .project-image img {
  cursor: default;
}

/* ✅ GOOGLE FONT (SADECE BU BLOK ETKİLER) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .projects-page .project-box {
    flex-direction: column;
  }

  .projects-page .project-image,
  .projects-page .project-text {
    width: 100%;
    height: auto;
  }

  .projects-page .project-text {
    padding: 30px 20px;
    text-align: center;
  }

  .projects-page .project-text h2 {
    font-size: 30px;
  }

  .projects-page .project-text p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .project-box {
    display: flex;
    flex-direction: column !important;
  }

  .project-image {
    order: 1;
  }

  .project-text {
    order: 2;
  }
}

.newbuild-title {
  text-align: center;
  margin: 1px 0 1px;
   animation: fadeIn 1s ease-in-out;

}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.newbuild-title h2 {
  font-family: Calibri, sans-serif;
  color: white;
  font-size: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* === Modal (tam ekran galeri) === */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  flex-direction: column;
}

.image-modal.active {
  display: flex;
}

.modal-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.modal-img {
  width: 800px;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
  z-index: 2;
}

.modal-prev {
  left: 0;
}

.modal-next {
  right: 0;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 3;
}

.modal-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1px;
  margin-bottom: 20px;
  max-width: 90%;
}

.modal-thumbnails img {
  width: 80px;
  height: 60px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.modal-thumbnails img:hover,
.modal-thumbnails img.active {
  opacity: 1;
  border-color: white;
}

/* ✅ Mobil uyumlu */
@media (max-width: 850px) {
  .modal-img {
    width: 90vw;
    height: auto;
    max-height: 70vh;
  }

  .modal-thumbnails img {
    width: 80px;
    height: 60px;
  }
}

/* Sol ve sağ yönler */
.modal-prev {
  left: 5%;
}

.modal-next {
  right: 5%;
}

/* ✅ Mobil için ayar: oklar yine tam fotoğrafın yanında */
@media (max-width: 768px) {
  .modal-prev {
    left: 2%;
  }

  .modal-next {
    right: 2%;
  }

  .modal-nav {
    font-size: 36px;
    height: 40px;
    width: 40px;
    padding: 6px;
  }
}

@media (max-width: 768px) {
  .modal-prev,
  .modal-next {
    top: 45%;
    font-size: 36px;
    padding: 8px;
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
  }
}

.projects-page .header {
  position: static !important;
  background-color: #111 !important;
  border-bottom: none !important;
  box-shadow: none !important;

}

.projects-page .footer {
  position: static;
  backdrop-filter: none;
  background-color: #111;
  padding: 30px 0;
  color:#fff ;
  text-align: center  ;
}
/* === PROJECTS SAYFASI SONU === */


/* === REFIT SAYFASI === */
/* === REFIT SAYFASI === */
.refit-page .refit-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: black; /* Geçişler sırasında beyaz ekran çıkmasın diye */
}

.refit-page .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1.8s ease-in-out, transform 1.8s ease-in-out;
  z-index: 0;
}

.refit-page .slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.refit-page .refit-text {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 12px;
  color: white;
  max-width: 900px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.refit-page .refit-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.refit-page .refit-text p {
  font-size: 20px;
  line-height: 1.8;
}

.refit-final-text {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 50px 20px;
  font-family: Calibri, sans-serif;
  max-width: 900px;
  margin: 0 auto; /* Bu satır yazıyı yatayda ortalar */
}

.refit-final-text h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.refit-final-text p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.refit-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 30px;
}

.refit-box {
  width: calc(50% - 15px); /* 2'li kolon */
  height: 500px;
  background-color: #111;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.refit-box img {
  width: 100%;
  height: 85%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.refit-caption {
  height: 15%;
  background-color: #111;
  color: white;
  font-family: Calibri, sans-serif;
  font-weight: bold;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .refit-box {
    width: 100%;
    height: auto;
  }

  .refit-box img {
    height: auto;
  }

  .refit-caption {
    height: auto;
    padding: 15px 0;
    font-size: 16px;
  }

  .refit-gallery {
    flex-direction: column;
    align-items: center;
  }
}

/* === CONTACT SAYFASI === */
.contact-page {
  background-color: #000;
  padding: 80px 20px;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

/* LEFT SIDE */
.contact-left {
  flex: 1 1 400px;
}

.contact-left h3 {
  color: #ff6a00;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-left h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-left p {
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 16px;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact-info-text h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.contact-info-text p {
  margin: 4px 0 0;
  font-size: 15px;
}

/* RIGHT SIDE (FORM) */
.contact-right {
  flex: 1 1 400px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 150px;
}

.contact-form button {
  background-color: #ff6a00;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #e05800;
}



/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-left, .contact-right {
    width: 100%;
  }
}

.contact-page {
  font-family: 'Poppins', sans-serif;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  font-family: 'Playfair Display', serif;
}

/* Başlık yazısı */
.hero-text h1 {
  font-family: Calibri, sans-serif;
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  color: white;
  margin: 0;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

/* Animasyon tanımları */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Refit Slide-In Animation === */
.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

.slide-in-left:nth-of-type(2) {
  animation-delay: 0.7s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-text {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  max-width: 900px;
  margin: 100px auto;
  text-align: center;
  font-size: 20px;
  color: white;
  overflow: hidden;
}

/* Ortaya yavaşça kayan her parça için ortak özellik */
.about-text p {
  opacity: 0;
  transform: translate(0, 0);
  animation-fill-mode: forwards;
  animation-duration: 1.5s;
}

/* Yönlere göre animasyonlar */
.animate-from-left {
  transform: translateX(-200%);
  animation: slideInLeft 1.5s forwards;
  animation-delay: 0.2s;
}
.animate-from-right {
  transform: translateX(200%);
  animation: slideInRight 1.5s forwards;
  animation-delay: 0.4s;
}
.animate-from-top {
  transform: translateY(-200%);
  animation: slideInTop 1.5s forwards;
  animation-delay: 0.6s;
}
.animate-from-bottom {
  transform: translateY(200%);
  animation: slideInBottom 1.5s forwards;
  animation-delay: 0.8s;
}

/* Keyframes */
@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInTop {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInBottom {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

