@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root{ 
--main-color: hsl(184, 59%, 67%); 
--black-color:#121212;
--border: 0.1 rem solid rgba(255,255,255,0.4);
}
*{
    font-family: 'Poppins', sans-serif; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-transform: capitalize; 
    transition: 0.2s ease; 
}
html{ 
font-size:62.5%; 
overflow-x: hidden;
scroll-padding-top: 9rem;
scroll-behavior:smooth ; 
}

.logo img{ 
    height: 7em; 
}

html::-webkit-scrollbar{
    width: 0.8;
    background-color: white;
}
html::-webkit-scrollbar-track{
    background-color: transparent; 
}
html::-webkit-scrollbar-thumb{
    border-radius: 3rem;
    background-color: var(--black-color);
}

a{    
    color: var(--black-color);
    text-decoration: none;
}

body{ 
 background-color: rgb(228, 227, 224);
    }

/*header start*/

.header .search-header{
    position: absolute;
    top: 115%;
    right: 7%;
    background-color: rgb(253, 154, 24);;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    border-radius: 3rem;
    box-shadow: 0px 0px 25px 2px rgb(0 0 0 / 75);
}
.header .search-header i{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black-color);
}
.header .search-header input{
    width: 100%;
}
.header .logo img{ 
        height: 10rem;
        
    }
    
.header{  
    background-color: #F5E6D2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%; 
    margin: 2rem 7%;
    border-radius: 3rem; 
    box-shadow: 0px 0px 17px -2px rgba(0, 0, 0, 0.75);
    position: sticky;   
    top:0;
    z-index: 1000;  
}

.header .share{
    padding: 2rem 0;
    text-align: center;  
}
.header .share a{
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    color: black;
    font-size: 3rem;
    border: var(--border);
    border-radius: 35%     
}
.header .share a:hover{
    background-color:white;
    
}

.header .logo img:hover{             
        transition: 0.8s ease;
        border: 1px solid black;
        border-radius:1.4rem;
    }
.header .navbar a{
    margin: 0 1rem;
    font-size: 1.6rem;
    color: var(--black-color);
    border-bottom: 0.1rem solid transparent; 
    text-decoration: none;
    }
    
    .header .navbar .active,
    .header .navbar a:hover{
    border-color:var(--black-color); 
    }
    
    .header .buttons button{ 
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: 2rem; 
    background-color: transparent;
    }

    /*home START */
.home{
    min-height: 125vh;
    background: url(home.png)no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -15rem;
    display: flex;
    align-items: center;
    object-fit: cover;
    
}
.home .content{
    max-width: 60rem;
}
.home .content h3{
    font-size:6rem ;
    color: white;
}
.home .content p{
   font-size: 2rem; 
   font-weight: 3000; 
   line-height: 1.8; 
   padding: 1rem 0;
   color: black;
}
/* home END */

/* MENU START */ 
.menu .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); 
    gap: 1.5rem;
}

