:root {
    --bg-color: #000;
    --text-color: #e0e0e0;
    --accent-color: #71f3c0;
    --section-gap: 120px; 
}




::-webkit-scrollbar {
    width: 12px; 
}

::-webkit-scrollbar-track {
    background: #000; 
    border-left: 1px solid #111; 
}


::-webkit-scrollbar-thumb {
    background-color: #000; 
    border-radius: 10px;    
    border: 2px solid #000; 
    transition: background-color 0.3s ease;
}


::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color); 
}


body {
    animation: pageFadeIn 1s ease-in-out;
}

@keyframes pageFadeIn {
    0% {
        opacity: 0;
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Archivo', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

header {
    text-align: center;
    background-color: #000;
    padding-top: 5vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}




.logo {
    width: 250px;
    max-width: 50%;
    height: auto;
    position: relative;
    z-index: 10;
    display: inline-block;
    margin-bottom: 0;
	top:4vw;
}

.hero-video-container {
    position: relative;
    width: 100%;           
    max-width: 100%;   
    height: 65vh;
    margin: -15vh auto 10vh auto;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;  
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.95;
    display: block;
	padding-right:20px!important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        #000 0%,
        transparent 20%,
        transparent 70%,
        #000 100%
    );
}

.hero-overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: linear-gradient(
        to bottom,
        #000 0%,
        transparent 70%,
        transparent 30%,
        #000 100%
    );
}

.noun-text {
    font-size: 1.2rem;
    margin: -40px auto 10px auto;
    color: #ccc;
    font-weight: 200;
    font-style: italic;
    position: relative;
    z-index: 10;
    text-shadow: 0 4px 20px #000;
    padding: 0 20px;
}

.definition-text {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #ccc;
    font-weight: 300;
    position: relative;
    z-index: 10;
    text-shadow: 0 4px 20px #000;
    font-style: normal;
    padding: 0 20px;
}

.sub-hero-title {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 1.5rem;
    position: relative;
    z-index: 10;
   
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px 0 10px; 
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 0; 
    margin-top: 40px;
}

.service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: contain; 
}

.service-item:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.service-item h3 {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 120px;
    cursor: grab;
    transition: height 0.3s ease-in-out;
    
    touch-action: pan-y;
    
}

.slider-container:active {
    cursor: grabbing;
}

.slider-mask {
       overflow: hidden;
    width: 100%;
    user-select: none;
    position: relative;
}

.slider-track {
   display: flex;
    width: 100%;
    flex-wrap: nowrap; 
    transition: transform 0.5s ease-in-out;
    align-items: flex-start;
    will-change: transform; 
}

.slide-group {
 
    min-width: 100%;
    flex: 0 0 100%; 
    width: 100%;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-content: start;
    padding-bottom: 30px; 
}

.portfolio-item {
background-color: #000;
    position: relative;
    overflow-y: hidden;
        overflow-x: visible;
transition: all 0.2s ease-out;
    aspect-ratio: 16/9;
    border-bottom: 1px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.portfolio-itemson {
background-color: #000;
    position: relative;
    overflow-y: hidden;
        overflow-x: visible;
transition: all 0.2s ease-out;
    aspect-ratio: 16/9;
    border-bottom: 1px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease-out;
}


.portfolio-img {
   width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all 0.2s ease;
    
 
filter: grayscale(0%) brightness(1);
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.2s ease;}



.portfolio-item:hover .portfolio-img {
    opacity: 1;
    transform: scale(1.0);
}

.portfolio-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, transparent);
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.client-logo {
height: 60px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    position: relative;
    z-index: 11;
    filter: none !important;
}
.client-logoson {
height: 60px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    position: relative;
    z-index: 11;
    filter: none !important; 
    visibility:hidden!important;
}


.project-desc {
   font-size: 0.85rem;
    text-align: right;
    max-width: 60%;
    color: #bbb;
    line-height: 1.3;
    position: relative;
    z-index: 11;
    
}

