 :root {
     --bg-color: #0A0A0A;
     --text-color: #F5F5F5;
     --accent-color: #ceff45;
     --accent-color-hover: #b4e53c;
     --border-color: rgba(255, 255, 255, 0.1);
     --card-bg-color: #1A1A1A;
     --container-padding: 0 8%;
     --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
     --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
 }

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

 html {
     font-size: 16px;
 }

 body {
     background-color: var(--bg-color);
     color: var(--text-color);
     font-family: 'Inter', sans-serif;
     overflow-x: hidden;
     /*cursor: none*/
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
 }

 a,
 button {
     /*cursor: none*/
 }

 .text-accent {
     color: var(--accent-color);
 }

 .custom-cursor {
     position: fixed;
     top: 0;
     left: 0;
     width: 32px;
     height: 32px;
     border: 2px solid var(--accent-color);
     border-radius: 50%;
     pointer-events: none;
     z-index: 10000;

     /* Performans için GPU hızlandırması */
     will-change: transform, width, height, background-color;
     transform: translate3d(-50%, -50%, 0);

     /* Yumuşak geçişler */
     transition:
         width 0.4s var(--ease-out-quint),
         height 0.4s var(--ease-out-quint),
         background-color 0.4s var(--ease-out-quint);
 }


 .herosub span {
     font-size: clamp(2.5rem, 9vw, 9rem) !important;
 }

 .custom-cursor.hovered {
     width: 64px;
     height: 64px;
     background-color: rgba(206, 255, 69, 0.2);
 }

 #tsparticles {
     position: fixed;
     inset: 0;
     z-index: 1;
 }

 #main-content {
     position: relative;
     z-index: 10;
     opacity: 0;
     will-change: opacity;
 }

 #preloader {
     position: fixed;
     inset: 0;
     background: var(--bg-color);
     z-index: 9999;
     display: flex;
     align-items: center;
     justify-content: center;
 }




 .preloader-text-wrapper {
     overflow: hidden;
 }

 #preloader-text {
     font-size: clamp(2rem, 5vw, 3rem);
     font-weight: 700;
     transform: translateY(100%);
     will-change: transform;
 }

 #header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     padding: 1.5rem 8%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     z-index: 100;
     transform: translateY(0);
     transition: transform 0.6s var(--ease-in-out-cubic);
 }

 #header.hidden {
     transform: translateY(-110%);
 }

 #header::before {
     content: '';
     position: absolute;
     inset: 0;
     background: rgba(10, 10, 10, 0.6);
     backdrop-filter: blur(12px);
     -webkit-backdrop-filter: blur(12px);
     z-index: -1;
 }

 .logo {
     font-size: 1.75rem;
     font-weight: 700;
     color: var(--text-color);
 }

 .logo-link {
     text-decoration: none;
 }

 .logo span {
     color: var(--accent-color);
 }

 #header nav {
     display: flex;
     gap: 2.5rem;
 }

 .nav-item {
     color: var(--text-color);
     text-decoration: none;
     font-weight: 500;
     position: relative;
     padding: 0.5rem 0;
 }

 .nav-item::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 2px;
     background: var(--accent-color);
     transform: scaleX(0);
     transform-origin: right;
     transition: transform 0.6s var(--ease-out-quint);
 }

 .nav-item:hover::after {
     transform: scaleX(1);
     transform-origin: left;
 }

 .cta-button {
     background-color: var(--accent-color);
     color: var(--bg-color);
     padding: 0.75rem 1.5rem;
     border-radius: 50px;
     font-weight: 700;
     text-decoration: none;
     transition: transform 0.3s var(--ease-out-quint);
     will-change: transform;
 }

 .cta-button.btn-nav {
     transform: translate(0px, 0px) !important;
 }

 .cta-button:hover {
     transform: scale(1.05);
 }

 section {
     padding: 120px 8%;
     width: 100%;
     position: relative;
 }

 .section-title {
     font-size: clamp(2.5rem, 8vw, 5rem);
     font-weight: 900;
     text-align: center;
     margin-bottom: 4rem;
 }

 #hero {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .hero-title {
     font-size: clamp(3rem, 10vw, 9rem);
     font-weight: 900;
     line-height: 1.1;
     text-align: center;
 }

 .hero-subtitle {
     font-size: clamp(1rem, 2vw, 1.25rem);
     text-align: center;
     max-width: 600px;
     margin: 2rem auto 0;
     color: rgba(255, 255, 255, 0.7);
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
     gap: 2rem;
 }

 .service-card {
     background: var(--card-bg-color);
     border: 1px solid var(--border-color);
     padding: 2.5rem 2rem;
     border-radius: 15px;
     transition: transform 0.4s var(--ease-out-quint), background 0.4s var(--ease-out-quint);
     will-change: transform;
     position: relative;
     overflow: hidden;
     opacity: 1;
 }

 .service-card:hover {
     transform: translateY(-10px);
     background: #252525;
 }

 .card-icon {
     font-size: 2.5rem;
     margin-bottom: 1.5rem;
 }

 .service-card h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     position: relative;
     z-index: 2;
 }

 .service-card p {
     color: rgba(255, 255, 255, 0.7);
     line-height: 1.6;
     position: relative;
     z-index: 2;
 }

 .card-shine {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: radial-gradient(circle at var(--x) var(--y), rgba(206, 255, 69, 0.15) 0%, rgba(206, 255, 69, 0) 50%);
     opacity: 0;
     transition: opacity 0.5s var(--ease-out-quint);
     pointer-events: none;
     z-index: 1;
 }

 .service-card:hover .card-shine,
 .project-card:hover .card-shine {
     opacity: 1;
 }




 .sticky-container {
     height: 100vh;
     width: 100%;
     position: sticky;
     top: 0;
     overflow: hidden;
 }

 .horizontal-scroll-container {
     height: 100%;
     width: 300%;
     display: flex;
     will-change: transform;
 }

 .showcase-slide {
     width: 100vw;
     height: 100%;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     gap: 3rem;
     padding: 0 8%;
 }

 .slide-text {
     text-align: center;
     max-width: 500px;
 }

 .slide-text h3 {
     font-size: clamp(2rem, 5vw, 3rem);
     font-weight: 700;
     margin-bottom: 1rem;
 }

 .slide-text p {
     color: rgba(255, 255, 255, 0.8);
     line-height: 1.7;
 }

 .slide-image-wrapper {
     width: 100%;
     max-width: 600px;
     aspect-ratio: 4 / 3;
     border-radius: 15px;
     overflow: hidden;
 }

 .image-reveal-mask {
     width: 100%;
     height: 100%;
     transform: translateY(101%);
     will-change: transform;
 }

 .image-reveal-mask img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }


 .projects-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     gap: 2rem;
 }

 .project-card {
     background-color: var(--card-bg-color);
     border-radius: 15px;
     overflow: hidden;
     text-decoration: none;
     color: var(--text-color);
     border: 1px solid var(--border-color);
     transition: transform 0.4s var(--ease-out-quint);
     position: relative;
     opacity: 1;
 }

 .project-card:hover {
     transform: translateY(-10px);
 }

 .project-card-image {
     width: 100%;
     aspect-ratio: 16 / 10;
     overflow: hidden;
 }

 .project-card-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.6s var(--ease-out-quint);
 }

 .project-card:hover .project-card-image img {
     transform: scale(1.05);
 }

 .project-card-content {
     padding: 1.5rem;
     position: relative;
     z-index: 2;
     background: var(--card-bg-color);
 }

 .project-card-content h3 {
     font-size: 1.5rem;
     margin-bottom: 0.75rem;
 }

 .project-card-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
 }

 .project-card-tags span {
     background: rgba(255, 255, 255, 0.1);
     padding: 0.25rem 0.75rem;
     border-radius: 50px;
     font-size: 0.875rem;
 }

 #marquee {
     padding: 4rem 0;
     border-top: 1px solid rgba(255, 255, 255, 0.2);
     border-bottom: 1px solid rgba(255, 255, 255, 0.2);
     overflow: hidden;
 }

 .marquee-inner-wrap {
     display: flex;
     width: fit-content;
     animation: marquee 50s linear infinite;
 }

 .marquee-inner {
     display: flex;
     flex-shrink: 0;
 }

 .marquee-inner span {
     font-size: clamp(2rem, 6vw, 4rem);
     font-weight: 900;
     color: var(--text-color);
     padding: 0 1rem;
     white-space: nowrap;
 }

 .marquee-inner span:nth-child(2n) {
     color: var(--accent-color);
 }

 @keyframes marquee {
     from {
         transform: translateX(0);
     }

     to {
         transform: translateX(-100%);
     }
 }

 #footer {
     min-height: 70vh;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
 }

 .footer-title {
     font-size: clamp(3rem, 8vw, 7rem);
     font-weight: 900;
     margin-bottom: 3rem;
     line-height: 1.1;
 }

 .reveal-by-line,
 .reveal-card,
 .image-reveal-mask {
     opacity: 1;
 }

 .reveal-by-char {
     display: block;
 }

 .reveal-by-char>span {
     display: inline-block;
     transform: translate(0, 100%) rotate(5deg);
     opacity: 0;
     will-change: transform, opacity;
 }

 @media (max-width: 900px) {
     .projects-grid {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 768px) {
     .services-grid {
         grid-template-columns: 1fr;
     }
 }


 .service-card {
     position: relative;
     padding: 1.5rem;
     background: #222;
     /* örnek arka plan */
     border-radius: 8px;
     box-shadow: 0 0 10px rgb(0 0 0 / 0.3);
     color: white;
 }

 .icon-title {
     display: flex;
     align-items: center;
     gap: 0.75rem;
     /* ikon ile başlık arası boşluk */
     margin-bottom: 0.75rem;
 }



 .icon-title h3 {
     font-size: 1.25rem;
     font-weight: 700;
     margin: 0;
 }

 /* Paragraf */
 .service-card p {
     font-size: 1rem;
     line-height: 1.5;
     color: rgba(255 255 255 / 0.8);
 }

 .icon-title {
     display: flex;
     align-items: center;
     /* dikeyde ortala */
     gap: 0.75rem;
     /* ikon ile başlık arası boşluk */
 }

 .card-icon {
     font-size: 1.5rem;
     color: #CEFF45;
     display: flex;
     align-items: center;
     justify-content: center;
 }



 .project-card-content {
     padding: 1.5rem;
     position: relative;
     z-index: 2;
     background: var(--card-bg-color);
     min-height: 180px;
     /* ihtiyaca göre ayarla */
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     /* içeriği yukarı hizala */
     gap: 0.75rem;
     /* içerik elemanları arasında boşluk */
     color: white;
     /* arka plan koyuysa görünürlük için */
 }



 .paragraph {
     color: rgba(168, 168, 168, 0.8);
     font-size: 12px;
     margin-bottom: 13px;
 }

 .project-card-content {
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     height: 100%;
 }

 .project-card-content .paragraph {
     flex-grow: 1;
     margin-bottom: 1rem;
     /* biraz boşluk bırakmak istersen */
 }

 .project-card-tags {
     margin-bottom: 1rem;
     /* isteğe bağlı boşluk */
 }

 .cta-button.redirect {
     align-self: flex-start;
     /* sola hizalama, isteğe bağlı */
 }


 .footer-buttons {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
     justify-content: center;
     margin-top: 1rem;
 }

 .cta-button i {
     margin-right: 0.5rem;
     font-size: 1.2rem;
     vertical-align: middle;
 }

 ::-webkit-scrollbar {
     width: 10px;
     height: 10px;
 }

 /* Scroll arka planı (track) */
 ::-webkit-scrollbar-track {
     background: #1a1a1a;
     /* koyu arka plan, uyum için */
     border-radius: 10px;
 }

 /* Scroll "thumb" (kaydırma çubuğu) */
 ::-webkit-scrollbar-thumb {
     background-color: var(--accent-color);
     border-radius: 10px;
     border: 2px solid #1a1a1a;
     /* track ile uyumlu sınır */
 }

 /* Scroll üzerine gelince renk koyulaşsın */
 ::-webkit-scrollbar-thumb:hover {
     background-color: var(--accent-color-hover);
 }

 * {
     pointer-events: auto;
     user-select: none;
     user-drag: none;
     -webkit-user-drag: none;
     user-select: none;
     -moz-user-select: none;
     -webkit-user-select: none;
     -ms-user-select: none;
 }

 @media (pointer: coarse),
 (hover: none),
 (max-width: 768px) {
     .custom-cursor {
         display: none !important;
     }
 }



 @media (max-width: 768px) {
     .slide-text {
         width: 300px;
     }

     .showcase-slide:last-child .slide-text {
         margin-right: 50px !important;
     }


     .herosub span {
         font-size: clamp(2rem, 9vw, 9rem) !important;
     }

     #preloader-text {
         font-size: clamp(3rem, 5vw, 3rem);
         font-weight: 700;
         transform: translateY(100%);
         will-change: transform;
     }

     nav {
         display: none !important;
     }
 }


 .center-container {
     margin-top: 15px;
     display: flex;
     justify-content: center;
     align-items: center;
 }