:root{
    --arkaplan:#ffffff;
    --yazirenk:#494545;
    --header:#f7f3f3;
    --urungrup:blue;
    --footer:black;
    --yorumlar:green;
    --mainkutuust:#ffffff;
    --mainkutuustyazi:#1b1b1a;
    --mainkutualt:#ffffff;
    --mainkutualtyazi:#4e4e4e;
    --button:#d18801c2;
    --buttonhover:#808080;
    --slider:#f7f3f3;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
 }
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.2s ease;
}
body{
    background-color: var(--arkaplan);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
  section{
  padding: 1rem 7%;  
 }
 main{
  flex:1;
}


 /*Header Başlangıc*/
.header{
    background-color:var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 7%;
    
    margin: 1rem 7%;
    border-radius: 1rem;
    top: 0;
    z-index: 1000;
}
.header .logo img{
    height: 6rem;
    
}
.header .logo2 img{
    height: 5rem;
    
}
.header .navbar a{
    margin: 0 1rem;
    font-size: 1.7rem;
    font-weight:bold;
    color:var(--yazirenk);
    border-bottom: 0.2rem solid transparent;
}
.header .navbar a:hover{
    border-color:var(--arkaplan);
    padding-bottom: 0.5rem;
}
 /*Header Bitiş*/
 /*Main Başlangıç*/
 .mainkutu{
  
    display:flex;
    flex-direction:column;
 }
.mainkutu .mainkutuust{
    background-color:var(--mainkutuust);
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-bottom: 0.5rem solid var(--header);
    border-top: 0.5rem solid var(--header);
    min-height: 3rem;
    text-align: center;
    padding: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--mainkutuustyazi);
    
 }
.mainkutu .mainkutualt{
   margin-top: 1rem;
    display: grid;
    grid-template-columns:repeat(auto-fit,minmax(25rem,1fr));
    gap: 1rem;
    
 }
 .mainkutu .mainkutualt .mainkutualticerik{
    background-color: var(--mainkutualt);
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    border-end-end-radius: 1rem;
    border-start-start-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 0.3rem 0.5rem #d18801c2;
   
 }
 .mainkutu .mainkutualt .mainkutualticerik img{
    width:100%;
    object-fit: cover;
    border-start-start-radius: 1rem;
}
.main .mainkutualt .mainkutualticerik .icerikbutton{
    padding: 0.5rem;
    background-color: var(--header);
    border-end-end-radius: 1rem;
    margin:1% 0;
    text-decoration: none;
    text-align: center;
    font-size: 1.6rem;  
    font-weight: bold; 
    color: var(--yazirenk); 
}
.main .mainkutualt .mainkutualticerik .icerikbutton:hover{
    color:var(--header);
    padding-left: 1rem;
    padding-right: 1rem;
    background-color:var(--button);
    font-weight: bold;

}
/*Main Bitiş*/
/*Slider Başlangıcı*/
.sliderust{
  background-color:var(--mainkutuust);
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-bottom: 0.5rem solid var(--header);
    border-top: 0.5rem solid var(--header);
    min-height: 3rem;
    text-align: center;
    padding: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--mainkutuustyazi);  
}
.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.slider-wrapper {
  overflow: hidden;
  background-color: #d18801c2;
  padding: 1rem;
}

.slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}

.card {
  flex: 0 0 20rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 15rem rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-decoration: none;
  color: #333;
  transition: transform 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  height: 15rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.card p {
  font-size: 1.2rem;
  text-align: center;
}

.card button {
  margin-top: auto;
  padding: 0.5rem 5rem;
  background: #ffcc00;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.card button:hover {
  background: #ff9900;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

@media (max-width: 600px) {
  .card {
    flex: 0 0 80%;
  }
}
/*Slider Bitiş*/
/*Ürünler*/
        h1 {
            color: #333;
            text-align: center;
        }
        .urun-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
        }
        .urun-kutu {
            margin-top: 3rem;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            width: 25rem;
            box-shadow: 0 0.3rem 0.5rem #d18801c2;
            transition: transform 0.2s;
        }
        .urun-kutu:hover {
            transform: scale(1.02);
        }
        .urun-kutu img {
            width: 100%;
            height: 180px;
            object-fit:cover;
            border-radius: 5px;
        }
        .urun-kutu h3 {
            margin-top: 10px;
            font-size: 18px;
            color: #222;
        }
        .urun-kutu p {
            color: #666;
            font-size: 14px;
        }
        @media (max-width: 600px) {
            .urun-kutu {
                width: 90%;
            }
        }

 /*urundetay*/
    .urun-detay-container {
   
    max-width: 100%;
    margin: 4rem ;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.sol-galeri {
    flex: 1;
    min-width: 40rem;
}
.sag-detay {
    flex: 1;
    min-width: 40rem;
}
.buyuk-gorsel {
    border-bottom-right-radius: 1rem;
    border-top-left-radius: 1rem;
    width: 100%;
    height: 30rem;
    object-fit:fill;
    border: 0.1rem solid #ccc;
    
    margin-bottom: 1rem;
}
.kucuk-gorseller {
    display: flex;
    gap: 1rem;
}
.kucuk-gorseller img {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    cursor: pointer;
}

.sag-detay h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    border-bottom: 0.1rem solid var(--button) ;
}
.sag-detay p {
    margin-bottom: 10px;
    color: #444;
    font-size: 1.7rem;
}

.yorum-form {
  padding-top: 5rem;
    margin-top: 40px;
}
.yorum-form h3{
  font-size: 1.7rem;
  margin:1rem;
  border-bottom: 0.1rem solid var(--button);
}
.yorum-form input, .yorum-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.yorum-form button {
    background:var(--button);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
.yorumlar {
    margin-top: 40px;
}
.yorumlar h3{
font-size: 1.7rem;
margin:1rem;
border-bottom: 0.1rem solid var(--button);
}
.yorum-kart {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}
.yorum-kart .ust {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 2rem;
}
.yorum-kart .icerik{
  font-size: 1.5rem;
}
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    transition: opacity 0.5s ease;
}
.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/*footer baslanngıc*/
.footer{
  background-color: var(--footer);
  min-height: 7rem;
  position: relative;

}
.footer .footer-kutu{
  display: flex;
   align-items: center;
 justify-content: space-between;
 color: var(--header);
 padding: 3rem 7%;
 font-size: 1.5rem;
}