/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, #FF6B9D, #E55586);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  padding: var(--spacing-sm) 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 76.5px; /* 127.5px * 0.6 = 76.5px (40% küçültme) */
}

.nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav a {
  color: white;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

/* White button for Sipariş Ver in header */
.nav .btn-primary {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.nav .btn-primary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

/* Marketing Section */
.marketing-section {
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
  overflow: hidden;
}

.marketing-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.marketing-headline {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.marketing-dynamic-text {
  display: inline-block;
  position: relative;
}

.marketing-static-text {
  display: inline-block;
}

.marketing-game-showcase {
  margin-top: var(--spacing-md);
  display: flex;
  justify-content: center;
}

.marketing-game-card {
  max-width: 350px;
  width: 100%;
}

/* Animation Styles */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes flipIn {
  from {
    opacity: 0;
    transform: rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: rotateY(0);
  }
}

@keyframes flipOut {
  from {
    opacity: 1;
    transform: rotateY(0);
  }
  to {
    opacity: 0;
    transform: rotateY(-90deg);
  }
}

.anim-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.anim-fade-out {
  animation: fadeOut 0.5s ease-in-out;
}

.anim-slide-in {
  animation: slideInRight 0.5s ease-in-out;
}

.anim-slide-out {
  animation: slideOutLeft 0.5s ease-in-out;
}

.anim-zoom-in {
  animation: zoomIn 0.5s ease-in-out;
}

.anim-zoom-out {
  animation: zoomOut 0.5s ease-in-out;
}

.anim-flip-in {
  animation: flipIn 0.6s ease-in-out;
}

.anim-flip-out {
  animation: flipOut 0.6s ease-in-out;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--card-bg, linear-gradient(135deg, var(--primary), var(--secondary)));
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  transform: scale(1.1);
  z-index: 1;
  transition: filter 0.3s ease;
}

.game-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  z-index: 2;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.game-card:hover::before {
  filter: blur(0.5px);
}

.game-content {
  position: relative;
  z-index: 3;
  padding: var(--spacing-lg);
  color: white;
}

.game-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.game-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.game-description {
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.game-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto var(--spacing-sm);
}

.step-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.step-description {
  color: var(--text-light);
}

/* Order Form */
.order-form {
  max-width: 600px;
  margin: var(--spacing-lg) auto 0;
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid #E0E0E0;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.file-upload {
  border: 2px dashed var(--primary);
  background: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  background: var(--accent);
}

.file-upload input {
  display: none;
}

.file-upload-label {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.file-preview {
  margin-top: var(--spacing-sm);
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.file-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Footer */
.footer {
  background: linear-gradient(to top, #FF6B9D, rgba(255, 107, 157, 0));
  color: var(--text-dark);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.footer-content {
  margin-bottom: var(--spacing-md);
}

.footer-logo {
  height: 70px;
  margin: 0 auto var(--spacing-sm);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-md);
}

.footer-social a {
  color: var(--text-dark);
  font-size: var(--font-size-xl);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-copyright {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-md);
}

/* ==========================================
   Team Section (Takımımız)
   ========================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  perspective: 1500px;
  justify-content: center;
}

.team-member {
  position: relative;
  height: 380px;
  perspective: 1000px;
}

.team-member-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  cursor: pointer;
}

.team-member.flipped .team-member-inner {
  transform: rotateY(180deg);
}

.team-member-front,
.team-member-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
              0 0 0 3px rgba(255, 107, 157, 0.1);
  transition: box-shadow 0.3s ease;
}

.team-member:hover .team-member-front,
.team-member:hover .team-member-back {
  box-shadow: 0 12px 40px rgba(255, 107, 157, 0.3),
              0 0 0 3px rgba(255, 107, 157, 0.3),
              0 0 30px rgba(255, 107, 157, 0.2);
}

.team-member-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.team-member-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #FF6B9D 0%, #E55586 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  color: white;
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.1s ease-out;
}

.team-member-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top,
    #FF6B9D 0%,
    rgba(255, 107, 157, 0.95) 10%,
    rgba(255, 107, 157, 0.8) 25%,
    rgba(255, 107, 157, 0.5) 50%,
    rgba(255, 107, 157, 0.2) 75%,
    rgba(255, 107, 157, 0) 100%
  );
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.1s ease-out;
  z-index: 2;
}

.team-member-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.team-member-position {
  font-size: var(--font-size-sm);
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.team-member-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Team Card Back Face */
.team-member-back-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: var(--spacing-md);
}

.team-member-back-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.team-member-back-position {
  font-size: var(--font-size-sm);
  opacity: 0.95;
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.team-member-back-bio {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
  max-width: 90%;
}

.team-member-back-icon {
  font-size: 40px;
  margin-bottom: var(--spacing-sm);
  opacity: 0.3;
}

.team-member-flip-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(5px);
  animation: pulse-hint 2s ease-in-out infinite;
}

@keyframes pulse-hint {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ==========================================
   FAQ (Sıkça Sorulan Sorular) Section
   ========================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-white);
  border: none;
  cursor: pointer;
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.faq-icon {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--spacing-md);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--bg-white);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--spacing-lg) var(--spacing-md);
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* ==========================================
   WhatsApp Floating Button
   ========================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  color: white;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
  }
}

/* Mobile WhatsApp button adjustment */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}