.project-descson {
   font-size: 0.85rem;
    text-align: right;
    max-width: 60%;
    color: #bbb;
    line-height: 1.3;
    position: relative;
    z-index: 11;
}





.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 0px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 0%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

.slider-btn:hover {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 10px var(--accent-color);
}

.prev-btn { left: -70px; }
.prev-btn:hover {
    transform: translateY(-50%) translateX(-5px);
}
.next-btn { right: -70px; }
.next-btn:hover {
    transform: translateY(-50%) translateX(5px);
}

footer {
    text-align: center;
    padding: 120px 40px 40px 40px;
    background-color: #000;
    border-top: 1px solid #1a1a1a;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
    align-items: center;
    font-size: 1.3rem;
}

.contact-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.contact-link {
    color: #ccc;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 30px;
    border-top: 1px solid #222;
    max-width: 250px;
    margin: 0 auto;
}

.social-links a {
    color: #666;
    font-size: 1.4rem;
    transition: all 0.3s;
}

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

@media (max-width: 768px) {
    
    header { padding-left: 0; padding-right: 0; }

    .hero-video-container { 
        width: 100%; 
        height: 60vh; 
        
transform: scale(1.1);
 padding-right:0!important;
 padding-left:10px;
        margin-top: -25vh; 
        
    
		margin-bottom:-10vh;
    }

    .hero-overlay {
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    

    
    .logo {
        width: 100px; max-width: 100px; 
        margin-left: auto; margin-right: auto; display: block;margin-bottom:20px;
    }

    .noun-text, .definition-text, .sub-hero-title {
        width: 85%; margin-left: auto; margin-right: auto; padding: 0;
    }
    
    .project-desc {
        display:none;
    }
    
    .portfolio-item {
         aspect-ratio: 16/9; 
    }
    
    .client-logo {
height: 40px;
    max-width: 70px;
    margin-top:-15px;
}

    .definition-text { font-size: 1rem; margin-bottom: 40px; }
    .definition-text br { display: none; }
    .sub-hero-title { font-size: 1rem; }
    .service-item h3 { font-size: 1rem; }
    .contact-icon { font-size: 1rem; }
    .noun-text { font-size: 0.8rem; margin-top: 0; }
    .contact-info, .contact-link, .social-links a { font-size: 1rem; }

    .container { width: 85%; max-width: 85%; margin: 0 auto; padding: 0; }
    footer { padding-left: 7.5%; padding-right: 7.5%; }

    .services-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 50px 20px; 
    }
    
    hr { margin: 80px 0 !important; }

    .slider-container { margin-bottom: 80px;margin-left:2px;
    margin-right:2px;
    z-index:20;}
    .slide-group { grid-template-columns: repeat(1, 1fr); 
        gap: 25px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 30px;
        box-sizing: border-box;
    }
    .slider-btn { display: none; }

    .portfolio-img {
        opacity: 1;
        transition: none;
    }
	
	footer {
    padding: 80px 40px 40px 40px;
 
}
}


.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
    filter: blur(5px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}



