/*
Theme Name: Spark Digital
Theme URI: https://sparkdigital.az/
Author: Spark Digital
Author URI: https://sparkdigital.az/
Description: Özel geliştirilmiş, yüksek performanslı ve hafif WordPress teması. Elementor bağımsız, Gutenberg odaklı.
Version: 1.0.0
Update URI: false
Text Domain: spark
*/

/* Reset & Basic Variables */
:root {
  --primary-color: #f75c2e; /* Example orange, will refine based on real site */
  --secondary-color: #212529;
  --text-color: #4a4a4a;
  --bg-color: #ffffff;
  --font-family: 'Montserrat', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Modern Header & Glassmorphism (Dark Theme) */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.site-logo {
  max-width: 220px;
  height: auto;
  display: block;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Dropdown Menu Fix */
.main-navigation li {
  position: relative;
  display: flex;
  align-items: center;
}

.main-navigation ul ul {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5px;
  min-width: max-content;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1001;
  margin-top: 10px;
  transition: all 0.2s ease-in-out;
}

/* Add a tiny invisible bridge so hover doesn't break when moving mouse down */
.main-navigation li::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.main-navigation li:hover > ul {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.main-navigation ul ul li {
  width: 100%;
}

.main-navigation ul ul a {
  padding: 8px 15px;
  margin: 0;
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul .current-menu-item > a {
  color: #ffffff;
}



.nav-menu-wrapper > ul > li > a {
  position: relative;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
  padding: 10px 0;
}

.nav-menu-wrapper > ul > li > a:hover,
.nav-menu-wrapper > ul > .current-menu-item > a {
  color: #3b82f6;
}

/* Dropdown Indicator */
.main-navigation .menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-navigation .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
  margin-top: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-navigation .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5f5;
}

/* Polylang Switcher Dropdown */
.language-switcher {
  position: relative;
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.language-switcher li.current-lang {
  display: flex;
  align-items: center;
}

.language-switcher li:not(.current-lang) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5px;
  min-width: max-content;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  z-index: 1001;
  margin-top: 10px;
}

.language-switcher:hover li:not(.current-lang) {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.language-switcher li.current-lang > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
  margin-top: 2px;
  margin-left: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.language-switcher:hover li.current-lang > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

.language-switcher a {
  color: #94a3b8;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  margin: 0;
}

.language-switcher a:hover {
  color: #ffffff;
}

.language-switcher img {
  width: 18px;
  height: auto;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 991px) {
  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    padding: 100px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    align-items: flex-start;
    gap: 30px;
  }

  .nav-menu-wrapper > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
  }

  body.mobile-menu-open .nav-menu-wrapper {
    right: 0;
  }

  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
    pointer-events: none;
  }

  body.mobile-menu-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-toggle {
    display: block;
    z-index: 1000;
    position: relative;
  }

  .main-navigation li {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .main-navigation ul ul {
    position: static;
    display: none;
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    padding: 0 0 0 15px;
    margin: 10px 0 0 0;
    transform: none;
    width: 100%;
  }

  .main-navigation li:hover > ul {
    display: flex;
    transform: none;
  }
}

/* =========================================
   Blog List & Single Design
   ========================================= */

.mw-blog-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(79,70,229,0.05));
  border-radius: 20px;
  margin-bottom: 50px;
}
.mw-blog-header .page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}
.mw-blog-header .page-description {
  font-size: 18px;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
}

.mw-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.mw-blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mw-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.mw-blog-card-image {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}
.mw-blog-card-image img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mw-blog-card:hover .mw-blog-card-image img {
  transform: scale(1.05);
}

.mw-blog-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mw-blog-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
  display: flex;
  gap: 15px;
}
.mw-blog-cat a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.mw-blog-title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.mw-blog-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mw-blog-title a:hover {
  color: var(--primary-color);
}

