/* ==========================================
   Premium Furniture Website
   style.css
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Noto Sans KR',sans-serif;
    background:#ffffff;
    color:#222;
    line-height:1.6;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

img{

    width:100%;
    display:block;

}

button{

    cursor:pointer;
    transition:.3s;

}

/* ===========================
HEADER
=========================== */

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    z-index:999;
    box-shadow:0 2px 12px rgba(0,0,0,.08);

}

.top-header{

    width:90%;
    max-width:1400px;
    margin:auto;

    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.logo h1{

    font-size:32px;
    font-weight:700;
    letter-spacing:1px;

}

.search{

    display:flex;
    width:500px;

}

.search input{

    flex:1;
    padding:12px;
    border:1px solid #ddd;
    border-right:none;
    outline:none;

}

.search button{

    width:60px;
    border:none;
    background:#222;
    color:#fff;

}

.icons{

    display:flex;
    gap:25px;

}

.icons a{

    font-size:22px;

}

/* ===========================
NAVIGATION
=========================== */

nav{

    border-top:1px solid #eee;

}

nav ul{

    display:flex;
    justify-content:center;

}

nav li{

    padding:18px 28px;

}

nav a{

    font-weight:500;
    transition:.3s;

}

nav a:hover{

    color:#9b7b4a;

}

/* ===========================
HERO
=========================== */

.hero{

    margin-top:130px;

    height:700px;

    background:url("../images/hero.jpg") center center/cover;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.overlay{

    position:absolute;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.35);

}

.hero-text{

    position:relative;
    text-align:center;
    color:white;
    z-index:10;

}

.hero-text h2{

    font-size:60px;
    margin-bottom:20px;

}

.hero-text p{

    font-size:22px;
    margin-bottom:35px;

}

.hero-text button{

    padding:16px 45px;
    border:none;
    background:#9b7b4a;
    color:white;
    font-size:18px;

}

.hero-text button:hover{

    background:#222;

}

/* ===========================
SECTION
=========================== */

section{

    padding:90px 0;

}

.title{

    text-align:center;
    margin-bottom:60px;

}

.title h2{

    font-size:40px;
    margin-bottom:15px;

}

.title p{

    color:#777;

}

/* ===========================
CATEGORY
=========================== */

.category-grid{

    width:90%;
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.card{

    overflow:hidden;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.4s;

    background:white;

}

.card:hover{

    transform:translateY(-10px);

}

.card img{

    height:300px;
    object-fit:cover;

}

.card h3{

    text-align:center;
    padding:25px;

}

/* ===========================
BEST PRODUCT
=========================== */

.product-wrap{

    width:90%;
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.product{

    background:white;

    text-align:center;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    overflow:hidden;

    padding-bottom:30px;

}

.thumb{

    height:280px;

    background:#efefef;

}

.product h3{

    margin-top:25px;

}

.product span{

    display:block;

    margin:15px 0;

    font-weight:bold;

    color:#9b7b4a;

}

.product button{

    border:none;

    background:#222;

    color:white;

    padding:12px 28px;

}

.product button:hover{

    background:#9b7b4a;

}

/* ===========================
BRAND
=========================== */

.brand{

    width:90%;
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.brand-left h2{

    font-size:45px;

    margin-bottom:30px;

}

.brand-left p{

    color:#666;

    margin-bottom:35px;

}

.brand-left button{

    padding:14px 35px;

    border:none;

    background:#9b7b4a;

    color:white;

}

.brand-right{

    height:500px;

    background:url("../images/banner.jpg") center/cover;

    border-radius:15px;

}

/* ===========================
EVENT
=========================== */

.event{

    background:url("../images/banner.jpg") center/cover;

    height:450px;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

}

.event-text h2{

    font-size:48px;

    margin-bottom:20px;

}

.event-text p{

    font-size:24px;

    margin-bottom:30px;

}

.event button{

    border:none;

    padding:15px 40px;

    background:white;

    color:#222;

}

/* ===========================
REVIEW
=========================== */

.review-wrap{

    width:90%;

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.review-box{

    background:#fafafa;

    padding:40px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

/* ===========================
NEWS LETTER
=========================== */

.newsletter{

    background:#f7f7f7;

    text-align:center;

}

.newsletter h2{

    font-size:40px;

}

.newsletter p{

    margin:20px 0 35px;

}

.subscribe{

    display:flex;

    justify-content:center;

}

.subscribe input{

    width:400px;

    padding:15px;

    border:1px solid #ddd;

}

.subscribe button{

    width:150px;

    background:#222;

    color:white;

    border:none;

}

/* ===========================
FOOTER
=========================== */

footer{

    background:#222;

    color:white;

    padding:60px 0 30px;

}

.footer-top{

    width:90%;

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

}

.footer-top h3,
.footer-top h4{

    margin-bottom:20px;

}

.footer-top p{

    margin-bottom:10px;

    color:#bbb;

}

.copyright{

    text-align:center;

    margin-top:50px;

    border-top:1px solid rgba(255,255,255,.1);

    padding-top:20px;

    color:#999;

}

/* ===========================
TOP BUTTON
=========================== */

#topBtn{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#9b7b4a;

    color:white;

    font-size:20px;

    display:none;

    z-index:999;

}

#topBtn:hover{

    background:#222;

}