/* 🔹 Üst Menü */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 0;
    z-index: 10;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #00bfff;
}

/* 🔹 Modal (Yapım Aşamasında Mesajı) */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.modal-content {
    background: rgba(13, 27, 42, 0.9);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    animation: fadeInModal 0.4s ease;
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.modal-content p {
    color: #d1d1d1;
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-content button {
    background: #00bfff;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-content button:hover {
    background: #008fcc;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* 🔹 Genel Stil */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: linear-gradient(-45deg, #0d1b2a, #1b263b, #415a77, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    height: auto;           /* içerik kadar uzasın */
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;       /* dikey kaydırmayı aktif eder */
}

/* 🔹 Hareketli arka plan animasyonu */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 🔹 Hafif saydam overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    z-index: 1;
}

/* 🔹 Ana kapsayıcı */
.container {
    position: relative;
    text-align: center;
    max-width: 700px;
    padding: 40px;
    border-radius: 15px;
    animation: fadeIn 1.5s ease forwards;
    z-index: 2;
    margin: 150px auto; /* Menüye çarpmayı önler */
}

/* Giriş animasyonu */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Profil fotoğrafı */
.profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease;
    animation: glowPulse 3s ease-in-out infinite;
}
.profile:hover { transform: scale(1.2); }

/* Hafif parlayan profil efekti */
@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.8); }
    100% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
}

/* Başlıklar */
h1 {
    font-size: 2.4rem;
    margin: 20px 0 10px;
    letter-spacing: 1px;
}
h2 {
    font-weight: 400;
    font-size: 1.2rem;
    color: #b5c7d3;
    margin-bottom: 20px;
}

/* Açıklama */
.about {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e6ed;
    margin-bottom: 30px;
}

/* Sosyal bağlantılar */
.socials a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 25px;
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Hover sırasında genel buton efekti */
.socials a:hover {
    background-color: #fff;
    color: #0d1b2a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* E-posta butonuna özel parlayan animasyon */
.mail-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s;
}
.mail-button:hover::before {
    left: 125%;
    transition: left 0.8s ease-in-out;
}

/* Mobil uyum */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1rem; }
    .profile { width: 120px; height: 120px; }
    .about { font-size: 0.95rem; }
}

/* 🔹 Sayfalar için ortak boşluk (navbar yüksekliği) */
.projects-container,
.about-container,
.blog-container,
.tech-container {
    margin-top: 120px; /* Menüye çarpmasın */
}

/* 🔹 Diğer tüm sayfa stilleri (projeler, hakkımda, blog, teknolojiler) */
.projects-container,
.about-container,
.blog-container,
.tech-container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(3px);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.project-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-card h3 {
    margin: 10px 0 8px;
    font-size: 1.3rem;
}

.project-card p {
    font-size: 0.95rem;
    color: #d9e1e8;
    margin-bottom: 15px;
}

.project-btn {
    display: inline-block;
    color: #fff;
    border: 1px solid #00bfff;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background: #00bfff;
    color: #000;
}
/* 🔹 Hakkımda Sayfası */
.about-container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.about-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    animation: fadeIn 1.2s ease forwards;
}

.about-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
    object-fit: cover;
    margin-bottom: 20px;
}

.about-card h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #b5c7d3;
    margin-bottom: 25px;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e6ed;
    text-align: justify;
}

@media (max-width: 700px) {
    .about-card {
        padding: 25px;
    }
    .about-card p {
        font-size: 0.95rem;
    }
}
/* 🔹 Timeline (Kariyer Yolculuğu) */
.timeline-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 80px auto 100px;
    padding: 20px;
}

.timeline-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.timeline {
    position: relative;
    margin: 0 auto;
    padding: 10px 0;
    width: 90%;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: rgba(255,255,255,0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Her olay */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item .content {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    display: inline-block;
    animation: fadeIn 1s ease forwards;
}

.timeline-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #fff;
}

.timeline-item p {
    color: #cfd8e3;
    font-size: 0.95rem;
}

/* Nokta efekti */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 25px;
    right: -9px;
    width: 15px;
    height: 15px;
    background: #00bfff;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 2;
}

.timeline-item.right::before {
    left: -9px;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .timeline::after {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 25px;
        margin-bottom: 30px;
        text-align: left;
    }

    .timeline-item::before {
        left: 0;
        right: auto;
    }
}
/* 🔹 Blog Sayfası */
.blog-container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.blog-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.blog-card p {
    color: #d8e1ec;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.blog-date {
    font-size: 0.9rem;
    color: #b8c4d4;
}

