body {
    font-family: Arial, sans-serif;
    margin-left: 10rem;
    padding: 20px;
    max-width: 80%;
    place-items: center;
    background-color: #191919;
}

.giris h1  {
    position: relative;
    max-width: 100%;
    color: #fefefe;
    text-align: center;
    text-transform: uppercase;
    margin-top: -15rem;
}

.giris button {
    position: relative;
    display: block;
    margin: 2rem auto 5rem auto;
    background-color: #827777a0;
    color: white;
    border: 1px solid #ffffff;
    padding: 15px 30px;
    cursor: pointer;
    margin-bottom: 20rem;
}

h1 {
    color: #9ec8ff; 
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 5rem;
    font-size: 3rem;
    margin-bottom: 5rem;
    margin-top: 5rem;
}

.p-left, .p-right, .p-son, p{
    font-size: 22px;
    line-height: 1.8;
    color: #e0e0e0; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: justify;
    margin-bottom: 5rem;
    text-indent: 50px;
    
}

.p-left {
    margin: 150px 90px 0 90px;
    margin-right: 34rem;

}
.p-right {
    margin: 25rem 0 90px 34rem;
}

.image-right {
    max-width: 40%;
    display: flex; 
    justify-content: flex-end;
    float: right;
    height: 32rem;
    margin-bottom: 20px;
    margin-left: 20px;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}
.image-left {
    max-width: 40%;
    display: flex; 
    justify-content: flex-start;
    float: left;
    height: 34rem;
    margin-top: 14rem;
    margin-left: 90px;
    margin-right: 4rem;
    margin-bottom: 5rem;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.Robot {
    max-width: 90%;
    height: 65rem;
    display: block;         
    margin: 20rem auto 5rem auto; 
    border-radius: 40px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.ai {
    max-width: 40%;
    height: auto;
    display: block;
    margin: 20px auto 30px auto;
    border-radius: 40px;
    object-fit: cover;
    margin-top: 10rem;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #474343;
    color: white;
    
}

body.dark-mode h1 { color: #9ec8ff; }
body.dark-mode p { color: #e0e0e0; }
body.dark-mode button {
    background-color: #ffffff;
    color: #000000;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.image-right img,
.image-left img,
.Robot,
.gif {
    object-fit: cover;
}
.gif {
    max-width: 90%;
    display: flex;
    justify-content: flex-end;
    float: right;
    margin-left: 15rem;
    
}


.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    display: inline;
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #d9dde2;
}
.nav-links a:hover {
    text-decoration: underline;
}

.nav-link {
    position: revert;
}


nav {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background: #222;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #b9d0e9;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    background: #333;
}


nav ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 180px;
    border-radius: 0 0 6px 6px;
}

nav ul .dropdown-menu li a {
    padding: 0.8rem 1.2rem;
    white-space: nowrap;
}

nav ul li:hover .dropdown-menu {
    display: block;
}

nav {
    font-size: 1.6rem;
   padding: 1rem;

}

.video {
    witdh: 100%;
    height: 46rem;
    border-radius: 40px;
    object-fit: cover;
    justify-content: start;
    margin-top: 2rem;

}

h2 {
    text-align: center;
    color: #9ec8ff;
    font-size: 2rem;
    margin-top: 8rem;
}



.p-son-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    font-size: 18rem;
    line-height: 1.8;
    text-align: center;
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; 
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.navigation-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    text-align: center;
}

.navigation-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00bcd4, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.topic-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
    border-color: rgba(0, 188, 212, 0.5);
}

.topic-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #00bcd4;
}

.topic-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.topic-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #00bcd4, #9c27b0);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.topic-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.home-card {
    background: rgba(156, 39, 176, 0.1);
}

.home-link {
    background: linear-gradient(45deg, #9c27b0, #00bcd4);
}


footer {
    text-align: center;
    padding: 1rem 0;
    color: #6a6b6d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



/* Telefon boyutları için (max-width: 768px) */
@media screen and (max-width: 768px) {
    body {
        margin-left: 0;
        max-width: 100%;
    }

    h1 {
        font-size: 2rem;
        margin-top: 15rem;
        margin-bottom: 2rem;
    }



    .p-left {
        margin: 1.5rem ;
        font-size: 4rem;
        line-height: 1.6;
        margin-top: 5rem; 
        
    }

    .p-right {
        margin: 1.5rem ;
        font-size: 4rem;
        line-height: 1.6;
        margin-top: 2rem; 
             
    }


    .image-right {
        margin: 1rem ;
        height: 15rem;
        max-width: 100%;
        object-fit: cover;
        float: none;
        justify-self: center;
    }

    .image-left {
        margin: 1rem ;
        height: 15rem;
        max-width: 100%;
        object-fit: cover;
        float: none;
        justify-self: center;
    }

    .Robot {
        max-width: 100%;
        height: 32rem;
        object-fit: cover;
        overflow: hidden;
        margin-bottom: 2rem;
        margin-top: 8rem;
       
    }

 .ai img {
    max-width: 180%;   
    height: auto;     
    margin-left: -3.5rem;
    margin-right: auto; 
}


    video {
    position: absolute;
    width: 90%;
    height: 50rem;
    object-fit: cover; 
    display: block;
    margin-left: 0;
    margin-right: 0;
    left: 0;
    z-index: 0;
}

.video button {
    margin-top: -5rem;
    z-index: 1;
    text-align: center;
    
}


.giris h1  {
    position: relative;
    color: #fff;
    z-index: 1;          
    margin-top: -32rem;
    margin-left: 2.3rem;
    margin-bottom: 0rem;
    text-align: center;

}

nav {
    font-size: 1.2rem;
    padding: 1rem 0;
    background: #333;

}
.navigation-section {
    padding: 2rem 1rem;
}

.navigation-section h3 {
    font-size: 1.5rem;
}

.topic-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.topic-card {
    padding: 1.5rem;
}

.topic-card h4 {
    font-size: 1.2rem;
}


}