.menu .box-container .box{
    padding: 3rem; 
    background-color: #fff;
    border-radius: 1rem;
    min-height:50rem ;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.menu .box-container .box:hover{
    transition: 0.2s ease;
    border: 3px solid var(--black-color);
}

.menu .box-container .box img{ 
    width: 100%; 
    object-fit: cover;
}
.menu .box-container .box img:hover{
    transform: scale(1.1);
    transition: 0.4s ease;
   
} 

.menu .box-container .box .menu-category{ 
   font-size: 1.2rem;
   text-transform: uppercase;
}
.menu .box-container .box h3{ 
    font-size: 3rem;
    padding: 1rem 0;
}

.menu .box-container .box .price{ 
    font-size: 2.5rem;
    padding: 0.5rem 0;
}
.menu .box-container .box .price span{ 
    font-size: 1.5rem;
    text-decoration: line-through;
    font-weight:25; 
}
/* yukarıda heading,heading span,btn:hover yazıldı*/
/* MENU END */ 

    section{
        padding: 3.5rem 7%; 
     }
     .btn{
     margin-top: 1rem;
     display: inline-block;
     padding: 2rem 3.75rem;
     border-radius: 1rem;
     font-size: 1.7rem;
     color:#fff ;
     background-color: var(--black-color);
     cursor: pointer;
     text-decoration: none;
     }
     .btn:hover{
        opacity: 0.7;
    }
    .heading{
        color: #fff;
        text-transform: uppercase;
        font-size: 4rem;
        margin-bottom: 3.5rem;
        border-bottom: 0.1rem solid black ; 
        cursor:pointer;
    }
    
    .heading span{
        color: var(--black-color);
        text-transform: uppercase;
    }

    /*scrool bar yapıldı html altı body üstü ve section altı a eklendi*/
/*OUR Products START*/
/*24.gün, birden fazla search olduğu için*/

.search-input{
    font-size: 1.6rem;
    color: var(--black-color);
    padding:1rem ;
    text-transform: none;
    border-radius: 3rem;
  }


.products .box-container{
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.products .box-container .box{
    text-align: center;
    background-color:white;
    position: relative;
    border-radius: 3rem;
    height: 60rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
}
  .products .box-container .box:hover{/**/
    transition: 0.2 ease;
    border: 3px solid black;
  }
.products .box-container .box .box-head{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

.products .box-container .box .box-head .title{
    font-size: 1.4rem;
}
.products .box-container .box .box-head .name{
    font-size: 4rem;
    font-weight: bold;
    text-align: start;
    text-decoration: none;
    color: var(--black-color);
}


.products .box-container img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    border-radius: 3rem;
}
.products .box-container img:hover{/**/
    transition: 0.3s ease;
    border: 5px solid  transparent;
}
.products .box-container .dark-bg .box-head .name,
.products .box-container .dark-bg .box-head .title{
    color: #fff;
}

.products .box-container .dark-bg img{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   transform: unset;
   
}
.products .box-container .dark-bg img:hover{ /* */
    
    transition: 0.2s ease;
    border: 5px solid transparent;
}

.products .box-container .box-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}


.products .box-container .box-bottom .info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}

.products .box-container .box-bottom .info .price{
    font-size: 3rem;
}
.products .box-container .box-bottom .info .date{
font-size: 1.4rem;
}

.products .box-container .dark-bg .box-bottom .info .price,
.products .box-container .dark-bg .box-bottom .info .date{
    color: #fff;
}

.products .box-container .box-bottom .product-btn a{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 6.5rem;
    height: 6.5rem;
    border: 0.2rem solid black;
}

.products .box-container .box-bottom .product-btn a i{
    font-size: 1.6rem;
    color: black;
}
/*OUT Products END*/


/* ABOUT START */
.about .about-us{
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
}
.about .about-us .image{
    flex: 1 1 45rem;
}
.about .about-us img{
    width: 100%;
}
.about .about-us img:hover{
    transition: 0.4s ease;
    opacity: 0.7;
    border: 2px solid #fff;
}
.about .about-us .content{
    flex: 1 1 45rem;
}
.about .about-us .content h3{ 
    font-size: 3rem;
    color: #fff;
}
.about .about-us .content p{
    font-size: 1.5rem;
    color: rgb(67, 67, 67); 
    padding: 1rem 0;
    line-height: 1.8;
}

/* ABOUT END */

/* customer start */

.satisfaction .box-container{
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    }
    .satisfaction .box-container .box{
        border: var(--border);
        text-align: center;
        padding: 3rem 2rem;
        background-color: #fff;
        border-radius: 10rem;
        height: 57rem;
    }
    .satisfaction .box-container .box:hover{
        transition: 0.5s ease;
        transform: scale(1.1);
        border: 1px solid black;
    }
    .satisfaction .box-container .box p{
       font-size: 1.5rem;
       line-height: 1.8;
       padding: 2rem 0;
    }
    .satisfaction .box-container .box img{
        object-fit: cover;
         width: 50%; 
     }
    .satisfaction .box-container .box .user{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
    }
    .satisfaction .box-container .box h3{
    padding: 1rem 0;
    font-size: 2rem;
    color: wheat;
    }
    .satisfaction .box-container .box .stars i{
           font-size: 1.5rem;
           color: gold;
    }
    
 /* customer end */

