/* set all setings */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F3EADF;
}
/* nave bar */
nav {
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #F3EADF;
    border-radius: 15px;
    top: 15px;
    left: 1.5%;
    width: 97%;
    transition: 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
nav:hover{
    border-radius: 0;
    top: 0; 
    left: 0;
    width: 100%;
}

nav h2 {
    font-size: 24px;
    color:#C67B39;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color:  gray;
    font-size: 18px;
    transition: color 0.3s;
    font-weight: 400;
}
nav ul li .tit {
    text-decoration: none;
    color: #C67B39;
    font-weight: 600;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: orange;
}
.nestd-list {
    position: relative;
}

.nestd-list .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #F7F3EE;
    width: 170px;
    padding: 8px 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: none;
}

.nestd-list .dropdown li {
    width: 100%;
    padding: 10px 15px;
}

.nestd-list .dropdown li a {
    display: block;
    color: gray;
    text-decoration: none;
}
.dropdown li a:hover{
    color: #F7F3EE;
}

.nestd-list .dropdown li:hover {
    background-color: #C67B39;
}

.nestd-list:hover .dropdown {
    display: block;
}
.log{
    background-color: #C67B39;
    font-size: 16px;
    color: #F7F3EE;
    padding: 10px 20px;
    border-radius: 8px;
}
.log:hover{
    background-color: orange;
    color: #F7F3EE;
}
/* main page */
.welcome{
    position: relative;
    height: 100vh;
    display: flex;
    background-color: #F7F3EE;
}
.title-home-page{
    display: flex;
    width: 55%;
    height: 100%;
    flex-direction: column;
    justify-content: center; 
    align-items: center;    
    padding: 20px; 
    gap: 20px;
}
.title-home-page h2{
    font-size: 32px;
    /* line-height: 1.0; */
}
.title-home-page h4{
    font-size: 18px;
    color: #424242;
}
.welcome button {
    padding: 12px 30px;
    font-size: 16px;
    color: #F7F3EE;
    background-color: #C67B39;
    border: none;
    border-radius: 8px;
    cursor: pointer;

}
.welcome button:hover {
    background-color: orange;
}

.welcome-image{
    width: 45%;
}
.welcome img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent, black 50%);
    mask-image: linear-gradient(to right, transparent, black 50%);
}
/* shop catgories */
.shop-category{
    margin: 0 25px;
}
.category-header{
    display: flex;                 
    justify-content: space-between;  
    align-items: center;             
    width: 90%;
    margin: 40px auto;
}
.category-header h3 {
    color: #C67B39;
    font-size: 28px;
    margin-bottom: 10px;
}
.controler {
    display: flex;   
    gap: 10px;             
}

.left-botton, .right-botton{
    color: orange;
    font-size: 30px ; 
}
.left-botton:hover, .right-botton:hover{
    color: #C67B39;
    transform: translateY(-5px);
}
.categorie-cards{
    margin: 25px 0;
    display: flex;
    width: 90%;
    margin: 0 5%;
    margin-bottom: 50px;
    justify-content: space-between;
}
.card-Living:hover, .card-Bedroom:hover, .card-Dining:hover, .card-Office:hover, .card-Outdoor:hover {
    transform: translateY(-5px);
}
.card-Living, .card-Bedroom, .card-Dining, .card-Office, .card-Outdoor{
    gap: 10px;
    width: 18%;
    padding: 25px;
    background-color: #F7F3EE;
    border-radius: 20px;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}
.card-Living img, .card-Bedroom img, .card-Dining img, .card-Office img, .card-Outdoor img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 20px;

}
.card-Living h4, .card-Bedroom h4, .card-Dining h4, .card-Office h4, .card-Outdoor h4{
    margin-bottom: 10px;
    color: #C67B39;
}
.card-Living p, .card-Bedroom p, .card-Dining p, .card-Office p, .card-Outdoor p{
    margin-bottom: 10px;
    color: gray;
}
/* page tow */
.page-tow {
    position: relative;
    display: flex;
    width: 90%;
    height: 800px; 
    background-color: #F7F3EE;
    gap: 10px; 
    padding: 0 5%; 
    margin: 0 5%;
    align-items: center; 
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(238, 124, 10, 0.08);

}
.content-page-tow{
    width: 40%;
    margin-left: 10%;
}
.content-page-tow h2{
    color: orange;
    font-size: 32px;
    margin-bottom: 25px;
    
}
.content-page-tow h4{
    color:#C67B39;
    font-size: 26px;
    margin-bottom: 25px;

}
.content-page-tow p{
    line-height: 1.5;
    color: gray;
    font-size: 22px;
    width: 100%; 
    margin-bottom: 10px;
}
.page-tow img{
    width: 100%;
    height:650px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}
.image-page-tow{
    width: 50%;
}
/* Best Selling Section */
.best-selling {
    width: 90%;
    margin: 40px auto;
}
.section-title {
    color: #C67B39;
    font-size: 28px;
    margin: 50px 0;
}
.best-selling-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}
.best-card {
    width: 18%;
    background-color: #F7F3EE;
    padding: 20px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}
