/* Modern Portfolyo Sayfası Stilleri */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --portfolio-gradient: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 50%,
    #4facfe 100%
  );
  --text-dark: #1a202c;
  --text-light: #718096;
  --border-radius: 20px;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Modern Hero Section - GoogleAds Tarzında */
.portfolio-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.floating-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: portfolioFloat 8s ease-in-out infinite;
}

.circle-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 8%;
  animation-delay: 0s;
}

.circle-2 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 120px;
  height: 120px;
  bottom: 30%;
  left: 15%;
  animation-delay: 4s;
}

.circle-4 {
  width: 80px;
  height: 80px;
  bottom: 10%;
  right: 10%;
  animation-delay: 6s;
}

@keyframes portfolioFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(15px) rotate(240deg) scale(0.9);
  }
}

.portfolio-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  animation: heroFadeIn 1.2s ease-out;
}

.hero-text {
  text-align: left;
}

.portfolio-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 35px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: badgeFloat 4s ease-in-out infinite;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 35px;
  line-height: 1.1;
  animation: titleSlideUp 1.2s ease-out 0.3s both;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-title-gradient {
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

.portfolio-description {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.95);
  animation: descriptionFadeIn 1.2s ease-out 0.6s both;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* İnline Stats for Hero */
.portfolio-stats-inline {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  animation: statsSlideIn 1.2s ease-out 0.8s both;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 8px;
  animation: numberPulse 2s ease-in-out infinite;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: buttonsSlideUp 1.2s ease-out 0.9s both;
}

.btn-portfolio-primary {
  background: white;
  color: #667eea;
  padding: 18px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-portfolio-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  color: #764ba2;
  text-decoration: none;
}

.btn-portfolio-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn-portfolio-secondary:hover {
  background: white;
  color: #667eea;
  text-decoration: none;
}

/* Portfolio Showcase (Right Column) */
.portfolio-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-container {
  position: relative;
  animation: showcaseFloat 4s ease-in-out infinite;
}

.portfolio-mockup {
  width: 350px;
  height: 450px;
  background: #ffffff;
  border-radius: 25px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #f8fafc, #e2e8f0);
  border-radius: 25px;
  position: relative;
  padding: 40px 30px;
}

.screen-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.portfolio-logo {
  margin-bottom: 40px;
  animation: logoSpin 6s linear infinite;
}

.project-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.project-card {
  background: rgba(102, 126, 234, 0.1);
  border-radius: 15px;
  padding: 20px;
  border-left: 4px solid;
  animation: cardSlideIn 3s ease-in-out infinite;
}

.project-card.web {
  border-left-color: #667eea;
  animation-delay: 0s;
}

.project-card.mobile {
  border-left-color: #4facfe;
  animation-delay: -1s;
}

.project-card.ecommerce {
  border-left-color: #764ba2;
  animation-delay: -2s;
}

.project-type {
  display: block;
  font-size: 14px;
  color: #667eea;
  font-weight: 600;
  margin-bottom: 5px;
}

.project-count {
  font-size: 24px;
  font-weight: 900;
  color: #1a202c;
}

.floating-portfolio-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-portfolio-icons i {
  position: absolute;
  color: rgba(255, 255, 255, 0.3);
  font-size: 20px;
  animation: iconFloat 8s ease-in-out infinite;
}

.floating-portfolio-icons i:nth-child(1) {
  top: 10%;
  left: -20%;
  animation-delay: 0s;
}

.floating-portfolio-icons i:nth-child(2) {
  top: 30%;
  right: -30%;
  animation-delay: -1s;
}

.floating-portfolio-icons i:nth-child(3) {
  bottom: 40%;
  left: -25%;
  animation-delay: -2s;
}

.floating-portfolio-icons i:nth-child(4) {
  bottom: 20%;
  right: -20%;
  animation-delay: -3s;
}

.floating-portfolio-icons i:nth-child(5) {
  top: 50%;
  left: -30%;
  animation-delay: -4s;
}

.floating-portfolio-icons i:nth-child(6) {
  top: 70%;
  right: -25%;
  animation-delay: -5s;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #ffd700, #ff6b6b);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 15%;
  left: 8%;
  animation-duration: 14s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  border-radius: 50%;
  bottom: 20%;
  right: 12%;
  animation-delay: -4s;
  animation-duration: 16s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 40%;
  right: 25%;
  animation-delay: -8s;
  animation-duration: 18s;
}

/* Portfolio Grid Preview in Hero */
.portfolio-preview {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0.6;
  animation: previewFloat 8s ease-in-out infinite;
}

.preview-card {
  width: 150px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: cardPulse 3s ease-in-out infinite;
}

.preview-card:nth-child(2) {
  animation-delay: -1s;
}
.preview-card:nth-child(3) {
  animation-delay: -2s;
}

/* Stats Section */
.stats-portfolio {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.stats-portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(102, 126, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(245, 87, 108, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 50px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-heavy);
  background: rgba(255, 255, 255, 0.95);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.stat-icon svg {
  width: 40px;
  height: 40px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  line-height: 1;
  animation: countUp 2s ease-out;
}

.stat-label {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

/* Filter Section */
.filter-section {
  padding: 120px 0;
  background: white;
}

.filter-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.2;
}

.filter-title-accent {
  background: var(--secondary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filter-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 60px 0;
}

.filter-btn {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 2px solid rgba(102, 126, 234, 0.2);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.portfolio-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.portfolio-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.portfolio-image.web {
  background: var(--primary-gradient);
}

.portfolio-image.ecommerce {
  background: var(--secondary-gradient);
}

.portfolio-image.mobile {
  background: var(--accent-gradient);
}

.portfolio-image.seo {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-view-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.portfolio-view-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}

.portfolio-content-area {
  padding: 30px;
}

.portfolio-category {
  color: #667eea;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.portfolio-project-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.portfolio-project-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.portfolio-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* CTA Section */
.cta-portfolio {
  padding: 120px 0;
  background: var(--portfolio-gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.cta-title-accent {
  background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  line-height: 1.6;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-16 {
  margin-bottom: 4rem;
}

/* Keyframes */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleSlideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes descriptionFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonsSlideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes iconSpin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes portfolioGradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes underlineGrow {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes portfolioShapeFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(-15px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translateY(-40px) rotate(270deg) scale(1.05);
  }
}

@keyframes portfolioParticles {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-120vh);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translateY(-50%) translateX(0px);
  }
  50% {
    transform: translateY(-50%) translateX(-20px);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

/* Yeni Hero Animasyonları */
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes descriptionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statsSlideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes numberPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes showcaseFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes logoSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes cardSlideIn {
  0%,
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
  50% {
    transform: translateX(10px);
    opacity: 0.8;
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .portfolio-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .portfolio-showcase {
    order: -1;
  }

  .portfolio-mockup {
    width: 300px;
    height: 400px;
  }

  .portfolio-title {
    font-size: 4rem;
  }

  .filter-title {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .portfolio-content {
    padding: 0 20px;
    gap: 40px;
  }

  .portfolio-title {
    font-size: 3rem;
  }

  .portfolio-description {
    font-size: 1.2rem;
  }

  .portfolio-stats-inline {
    gap: 20px;
    justify-content: center;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }

  .portfolio-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .portfolio-showcase {
    display: none; /* Mobilde mockup gizle */
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .filter-buttons {
    justify-content: center;
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .filter-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .floating-circles {
    display: none;
  }
}

@media (max-width: 480px) {
  .portfolio-title {
    font-size: 2.2rem;
  }

  .portfolio-description {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .filter-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .btn-portfolio-primary {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .portfolio-badge::before {
    display: none;
  }
}