/* CONTACT START */
.contact {
    padding: 50px 5%;
    background: #E4E3E0;
}

.contact h1.heading {
   color: #fff;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 3.5rem;
    border-bottom: 0.1rem solid black;
    cursor: pointer;
}

.contact h1.heading span {
    color: black;
}

.contact .contact-us {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

/* Form Alanı */
.contact .contact-us form {
    flex: 1 1 350px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: none;
    transition: transform 0.3s;
        

}

.contact .contact-us form:hover {
    transform: translateY(-5px);
}

.contact .contact-us form h3 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 20px;
}

/* Input Alanları */
.contact .contact-us form .inputBox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.contact .contact-us form .inputBox i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 2rem;
}

.contact .contact-us form .inputBox input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 2rem;
    color: #333;
    background: #fdfdfd;
    outline: none;
    transition: border-color 0.3s;
}

.contact .contact-us form .inputBox input:focus {
    border-color: #27ae60;
}

/* Buton */
.contact .contact-us form .btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: #27ae60;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.contact .contact-us form .btn:hover {
    background: #219150;
}

/* Harita Alanı */
.map-container {
    flex: 1 1 450px;
    min-height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .contact .contact-us {
        flex-direction: column;
        align-items: center;
    }
}


/*BLOG START*/

.production .box-container {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem; 
}
.production .box-container .box{
  background-color: #fff;
  border-radius: 3rem;
}
.production .box-container .box .image{
    height: 25rem;
    overflow: hidden;
    width: 100%;
    
    border-top-left-radius: 1rem;
    border-top-right-radius: 3rem;
}
.production .box-container .box .image img{
    height:100%;
    width: 100%;
    object-fit: cover;
}
.production .box-container .box:hover .image img{
    transform: scale(1.2);
    transition: 0.2s ease;  
}
.production .box-container .box .content{
    padding: 2rem;
}
.production .box-container .box .content .title{
    font-size: 2.5rem;
    line-height: 1.5;
}
.production .box-container .box .content span{
    display: block;
    padding-top: 1rem;
    font-size: 2rem;
}
.production .box-container .box .content p {
   font-size: 1.6rem;
   line-height: 1.8;
   color:rgba(0, 0, 0, 0.645);
   padding: 1rem 0;
}



/*BLOG END*/


/*FOOTER START*/
.footer{
    background-color: var(--black-color);
    text-align: center;
}
.footer .search{
    display: flex;
    justify-content: center;
}
.footer .search .search-input{
    width: 30rem;
}
.footer .search .btn-primary {
    background-color: white;
    padding: 1rem 2rem;
    margin-left: 1rem;
}

.footer .share{
    padding: 2rem 0;
}
.footer .share a{
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    color: #fff;
    font-size: 2rem;
    border: var(--border);
    border-radius: 30%;
    margin: 0.3rem;
}
.footer .share a:hover{
    background-color: gray;
}


.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer .links a{
    background-color: white;
    padding: 0.7rem 2rem ;
    color: black;
    font-size: 2rem;
    border: var(--border);
}

.footer .links a:hover{
    background-color: gray;
    opacity: 0.7;
}

/*.footer .links a.active{
    background-color: var(--black-color);
}*/