.blog-footer {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #00bfff;
    text-align: right;
}

/* Mobil uyum */
@media (max-width: 600px) {
    .blog-card {
        padding: 20px;
    }
}
/* 🔹 Blog Detay Sayfası */
.blog-detail-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 120px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    color: #fff;
}

.blog-detail-container h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.blog-detail-container p {
    line-height: 1.7;
    font-size: 1rem;
    color: #d9e3ec;
}

.back-button {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    border: 1px solid #00bfff;
    text-decoration: none;
    transition: 0.3s;
}

.back-button:hover {
    background: #00bfff;
    color: #000;
}
/* 🔹 Teknolojiler Sayfası */
.tech-container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.tech-subtitle {
    font-size: 1.6rem;
    color: #b5c7d3;
    margin: 40px 0 20px;
    text-align: left;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tech-card {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 500;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    cursor: default;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,191,255,0.3);
    border-color: #00bfff;
    background: rgba(0,191,255,0.1);
}

/* Mobil uyum */
@media (max-width: 600px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .tech-card {
        font-size: 0.9rem;
        padding: 15px;
    }
}
/* 🔹 Filtre Butonları */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 25px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(0,191,255,0.2);
    border-color: #00bfff;
}

.filter-btn.active {
    background: #00bfff;
    color: #000;
    font-weight: 600;
}

/* 🔹 Kart görünümü animasyonu */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* 🔹 Galeri Sayfası */
.gallery-container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.gallery-intro {
    color: #cfd8e3;
    font-size: 1rem;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0,191,255,0.3);
}

/* 🔹 Modal */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 100;
    flex-direction: column;
    animation: fadeInModal 0.4s ease;
}

.image-modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.2);
}

.image-modal .close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.image-modal .close:hover {
    color: #00bfff;
}

#caption {
    color: #b5c7d3;
    margin-top: 15px;
    font-size: 1rem;
}

/* Mobil uyum */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .image-modal .close {
        top: 15px;
        right: 20px;
        font-size: 32px;
    }
}
/* 🔹 Filtre Butonları */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 25px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(0,191,255,0.2);
    border-color: #00bfff;
}

.filter-btn.active {
    background: #00bfff;
    color: #000;
    font-weight: 600;
}
/* 🔹 Mobil Uyumluluk (genel) */
@media (max-width: 900px) {
    body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 70px; /* menü alta taşmasın diye */
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .container {
        padding: 20px;
        max-width: 90%;
    }

    .navbar ul {
        flex-direction: column;
        background: rgba(0, 0, 0, 0.85);
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        display: none;
        text-align: center;
        padding: 20px 0;
        transition: all 0.3s ease;
    }

    .navbar ul.show {
        display: flex;
    }

    .navbar {
        justify-content: space-between;
        padding: 10px 20px;
        background: rgba(0,0,0,0.8);
    }

    .menu-toggle {
        display: block;
        color: #fff;
        font-size: 1.6rem;
        cursor: pointer;
        z-index: 100;
    }

    .socials a {
        margin: 5px;
        padding: 8px 18px;
    }

    .profile {
        width: 110px;
        height: 110px;
    }

    /* Kart tabanlı sayfalar için */
    .projects-grid,
    .blog-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        margin: 0 10px;
        padding: 20px;
    }

    .contact-container {
        padding-top: 90px;
    }
}

/* 🔹 Tablet düzeni */
@media (min-width: 901px) and (max-width: 1200px) {
    .projects-grid,
    .blog-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        max-width: 85%;
    }
}
/* 🔹 Gizlilik Politikası */
.privacy-container {
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e6ed;
    text-align: left;
    line-height: 1.8;
}

.privacy-container h2 {
    margin-top: 30px;
    color: #00bfff;
    font-size: 1.3rem;
}

.privacy-container a {
    color: #00bfff;
    text-decoration: none;
}
.privacy-container a:hover {
    text-decoration: underline;
}
#paxspin-coin {
  width: 128px;
  height: 128px;
  margin: 10px auto 15px auto;
  background-image: url("assets/paxspin/coin_strip_0.webp");
  background-repeat: no-repeat;
  background-size: cover;           /* tam olarak 128x128’e oturtur */
  background-position: 0 0;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px gold);
  overflow: hidden;
  image-rendering: -webkit-optimize-contrast;
  animation: spin1 1.2s steps(12) infinite;
}

@keyframes spin1 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -6144px 0; /* 512px * 12 kare */
  }
}
