:root {
    --primary-color: #1a1a4d;
    --secondary-color: #6b46c1;
    --accent-color: #9333ea;
    --light-purple: #e9d5ff;
    --text-dark: #1f2937;
    --text-light: #f9fafb;
    --gradient: linear-gradient(135deg, #1a1a4d 0%, #6b46c1 50%, #9333ea 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--gradient);
    min-height: 100vh;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 77, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
/* LOGO GÖRSELİ */
.logo img {
  width: 50px;           /* 120 → 65 yaptık */
  height: 50px;          /* orantılı kutu görünüm */
  border-radius: 15px;   /* yumuşak köşeler */
  object-fit: cover;     /* düzgün oturur */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  vertical-align: middle;
}
.logo img:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.logo span {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #e9d5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .logo img {
    width: 45px;
    height: 45px;
  }

  .logo span {
    font-size: 1.3rem;
  }
}


.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    background: linear-gradient(90deg, #fff, var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Floating Social Media - Yeni Tasarım */
.floating-social {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.floating-social a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: floatSocial 3s ease-in-out infinite;
}

.floating-social a:nth-child(1) {
    animation-delay: 0s;
}

.floating-social a:nth-child(2) {
    animation-delay: 0.3s;
}

.floating-social a:nth-child(3) {
    animation-delay: 0.6s;
}

.floating-social a:nth-child(4) {
    animation-delay: 0.9s;
}

.floating-social a:hover {
    transform: translateX(-10px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-social a i {
    font-size: 1.5rem;
}

.floating-social a span {
    font-weight: 600;
    font-size: 1rem;
}

/* Instagram */
.floating-social a.instagram i {
    color: #E4405F;
}

.floating-social a.instagram span {
    color: #E4405F;
}

/* YouTube */
.floating-social a.youtube i {
    color: #FF0000;
}

.floating-social a.youtube span {
    color: #FF0000;
}

/* TikTok */
.floating-social a.tiktok i {
    color: #000000;
}

.floating-social a.tiktok span {
    color: #000000;
}

/* Twitter */
.floating-social a.twitter i {
    color: #1DA1F2;
}

.floating-social a.twitter span {
    color: #1DA1F2;
}

@keyframes floatSocial {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(147, 51, 234, 0.3);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: floatBubble 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(107, 70, 193, 0.3);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: floatBubble 8s ease-in-out infinite reverse;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    color: var(--text-light);
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* YENİ FOOTER TASARIMI */
footer {
  background: #1e1255;
  color: #ccc;
  padding: 60px 10% 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-left {
  flex: 1;
  min-width: 260px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

.footer-contact, .footer-social {
  flex: 1;
  min-width: 220px;
}

.footer-contact h3,
.footer-social h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-contact p {
  margin: 6px 0;
  font-size: 15px;
  color: #ccc;
}

.footer-contact i {
  color: #d7b4ff;
  margin-right: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  background: #fff;
  color: #2d1b74;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: translateY(-4px);
  background: #d7b4ff;
  color: #2d1b74;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .social-icons {
    justify-content: center;
  }
}


/* Page Container */
.page-container {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 3rem;
    position: relative;
}

.page-container::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 50%;
    top: -300px;
    right: -300px;
    animation: floatBubble 10s ease-in-out infinite;
    z-index: 0;
}

.page-container::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(107, 70, 193, 0.2);
    border-radius: 50%;
    bottom: -250px;
    left: -250px;
    animation: floatBubble 12s ease-in-out infinite reverse;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Referanslar Grid */
.referanslar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.referans-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 150px;
    backdrop-filter: blur(10px);
}

.referans-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.referans-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* Influencerlar */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: white;
    color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.influencerlar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.influencer-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.influencer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.influencer-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.influencer-info {
    padding: 1.5rem;
}

.influencer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.influencer-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--light-purple);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.4);
}

/* === ADMIN PANEL v2 === */
.admin-container {
  max-width: 1200px;
  margin: 100px auto 60px;
  padding: 2rem;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Her bölüm (Referanslar, Influencerlar, vs.) */
.admin-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.admin-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.admin-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--accent-color);
  padding-left: 12px;
}

/* Tablo tasarımı */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
  background: var(--light-purple);
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.admin-table tr:hover td {
  background: #f3e8ff;
}

/* Butonlar */
.btn {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
}

.btn-danger {
  background: #dc2626;
  color: white;
}

.btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.btn-success {
  background: #059669;
  color: white;
}

.btn-success:hover {
  background: #047857;
  transform: translateY(-2px);
}

/* Form düzeni */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.admin-form label {
  font-weight: 600;
  color: var(--primary-color);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--secondary-color);
}

