* {
    margin: 0;
    padding: 120;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    
}


body{
    background-color: #f8f8f8
}
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400");


:root {
  --primary-color: hsl(9, 94%, 61%);
  --primary-color2: hsl(9, 94%, 36%);

  --primary-color-alt: hsl(28, 72%, 83%);
  --second-color: #3e537c;
  --second-color-alt: hsla(220, 33%, 36%, 65%);
  --third-color: hsl(220, 36%, 28%);
  --white-color: #fbfbfb;
  --white-color-alt: hsl(12, 14%, 93%);
  --dark-color: hsl(300, 100%, 0%);
}




/* ================= HEADER ================ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--dark-color);
    padding: 1rem 2rem;
    position: fixed; /* Sticky yerine fixed kullanarak menünün her zaman görünür olmasını sağlıyoruz */
    top: 0; /* Sayfanın üst kısmına sabitler */
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 9999; /* Diğer elemanlardan üstte görünmesini sağlar */
    border-bottom: 2px solid #db7940;
  }
.company-logo {
  font-size: 2.5rem;
  background: -webkit-linear-gradient(
    120deg,
    var(--primary-color-alt),
    var(--primary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-logo img {
    padding-top: 10px;
  
 width: 100px;

  }

.nav-items {
  display: flex;
}
.nav-item {
  margin: 0 2rem;
}
.nav-link {
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  position: relative;
  background: -webkit-linear-gradient(
    var(--primary-color-alt),
    var(--primary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-link::before {
  content: "";
  background: linear-gradient(var(--primary-color), var(--primary-color-alt));
  width: 100%;
  height: 0.05rem;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 150ms;
}
.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.menu-toggle {
  display: none;
}
.bx-menu,
.bx-x {
  cursor: pointer;
  background: -webkit-linear-gradient(
    120deg,
    var(--primary-color-alt),
    var(--primary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: none !important;
  font-size: 40px;
}



/* =============== MEDIA QUERIES ======= */

@media screen and (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  /* ================= HEADER ================ */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--dark-color);
    padding: 1rem 2rem;
    position: fixed; /* Sabit pozisyon */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Diğer elemanların üstünde kalması için */
  }
 
  .navbar {
    background-color: var(--dark-color);
    position: fixed;
    top: 5.3rem;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 500ms;
    
  }
  .show-navbar {
    display: flex;
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 300ms;
  }
  .nav-items {
    display: flex;
    flex-direction: column;
  }
  .nav-item {
    margin: 0.5rem 0;
    text-align: left;}
  .menu-toggle {
    display: block;
  }
  .bx-menu {
    display: block !important;
  }
  .show-bx {
    display: block !important;
  }
  .hide-bx {
    display: none !important;
  }
  .company-logo img {
    width: 60px;
   
     }
}
@media (min-width: 769px) {
  header {
    padding: 1rem 5rem;
  }
 
  
}


.featured-products h2 {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 10px;
}

.best-selling {
    padding: 2rem;
    background: rgb(255, 255, 255);
}

.best-selling h2 {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 10px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: rem;
}
.product-grid img {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    margin-bottom:  20px;
}

.best-selling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 1rem;
}
.best-selling-grid img {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    margin-bottom:  20px;
}
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: var(--delay);

    padding-bottom: 30px;
}
/* Maksimum yükseklik belirtimi */
.product-grid img {
    max-height: 300px;
    object-fit: contain;
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
    .product-grid img {
        max-height: 200px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-grid img {
        max-height: 180px;
        width: 100%;
    }
}
.product {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.product img {
    width: 500%;
    height: 300px;
    object-fit: contain;
    border-radius: 5px;
}

.product h3 {
    margin: 1rem 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Her ürün kartına farklı zaman gecikmesi ekleyelim */
.product-card:nth-child(1) { --delay: 0.1s; }
.product-card:nth-child(2) { --delay: 0.2s; }
.product-card:nth-child(3) { --delay: 0.3s; }
.product-card:nth-child(4) { --delay: 0.4s; }

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Resimlerin boyutunu ayarlayalım */
.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.price {
    color: #333;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: bold;
    padding: 5px;
}



.about-preview {
    padding: 4rem 2rem;
    background: #faf8f8;
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    z-index: 0;
}

.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    padding: 1rem;
    background: rgb(243, 234, 223);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(57, 48, 48, 0.1);
    transition: transform 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
}

.about-text h2 {
    color: #06193e;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #db7940;
}

.about-text p {
    color: #0c0000;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: #f9f5f2;
    background: hsl(31, 73%, 28%);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: hsl(31, 73%, 65%);    color: white;
}

.about-image {
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Animasyon için */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-preview-content {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .about-preview-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-preview {
        padding: 2rem 1rem;
    }
    
    .about-image img {
        height: 200px;
    }
}

@media (max-width: 768px) {
 

    .slider {
        height: 300px;
    }
}
/* Scroll ile animasyon efekti eklemek için */
.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Öne Çıkan Ürünler için animasyon */
.featured-products .product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

/* Çok Satan Ürünler için animasyon */
.best-selling .product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

/* Scroll efekti için */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll efekti için */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.footer {
    background: #000;
    border-top-style : solid;
    border-width: 3.5px;
    padding:5px;
    border-color:hsl(14, 94%, 65%);
    
    color:white;
    padding: 2rem 0;
    margin-top: 2rem;
    /*background-image: linear-gradient(#191933, rgba(22, 22, 46, 0.8)), url('https://media.giphy.com/media/WoD6JZnwap6s8/giphy.gif');
*/
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 1rem;
    
    
}

.footer-section {
    padding: 1.5rem;
    margin-left: auto;
    margin-right: auto;

    border-radius: 8px;
    transition: transform 0.3s ease;
    
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-section h3 {
    color: hsl(14, 94%, 65%);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e97312;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-media a {
    font-size: 1.5rem;
}

.social-media i {
    transition: transform 0.3s ease;
}

.social-media i:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

/* Animasyonlu görünüm için */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: var(--delay);
}

/* Her section için farklı zaman gecikmesi ekleyelim */
.footer-section:nth-child(1) { --delay: 0.1s; }
.footer-section:nth-child(2) { --delay: 0.2s; }
.footer-section:nth-child(3) { --delay: 0.3s; }
.footer-section:nth-child(4) { --delay: 0.4s; }

/* Responsive tasarım */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        margin-bottom: 1px;
        width: 290px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .social-media {
        justify-content: center;
    }
}







.card-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1700px;
    margin: 0 auto;
}

.card{
    width: 300px;
    height: 400px;
    background: white;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0;
    transform: scale(0.95);
    transition: box-shadow 0.5s, transform 0.5s;
}

.card:hover{
    transform: scale(1);
    box-shadow: 5px 20px 30px rgba(0,0,0,0.2);
}
.card .top img {
    width: 100%; /* Genişliği %100 yap */
    height: 100%; /* Yüksekliği %100 yap */
    object-fit: cover; /* Resmi kırpmadan sığdır */
}
.container{
    width:100%;
    height:100%;
    .top{
        height: 80%;
        width:100%;
        background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center; 
        -webkit-background-size: 100%;
        -moz-background-size: 100%;
        -o-background-size: 100%;
        background-size: 100%;
    }
    .bottom{
        width: 200%;
        height: 20%;
        transition: transform 0.5s;
        &.clicked{
            transform: translateX(-50%);
        }
        h1{
            margin:0;
            padding:0;
        }
        p{
            margin:0;
            padding:0;
        }
        .left{
            height:100%;
            width: 50%;
            background: #f4f4f4;
            position:relative;
            float:left;
            .details{
                padding: 20px;
                float: left;
                width: calc(70% - 40px);
            }
            .buy{
                float:right;
                width: calc(30% - 2px);
                height:100%;
                background: #f1f1f1;
                transition: background 0.5s;
                border-left:solid thin rgba(0,0,0,0.1);
                i{
                    font-size:30px;
                    padding:30px;
                    color: #254053;
                    transition: transform 0.5s;
                }
                &:hover{
                    background: #A6CDDE;
                }
                &:hover i{
                    transform: translateY(5px);
                    color:#00394B;
                }
            }
        }
        .right{
            width: 50%;
            background: #A6CDDE;
            color: white;
            float:right;
            height:200%;
            overflow: hidden;
            .details{
                padding: 20px;
                float: right;
                width: calc(70% - 40px);
            }
            .done{
                width: calc(30% - 2px);
                float:left;
                transition: transform 0.5s;
                border-right:solid thin rgba(255,255,255,0.3);
                height:50%;
                i{
                    font-size:30px;
                    padding:30px;
                    color: white;
                }
            }
            .remove{
                width: calc(30% - 1px);
                clear: both;
                border-right:solid thin rgba(255,255,255,0.3);
                height:50%;
                background: #BC3B59;
                transition: transform 0.5s, background 0.5s;
                &:hover{
                    background: #9B2847;
                }
                &:hover i{
                    transform: translateY(5px);
                }
                i{
                    transition: transform 0.5s;
                    font-size:30px;
                    padding:30px;
                    color: white;
                }
            }
            &:hover{
                .remove, .done{
                    transform: translateY(-100%);
                }
            }
        }
    }
}

.inside{
    z-index:9;
    background: hsl(22, 93%, 71%);
    width:140px;
    height:140px;
    position: absolute;
    top: -70px;
    right: -70px;
    border-radius: 0px 0px 200px 200px;
    transition: all 0.5s, border-radius 2s, top 1s;
    overflow: hidden;
    .icon{
        position:absolute;
        right:85px;
        top:85px;
        color:white;
        opacity: 1;
    }
    &:hover{
        width:100%;
        right:0;
        top:0;
        border-radius: 0;
        height:80%;
        .icon{
            opacity: 0;
            right:15px;
            top:15px;
        }
        .contents{
            opacity: 1;
            transform: scale(1);
            transform: translateY(0);
        }
    }
    .contents{
        padding: 5%;
        opacity: 0;
        transform: scale(0.5);
        transform: translateY(-200%);
        transition: opacity 0.2s, transform 0.8s;
        Led Name{
            text-align:left;
            width:100%;
        }
        h1, p, Led Name{
            color: white;
        }
        p{
            font-size:13px;
        }
    }
}



