* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #1a1a1a;
    color: #fff;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #00d4ff;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: padding 0.3s, background 0.3s;
}

.header.shrink {
    padding: 0.5rem 3rem;
    background: rgba(0, 0, 0, 0.9);
}

.header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00d4ff;
    transition: font-size 0.3s;
}

.header.shrink .logo {
    font-size: 1.5rem;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 2rem;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu ul li a:hover, .nav-menu ul li a.active {
    color: #00d4ff;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a; /* Daha koyu ve modern bir arka plan */
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2); /* Daha belirgin gölge */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0; /* Daha ince padding */
    z-index: 1000;
    border-top: 1px solid #333; /* İnce bir üst çerçeve */
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ccc; /* Daha nötr bir varsayılan renk */
    font-size: 0.75rem; /* Daha küçük ve zarif yazı */
    padding: 0.5rem 0; /* Daha geniş tıklama alanı */
    transition: all 0.3s ease; /* Daha akıcı geçiş */
    position: relative;
}

.bottom-nav .nav-item i {
    font-size: 1.5rem; /* Simge boyutu artırıldı */
    margin-bottom: 0.3rem;
    color: #00d4ff; /* Varsayılan simge rengi */
    transition: transform 0.3s ease, color 0.3s ease;
}

.bottom-nav .nav-item span {
    font-weight: 500;
    font-family: 'Poppins', sans-serif; /* Mevcut font ile uyum */
    opacity: 0.9;
}

/* Aktif Durum */
.bottom-nav .nav-item.active {
    color: #fff;
}

.bottom-nav .nav-item.active i {
    color: #ff007a; /* Aktif simge rengi */
}

/* Hover ve Dokunma Efektleri (Sadece Masaüstü) */
@media (min-width: 769px) {
    .bottom-nav .nav-item:hover,
    .bottom-nav .nav-item:focus {
        color: #fff;
    }

    .bottom-nav .nav-item:hover i,
    .bottom-nav .nav-item:focus i {
        color: #ff007a;
        transform: scale(1.1) translateY(-3px); /* Daha dinamik animasyon */
    }
}

/* Aktif Durum için Alt Çizgi Efekti */
.bottom-nav .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #ff007a;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Mobil için Optimize Edilmiş Tasarım */
@media (max-width: 768px) {
    .bottom-nav {
        padding: 0.3rem 0; /* Daha kompakt */
    }

    .bottom-nav .nav-item {
        padding: 0.6rem 0; /* Daha geniş tıklama alanı */
        font-size: 0.7rem;
    }

    .bottom-nav .nav-item i {
        font-size: 1.3rem;
    }

    .bottom-nav .nav-item.active::after {
        width: 20px; /* Daha küçük ekranlar için küçültülmüş */
    }
}

/* Masaüstü Cihazlarda Gizleme */
@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.animate-title {
    font-size: 3.5rem;
    animation: fadeInDown 1s ease-out;
}

.animate-subtitle {
    font-size: 1.5rem;
    margin: 1rem 0;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #00d4ff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
    animation: fadeInUp 1s ease-out 1s;
    animation-fill-mode: both;
}

.btn:hover {
    transform: scale(1.1);
    background: #ff007a;
}

/* About Section */
.about {
    padding: 5rem 3rem;
    background: #222;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00d4ff;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #00d4ff;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem;
    opacity: 0;
    transition: all 0.8s ease-out;
}

.timeline-item:nth-child(odd) {
    left: 0;
    transform: translateX(-50px);
}

.timeline-item:nth-child(even) {
    left: 50%;
    transform: translateX(50px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    width: 10px;
    height: 10px;
    background: #00d4ff;
    border-radius: 50%;
}

.timeline-item:nth-child(odd)::before {
    right: -5px;
}

.timeline-item:nth-child(even)::before {
    left: -5px;
}

.year {
    font-weight: bold;
    color: #00d4ff;
}

/* Products Section */
.products {
    padding: 5rem 3rem;
    background: #1a1a1a;
}

.filter-bar {
    text-align: center;
    margin-bottom: 2rem;
}

/* Filtre çubuğu için temel stil */
.filter-bar {
    display: flex; /* Yan yana dizilim */
    overflow-x: auto; /* Varsayılan olarak kaydırma açık */
    white-space: nowrap; /* Düğmelerin alta kaymasını engeller */
    padding: 0.5rem 0; /* Üstten ve alttan boşluk */
    gap: 0.5rem; /* Düğmeler arası boşluk */
    -webkit-overflow-scrolling: touch; /* iOS için akıcı kaydırma */
    scrollbar-width: none; /* Firefox için kaydırma çubuğunu gizler */
}

/* Chrome, Safari ve Edge için kaydırma çubuğunu gizler */
.filter-bar::-webkit-scrollbar {
    display: none;
}

/* Mevcut filter-btn stiliniz */
.filter-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0; /* Düğmelerin sıkışmasını engeller */
}