.mw-blog-excerpt {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.mw-blog-read-more {
  align-self: flex-start;
  padding: 8px 16px;
  font-size: 14px;
}

.mw-no-posts {
  text-align: center;
  padding: 50px;
  background: #f9fafb;
  border-radius: 12px;
  color: #6b7280;
  grid-column: 1 / -1;
}

/* Single Post */
.mw-single-post {
  margin-bottom: 80px;
}

.mw-single-header {
  text-align: center;
  padding: 60px 20px;
  background: transparent;
  margin-bottom: 50px;
}

.mw-single-meta {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mw-single-meta span:not(:last-child):after {
  content: '•';
  margin: 0 10px;
}
.mw-single-cat a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.mw-single-title {
  font-size: 42px;
  line-height: 1.2;
  color: var(--secondary-color);
  max-width: 800px;
  margin: 0 auto 30px;
}

.mw-single-thumbnail {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.mw-single-thumbnail img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.spark-dark-wrapper {
  background-color: #0a0f1c;
  color: #cbd5e1;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

/* Ambient Lights */
.form-ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    z-index: 0;
    animation: form-float-ambient 12s infinite alternate ease-in-out;
    pointer-events: none;
}
.form-light-1 {
    top: 20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: #3b82f6;
    animation-delay: 0s;
}
.form-light-2 {
    top: 60%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: #7c3aed;
    animation-delay: -6s;
}
@keyframes form-float-ambient {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.1); }
}

/* Form Shared */
.form-gradient-text {
    background: linear-gradient(to right, #60a5fa, #a855f7, #f97316, #60a5fa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: form-shine-text 5s linear infinite;
}
@keyframes form-shine-text {
    to { background-position: 200% center; }
}

.form-eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Blog Specific Additions */
.mw-blog-card.form-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.mw-blog-card-image {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.mw-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mw-blog-card.form-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border-color: rgba(96,165,250,0.3);
}
.mw-blog-card-content {
  padding: 30px;
}
.mw-blog-title a {
  color: #ffffff;
}
.mw-blog-excerpt {
  color: #9ca3af;
}
.spark-dark-wrapper .mw-blog-header .page-title {
  color: #fff;
}
.spark-dark-wrapper .mw-blog-header .page-description {
  color: #cbd5f5;
}
.spark-dark-wrapper .mw-blog-date {
  color: #94a3b8;
}
.spark-dark-wrapper .mw-blog-cat a {
  color: #60a5fa;
  background: rgba(59,130,246,0.15);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}
.spark-dark-wrapper .mw-blog-excerpt {
  color: #94a3b8;
}
.spark-dark-wrapper .mw-blog-title a {
  color: #ffffff;
  transition: color 0.3s ease;
}
.spark-dark-wrapper .mw-blog-title a:hover {
  color: #60a5fa;
}
.mw-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8);
    color: white !important;
    border: 2px solid transparent;
    border-radius: 60px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mw-btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.6);
}

/* Comments Section Styling */
.mw-single-comments h2, .mw-single-comments h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.25rem;
}
.mw-single-comments p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.mw-single-comments .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.mw-single-comments .comment-body {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.mw-single-comments .comment-meta {
    margin-bottom: 8px;
    font-size: 0.85em;
    color: #94a3b8;
}
.mw-single-comments .comment-meta a {
    color: #93c5fd;
    text-decoration: none;
}
.mw-single-comments .comment-content {
    color: #cbd5e1;
    line-height: 1.5;
    font-size: 0.95rem;
}
.mw-single-comments .comment-form label {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 0.85rem;
}
.mw-single-comments .comment-form input[type="text"],
.mw-single-comments .comment-form input[type="email"],
.mw-single-comments .comment-form input[type="url"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 0;
    border-radius: 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}
.mw-single-comments .comment-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    min-height: 100px;
    transition: border-color 0.3s;
}
.mw-single-comments .comment-form input[type="text"]:focus,
.mw-single-comments .comment-form input[type="email"]:focus,
.mw-single-comments .comment-form input[type="url"]:focus {
    outline: none;
    border-bottom-color: #3b82f6;
}
.mw-single-comments .comment-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}
.mw-single-comments .comment-form input[type="submit"] {
    background: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mw-single-comments .comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.mw-single-comments .comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.mw-single-comments .comment-form .comment-form-cookies-consent input {
    margin: 0;
}
.mw-single-comments .comment-form .comment-form-cookies-consent label {
    margin: 0;
    display: inline;
}

.mw-single-content-wrapper {
  margin: 0 auto;
}

.single-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .single-page-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.mw-single-content {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
}
.mw-single-content p {
  margin-bottom: 25px;
}
.mw-single-content h2, .mw-single-content h3 {
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}
.mw-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.mw-single-author {
  margin-top: 60px;
  padding: 30px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.mw-author-avatar img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}
.mw-author-info h4 {
  margin: 0 0 5px 0;
  color: var(--secondary-color);
}
.mw-author-info p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

/* Pagination */
.nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  grid-column: 1 / -1;
}
.nav-links a {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-links a:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .mw-single-title { font-size: 30px; }
  .mw-single-author { flex-direction: column; text-align: center; }
}

