/*
Theme Name: Cüneyt Cartoon Profile
Theme URI: https://arsago.com.tr
Author: Arsago Digital
Description: Cüneyt Gazi Koçak için Instagram arayüzünden ilham alan, şık, tatlı ve çizgi film tarzı tek sayfa WordPress teması.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: cuneyt-cartoon
Tags: one-page, cartoon, profile, instagram, personal, fun
*/

:root {
  --pink: #FF6B9D;
  --pink-soft: #FFE4EC;
  --purple: #9B59B6;
  --yellow: #FFD93D;
  --yellow-soft: #FFF8DC;
  --mint: #6BCB77;
  --mint-soft: #E8F8E9;
  --blue: #4D96FF;
  --blue-soft: #E8F1FF;
  --orange: #FF9F45;
  --text: #2D3436;
  --text-light: #636E72;
  --bg: #FFF9F5;
  --white: #FFFFFF;
  --shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.06);
  --radius: 24px;
  --radius-sm: 16px;
  --font: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; transition: 0.25s ease; }

/* ===== HEADER / PROFILE ===== */
.profile-header {
  background: linear-gradient(135deg, #FFE4EC 0%, #E8F1FF 50%, #FFF8DC 100%);
  padding: 40px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: var(--pink);
  border-radius: 50%;
  opacity: 0.12;
  animation: float 6s ease-in-out infinite;
}

.profile-header::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 150px; height: 150px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.15;
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.avatar-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: var(--mint);
  border-radius: 50%;
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-soft);
}

.profile-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.profile-handle {
  color: var(--pink);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.profile-bio {
  max-width: 420px;
  margin: 0 auto 24px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
}

.profile-bio strong {
  color: var(--purple);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 107, 157, 0.45);
}

.btn-outline {
  background: var(--white);
  color: var(--pink);
  border: 2px solid var(--pink);
}

.btn-outline:hover {
  background: var(--pink-soft);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.section-title span {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ===== ABOUT CARD ===== */
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '✨';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  opacity: 0.5;
}

.about-card p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-card p:last-child { margin-bottom: 0; }

.highlight {
  display: inline-block;
  background: var(--yellow-soft);
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--text);
}

/* ===== PROJECTS GRID (Instagram style) ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
  border: 3px solid transparent;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--pink);
}

.project-img {
  height: 180px;
  background: linear-gradient(135deg, var(--mint-soft), var(--blue-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.project-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}

.project-body {
  padding: 18px;
}

.project-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.project-tag {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.feature:hover {
  transform: scale(1.03);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.feature:nth-child(1) .feature-icon { background: var(--pink-soft); }
.feature:nth-child(2) .feature-icon { background: var(--mint-soft); }
.feature:nth-child(3) .feature-icon { background: var(--yellow-soft); }
.feature:nth-child(4) .feature-icon { background: var(--blue-soft); }

.feature h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact-box {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: '💌';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 32px;
  opacity: 0.3;
}

.contact-box h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-box p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--pink);
  font-weight: 800;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--pink);
  font-weight: 700;
}

.footer-flags {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .profile-name { font-size: 1.6rem; }
  .stats { gap: 20px; }
  .section { padding: 40px 16px; }
  .about-card { padding: 24px; }
  .contact-box { padding: 36px 20px; }
}

/* Decorative bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
}
