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

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #1f2a2e, #0f1a22);
    backdrop-filter: blur(10px);
    overflow-x: hidden;
}

.detay-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(to bottom, #2a7489, #31c0e6, #2a7489);
    backdrop-filter: blur(10px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
}

.gallery-container {
    flex: 1;
    min-width: 350px;
    max-width: 600px;
    margin-right: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);

}

.project-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.project-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.project-info p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap;
}

.swiper {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

}

.swiper-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

.swiper-pagination {
    margin-top: 10px;
}

#harita {
    width: 100%;
    height: 400px;
    margin-top: 60px;
    border-radius: 12px;
}

.proje-detay-baslik {
    text-align: center;
    font-size: 36px;
    color: #fff;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.proje-detay-baslik::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    margin: 20px auto 0 auto;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.fade-line {
    height: 1px;
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    background: linear-gradient(to right, transparent, #ffffff80, transparent);
    opacity: 0.5;
}


.site-footer {
    background: #101820;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

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

.footer-left,
.footer-center,
.footer-right {
    flex: 1 1 300px;
}

.site-footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2bc7ec;
}

.site-footer p {
    font-size: 14px;
    margin: 5px 0;
}

.site-footer a {
    color: #ddd;
    text-decoration: none;
}

.site-footer a:hover {
    color: #2bc7ec;
    text-decoration: underline;
}

.footer-logo {
    width: 180px;
    max-width: 100%;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.footer-contact p {
    margin: 6px 0;
    font-size: 14px;
    color: #ddd;
}

.footer-blok {
    background: linear-gradient(to bottom, #1f2a2e, #0f1a22);
    color: white;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
}

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

.footer-logo img {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
    margin-right: 40px;
}

.footer-columns {
    display: flex;
    flex: 1;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: #31c0e6;
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-column p {
    margin: 5px 0;
    font-size: 14px;
}

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

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

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: white;
    /* net beyaz */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    backdrop-filter: blur(4px);
    /* üstteki geçişi yumuşatır */
    z-index: 10;
    position: relative;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: #ffffff;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo,
.footer-column {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-logo {
    animation-delay: 0.2s;
}

.footer-column:nth-child(1) {
    animation-delay: 0.4s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.6s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.8s;
}

.footer-bottom {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
}

.altbilgi-modal-wrapper {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.altbilgi-modal-wrapper.active {
    display: flex;
}

.altbilgi-modal-icerik {
    background: white;
    color: black;
    padding: 0;
    border-radius: 12px;
    max-width: 700px;
    width: 95%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: row;
}

.altbilgi-kapat {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
}

.modal-logo-blok {
    background: #1f2a2e;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
}

.modal-logo-blok img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.modal-yazi-blok {
    padding: 30px 20px;
    overflow-y: auto;
    flex: 1;
    position: relative;
}

.modal-yazi-blok h3 {
    margin-top: 0;
}

.modal-yazi-blok p {
    white-space: pre-wrap;
    word-break: break-word;
}

.topbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 40px;
}

.hamburger {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.animated-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 250px;
    height: calc(100% - 60px);
    background: #0e1117;
    transition: right 0.4s ease;
    z-index: 998;
    padding: 30px 20px;
}

.animated-menu.show {
    right: 0;
}

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

.animated-menu li {
    margin: 20px 0;
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 0.4s forwards;
}

.animated-menu li:nth-child(1) {
    animation-delay: 0.1s;
}

.animated-menu li:nth-child(2) {
    animation-delay: 0.2s;
}

.animated-menu li:nth-child(3) {
    animation-delay: 0.3s;
}

.animated-menu li:nth-child(4) {
    animation-delay: 0.4s;
}

.animated-menu li:nth-child(5) {
    animation-delay: 0.5s;
}

.animated-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sabit-butonlar {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sabit-buton {
  background: linear-gradient(to right, #2a7489, #31c0e6);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: sagaSola 2s infinite ease-in-out;
}

.sabit-buton:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.ara-btn i,
.whatsapp-btn i {
  margin-right: 8px;
}

/* Hafif sağa-sola kayan animasyon */
@keyframes sagaSola {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}