/* ----------------------- Genel Stil ----------------------- */
body { font-family: 'Segoe UI', sans-serif; margin:0; padding:0; background:#f8f9fa; }

/* Hero Bölümü */
#hero {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  height:90vh; text-align:center; padding:0 15px;
  background: linear-gradient(135deg, #0d6efd, #3b8dff);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color:#fff; overflow:hidden; position:relative;
  min-height: 100vh;

  background-image:
    linear-gradient(
      rgba(3, 10, 19, 0.75),
      rgba(5, 72, 128, 0.75)
    ),
    url("assets/hero-bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@keyframes gradientBG {0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}
#hero h1,#hero p,#hero nav a {opacity:0; transform:translateY(-20px); animation:fadeInUp 1s forwards;}
#hero h1{animation-delay:0.3s; font-size:3rem; font-weight:800; text-shadow:1px 1px 4px rgba(0,0,0,0.4);}
#hero p{animation-delay:0.6s; font-size:1.3rem; max-width:600px; line-height:1.5;}
#hero nav{display:flex; flex-wrap:wrap; justify-content:center; gap:15px; margin-top:20px;}
#hero nav a{padding:12px 25px; border-radius:8px; font-weight:600; box-shadow:0 4px 15px rgba(0,0,0,0.2); transition:all 0.3s;}
#hero nav a:nth-child(1){background:#ffc107;color:#000;}
#hero nav a:nth-child(2){background:#198754;color:#fff;}
#hero nav a:nth-child(3){background:#fd7e14;color:#fff;}
#hero nav a:hover{transform:translateY(-3px); box-shadow:0 8px 25px rgba(0,0,0,0.3); opacity:0.95;}
@keyframes fadeInUp {to{opacity:1; transform:translateY(0);}}

/* Cards Genel Stil */
.cards{display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:20px; max-width:1200px; margin:0 auto; padding:0 15px;}
.card{position:relative; background:#fff; border-radius:12px; padding:20px 20px 30px 20px; box-shadow:0 6px 20px rgba(0,0,0,0.08); border-top:5px solid #0d6efd; transition:transform 0.3s,box-shadow 0.3s,border-color 0.3s; overflow:hidden;}
.card:hover{transform:translateY(-8px) scale(1.02); box-shadow:0 14px 30px rgba(0,0,0,0.18); border-top-color:#198754;}
.card h3::before{content:""; margin-right:8px; display:inline-block; opacity:1;}
.card a{display:inline-block; padding:10px 18px; border-radius:8px; font-weight:600; background:#0d6efd; color:#fff; transition:all 0.3s;}
.card a:hover{background:#0056b3; transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,0.2);}
.card p:nth-of-type(2){font-size:0.9rem; color:#555; font-style:italic;}

/* Filtreleme */
.filters{display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-bottom:30px;}
.filters button{padding:10px 18px; border:none; border-radius:8px; font-weight:600; cursor:pointer; background:#e9ecef; color:#333; transition:all 0.3s ease; box-shadow:0 3px 8px rgba(0,0,0,0.1);}
.filters button:hover{background:#0d6efd; color:#fff; transform:translateY(-2px); box-shadow:0 6px 15px rgba(0,0,0,0.15);}
.filters button.active{background:#0d6efd; color:#fff; box-shadow:0 6px 15px rgba(0,0,0,0.2);}

/* Bölümler Renkleri */
#projects .card{border-top-color:#198754;}
#domains .card{border-top-color:#0d6efd;}
#blog .card{border-top-color:#fd7e14;}

/* Responsive */
@media(max-width:768px){
  #hero h1{font-size:1.8rem;} #hero p{font-size:0.95rem; max-width:90%;}
  #hero nav{flex-direction:column; gap:10px;}
  .cards{grid-template-columns:1fr;}
  .filters{flex-direction:column; gap:10px;}
  #contact-fixed{flex-direction:row; gap:10px; bottom:10px; right:10px;}
  .card:hover{transform:none; box-shadow:0 6px 20px rgba(0,0,0,0.08); border-top-color:inherit;}
}

/* ----------------------- Blog Bölümü ----------------------- */
.blog-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 700;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: #ff7a00;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Overlay */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

/* Büyük Görsel */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: zoomIn 0.35s ease;
}

/* Kapatma Butonu */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
}

/* Hover İpucu */
.lightbox-img {
    cursor: zoom-in;
}

/* Animasyon */
@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 38px;
    color: #fff;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    font-size: 50px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    user-select: none;
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    text-align: center;
    color: #fff;
    max-width: 70%;
}

.lightbox-caption h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.lightbox-caption p {
    font-size: 14px;
    opacity: 0.9;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* Domain Badge Genel */
.card {
  position: relative;
}

.card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.4px;
  z-index: 2;
}

/* Premium */
.premium-badge {
  background: linear-gradient(135deg, #f5c542, #d4a017);
  color: #222;
  box-shadow: 0 4px 10px rgba(212,160,23,0.35);
}

/* Popüler */
.popular-badge {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #fff;
  box-shadow: 0 4px 10px rgba(13,110,253,0.35);
}

/* Premium animation */
.card.premium {
  position: relative;
  animation: premiumPulse 4s infinite;
  border: 2px solid #c9a441;
}

@keyframes premiumPulse {
  0%   { box-shadow: 0 0 0 rgba(201,164,65,0.0); }
  50%  { box-shadow: 0 0 20px rgba(201,164,65,0.35); }
  100% { box-shadow: 0 0 0 rgba(201,164,65,0.0); }
}


/* Popular hover */
.card.popular:hover {
  box-shadow: 0 0 25px rgba(255,80,0,0.7);
  transform: translateY(-4px);
}
.filter-buttons {
  text-align: center;
  margin-bottom: 25px;
}

.filter-buttons button {
  padding: 10px 18px;
  margin: 5px;
  border: none;
  border-radius: 20px;
  background: #222;
  color: #fff;
  cursor: pointer;
}

.filter-buttons button:hover {
  background: #c9a441;
}
/* PREMIUM */
.card.premium {
  border-top: 5px solid gold;
  animation: premiumPulse 4s infinite;
}

/* Premium hover */
.card.premium:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
        0 0 0 1px rgba(201,164,65,0.6),
        0 20px 45px rgba(201,164,65,0.45);
}

/* Premium animation */
@keyframes premiumPulse {
  0% {
    box-shadow: 0 10px 25px rgba(255,215,0,0.15);
  }
  50% {
    box-shadow: 0 18px 40px rgba(52, 236, 6, 0.45);
  }
  100% {
    box-shadow: 0 10px 25px rgba(255,215,0,0.15);
  }
}

.card.premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, #c9a441, #f5e08a, #c9a441);
    border-radius: 14px 14px 0 0;
}

.card.popular:hover {
  box-shadow: 0 0 25px rgba(255, 85, 0, 0.6);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.filter-buttons {
  text-align: center;
  margin-bottom: 25px;
}

.filter-buttons button {
  padding: 10px 18px;
  margin: 5px;
  border: none;
  border-radius: 20px;
  background: #222;
  color: #fff;
  cursor: pointer;
}

.filter-buttons button:hover {
  background: #c9a441;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
/* FLOATING ACTION BAR */
#floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* Genel Buton */
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.fab i {
  font-size: 1.4rem;
}

/* Renkler */
.whatsapp { background:#25d366; }
.phone    { background:#0d6efd; }
.mail     { background:#ffc107; color:#000; }
.backtotop{ background:#f00b29; }

/* Hover */
.fab:hover {
  transform: translateY(-4px);
}

/* BACK TO TOP başlangıç */
#backToTop {
  display: none;
  animation: pulse 2.5s infinite;
}

/* Pulse animasyon */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(13,110,253,0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(13,110,253,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

/* MOBİL: YATAY BAR */
@media (max-width: 768px) {
  #floating-actions {
    flex-direction: row;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
    background: rgba(255,255,255,0.95);
    padding: 10px 14px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .fab {
    width: 46px;
    height: 46px;
  }
}

/* Hareketi azalt */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

