/* ===== Genel ===== */
:root {
  --bg: #000;
  --text: wheat;
  --muted: #ddd;
  --card: #111;
  --accent1: lime;
  --accent2: lime;
  --glow: lime;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
  background: linear-gradient(135deg, #000 0%, #020202 50%, #050505 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-size: 400% 400%;
  animation: bgShift 20s ease infinite;
}

/* Arkaplan gradient hareket */
@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* SCROLL */
body::-webkit-scrollbar {
  width: 10px;
  border-radius: 50px;
  background-color: black;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgb(0, 0, 0), rgb(0, 0, 0));

}
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgb(0, 0, 0), rgb(0, 0, 0));
}

/* İki sütunlu düzen */
.container {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 70px);
}

/* Sol taraf (fotoğraf) */
.left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

img.photo {
    width: 85%;
    height: auto;

    border-radius: 12px;
    transition: transform 0.6s ease, box-shadow 0.6s ease, rotate 0.6s ease;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.15);
}

img.photo:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0px 0px 40px rgba(144, 238, 144, 0.4);
}

/* Sağ taraf (yazı / içerik) */
.right {
    flex: 1;
    padding: 40px;
    text-align: left;
    overflow-y: auto;
    scrollbar-width:auto;              /* Firefox için */
    scrollbar-color: lime black;   /* Firefox için */
}

/* Chrome, Edge, Safari scroll */
.right::-webkit-scrollbar {
    width: 8px;
}
.right::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
}
.right::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, lightgreen, green);
    border-radius: 10px;
    transition: background 0.3s ease;
}
.right::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, lime, darkgreen);
}



/* Başlıklar */
.right h1 {
  color: rgb(224, 111, 96);
    margin-bottom: 20px;
    transition: color 0.5s ease;
}

.right h3, .right h4 {
    margin-top: 25px;
    color: #ffcc66;
    transition: color 0.5s ease;
}



/* Liste */
li {
    list-style: decimal;
    margin: 8px 0;
    transition: transform 0.5s ease, text-shadow 0.3s ease;
}

/* Fade-in animasyonu */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 2s ease;
}

/* Foto açılış animasyonu */
.photo-animate {
    animation: zoomIn 2s ease forwards
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}

/* Başlık hover sallanma */
.shake {

    animation: shakeAnim 1.2s;
    text-decoration:overline;
    text-decoration-style:wavy;
    cursor: pointer;
}
@keyframes shakeAnim {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}
a {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease, text-shadow 0.3s ease;
}
a:hover {

    color: lightgreen;
    text-decoration: underline;
    transform: scale(1.05);
}
/* Chip grupları yan yana taşsın */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap:8px;
  transition: transform cubic-bezier(0.25, 0.46, 0.45, 0.94),text-shadow 0.8s ease;
}

/* Chip (rozet) tasarımı */
.chip {
  background: rgba(0, 255, 144, 0.08);
  border: 1px solid rgba(0, 255, 144, 0.4);
  padding: 10px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight:bold;
  color: rgb(249, 203, 203);
  cursor: default;
  text-decoration: none; /* linklerde alt çizgi olmasın */
  box-shadow: 0 0 6px rgba(227, 218, 218, 0.2);
  transition: transform 0.8s ease, text-shadow 0.8s ease;

}



/* Sosyal medya özel */
.chip-group.social .chip {
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip-group.social .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}

.chip-group.social .chip .icon {
  width: 18px;
  height: 18px;
  filter: invert(80%) sepia(50%) saturate(200%) hue-rotate(80deg);
  transition: transform 1s ease, filter 0.1s ease;

}

.chip-group.social .chip:hover .icon {
  transform: scale(1.2);
  filter: invert(95%) sepia(100%) saturate(300%) hue-rotate(90deg);;
}
a:hover{
  cursor: pointer;
}