/* Hover ve active durumu */
.filter-btn.active, .filter-btn:hover {
    background: #00d4ff;
}

/* Masaüstü için kaydırmayı devre dışı bırak */
@media (min-width: 769px) {
    .filter-bar {
        overflow-x: visible; /* Kaydırmayı kaldırır */
        white-space: normal; /* Düğmelerin doğal akışına izin verir */
        justify-content: center; /* Düğmeleri ortalar (isteğe bağlı) */
        flex-wrap: wrap; /* Gerekirse alta kayar */
    }
}

/* Mobil cihazlar için kaydırma korunsun */
@media (max-width: 768px) {
    .filter-bar {
        justify-content: flex-start; /* Düğmeler soldan başlasın */
    }
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #ccc;
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-size: 1.8rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.buy-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #ff007a;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
}

.buy-btn:hover {
    background: #cc0066;
    transform: scale(1.05);
}

.add-to-cart {
    background: #00d4ff;
    border: none;
    padding: 0.8rem 1.5rem;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: transform 0.3s;
}

.add-to-cart:hover {
    transform: scale(1.05);
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    background: #ff007a;
}

/* Footer */
.footer {
    background: #111;
    text-align: center;
    padding: 2rem;
    color: #ccc;
}

.social-icons {
    margin-top: 1rem;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #00d4ff;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #00d4ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover efektini yalnızca masaüstü cihazlar için etkinleştir */
@media (min-width: 769px) {
    .scroll-top:hover {
        background: #ff007a;
        transform: translateY(-5px);
    }
}
/* Contact Modal */
.contact-btn {
    position: fixed;
    bottom: 20px;
    right: 80px;
    background: #ff007a;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s;
}

.contact-btn:hover {
    transform: scale(1.05);
}

.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.modal-content {
    background: #1a1a1a;
    color: #fff;
    width: 90%;
    max-width: 400px;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    animation: slideIn 0.5s ease-out;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content h3 {
    margin-bottom: 1rem;
}

.modal-content input, .modal-content textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #333;
    color: #fff;
}

.modal-content button {
    background: #00d4ff;
    border: none;
    padding: 0.8rem 2rem;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
}

/* Cart Icon */
.cart-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff007a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    z-index: 1000;
    cursor: pointer;
    text-decoration: none; /* Link için */
}
.cart-icon .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #ff007a;
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes cartFly {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(300px, -300px); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .header {
      display: none;
    }
    .contact-btn{
        display: none;
    }
    .cart-icon{
        bottom: 80px;
    }
    .scroll-top{
        bottom: 150px;
    }
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;
    }

    .nav-menu ul li {
        margin: 0.5rem 0;
    }

    .animate-title {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 40px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::before {
        left: 15px;
    }
}
/* Kampanya Bölümü */
.campaign {
    padding: 3rem;
    background: linear-gradient(135deg, #ff007a, #00d4ff);
    text-align: center;
    color: #fff;
}

.campaign-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.campaign-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.campaign-content .btn {
    background: #fff;
    color: #ff007a;
}

.campaign-content .btn:hover {
    background: #ff007a;
    color: #fff;
}
 
 
.gallery {
    padding: 5rem 3rem;
    background: #1a1a1a;
    position: relative; /* Üstten taşmayı önlemek için */
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 100%; /* Varsayılan olarak tam genişlik (mobil için) */
    scroll-snap-align: start;
    transition: all 0.5s ease-out;
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Mobil için varsayılan yükseklik artırıldı */
    object-fit: cover;
    border-radius: 10px;
    display: block; /* Gereksiz boşlukları önler */
}

/* Nokta Göstergeleri */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s ease;
}

.dot.active {
    width: 30px;
    height: 10px;
    background: #00d4ff;
    border-radius: 5px;
    animation: expand 0.5s ease forwards;
}

@keyframes expand {
    0% { width: 10px; border-radius: 50%; }
    100% { width: 30px; border-radius: 5px; }
}

/* Mobil için Resim Boyutunu Artırma */
@media (max-width: 768px) {
    .gallery-item img {
        height: 300px; /* Mobil cihazlarda resim yüksekliği artırıldı */
    }

    .gallery {
        padding: 3rem 1rem; /* Daha kompakt padding */
    }

    .gallery-slider {
        gap: 1rem; /* Mobil cihazlarda boşluk azaltıldı */
    }
}

/* Masaüstü için 3'erli */
@media (min-width: 769px) {
    .gallery-item {
        flex: 0 0 calc(33.33% - 1.33rem); /* 3 öğe yan yana */
    }

    .gallery-item img {
        height: 250px; /* Masaüstü için sabit yükseklik */
    }
}
/* Mobil için 1'erli */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100%; /* Mobilde tam genişlik */
    }
    .footer{
        margin-bottom: 60px;
    }
}