
.gallery-popup-image {
  max-width: 90%;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
}

.gallery-popup-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

#popup-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

#popup-image.animate {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Hakkımda kısmındaki görsel */
img[src*="about.jpg"] {
  width: 384px;
  height: 618px;
  object-fit: cover;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


@media (max-width: 768px) {
  .mobile-sticky {
    position: sticky;
    top: 0;
    z-index: 50;
  }
}

@media (max-width: 768px) {
  .responsive-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
  }
}

@media (max-width: 768px) {
  #popup-image {
    max-width: 80vw;
    max-height: 80vh;
    margin: auto;
  }

  #mobile-menu {
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  #menu-toggle {
    margin-right: 1rem;
  }
}
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  #popup-image {
    max-width: 80vw;
    max-height: 80vh;
    margin: auto;
  }

  .gallery-popup-image {
    pointer-events: none;
  }
}
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
  }

  nav {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
  }
}
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    flex-wrap: wrap;
  }

  nav a {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  nav a {
    display: block;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  body {
    padding-top: 120px;
  }

  .container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  nav a {
    display: block;
    width: 100%;
    font-weight: 600;
  }
}
@media (max-width: 768px) {
  header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  body {
    padding-top: 220px;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
  }

  nav a {
    display: block;
    width: 100%;
    font-weight: 600;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .mobile-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  nav a {
    display: block;
    width: 100%;
    font-weight: 600;
    text-align: center;
  }

  body {
    padding-top: 220px;
  }

  header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 1.5rem 0;
  }

  header h1 {
    margin: 0 auto;
    font-size: 1.75rem;
    font-weight: bold;
  }

  nav {
    display: none !important;
  }

  body {
    padding-top: 100px;
  }
}
@media (max-width: 768px) {
  #home > div {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  #home > div {
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
  }

  #home {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
  }

  #home > div {
    width: 100%;
    max-width: 100%;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 1.5rem 0;
  }

  body {
    padding-top: 100px;
  }
}
@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
  }

  * {
    box-sizing: border-box;
  }

  #home, #gallery, #about, header, nav, .container {
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  * {
    box-sizing: border-box;
  }

  section, header, nav, .container, #home, #gallery, #about {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}
@media (max-width: 768px) {
  html, body {
    position: relative;
    overscroll-behavior-x: none;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  * {
    box-sizing: border-box;
    max-width: 100vw;
  }

  #home, #gallery, #about, header, nav, .container {
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  img[src*="about.jpg"] {
    width: 280px !important;
    height: auto !important;
  }
}
@media (max-width: 768px) {
  img[src*="about.jpg"] {
    width: 280px !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  section#about .flex {
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    padding: 1rem;
  }

  img[src*="about.jpg"] {
    width: 260px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  section#about h2 {
    font-size: 1.5rem !important;
    text-align: center !important;
  }

  section#about p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    padding: 0 1rem;
  }
}