/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.background {
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideBackground 30s infinite;
    transition: background-image 1s ease-in-out;
}

@keyframes slideBackground {
    0%, 10% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Volvo Slider.jpg');
    }
    10.1%, 20% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Audi Slider.jpg');
    }
    20.1%, 30% {
        background-image: url('PrizmaOtoBakimServis Resimleri/volkswagen Sldier.jpg');
    }
    30.1%, 40% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Skoda Slider.jpg');
    }
    40.1%, 50% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Seat Slider.jpg');
    }
    50.1%, 60% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Nisan Slider.png');
    }
    60.1%, 70% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Opel Slider.png');
    }
    70.1%, 80% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Ford Slider.jpg');
    }
    80.1%, 100% {
        background-image: url('PrizmaOtoBakimServis Resimleri/Volvo Slider.jpg');
    }
}

.navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    z-index: 1000;
    position: absolute;
}
.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
.navbar li {
    margin: 0 15px;
}
.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
}
.navbar a:hover {
    color: #ff0000;
}
.logo {
    position: absolute; 
    top: 10px;
    left: 10px;
    z-index: 1000;
}
.content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg); 
    width: 40px; 
    height: 40px; 
    border-right: 3px solid #000000; 
    border-bottom: 3px solid #000000; 
    animation: scrollDown 1.5s infinite;
    z-index: 1000; /* Arkaplandan ön plana çıkartır */
}
.scroll-text {
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px; 
    text-align: center;
    z-index: 1000; /* Arkaplandan ön plana çıkartır */
}

@keyframes scrollDown {
    0% {
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }
    50% {
        transform: translateX(-50%) translateY(10px) rotate(45deg);
    }
    100% {
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }
}
.background-welcome {
    opacity: 0.1;
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}
.card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 300px;
    margin: 20px;
    position: relative;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}
.card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}
.card:hover img {
    transform: scale(1.05);
}
.card-content {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: #ffffff;
}
.card-title {
    font-size: 24px;
    margin: 0 0 10px;
    color: #000000;
}
.card-text {
    font-size: 16px;
    color: #000000;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}
.card:hover::before {
    opacity: 0.8;
}
footer {
    background-color: #111;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top:80px;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
}
.footer-logo img {
    max-width: 150px;
}
.social-icons a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    text-decoration: none;
}
.footer-section {
    width: 250px;
    text-align: left;
}
.footer-section h3 {
    border-bottom: 2px solid red;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin: 8px 0;
}
.footer-bottom {
    background: #000;
    padding: 15px 0;
    font-size: 14px;
}
.footer-bottom a {
    color: rgb(250, 247, 247);
    text-decoration: none;
}
.image-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 1; /* Slider'ın video arka planının önünde kalmasını sağlar */
    margin-top: 20px;
}

.slide-track {
    display: flex;
    width: calc(250px * 12); 
    animation: scroll 15s linear infinite;
}

.slide {
    width: 250px;
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6)); 
    }
}
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top:20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ff0000; /* İkonların üzerine gelindiğinde renk değişimi */
}

.social-icon {
    width: 24px; /* İkonun genişliğini ayarlayın */
    height: 24px; /* İkonun yüksekliğini ayarlayın */
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1); /* İkonun üzerine gelindiğinde büyütme efekti */
}
.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: white;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
}

.menu {
    list-style: none;
    padding: 0;
    display: flex;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

/* Mobilde hamburger menüyü gizleme ve açma */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 10px;
        background: rgba(0, 0, 0, 0.9);
        padding: 10px;
        border-radius: 10px;
    }
    
    .menu.show {
        display: flex;
    }
}
/* Mobil cihazlar için */
@media (max-width: 768px) {
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background: #333;
        color: white;
    }
    
    .container {
      width: 100%;
      padding: 10px;
    }
  }
  