.best-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.best-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 10px;
}
.best-card h4 {
    color: #C67B39;
    margin-bottom: 8px;
    font-size: 18px;
}

.best-card p {
    color: gray;
    font-size: 15px;
    line-height: 1.4;
}
.card-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.card-buttons button {
    flex: 1;
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-buy {
    background-color: #C67B39;
    color: white;
}
.btn-buy:hover {
    background-color: #a8652f;
}
.btn-cart {
    background-color: orange;
    color: white;
}
.btn-cart:hover {
    background-color: #d98a00;
}

.offers {
    width: 90%;
    margin: 40px auto;
    position: relative;
}

.section-title {
    font-size: 32px;
    margin-bottom: 45px;
    color: #C67B39;
}

.offers-cards {
    display: flex;
    justify-content: space-between;
}

.offer-card {
    background: #F7F3EE;
    width: 30%;
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s ease;
    text-align: left;
}

.offer-card img {
    width: 100%;
    border-radius: 20px;
    height: 290px;
    object-fit: cover;
    margin-bottom: 25px;
    
}

.offer-card h3 {
    color: #C67B39;
    margin-bottom: 5px;
    margin-bottom: 25px;
}
.offer-card p{
    color: gray;
    margin-bottom: 25px;
}
.discount1 {
    position: absolute;
    width: 7%;
    top: 120px;
    left: 355px;
    background: rgb(159, 78, 78);
    color:  #F7F3EE;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 15px;
    z-index: 50;
    
}

.discount2 {
    position: absolute;
    width: 7%;
    top: 120px;
    left: 955px;
    background: rgb(159, 78, 78);
    color:  #F7F3EE;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 15px;
    z-index: 50;
    
}
.discount3   {
    position: absolute;
    width: 7%;
    top: 120px;
    left: 1555px;
    background: rgb(159, 78, 78);
    color:  #F7F3EE;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 15px;
    z-index: 50;
}

.btns {
    display: flex;
    gap: 10px;
}

.buy-btn, .cart-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}
.buy-btn {
    background: #C67B39;
    color:  #F7F3EE;
}
.cart-btn {
    background: orange;
    color: #F7F3EE;
}
.buy-btn:hover, .cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.offer-card:hover span{
    display: none;
}
.our-services,.warranty-section {
    padding: 40px 20px;
    width: 90%;
    background-color: #F7F3EE;
    text-align: center;
    margin-left: 5%;
    border-radius: 25px;
}

.our-services .section-title {
    font-size: 32px;
    margin-bottom: 80px;
    color: #C67B39;
}

.services-container, .warranty-container{
    /* display: grid; */
    display: flex;
    width: 90%;
    justify-content: space-between;
    margin-left: 5%;
    /* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
    gap: 50px;
    /* max-width: 1100px; */
    /* margin: auto; */
    margin-bottom: 50px;
}
.service-card {
    background: #fefefe;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.service-card:hover i{
    color: orange;
}
.service-card i {
    font-size: 40px;
    color: #C67B39;
    margin-bottom: 25px;
}
.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #C67B39;
}
.service-card p {
    font-size: 15px;
    color: gray;
    margin-bottom: 15px;
}
.warranty-section {
    margin-top: 50px;
}
.warranty-section .section-title {
    font-size: 32px;
    margin-bottom: 80px;
    color: #C67B39;
}
.warranty-card {
    background: #fefefe;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease-in-out;
}
.warranty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.warranty-card i {
    font-size: 45px;
    color: #C67B39;
    margin-bottom: 20px;
}
.warranty-card:hover i{
    color: orange;
}
.warranty-card h3 {
    font-size: 22px;
    color: #C67B39;
    margin-bottom: 15px;
}
.warranty-card p {
    color: gray;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.why-us{
    margin: 50px 0 50px 5%;
}
/* .why-us {
    padding: 70px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.why-us .section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.why-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.why-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease-in-out;
}

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

.why-card i {
    font-size: 45px;
    color: #C67B39;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.why-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
} */
.main-footer {
    background-color: #C67B39;
    color: #F3EADF;
    padding: 60px 20px 20px;
    margin-top: 50px;
    border-radius: 25px;
    margin-left: 5%;
    width: 90%;
}

.footer-container {
    max-width: 1200px;
    width: 95%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-content: space-between;
    gap: 80px;
}

.footer-col h3, .footer-col h4 {
    color: #f3f3f3;
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-col p {
    color: #F3EADF;
    line-height: 1.6;
    margin-bottom: 25px;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #F3EADF;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: orange;
}

.social-icons a {
    color: #F3EADF;
    margin-right: 12px;
    font-size: 24px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: orange;
}

.footer-bottom {
    text-align: center;
    color: #F3EADF;
    font-size: 16px;
    margin-top: 25px;
}
