body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #7a369f83;
    color: white;
    text-align: center;
    padding: 40px 0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    font-size: 1.1rem;
    margin: 5px 0 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline-block;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #efedf1;
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro-container {
    display: flex;
    align-items: center;       
    justify-content: center;    
    gap: 40px;                  
    flex-wrap: wrap;            
}

.profile-pic {
    width: 200px;          
    height: 200px;         
    object-fit: cover;     
    border-radius: 12px;  
    background-color: transparent; 
    display: block;
    margin: 0 auto 20px;   
    border: 3px solid #aa29ff58; 

}
.intro-text {
    max-width: 500px;
}

.intro-text h2 {
    color: #6e1abcae;
    margin-top: 0;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.6;
} 
.highlights {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.highlights h2 {
    text-align: center;
    color: #e7f9f5;
}

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

.highlights li {
    margin: 10px 0;
    font-size: 1.1rem;
}

footer {
    text-align: center;
    background-color: #d2b8f8;
    color: white;
    padding: 15px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}


@keyframes slideDown {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.profile-pic {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    background-color: transparent;
    border: 3px solid #f1f3f2;
    animation: slideDown 1.2s ease forwards;
}

.intro-text {
    max-width: 500px;
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.1s; 
}


.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 28px;
}

.about-hero {
  display: flex;
  flex-direction: column; 
  gap: 20px;
}

.about-title {
  text-align: left;
  color: #e30bdfd7;
  font-size: 2rem;
  margin-bottom: 0;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  text-align: justify;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.photo-gallery {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  place-content: center;
  justify-items: center;
  align-content: center;
  padding: 10px;         
}

.about-pic {
  width: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #7d3bd282;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


@media (max-width: 400px) {
  .about-content {
    flex-direction: column;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-title {
    text-align: center;
  }
}

.tv-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; 
}

.tv-list {
  flex: 1;
  min-width: 250px;
}

.tardis-gif {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tardis-gif .tenor-gif-embed {
  width: 200px;
  border-radius: 12px;
  animation: spinGif 8s linear infinite;
}

.cv-actions{
  display:flex; gap:10px; justify-content:flex-end; align-items:center;
}

.cv-page{ padding:24px; }
.cv-header-row{
  display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap;
  border-bottom:1px solid #e8edf2; padding-bottom:12px; margin-bottom:16px;
}
.cv-name{ margin:0; color:#2c3e50; }
.cv-tag{ margin:4px 0 0; color:#6b7b8c; font-weight:600; }

.cv-contact{ list-style:none; padding:0; margin:0; min-width:260px; }
.cv-contact li{ margin:2px 0; }

.cv-section{ margin:18px 0; }
.cv-section h3{
  margin:0 0 8px; color:#2c3e50;
  border-left:6px solid #72146f; padding-left:10px; font-size:1.15rem;
}

.cv-item{ margin:10px 0 14px; }
.cv-item-head{ display:flex; flex-direction:column; gap:4px; }
.cv-item-head h4{ margin:0; font-size:1.05rem; }
.cv-meta{ color:#6b7b8c; font-size:.95rem; }

.cv-bullets{ padding-left:18px; margin:6px 0; }

/* 2 sütunlu bloklar */
.cv-two{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width: 720px){
  .cv-two{ grid-template-columns:1fr; }
}

@media print{
  @page{ size:A4; margin:14mm; }
  body{ background:#fff; }
  header, nav, footer{ display:none !important; }  /* site header/footer yazdırma dışı */
  .card{ box-shadow:none; border-radius:0; }
  .cv-actions{ display:none !important; }
  main{ margin:0; padding:0; }
  .cv-page{ padding:0; }
  .cv-section{ break-inside: avoid; }
  .cv-two{ grid-template-columns:1fr 1fr; column-gap:18px; }
}


/* === HOBİLER SAYFASI === */
.hobbies-intro {
  text-align: center;
  margin-bottom: 30px;
}

.hobby-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1000px;
}

.hobby {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hobby:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.hobby-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}


.hobby-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #1abc9c;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.hobby-logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* efekt katmanı en üstte ve tıklamayı engellemeden */
#flowers-container{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

/* DIŞ: sadece düşüş */
.flower{
  position: absolute;
  top: -10vh;                 /* ekranın biraz üstünden başlat */
  animation: fall var(--fallDur, 6s) linear forwards;
  will-change: transform, opacity;
}

/* İÇ: sağa-sola salınım + hafif dönüş + titreşim */
.petal{
  display: inline-block;
  animation:
    sway 1.8s ease-in-out infinite alternate,
    spin var(--spinDur, 3s) linear infinite;
  opacity: .95;
}

/* dikey düşüş */
@keyframes fall{
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(110vh); opacity: 0; }
}

/* yatay salınım (rüzgar) */
@keyframes sway{
  from { transform: translateX(calc(var(--swayX, 20px) * -1)); }
  to   { transform: translateX(var(--swayX, 20px)); }
}

/* hafif dönme */
@keyframes spin{
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}
/* === DARK MODE OVERRIDES === */
body.dark { background:#181818; color:#e8e8e8; }


.dark header { background:#6f56a5; color:#fff; }
.dark header h1, .dark header p { color:#fff; }
.dark nav a { color:#e8e8e8; }
.dark nav a.active, .dark nav a:hover { color:#1abc9c; }


.dark .card { background:#222; color:#e8e8e8; box-shadow:0 8px 20px rgba(0,0,0,.45); }
.dark .card h2, .dark .card h3, .dark .card h4 { color:#ffffff; }


.dark .highlights { background:#1e1e1e; }
.dark .highlights h2 { color:#1abc9c; }
.dark .tags li { background:#2b3a36; color:#9ee6cf; }


.dark .gallery .hint { color:#bdbdbd; }
.dark .gallery-grid img { border-color:#8bd9c6; }

.dark .contact-card { background:#1f1f1f; }
.dark .contact-card span { color:#e8e8e8; }

.dark footer { background:#2b2b2b; color:#e8e8e8; }

.dark .ol-popup { background:#2a2a2a; color:#e8e8e8; border-color:#3a3a3a; }
    
