/* ===============================
   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;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    z-index: 1000;
}

nav {
    background: rgba(170, 123, 6, 0.95);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 45px;
}

.logo{
    color:#f4c542;
    font-size:38px;
    font-weight:bold;
}

nav ul{
    display:flex;
    list-style:none;
    gap:40px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-size:20px;
    transition:.3s;
}

nav ul li a:hover{
    color:#ffd700;
}

/* ===============================
   HERO
=============================== */

.hero{

    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding-top:180px;   /* was 120px */

    background:#1b1b1b;

}

.hero h1{
    font-size:70px;
    margin-bottom:20px;
}

.hero p{
    font-size:26px;
    margin-bottom:40px;
}

.hero button,
.hero .btn{

    display:inline-block;
    background:#d4af37;
    color:#000;
    text-decoration:none;
    border:none;
    padding:18px 55px;
    border-radius:50px;
    font-size:22px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;

}

.hero button:hover,
.hero .btn:hover{
    background:#f4c542;
    transform:translateY(-4px);

}

/* ===============================
   GENERAL SECTION
=============================== */

section{

    padding:100px 10%;

}

.section-title{

    text-align:center;

    font-size:42px;

    color:#d4af37;

    margin-bottom:50px;

}


/*================================
   image of miror
=============================== */
/* ============================= */
/* Aranmula Mirror Section */
/* ============================= */

.mirror-section{

    width:100%;
    padding:90px 10%;
    background:#f8f5ef;

}

.mirror-container{

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:70px;
    flex-wrap:wrap;

}

.mirror-image-box{

    flex:1;
    text-align:center;

}

.mirror-image{

    width:350px;      /* Change this value */
    max-width:100%;
    height:auto;

    transition:0.5s;

    filter:drop-shadow(0px 20px 35px rgba(0,0,0,.25));

}

.mirror-image:hover{

    transform:scale(1.08);

}

.mirror-content{

    flex:1;
    min-width:300px;

}

.mirror-content h2{

    font-size:48px;
    color:#8b6508;
    margin-bottom:25px;
    font-family:Georgia, serif;

}

.mirror-content p{

    font-size:18px;
    line-height:1.9;
    color:#555;
    margin-bottom:20px;

}

.mirror-btn{

    display:inline-block;

    margin-top:15px;

    padding:15px 35px;

    background:#c89a2f;

    color:#fff;

    text-decoration:none;

    border-radius:40px;

    font-size:18px;

    transition:.4s;

}

.mirror-btn:hover{

    background:#9b741d;

    transform:translateY(-4px);

}       

/* Mobile — keep image + text side by side like desktop, just smaller */

@media(max-width:900px){

.mirror-container{

    flex-wrap:nowrap;
    align-items:center;
    gap:18px;
    text-align:left;

}

.mirror-image-box{

    flex:0 0 auto;

}

.mirror-content{

    min-width:0;
    text-align:left;

}

.mirror-content h2{

    font-size:22px;
    margin-bottom:10px;

}

.mirror-content p{

    font-size:13px;
    line-height:1.5;
    margin-bottom:10px;

}

.mirror-image{

    width:100px;

}

.learn-btn{

    padding:8px 18px;
    font-size:13px;
    margin-top:8px;

}

}

@media(max-width:480px){

.mirror-image{

    width:80px;

}

.mirror-content h2{

    font-size:18px;

}

.mirror-content p{

    font-size:12px;

}

}


/* ===============================
   HISTORY
=============================== */

.history-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:50px;

    flex-wrap:wrap;

}

.history-image{

    flex:1;

    min-width:400px;

    height:450px;

    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;

}
/* ===========================================
   LEARN MORE BUTTON
=========================================== */

.learn-btn{
    display:inline-block;
    margin-top:30px;
    padding:14px 34px;
    background:#d4af37;
    color:#111;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    border-radius:50px;
    transition:0.3s ease;
    box-shadow:0 8px 20px rgba(212,175,55,0.35);
}

.learn-btn:hover{
    background:#f5c542;
    color:#111;
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(212,175,55,0.5);
}
/* ===============================
   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;

}
.view-more-container{
    text-align:center;
    margin-top:50px;
}

.view-more-btn{

    display:inline-block;
    padding:15px 40px;
    background:#c99a2e;
    color:white;
    text-decoration:none;
    font-size:18px;
    border-radius:40px;
    transition:.3s;

}

.view-more-btn:hover{

    background:#9b741d;
    transform:translateY(-5px);

}



/* ===========================
   LOCATION
=========================== */

.location-map{
    width:100%;
    max-width:500px;      /* Change this value */
    display:block;
    margin:30px auto;
    border-radius:18px;
    border:4px solid #d4af37;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    transition:.3s;
    cursor:pointer;
}

.location-map:hover{
    transform:scale(1.03);
    box-shadow:0 15px 35px rgba(212,175,55,.45);
}

/* ===============================
   FOOTER
=============================== */

footer{

    background:#000;

    text-align:center;

    padding:40px;

}

footer h3{

    color:#d4af37;

    margin-bottom:10px;

}

/* ===============================
   RESPONSIVE
=============================== */

@media(max-width:768px){

header{
    top:12px;
    width:94%;
}

nav{
    flex-direction:column;
    gap:12px;
    padding:16px 20px;
}

.logo{
    font-size:26px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:16px 22px;
}

nav ul li a{
    font-size:16px;
}

.hero{
    padding-top:150px;
    padding-left:6%;
    padding-right:6%;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:17px;
    margin-bottom:30px;
}

.hero button,
.hero .btn{
    padding:14px 38px;
    font-size:18px;
}

section{
    padding:60px 6%;
}

.section-title{
    font-size:30px;
    margin-bottom:30px;
}

.history-container{
    flex-direction:column;
}

.mirror-content h2{
    font-size:32px;
}

.mirror-content p{
    font-size:16px;
}

}

@media(max-width:420px){

.logo{
    font-size:22px;
}

nav{
    padding:14px 16px;
}

nav ul{
    gap:10px 16px;
}

nav ul li a{
    font-size:14px;
}

.hero h1{
    font-size:28px;
}

.hero p{
    font-size:15px;
}

.hero button,
.hero .btn{
    padding:12px 30px;
    font-size:16px;
}

.section-title{
    font-size:24px;
}

}