/* Başlık çubuğu */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h2 {
  margin: 0;
}

.admin-header .btn {
  background: var(--secondary-color);
  color: white;
}

/* Mobil düzen */
@media (max-width: 768px) {
  .admin-container {
    padding: 1rem;
  }

  .admin-section {
    padding: 1.5rem;
  }

  .admin-table {
    font-size: 0.9rem;
    display: block;
    overflow-x: auto;
  }

  .admin-table th,
  .admin-table td {
    white-space: nowrap;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .referanslar-grid,
    .influencerlar-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .floating-social {
        right: 15px;
    }
    
    .floating-social a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .floating-social a i {
        font-size: 1.2rem;
    }
    
    .floating-social a span {
        font-size: 0.85rem;
    }
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: white;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.message-success {
    background: #d1fae5;
    color: #065f46;
}

.message-error {
    background: #fee2e2;
    color: #991b1b;
}

/* === Mobile Drawer v3 === */
.hamburger-btn { display: none; background: none; border: none; cursor: pointer; position: fixed; top: 18px; right: 20px; z-index: 2001; width:48px; height:48px; align-items:center; justify-content:center; }
.hamburger-btn svg { width:28px; height:28px; display:block; color: #fff; }
.mobile-drawer { position: fixed; top: 0; right: -100%; width: 85vw; max-width: 360px; height: 100vh; background: var(--gradient) !important; box-shadow: -8px 0 24px rgba(0,0,0,0.3); z-index: 2000; transition: right 0.35s ease; overflow-y: auto; padding-top: 70px; }
.mobile-drawer.open { right: 0; }
.mobile-drawer ul { list-style: none; margin: 0; padding: 16px 20px; display:flex; flex-direction: column; gap: 6px; }
.mobile-drawer a { color: #fff !important; text-decoration: none; display:block; padding: 12px 6px; }
@media (max-width: 768px) {
  .hamburger-btn { display:flex; }
  nav ul, .menu, .navbar ul, header nav ul { display: none !important; }
}
@media (min-width: 769px) {
  .mobile-drawer, .hamburger-btn { display: none !important; }
}
.mobile-drawer-overlay { display: none; position: fixed; inset: 0; z-index: 1999; background: rgba(0,0,0,0.4); transition: opacity 0.25s ease; opacity: 0; }
.mobile-drawer-overlay.visible { display:block; opacity:1; }


/* === Global overflow fix & hamburger positioning (v4) === */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Ensure hamburger always fixed at top-right on mobile */
.hamburger-btn {
  position: fixed !important;
  top: 18px !important;
  right: 20px !important;
  z-index: 9999 !important;
}

/* Influencer card improvements */
.influencer-card, .influencer-item, .card {
  overflow: hidden;
  border-radius: 8px;
  background-clip: padding-box;
}

.influencer-card img, .influencer-item img, .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Make influencer grid responsive and maintain consistent card sizing */
.influencer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.influencer-grid .influencer-card {
  flex: 1 1 calc(100% - 36px);
  max-width: 420px;
}

/* On desktop, allow multiple columns but don't break existing layout */
@media (min-width: 769px) {
  .influencer-grid .influencer-card {
    flex: 0 1 calc(33.333% - 24px);
    max-width: none;
  }
}
/* Ensure drawer doesn't cause horizontal scroll */
.mobile-drawer, .mobile-drawer-overlay {
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}


/* === v5 Influencer & Hero Updates === */
.influencer-card, .influencer-item, .card {
  background: rgba(0,0,0,0.55);
  color: #f1f1f1;
  border-radius: 16px;
  text-align: center;
  padding: 18px;
  flex: 0 1 calc(50% - 20px);
  max-width: 280px;
  transition: transform 0.3s ease;
}
.influencer-card:hover { transform: translateY(-6px); }
.influencer-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid rgba(255,255,255,0.2);
}
.influencer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 20px auto;
}
@media (max-width: 768px) {
  .influencer-card { flex: 1 1 calc(80% - 20px); }
}

/* Hero social floating icons */
.hero-icons {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; z-index: 2; pointer-events: none;
}
.hero-icons .icon {
  position: absolute;
  color: rgba(255,255,255,0.4);
  font-size: 28px;
  animation: floatUp 10s linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.8); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}
html, body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: 100%;
  width: 100%;
  max-width: 100vw;
}

body {
  position: relative;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}
html, body {
  overflow-x: clip !important;  /* hidden yerine clip daha stabil */
  overflow-y: overlay;          /* modern tarayıcıda kayma yapmaz */
  max-width: 100vw !important;
}

body, .page-container, .form-container {
  overscroll-behavior: none;    /* momentum scroll hatasını önler */
}

* {
  box-sizing: border-box;
}