.footer {
    background: #1a1a1a;
    text-align: center;
    padding: 15px 15px;
    margin-top: 40px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* Sosyal Medya */
.footer .share {
    margin-bottom: 20px;
}

.footer .share a {
    display: inline-block;
    margin: 0 8px;
    font-size: 2rem;
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #333;
    transition: 0.3s ease;
}

.footer .share a:hover {
    background: #F5E6D2;
    color: black;
    transform: translateY(-4px);
}

/* Linkler */
.footer .links {
    margin: 20px 0;
}

.footer .links a {
    display: inline-block;
    margin: 5px 10px;
    padding: 8px 16px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: 0.3s ease;
}

.footer .links a:hover {
    background: #27ae60;
    color: #fff;
    transform: scale(1.05);
}

/* Telif Hakkı */
.footer .hidden {
    margin-top: 20px;
    font-size: 2rem;
    color: #aaa;
}

.footer .hidden span {
    color: #e74c3c;
    font-weight: 500;
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
  }
  
  .lang-switcher .flag svg {
    width: 30px;   /* ikon boyutu */
    height: 30px;  /* kare yapalım */
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
  }
  
  .lang-switcher .flag:hover svg {
    transform: scale(1.1);
    cursor: pointer;
  }
  
  
  
/* Responsive Tasarım */
@media (max-width: 768px) {
    .footer .links a {
        display: block;
        margin: 8px auto;
        width: 60%;
    }
}

/* RESPONSIVE GÜNCELLEMELER */

/* 1200px altı - Orta Boyutlu Ekranlar */
@media (max-width: 1200px) {
    html { font-size: 58%; }
    .header { padding: 1rem 3%; }
    section { padding: 2rem 3%; }
}

/* 991px altı - Tablet Ekranlar */
@media (max-width: 991px) {
    html { font-size: 55%; }
    .header { flex-wrap: wrap; gap: 1rem; }
    .navbar { display: none; }
    #menu-btn { display: block; font-size: 3rem; cursor: pointer; }
    .home { margin-top: -10rem; }
    .products .box-container, 
    .menu .box-container,
    .satisfaction .box-container,
    .production .box-container {
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    }
}

/* 768px altı - Küçük Tablet ve Büyük Telefonlar */
@media (max-width: 768px) {
    .header { padding: 1rem 2rem; }
    .header .logo img { height: 6rem; }
    .home h3 { font-size: 4rem; }
    .home p { font-size: 1.6rem; }
    .about .about-us { flex-direction: column; }
    .contact .contact-us { flex-direction: column; }
    .footer .links a { display: block; margin: 5px auto; width: 80%; }
}

/* 576px altı - Telefonlar */
@media (max-width: 576px) {
    html { font-size: 50%; }
    .home h3 { font-size: 3rem; }
    .home p { font-size: 1.4rem; }
    .products .box-container,
    .menu .box-container,
    .satisfaction .box-container,
    .production .box-container {
        grid-template-columns: 1fr;
    }
    .footer .share a { margin: 5px; }
}

/* Hamburger Menü için */
#menu-btn {
    display: none;
    color: var(--black-color);
}

#menu-btn.active + .navbar {
    display: flex;
    flex-direction: column;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
}
/* Küçük ekranlarda menü kapalı başlasın */
.navbar {
    display: flex;
    gap: 1rem;
}

@media (max-width: 991px) {
    .navbar {
        display: none;
        flex-direction: column;
        background: #fff;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .navbar a {
        display: block;
        margin: 1rem;
        font-size: 1.8rem;
        text-align: center;
    }

    #menu-btn {
        display: block;
        font-size: 3rem;
        cursor: pointer;
        color: var(--black-color);
    }

    .navbar.active {
        display: flex;
    }
}



/*RESPONSİVE START*/
/*home start üstü #menu-btn eklendi navbarda en sağdaki bar seçeneği küçüldüğünde açılmak üzere ayarlandı*/

@media (max-width: 991px) {
    .navbar {
        display: none;
        flex-direction: column;
        background: #fff;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .navbar a {
        display: block;
        margin: 1rem;
        font-size: 1.8rem;
        text-align: center;
    }

    #menu-btn {
        display: block;
        font-size: 3rem;
        cursor: pointer;
        color: var(--black-color);
    }

    .navbar.active {
        display: flex;
    }
}

  
@media (max-width: 768px){ .header .navbar{ top: 95%; background-color: #fff; width: 30rem; } .header .navbar a{ color: var(--black-color); margin: 1.5rem; padding: 0.5rem; font-size: 2rem; } }
  
  
