
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Orbitra Sans', sans-serif , 'Judson', serif ,'Courgette', cursive;
  background-color:#eaeaea ;
  overflow-x: hidden;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-content {
  flex: 1;
}
:root {
  --beyaz-zemin: #eaeaea;
  --koyu-gri: #333;
  --turuncu-vurgu: #ff751f;
  --orbitra-mavi: #5271ff;
  --saf-beyaz: #fff;
}


/* Genel navbar yapısı start */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 90px;
  background-color:#eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0;
  margin: 0;
  z-index: 1000;
}

/* Logo */
.logo-container a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  text-decoration: none;
}
.logo-container img {
  height: 80px;
  width: auto;
  padding-top: 10px;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;  
  line-height: 1.2;
}
.brand-main {
  font-size: 30px;
  font-weight: 600;
  color: var(--orbitra-mavi);
  font-family: 'Judson', serif;
}
.brand-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--turuncu-vurgu);
  margin-top: 2px;
  font-family: 'Courgette', cursive;
}
@media (max-width: 768px) {
  .navbar {
    padding: 6px 16px;
  }
  .logo-container {
    gap: 10px;
    padding: 6px;
  }
  .logo-container img {
    height: 60px;
  }
  .brand-main {
    font-size: 20px;
  }
  .brand-sub {
    font-size: 12px;
    margin-top: 1px;
  }
}

/* Menü */
/* Hamburger */
.hamburger {
  display: block;
  font-size: 28px;
  color:var(--koyu-gri);
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

/* Menü - Mobilde gizli */
.menu {
  display: none;
  flex-direction: column;
  background-color:var(--beyaz-zemin);
  position: absolute;
  top: 80px;
  right: 0;
  width: 210px;
  z-index: 1000;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.menu.active {
  display: flex;
}
.menu li {
  list-style: none;
}
.menu li a {
  display: block;
  padding: 12px 16px;
  color:var(--orbitra-mavi);
  text-decoration: none;
  font-size: 16px;
}
/* Dropdown */
.dropdown {
  position: relative;
}
.submenu {
  display: none;
  flex-direction: column;
  background-color:var(--beyaz-zemin);
  padding: 5px 0;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1001;
  position: static;
}
.dropdown.open .submenu {
  display: flex;
}
.submenu li a {
  padding: 10px 20px;
  color:var(--koyu-gri);
  font-size: 15px;
  white-space: nowrap;
}
.submenu li a:hover {
  color: #5271ff;
}
/* Masaüstü görünümü */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: static;
    background-color: transparent;
    width: 50%;
    padding: 0;
    gap: 24px;
  }

  .submenu {
    position: absolute;
    top: 80%;
    left: 0;
    display: none;
    min-width: 180px;
  }


  .dropdown:hover .submenu {
    display: flex;
  }
}

/* Genel navbar yapısı end */

/*başlık start*/
.page-header {
  text-align: center;
  padding: 40px 20px;
  font-size: 18px;
  margin-top: 90px;
  background-image: url('../images/alt-benner.webp'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
}
@media (max-width: 768px) {
  .page-header {
    display: flex;
    flex-direction: column;
    justify-content: center; /* dikey ortalama */
    align-items: center;     /* yatay ortalama */
    width: 100%;
    height: 100px;
    padding: 20px 10px;
    font-size: 10px;
    text-align: center;
  }
}
/*başlık end*/
.service-info h2 {
  color: #ff751f;
  font-size: 1.5rem;
  padding-bottom: 8px;
}
@media (max-width: 768px) {
  .service-info h2 {
    font-size: 1.4rem; 
    line-height: 1.3;
  }
}
/* alt başlık start*/
.service-info {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.6;
  color: #555;
}
/* alt başlık end*/
.section-divider {
  width: 80%;
  margin: 0 auto 20px auto;
  border: none;
  border-top: 1px solid #ccc;
}

/* gallery start */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  margin: 0 auto;
}

.gallery-item img {
  width: 80%;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .gallery-item img {
    width: 75%;
    margin: 0 auto 20px auto;
  }
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100%;
}

.fullscreen-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,0.9);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-img.show {
  opacity: 1;
}

.close-btn {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 9999;
  touch-action: manipulation;
}
@media (max-width: 768px) {
  .fullscreen-img {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .close-btn {
    font-size: 24px;
    top: 10px;
    right: 10px;
  }
}
/* gallery end */

/* footer start */
.site-footer {
  background: linear-gradient(
  115deg,
  #333333 0%,   /* koyu gri */
  #666666 35%,  /* orta gri */
  #b3b3b3 70%,  /* açık gri */
  #ffffff 100%  /* beyaz */
);
  color: #f5f5f5;
  padding: 15px 20px;

}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* mobilde satır atlaması için */
  max-width: 1200px;
  min-height: 100px;
  margin: 0 auto;
  position: relative;
}
/* Copyright solda */
.copyright {
  flex: 1;
  left: 30px;
  font-size: 14px;

}
.copyright span {
  color: #ff751f;
}
/* Sosyal ikonlar ortada */
.social-icons {
  display: flex;
  gap: 18px;
  justify-content: center;
}
.social-icons a {
  width: 30px;
  height:34px;
  background-color: #fff; /* kutu rengi */
  display: flex;
  align-items: center;   /* dikey ortalama */
  justify-content: center; /* yatay ortalama */
  border-radius: 8px; /* köşeler */
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.instagram i {
  font-size: 40px;
  background: radial-gradient(circle at 30% 107%,
   #fdf497 0%, #fdf497 5%, #fd5949 45%,
   #d6249f 60%, #285AEB 90%);
  background-clip: text; 
  -webkit-text-fill-color: transparent;
  text-decoration: none; 
}
.facebook i {
  font-size: 40px;       
  color: #1877F2;       
  transition: color 0.3s;
}
.x-twitter i {
  font-size: 40px;
  color: #000000; 
}
/* 📱 Mobil görünüm */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* İkonları üste al */
  .social-icons {
    order: -1;
    margin-bottom: 10px;
    margin-top: 15px;
  }

  /* Copyright alta iner */
  .copyright {
    order: 2;
    text-align: center;
    margin-top: 10px;
  }
}
.floating-contact-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}
.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s;
}
.email-icon {
  background-color: #00167a;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/email.png');
}
.phone-icon {
  background-color: #ff751f;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/phone.png');
}
.whatsapp-icon {
  background-color: #25D366;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/whatsapp.png');
}
.icon:hover {
  transform: scale(1.1);
}
@media (max-width: 600px) {
  .floating-contact-icons {
    bottom: 10px;
    right: 10px;
    gap: 8px;
  }

  .icon {
    width: 40px;
    height: 40px;
    background-size: 50%;
  }
  .copyright p {
  text-align: center;
  margin: 0 auto;
}

}
/* footer end */
@media (max-width: 768px) {
  .service-item {
    width: 90%;
    max-width: 280px;
    margin: 12px auto;
    padding: 16px;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
  }

  .service-item img {
    max-width: 100px;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .service-item h3,
  .service-item p {
    text-align: center;
  }
}
