/* Genel Ayarlar */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #dad7cd;

}

h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

/* Navigasyon */
.navbar {
    background-color: #a5a58d; 
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Logo */
.logo img {
    height: 50px; /* Logonun yüksekliği */
    width: auto; /* Oran koruyarak genişlik */
    display: block; /* Doğru hizalama için */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ddd;
}

/* Hero Bölümü */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden; /* Taşan içeriği gizle */
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video'nun alanı doldurmasını sağlar */
    z-index: -1; /* İçeriklerin arka planda kalması için */
}

.hero-content {
    z-index: 2; /* İçeriği videonun üstüne taşır */
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
}

.hero p {
    font-size: 1.5rem;
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    background: #a5a58d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #45a049;
}

/* About Section */
.about {
    padding: 50px 20px;
    /* background: #f4f4f4; */
}

/* Services Section */
.services {
    padding: 50px 20px;
}

.service-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.services .container .service-grid .service-item  {
    background-color: transparent;
    height: 100%;
}

.service-item {
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;

}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    font-size: 1.2rem;
    margin: 15px 0;
}

/* Brands Section */
.brands {
    padding: 50px 20px;
    background: #dad7cd;
    color: white;
    text-align: center;
}
.brands h2{
    color: #333;
}
.brand-slider {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.brand-track {
    display: inline-flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
}

.brand img {
    width: 80px;
    height: auto;
    transition: filter 0.3s;
    filter: none; /* Renkli görünüm */
}

.brand img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 40px 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.container p {
    justify-content: center;
    display: flex;
}
.footer-section {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-section p {
    margin: 5px 0;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #444;
    font-size: 0.8rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
.container p{
    text-align: center;
    justify-content: center;
}
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        background: #a5a58d;
        flex-direction: column;
        width: 100%;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .container p{
        text-align: center;
        justify-content: center;
    }
    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .brand img {
        width: 100px;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    .social-icons a img {
        width: 25px;
        height: 25px;
    }
}
/* Services Section */
.services {
    padding: 50px 20px;
}

.service-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-item {
    flex: 1 1 calc(33.333% - 20px); /* Masaüstü: Üç kolon */
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3 {
    font-size: 1.2rem;
    margin: 15px 0;
}

.service-item p {
    font-size: 1rem;
    margin: 0 10px 15px;
}

/* Tabletler (768px ve Altı) */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 calc(50% - 20px); /* Tablet: İki kolon */
    }

    .service-item img {
        height: 180px; /* Görselleri biraz küçült */
    }

    .service-item h3 {
        font-size: 1.1rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}

/* Mobil Cihazlar (480px ve Altı) */
@media (max-width: 480px) {
    .service-item {
        flex: 1 1 100%; /* Mobil: Tek kolon */
    }

    .service-item img {
        height: 150px; /* Daha küçük görseller */
    }

    .service-item h3 {
        font-size: 1rem;
    }

    .service-item p {
        font-size: 0.8rem;
    }
}
.floating-action-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

.floating-action-button img {
    width: 50px;
    height: 50px;
    transition: transform 0.5s ease;
}

.action-menu {
    position: absolute;
    bottom: 70px; /* Açılış pozisyonu */
    right: 0;
    background: #FFF;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.5s ease;
    padding: 5px 0;
}

.action-item {
    display: flex;
    align-items: center;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.action-item img {
    width: 24px;
    margin-right: 10px;
}

.action-item:hover {
    background-color: #f0f0f0;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Üç sütuna böl */
    gap: 20px; /* Videolar arasında boşluk */
}

.video-item {
    overflow: hidden; /* Taşan içeriği kes */
    border-radius: 8px; /* Köşeleri yuvarlak yap */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Gölge efekti ekle */
    position: relative; /* Pozisyon referansı */
    padding-top: 100%; /* Yükseklik/genişlik oranı 1:1 */
}

.about-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video'nun kutuyu tam olarak kaplamasını sağlar */
}


@media (max-width: 800px) {
    .video-grid {
        grid-template-columns: 1fr; /* Küçük ekranlarda tek sütun */
    }
}