footer {
  width: 640px;
  height: max-content;
  margin: 18px auto;
  margin-bottom: 20px;
  padding: 22px;
  background: rgba(30, 0, 40, 0.75);
  border: 1px solid rgba(255, 182, 193, 0.4);
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.15);
  transition: all 0.5s ease;
  animation: softPulse 1s ease-in-out infinite;
  text-align: justify;
}
footer:hover {
  box-shadow: 0 0 45px rgba(255, 105, 180, 0.5),
  0 0 75px rgba(186, 85, 211, 0.35);
  border-color: dark;
}

footer h2 {
  margin: 0 0 10px 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
  background: linear-gradient(90deg, #ffb6c1, #c77dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: capitalize;
  transition: text-shadow 0.4s ease;
}


footer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 230, 240, 0.85);
  letter-spacing: 0.5px;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}


/* Hafif kalp atışı animasyonu */
@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.15);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.35);
  }
}

/* ===== Navbar ===== */
nav {
  display: flex;
  justify-content:space-around; /* logo solda, menü sağda */
  align-items: center;
  height: 60px; /* navbar yüksekliği küçültüldü */
  animation: navGlow 4s infinite alternate;
  transition: all 1s ease;
  padding: 20px;
  margin: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: bold;
}

/* Menü linkleri */
nav a, nav .menu a {
  background: linear-gradient(90deg, var(--accent1, lime), var(--accent2, lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color:transparent;
  letter-spacing: 1px;
  position: relative;
  transition: transform 0.5s ease, text-shadow 0.3s ease;
}

nav a:hover, nav .menu a:hover {
  transform: scale(3) rotate(-1deg);
}



/* Logo sallanma animasyonu */
@keyframes logoSwing {
  0% { transform: rotate(-8deg); } /* hafif azaltıldı */
  50% { transform: rotate(15deg); }
  100% { transform: rotate(-8deg); }  
}



/* Tabletler ve küçük dizüstüler (max 1024px) */
@media (max-width: 1024px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px 20px;
    text-align: center;
  }

  nav a {
    font-size: 1rem;
    margin: 6px 0;
    transform: none !important;
  }

  .container {
    flex-direction: column;
    height: auto;
  }

  .left, .right {
    width: 100%;
    padding: 20px;
  }

  img.photo {
    width: 70%;
  }

  .badge-frame {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }

  footer {
    width: 90%;
    border-radius: 30px;
  }
}

/* Orta boy telefonlar (max 768px) */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  nav {
    flex-direction: column;
    padding: 15px;
  }

  nav a {
    font-size: 0.95rem;
    margin: 4px 0;
  }

  .container {
    flex-direction: column;
    height: auto;
  }

  .left {
    order: 1;
    padding: 10px;
  }

  .right {
    order: 2;
    padding: 20px;
    font-size: 0.95rem;
  }

  img.photo {
    width: 90%;
    height: auto;
  }


  footer {
    width: 95%;
    padding: 16px 20px;
    font-size: 0.9rem;
  }

  .badge-frame {
    width: 90%;
    height: 150px;
    margin: 25px auto;
  }
}

/* Küçük telefonlar (max 480px) */
@media (max-width: 480px) {
  nav {
    margin: 8px;
    border-radius: 15px;
    padding: 10px;
  }

  nav a {
    font-size: 0.85rem;
    display: block;
    margin: 4px 0;
  }

  .left, .right {
    padding: 10px;
  }

  img.photo {
    width: 100%;
    border-radius: 10px;
  }

  .right h1 {
    font-size: 1.2rem;
  }

  .right h3, .right h4 {
    font-size: 1rem;
  }

  li {
    font-size: 0.9rem;
  }

  .chip {
    font-size: 12px;
    padding: 6px 10px;
  }

  footer{
    border-radius: 20px;
    font-size: 0.85rem;
  }

  .badge-frame {
    width: 95%;
    height: 120px;
    margin: 20px auto;
  }
}

/* Çok küçük cihazlar (max 360px) */
@media (max-width: 360px) {
  nav a {
    font-size: 0.75rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 12px 15px;
  }

  .chip {
    font-size: 11px;
    padding: 5px 8px;
  }

  .badge-frame {
    height: 100px;
  }
}