/* Extracted Homepage CSS */
/* ========================================= */
/* FİNAL TASARIM - ELEMENTOR UYUMLU */
/* ========================================= */

/* --- TİPOGRAFİ VE ANİMASYON --- */
.mw-cursor { display: inline-block; width: 10px; height: 1.2em; background-color: #60a5fa; vertical-align: sub; animation: mw-blink 1s step-end infinite; margin-left: 2px; }
@keyframes mw-blink { 50% { opacity: 0; } }

/* --- IŞIK EFEKTLERİ --- */
.mw-ambient-light { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.35; z-index: 0; animation: mw-float-ambient 12s infinite alternate ease-in-out; pointer-events: none; }
.mw-light-1 { top: 40%; left: 20%; width: 600px; height: 600px; background: #3b82f6; animation-delay: 0s; }
.mw-light-2 { top: 60%; right: 10%; width: 500px; height: 500px; background: #7c3aed; animation-delay: -6s; }
@keyframes mw-float-ambient { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 60px) scale(1.1); } }

/* --- MENÜ AYIRICI ÇİZGİSİ --- */
.mw-header-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

/* --- EFEKTLER --- */
.mw-gradient-text { background: linear-gradient(to right, #60a5fa, #a855f7, #f97316, #60a5fa); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: mw-shine-text 5s linear infinite; }
@keyframes mw-shine-text { to { background-position: 200% center; } }
.mw-pulse-btn { animation: mw-pulse-glow 2s infinite; }
@keyframes mw-pulse-glow { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } }
.mw-pulse-green { animation: mw-pulse-green-glow 2s infinite; }
@keyframes mw-pulse-green-glow { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* --- SCROLL ANİMASYONLARI --- */
.mw-fade-up { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.mw-fade-up.mw-animated { opacity: 1; transform: translateY(0); }
body.elementor-editor-active .mw-fade-up { opacity: 1 !important; transform: none !important; }
.mw-delay-1 { transition-delay: 0.1s; } .mw-delay-2 { transition-delay: 0.2s; } .mw-delay-3 { transition-delay: 0.3s; } .mw-delay-4 { transition-delay: 0.4s; }
@keyframes mw-float-y { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
.mw-floating { animation: mw-float-y 6s ease-in-out infinite; }
body.elementor-editor-active .mw-floating { animation: none; }

/* --- TEMEL YAPI --- */
#mw-page-content {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; 
  color: #e5e7eb;
  background: linear-gradient(180deg, #0b1120 0%, #0c1222 20%, #0e1426 40%, #101728 60%, #111827 80%, #0f1628 100%);
  padding-bottom: 80px; 
  overflow: hidden; 
  position: relative; 
  border-radius: 0 !important;
  margin: 0 !important;
}
.mw-container { max-width: 1440px; margin: 0 auto; padding: 0 30px; position: relative; z-index: 2; }
#mw-page-content * { box-sizing: border-box; }
.mw-section { padding: 100px 0; position: relative; }

/* --- TİPOGRAFİ --- */
.mw-eyebrow { font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: #93c5fd; margin-bottom: 15px; font-weight: 700; display: inline-block; }
.mw-section-title { margin-bottom: 60px; }
.mw-section-title h2 { font-size: clamp(2.2rem, 4vw, 4.5rem); margin: 0; font-weight: 800; line-height: 1.1; color: #ffffff !important; letter-spacing: -0.02em; }
.mw-section-title p { margin-top: 20px; font-size: 1.25rem; color: #9ca3af; max-width: 750px; line-height: 1.6; }

/* --- KART & KUTU --- */
.mw-card, .mw-step, .mw-project, .mw-contact-box { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(12px); border: 1px solid rgba(148,163,184,0.1); box-shadow: 0 15px 40px rgba(0,0,0,0.35); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }

/* --- HERO --- */
#mw-hero { padding-top: 100px; padding-bottom: 100px; }
#mw-hero .mw-hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 60px; align-items: center; }
#mw-hero h1 { font-size: clamp(2.8rem, 5.5vw, 5.5rem); line-height: 1.05; font-weight: 800; margin: 0 0 25px; color: #ffffff; letter-spacing: -0.03em; }
#mw-hero .mw-hero-text { font-size: 1.35rem; color: #cbd5f5; line-height: 1.7; margin-bottom: 35px; max-width: 700px; font-weight: 400; }
#mw-hero .mw-hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 35px; }
#mw-hero .mw-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.6); font-size: 1rem; color: #e5edff; font-weight: 500; transition: 0.3s; }
#mw-hero .mw-pill:hover { background: rgba(96, 165, 250, 0.2); border-color: #60a5fa; }
#mw-hero .mw-pill-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.6); }
#mw-hero .mw-hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }

/* --- BUTONLAR --- */
.mw-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 60px; font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: 0.5px; transition: all 0.3s ease; white-space: nowrap; }
.mw-btn-primary { background: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8); color: white; border: 2px solid transparent; }
.mw-btn-primary:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(37, 99, 235, 0.6); }
.mw-btn-ghost { background: rgba(255, 255, 255, 0.03); border: 2px solid rgba(255, 255, 255, 0.25); color: #fff; }
.mw-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; transform: translateY(-5px); }

/* --- KOD EDİTÖRÜ --- */
.mw-code-mockup { background: #1e293b; border-radius: 16px; border: 1px solid rgba(148, 163, 184, 0.2); box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6); overflow: hidden; font-family: 'Fira Code', 'Consolas', monospace; max-width: 550px; width: 100%; min-height: 300px; }
.mw-code-header { background: rgba(15, 23, 42, 0.8); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(148, 163, 184, 0.1); text-align: left !important; }
.mw-code-dot { width: 12px; height: 12px; border-radius: 50%; }
.mw-dot-red { background: #ef4444; } .mw-dot-yellow { background: #f59e0b; } .mw-dot-green { background: #22c55e; }
.mw-code-title { margin-left: 10px; color: #94a3b8; font-size: 0.85rem; }
.mw-code-body { padding: 20px; color: #e2e8f0; font-size: 1rem; line-height: 1.6; white-space: pre-wrap; overflow-x: hidden; text-align: left !important; }
.mw-cl-purple { color: #c084fc; } .mw-cl-blue { color: #60a5fa; } .mw-cl-green { color: #4ade80; } .mw-cl-gray { color: #94a3b8; font-style: italic; } .mw-cl-yellow { color: #facc15; }

/* --- HİZMETLER --- */
.mw-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.mw-card { padding: 40px; border-radius: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.mw-card:hover { transform: translateY(-10px); border-color: rgba(96, 165, 250, 0.7); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.mw-icon-wrapper { width: 60px; height: 60px; margin-bottom: 25px; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom right, #60a5fa, #a855f7, #f97316); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.mw-card h3 { font-size: 1.6rem; color: #ffffff !important; margin-top: 0; margin-bottom: 15px; font-weight: 700; }
.mw-card p { color: #cbd5f5; line-height: 1.6; font-size: 1.15rem; margin-bottom: 20px; }
.mw-btn-small { font-size: 1.05rem; color: #60a5fa; text-decoration: none; font-weight: 700; margin-top: auto; display: inline-flex; align-items: center; gap: 5px; }

/* --- SÜREÇ --- */
.mw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 60px; position: relative; }
@media (min-width: 1025px) { .mw-steps::after { content: ''; position: absolute; top: 35px; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, rgba(96, 165, 250, 0.1), rgba(96, 165, 250, 0.5), rgba(96, 165, 250, 0.1)); z-index: 0; } }
.mw-step { padding: 30px; border-radius: 20px; position: relative; z-index: 1; background: rgba(15, 23, 42, 0.8); }
.mw-step:hover { transform: translateY(-8px); border-color: rgba(96, 165, 250, 0.5); }
.mw-step-number { width: 45px; height: 45px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2)); color: #93c5fd; border: 2px solid rgba(96, 165, 250, 0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; margin-bottom: 20px; box-shadow: 0 0 20px rgba(96, 165, 250, 0.2); }
.mw-step h3 { font-size: 1.4rem; color: #ffffff; margin: 0 0 12px; font-weight: 700; }
.mw-step p { font-size: 1.1rem; color: #94a3b8; margin: 0; line-height: 1.6; }

/* --- PORTFÖY --- */
.mw-project { padding: 35px; border-radius: 24px; }
.mw-project:hover { border-color: rgba(168, 85, 247, 0.6); transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.4); }
.mw-project-tag { font-size: 0.85rem; text-transform: uppercase; color: #a78bfa; letter-spacing: 1.2px; margin-bottom: 12px; display: inline-block; padding: 5px 10px; background: rgba(167, 139, 250, 0.15); border-radius: 4px; font-weight: 600; }
.mw-project h3 { margin: 0 0 12px; color: #ffffff !important; font-size: 1.5rem; font-weight: 700; }
.mw-project p { color: #cbd5f5; font-size: 1.1rem; line-height: 1.6; margin-bottom: 18px; }
.mw-link { color: #60a5fa; text-decoration: none; font-size: 1.15rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.mw-link:hover { gap: 12px; color: #93c5fd; }

/* --- İLETİŞİM --- */
.mw-contact-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 30px; padding: 70px 30px; border-radius: 30px; background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.95)); border: 1px solid rgba(129, 140, 248, 0.3); position: relative; overflow: hidden; }
.mw-contact-box::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; background: #22c55e; filter: blur(150px); opacity: 0.15; pointer-events: none; }
.mw-contact-box h2 { color: #ffffff !important; font-size: 2.8rem !important; margin-bottom: 10px; line-height: 1.1; }
.mw-contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; width: 100%; }

.mw-btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 36px; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; border-radius: 60px; font-weight: 700; font-size: 1.3rem; text-decoration: none; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); transition: all 0.3s ease; }
.mw-btn-whatsapp:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(37, 211, 102, 0.6); }
.mw-whatsapp-icon-box { width: 38px; height: 38px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 15px rgba(255,255,255, 0.4); margin-right: 12px; }
.mw-whatsapp-svg { fill: #25D366; width: 24px; height: 24px; }
.mw-btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 30px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); color: #cbd5f5; border-radius: 60px; font-weight: 600; font-size: 1.05rem; text-decoration: none; transition: all 0.3s ease; }
.mw-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; transform: translateY(-3px); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .mw-section { padding: 80px 0; }
  .mw-container { padding: 0 20px; }
  #mw-hero .mw-hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  #mw-hero h1 { font-size: 3rem; margin-left: auto; margin-right: auto; }
  #mw-hero .mw-hero-text { margin-left: auto; margin-right: auto; font-size: 1.2rem; }
  #mw-hero .mw-hero-badges { justify-content: center; }
  #mw-hero .mw-hero-actions { justify-content: center; flex-direction: column; }
  #mw-hero .mw-btn { width: 100%; }
  .mw-code-mockup { margin: 0 auto; min-height: auto; }
  .mw-contact-box { padding: 50px 20px; }
  .mw-contact-box h2 { font-size: 2.2rem !important; }
  .mw-contact-actions { flex-direction: column; }
  .mw-btn-whatsapp, .mw-btn-secondary { width: 100%; }
}
@media (max-width: 600px) {
  .mw-section-title h2 { font-size: 2.2rem; }
  #mw-hero h1 { font-size: 2.5rem; }
  .mw-grid-3 { grid-template-columns: 1fr; }
  .mw-steps { grid-template-columns: 1fr; }
  .mw-step { text-align: center; display: flex; flex-direction: column; align-items: center; }
}

/* Extracted Footer CSS */
/* ========================================= */
/* FİNAL FOOTER (GRADYAN ÇİZGİ GERİ GELDİ) */
/* ========================================= */

#mw-footer {
  position: relative;
  margin-top: -2px !important; 
  padding: 80px 0 50px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, #0f1628 0%, #020617 100%) !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #9ca3af;
  overflow: hidden;
  z-index: 10;
}

#mw-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0) 0%, 
    rgba(96, 165, 250, 0.5) 50%,
    rgba(255,255,255,0) 100%
  );
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.4);
  z-index: 15;
}

#mw-footer .mw-container {
  max-width: 1440px; margin: 0 auto; padding: 0 30px; position: relative; z-index: 2;
}

.mw-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mw-footer-brand-logo {
  max-width: 330px !important;
  width: 230px !important;
  height: auto !important;
  margin-bottom: 20px;
  display: block;
}

.mw-footer-brand h2 {
  font-size: 2.2rem; font-weight: 800; margin: 0 0 25px; color: #fff; letter-spacing: -0.02em;
}
.mw-footer-gradient {
  background: linear-gradient(to right, #60a5fa, #a855f7, #f97316);
  -webkit-background-clip: text; color: transparent;
}
.mw-footer-brand p {
  line-height: 1.8; font-size: 1.2rem; max-width: 400px; color: #cbd5f5;
}

.mw-footer-col h4 {
  color: #fff; font-size: 1.4rem; font-weight: 700; margin: 0 0 30px;
}

.mw-footer-links { list-style: none; padding: 0; margin: 0; }
.mw-footer-links li { margin-bottom: 15px; }
.mw-footer-links a {
  color: #9ca3af; text-decoration: none; font-size: 1.2rem; transition: all 0.3s ease; display: inline-block; font-weight: 500;
}
.mw-footer-links a:hover {
  color: #60a5fa; transform: translateX(8px);
}

.mw-social-row { display: flex; gap: 18px; }
.mw-social-btn {
  width: 55px; height: 55px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; text-decoration: none;
}
.mw-social-btn svg {
  width: 24px; height: 24px; fill: #ffffff; transition: transform 0.3s;
}
.mw-social-btn:hover {
  background: rgba(96, 165, 250, 0.25); border-color: #60a5fa;
  transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.mw-social-btn:hover svg { transform: scale(1.1); }

.mw-footer-bottom {
  padding-top: 35px; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem;
}

@media (max-width: 900px) {
  .mw-footer-top { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .mw-footer-brand p { margin: 0 auto; }
  .mw-footer-brand-logo { margin-left: auto; margin-right: auto; }
  .mw-social-row { justify-content: center; }
  .mw-footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* PORTFOLIO & CARD STYLES */

/* ========================================= */
/* TÜM PROJELER SAYFASI (DÜZELTİLMİŞ RESİM AYARLARI) */
/* ========================================= */

/* --- GENEL AYARLAR --- */
#mw-portfolio-page {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #e5e7eb;
  background: linear-gradient(180deg, #0b1120 0%, #0f1628 100%);
  padding-bottom: 100px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

#mw-portfolio-page * { box-sizing: border-box; }

.mw-container {
  max-width: 1440px; margin: 0 auto; padding: 0 30px; position: relative; z-index: 2;
}

/* --- MENÜ AYIRICI ÇİZGİ --- */
.mw-header-separator {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  position: absolute; top: 0; left: 0; z-index: 5;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

/* --- IŞIK EFEKTLERİ --- */
.mw-ambient-light { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.3; z-index: 0; pointer-events: none; }
.mw-light-1 { top: 10%; left: 20%; width: 500px; height: 500px; background: #3b82f6; animation: mw-float 10s infinite alternate; }
.mw-light-2 { top: 40%; right: 10%; width: 600px; height: 600px; background: #7c3aed; animation: mw-float 8s infinite alternate-reverse; }
@keyframes mw-float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 50px); } }

/* --- BAŞLIK ALANI --- */
.mw-page-header {
  padding: 120px 0 60px;
  text-align: center;
}
.mw-page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff;
}
.mw-gradient-text {
  background: linear-gradient(to right, #60a5fa, #a855f7, #f97316);
  -webkit-background-clip: text; color: transparent;
}
.mw-page-header p {
  color: #9ca3af; font-size: 1.2rem; max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* --- FİLTRE BUTONLARI --- */
.mw-filter-nav {
  display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap;
}
.mw-filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5f5;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mw-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff;
}
.mw-filter-btn.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: transparent; color: #fff;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* --- PROJE IZGARASI (GRID) --- */
.mw-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
}

/* --- PROJE KARTI --- */
.mw-portfolio-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mw-portfolio-card.hide {
  opacity: 0; transform: scale(0.9); pointer-events: none; position: absolute; z-index: -1;
}

.mw-portfolio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* --- KART GÖRSEL ALANI (DÜZELTİLDİ) --- */
.mw-card-thumb {
  width: 100%;
  /* Sabit yükseklik yerine oran kullanıyoruz (16:9 geniş ekran) */
  aspect-ratio: 16 / 9;
  height: auto; 
  background: #1e293b;
  position: relative;
  overflow: hidden;
  display: flex; 
  padding: 0 !important; 
}

/* Yeni Resim Sınıfı (DÜZELTİLDİ) */
.mw-card-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Kutuyu tamamen doldurur */
  object-position: top center !important; /* Resmin üst kısmını gösterir (Header görünsün diye) */
  transition: transform 0.5s ease;
  margin: 0 !important;
}

/* Hover durumunda resme zoom efekti */
.mw-portfolio-card:hover .mw-card-image {
  transform: scale(1.1);
}

/* Kart İçeriği */
.mw-card-content { padding: 30px; }

.mw-card-tags {
  display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap;
}
.mw-tag {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 5px 12px; border-radius: 6px;
  font-weight: 600;
}
.tag-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.tag-purple { background: rgba(168, 85, 247, 0.15); color: #a78bfa; }
.tag-orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }

.mw-card-content h3 {
  margin: 0 0 10px; font-size: 1.5rem; font-weight: 700; color: #fff;
}
.mw-card-content p {
  color: #94a3b8; font-size: 1rem; line-height: 1.6; margin-bottom: 25px;
}

.mw-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: gap 0.3s;
}
.mw-card-link:hover { gap: 12px; color: #60a5fa; }

/* --- ALT CTA --- */
.mw-portfolio-cta {
  margin-top: 100px;
  text-align: center;
  padding: 60px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.mw-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 18px 40px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.2rem;
  margin-top: 25px; transition: transform 0.3s, box-shadow 0.3s;
}
.mw-cta-btn:hover {
  transform: translateY(-5px); box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
}

/* Mobil Uyum */
@media (max-width: 768px) {
  .mw-portfolio-grid { grid-template-columns: 1fr; }
  .mw-page-header h1 { font-size: 2.5rem; }
  .mw-filter-nav { gap: 10px; }
  .mw-filter-btn { padding: 8px 16px; font-size: 0.9rem; }
}
