.bg-1 {    background: #cfe0e8;}

/* ============================================================
   GENEL
============================================================ */

html,
body {
    overflow-x: hidden !important;
}

img {
    display: block;
    vertical-align: middle;
    max-width: 100%;
}

/* ============================================================
   HERO ALANI
============================================================ */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    padding: 0 15px;
    text-shadow: 0 0 12px rgba(0,0,0,0.35);
}

/* ============================================================
   HERO ALT RESİM
============================================================ */

.hero-image {
    width: 100%;
    margin-top: -5px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   VIDEO + PROJE OZETI
============================================================ */

.video-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    width: 100%;
    height: 100%;
    background: #000;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .35s ease;
}

.video-wrapper:hover img {
    transform: scale(1.05);
}

/* ============================================================
   SAĞ PROJE ÖZET KUTUSU
============================================================ */

.robot-entry {
    background: rgba(255,255,255,0.08);
    padding: 20px 20px 25px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    width: 100%;
    height: 100%;
}

.robot-entry h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.robot-entry p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.5;
}

/* ============================================================
   PLAY BUTTON
============================================================ */

.pulse-ring,
.play-button {
    pointer-events: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75px;
    height: 75px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button::before {
    content: "";
    border-left: 22px solid #fff;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    margin-left: 5px;
}

/* ============================================================
   PULSE ANIMATION
============================================================ */

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 4px solid rgba(255,0,0,0.7);
    transform: translate(-50%,-50%);
    animation: pulse 1.7s infinite ease-out;
    z-index: 1;
}

@keyframes pulse {

    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.7);
        opacity: 0;
    }
}

/* ============================================================
   DESKTOP FLEX
============================================================ */

@media (min-width: 992px) {

    .ap-hero .video-row {
        display: flex;
        align-items: stretch;
    }

    .ap-hero .video-row > .col-lg-8,
    .ap-hero .video-row > .col-lg-4 {
        display: flex;
    }

    .ap-hero .video-wrapper,
    .ap-hero .robot-entry {
        height: 100%;
    }

    .ap-hero .robot-entry {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ============================================================
   RESPONSIVE VIDEO
============================================================ */

@media (max-width: 768px) {

    .robot-entry {
        margin-top: 25px;
        height: auto;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button::before {
        border-left: 18px solid #fff;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    .pulse-ring {
        width: 60px;
        height: 60px;
    }

    .video-wrapper {
        height: auto;
    }

    .video-wrapper img {
        height: auto;
    }
}

/* ============================================================
   CONTENT
============================================================ */

#content-3 {
    width: 100%;
    padding: 50px 0;
}

#content-3 h2 { font-size: 32px; font-weight: 700; margin-bottom: 40px; 
}

#content-3 p,
#content-3 li {
    color: #3a4953;
    font-size: 16px;
    line-height: 1.7;
}

#content-3 figcaption {
    text-align: center;
    font-style: italic;
    color: #999999;
}


/* ============================================================
   RESPONSIVE CONTENT
============================================================ */



@media (max-width: 768px) {

    #content-3 h2 {
        font-size: 26px;
    }



    
}

@media (max-width: 480px) {

    #content-3 h2 {
        font-size: 22px;
    }

   

   
}

/* ============================================================
   BOOTSTRAP OVERRIDE
============================================================ */

.img-fluid {
    max-width: 100%;
    height: auto !important;
    display: block;
}

/* ============================================================
   GLIGHTBOX
============================================================ */

.glightbox-container img {
    max-width: 100%;
    height: auto !important;
    display: block;
}

/* ============================================================
   PORTFOLIO
============================================================ */

.portfolio-image {
    overflow: hidden;
    line-height: 0;
}

.portfolio-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}






.rf-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.rf-card{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.4s ease;
}

.rf-card-img{
position:relative;
overflow:hidden;
}

.rf-card-img img{
width:100%;
height:320px;
object-fit:cover;
display:block;
}

.rf-card-body{
padding:20px;
}

.rf-card:hover{
transform:translateY(-6px);
}

@media(max-width:768px){
.rf-card-img img{height:240px;}
}

/* Tablet */
@media(max-width:992px){
.rf-grid{grid-template-columns:repeat(2,1fr);}
}

/* Mobil */
@media(max-width:576px){
.rf-grid{grid-template-columns:1fr;}
}
.rf-container{
width:100%;
max-width:1400px;
margin:auto;
padding:0 15px;}