@keyframes fadeInUpSlow {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.noun-text {
    animation: fadeInUpSlow 1.1s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.definition-text {
    animation: fadeInUpSlow 1.2s ease-out forwards;
    animation-delay: 0.6s; 
    opacity: 0;
}

.sub-hero-title {
    animation: fadeInUpSlow 1.3s ease-out forwards;
    animation-delay: 1.0s; 
    opacity: 0;
}

.services-grid {
    animation: fadeInUpSlow 1.4s ease-out forwards;
    animation-delay: 1.0s; 
    opacity: 0;
}

.contact-link {
    position: relative;
    text-decoration: none;
    display: inline-block; 
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.contact-link:hover::after {
    visibility: visible;
    transform: scaleX(1);
}

.marquee-container {
    width: 100%;
    overflow: hidden; 
    background-color: #000; 
    padding: 30px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    white-space: nowrap;
    position: relative;
    margin-top: 60px; 

}

.marquee-content {
    display: inline-block;
    animation: marqueeScroll 35s linear infinite;
}

.marquee-content span {
    font-size: 3rem; 
    font-weight: 700;
    color: #333333;
    margin: 0 20px;
    transition: color 0.3s ease;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.marquee-container:hover .marquee-content span, .marquee-container:hover .marquee-content .dot { color: var(--accent-color); text-shadow: 0 0 10px rgba(113, 243, 192, 0.2); }

.marquee-content .dot {
    color: #333333;
    font-size: 1.5rem;
    font-weight: bold;     
    display: inline-block; 
    vertical-align: middle; 
    position: relative;    
    bottom: 0.6vw;            
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
  
        transform: translateX(-50%); 
    }
}



@media (max-width: 768px) {
    .marquee-content span {
        font-size: 1.8rem;
    }
 
    
 #backToTop.shifted {
    position: fixed !important; 
    bottom: 130px !important; 
    transition: bottom 0.4s ease-in-out; 
}

.copyright {
    margin-bottom: 20px;
}


.project-descson {
   font-size: 0.8rem;
    text-align: left;
    max-width: 80%;
    color: #bbb;
    line-height: 1.3;
    position: relative;
    z-index: 11;
}

.client-logoson {
display:none;
}






.marquee-content .dot {
    color: #333333;
    font-size: 1.1rem;
    font-weight: bold;     
    display: inline-block; 
    vertical-align: middle; 
    position: relative;    
    bottom: 1.75vw;            
}

}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
    border: 0px solid var(--accent-color);
    border-radius: 0%; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10002; 
    
    /* GİZLEMEYİ ZORLA */
    pointer-events: none !important;
    visibility: hidden !important; 
    opacity: 0 !important;
    
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
opacity: 1!important; 
    pointer-events: all!important; 
    visibility: visible!important;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--accent-color);
}

.copyright {
    font-size: 0.8rem;
    color: #555;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


@media (min-width: 769px) {

    .services-grid:hover .service-item {
        filter: blur(1.5px);
        opacity: 0.4;
        transform: scale(0.98);
        transition: all 0.2s ease;
    }


    .services-grid .service-item:hover {
        filter: blur(0);
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 10;
    }
}

@media (min-width: 769px) {
    

 .portfolio-img {
        filter: grayscale(100%) brightness(0.7) !important;
        transition: all 0.2s ease;
    }
    
    .slide-group {
        padding-bottom: 30px; 
    }


  .portfolio-item:hover .portfolio-img {
        filter: grayscale(0%) brightness(1) !important;
        transform: scale(1);
        transition: all 0.2s ease;
    }

  .portfolio-item:hover .project-desc {
    color: #fff;
}

  .portfolio-item:hover .project-descson {
    color: #fff;
}
  
    .slide-group:hover .portfolio-item {
        opacity: 0.4;              
        filter: blur(2px);        
        transform: scale(0.98);   
        transition: all 0.2s ease-out;
        
    }
    
       .slide-group:hover .portfolio-itemson {
        opacity: 0.4;              
        filter: blur(2px);        
        transform: scale(0.98);   
        transition: all 0.2s ease-out;
        
    }


    .slide-group .portfolio-item:hover {
        opacity: 1;              
        filter: blur(0);           
        transform: scale(1.02);   
        z-index: 20;              
        box-shadow: 0 20px 50px rgba(0,0,0,0.9); 
        transition: all 0.2s ease;
    }

    

@media (max-width: 768px) {
    .project-desc { display: none; }
    .portfolio-img { opacity: 1; transition: none; }
   
}


@media (max-width: 768px) {
    .portfolio-item.reveal {
        opacity: 1 !important;       
        transform: none !important;  
        filter: none !important;    
        transition: none !important; 
        animation: none !important;  
    }
}




.back-to-top.visible {
    opacity: 1 !important;      
    pointer-events: all !important;
}