/* ===============================
   MAGIC MIRROR HANDICRAFTS
   STYLE.CSS
=============================== */

/* GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0d0d0d;
    color:#ffffff;
    overflow-x:hidden;
}

/* ===============================
   NAVBAR
=============================== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
}

.navbar{

    width:90%;
    margin:20px auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 40px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:18px;

}

.logo{

    color:#d4af37;

    font-size:28px;

    font-weight:700;

}

.navbar ul{

    display:flex;

    list-style:none;

    gap:30px;

}

.navbar a{

    color:white;

    text-decoration:none;

    transition:.3s;

}

.navbar a:hover{

    color:#d4af37;

}

/* ===============================
   HERO
=============================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:20px;

    background:linear-gradient(135deg,#111,#1a1a1a,#222);

}

.hero-content{

    max-width:800px;

}

.hero h1{

    font-size:70px;

    color:white;

    margin-bottom:20px;

}

.hero p{

    font-size:22px;

    color:#cccccc;

    margin-bottom:40px;

}

.btn{

    display:inline-block;

    padding:16px 45px;

    background:#d4af37;

    color:#111;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-5px);

}

/* ===============================
   GENERAL SECTION
=============================== */

section{

    padding:100px 10%;

}

.section-title{

    text-align:center;

    font-size:42px;

    color:#d4af37;

    margin-bottom:50px;

}

/* ===============================
   HISTORY
=============================== */

.history-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:50px;

    flex-wrap:wrap;

}

.history-image{

    flex:1;

    min-width:300px;

    height:350px;

    background:#222;

    border:2px dashed #d4af37;

    border-radius:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#d4af37;

    font-size:24px;

}

.history-text{

    flex:1;

    min-width:300px;

}

.history-text h2{

    font-size:40px;

    color:#d4af37;

    margin-bottom:20px;

}

.history-text p{

    font-size:18px;

    line-height:1.8;

    color:#dddddd;

}

/* ===============================
   PRODUCTS
=============================== */

.product-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.card{

    background:#1c1c1c;

    padding:25px;

    border-radius:20px;

    transition:.3s;

    text-align:center;

    border:1px solid rgba(255,255,255,.08);

}

.card:hover{

    transform:translateY(-10px);

}

.product-image{

    width:100%;

    height:220px;

    background:#2b2b2b;

    border:2px dashed #d4af37;

    border-radius:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:20px;

    color:#d4af37;

    font-weight:600;

}

.card h3{

    color:#d4af37;

    margin-bottom:10px;

}

.card p{

    color:#cccccc;

}

/* ===============================
   LOCATION
=============================== */

.location{

    text-align:center;

}

.map{

    margin-top:30px;

    height:350px;

    background:#222;

    border:2px dashed #d4af37;

    border-radius:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#d4af37;

    font-size:24px;

}

/* ===============================
   FOOTER
=============================== */

footer{

    background:#000;

    text-align:center;

    padding:40px;

}

footer h3{

    color:#d4af37;

    margin-bottom:10px;

}

/* ===============================
   RESPONSIVE
=============================== */

@media(max-width:768px){

.hero h1{

    font-size:42px;

}

.hero p{

    font-size:18px;

}

.navbar{

    flex-direction:column;

    gap:15px;

}

.navbar ul{

    flex-wrap:wrap;

    justify-content:center;

}

.history-container{

    flex-direction:column;

}

}