/* ================= GLOBAL ================= */
/* MOBILE OVERFLOW FIX */

html, body{
width:100%;
overflow-x:hidden;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

.container{
width:90%;
margin:auto;
}

a{
text-decoration:none;
color:inherit;
}

/* ================= TOP BAR ================= */

.topbar{
background:#161616;
color:white;
font-size:14px;
padding:8px 0;
}

.topbar-flex{
display:flex;
justify-content:space-between;
align-items:center;
}

/* ================= GLOBAL ================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

.container{
width:90%;
margin:auto;
}

/* ================= NAVBAR ================= */

.navbar{
background:#2a1408;
border-bottom:1px solid #ddd;
position:sticky;
top:0;
z-index:1000;
}

/* LOGO */

.logo img{
height:60px;
width:auto;
object-fit:contain;
}

/* NAVBAR HEIGHT */

.nav-wrapper{
display:flex;
align-items:center;
justify-content:space-between;
padding:18px 0;
}

/* ================= MENU ================= */

.nav-menu{
list-style:none;
display:flex;
gap:35px;
position:absolute;
left:50%;
transform:translateX(-50%);
}

.nav-menu li{
position:relative;
}

.nav-menu a{
text-decoration:none;
color:#ccc;
font-weight:700;
font-size:16px;
letter-spacing:0.3px;
transition:0.3s;
}

.nav-menu a:hover{
color:#e31e24;
}

/* ACTIVE */

.nav-menu li.active a{
color:#e31e24;
border-bottom:2px solid #e31e24;
}

/* ================= DROPDOWN (DESKTOP FIRST) ================= */

.dropdown{
position:relative;
}

/* arrow */

.dropdown-toggle i{
margin-left:6px;
font-size:12px;
transition:0.3s;
}

/* dropdown menu (DESKTOP) */

.dropdown-menu{
position:absolute;
top:100%;
left:0;
background:#fff;
border-radius:8px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
padding:8px 0;
min-width:210px;

opacity:0;
visibility:hidden;
transform:translateY(10px);
transition:0.3s ease;

z-index:999;
}

/* items */

.dropdown-menu li{
list-style:none;
}

.dropdown-menu a{
display:block;
padding:12px 20px;
color:#333;
font-size:15px;
text-decoration:none;
transition:0.2s;
}

.dropdown-menu a:hover{
background:#24140b;
color:#e31e24;
}

/* DESKTOP HOVER */

@media (min-width:769px){

.dropdown:hover .dropdown-menu{
opacity:1;
visibility:visible;
transform:translateY(0);
}

.dropdown:hover .dropdown-toggle i{
transform:rotate(180deg);
}

}

/* ================= MOBILE MENU ================= */

.mobile-menu{
position:fixed;
top:0;
right:-100%;
width:100%;
height:100vh;
background:#e31e24;
display:flex;
justify-content:center;
align-items:center;
transition:0.4s ease;
z-index:2000;
overflow-y:auto;
}

.mobile-menu.active{
right:0;
}

.mobile-menu ul{
list-style:none;
text-align:center;
padding:0;
width:100%;
}

.mobile-menu li{
margin:20px 0;
}

.mobile-menu a{
color:#fff;
font-size:24px;
text-decoration:none;
font-weight:500;
}

/* ================= MOBILE DROPDOWN ================= */

@media (max-width:768px){

/* disable desktop dropdown behavior */
.nav-menu{
display:none;
}

.hamburger{
display:flex;
}

/* mobile dropdown style */

.mobile-menu .dropdown-menu{
position:static;
background:#ffffff;
border-radius:12px;
box-shadow:none;

max-height:0;
overflow:hidden;

opacity:1;
visibility:visible;
transform:none;

transition:max-height 0.3s ease;
}

/* open */

.mobile-menu .dropdown.active .dropdown-menu{
max-height:500px;
}

/* items */

.mobile-menu .dropdown-menu a{
padding:14px 20px;
border-bottom:1px solid #eee;
color:#333;
}

/* header row */

.dropdown-header{
display:flex;
justify-content:center;
align-items:center;
gap:8px;
}

.dropdown-toggle{
cursor:pointer;
color:white;
}

}

/* ================= RIGHT SIDE ================= */

.nav-right{
display:flex;
align-items:center;
gap:15px;
}

.quote-btn{
background:#e31e24;
color:white;
border:none;
padding:10px 22px;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.quote-btn:hover{
background:#c51b20;
}

/* ================= FIX HAMBURGER ================= */

.hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
z-index:3000; /* 🔥 important (bring above everything) */
}

.hamburger span{
width:25px;
height:3px;
background:#e31e24; /* 🔥 change to white for visibility */
display:block;
}

/* SHOW ONLY IN MOBILE */

@media(max-width:768px){

.hamburger{
display:flex !important;
position:absolute;
right:20px;
top:20px;
}

}

/* ================= CLOSE BUTTON ================= */

.close-btn{
position:absolute;
top:20px;
right:30px;
font-size:32px;
color:white;
cursor:pointer;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){

.quote-btn{
display:none;
}

.logo img{
height:40px;
}

}

@media(max-width:600px){

.logo img{
height:35px;
}

.mobile-menu a{
font-size:22px;
}

}

/* ================= PREMIUM BANNER ================= */

.premium-banner{
padding:70px 20px;
background:#2b1609;
}

/* banner box */

.premium-banner-box{

max-width:1200px;
margin:auto;

background:
linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),
url("images/about.jpeg");

background-size:cover;
background-position:center;
background-repeat:no-repeat;

border-radius:20px;

padding:80px 70px;

display:flex;
align-items:center;

color:white;

box-shadow:0 15px 40px rgba(0,0,0,0.4);

}

/* content */

.premium-content{
max-width:600px;
}

/* tag */

.premium-tag{
display:inline-block;
background:#e31e24;
padding:6px 16px;
border-radius:20px;
font-size:12px;
letter-spacing:1px;
margin-bottom:15px;
}

/* heading */

.premium-content h2{
font-size:44px;
font-weight:700;
margin-bottom:15px;
}

/* paragraph */

.premium-content p{
font-size:16px;
line-height:1.6;
color:#eee;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

.premium-banner-box{
padding:50px 30px;
}

.premium-content h2{
font-size:30px;
}

.premium-content p{
font-size:14px;
}

}

@media(max-width:480px){

.premium-content h2{
font-size:26px;
}

}

.products-section{
padding:90px 0;
background:#1b120c;
color:white;
}

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

.products-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:40px;
}

.products-header h2{
font-size:36px;
font-weight:700;
}

.product-filters{
display:flex;
gap:10px;
}

.filter-btn{
padding:10px 20px;
border-radius:30px;
border:1px solid #ff3c3c;
background:transparent;
color:white;
cursor:pointer;
transition:0.3s;
}

.filter-btn:hover,
.filter-btn.active{
background:#ff3c3c;
}

/* GRID */

.products-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

/* CARD */

.product-card{
background:#24150d;
padding:20px;
border-radius:15px;
transition:0.4s;
border:1px solid rgba(255,255,255,0.05);
}

.product-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 40px rgba(0,0,0,0.5);
}

/* IMAGE */

.product-image{
position:relative;
overflow:hidden;
border-radius:10px;
}

.product-image img{
width:100%;
height:220px;
object-fit:contain;
transition:0.4s;
}

.product-card:hover img{
transform:scale(1.08);
}

/* overlay */

.product-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:flex;
align-items:center;
justify-content:center;
opacity:0;
transition:0.3s;
}

.product-card:hover .product-overlay{
opacity:1;
}

.view-btn{
width:55px;
height:55px;
border-radius:50%;
background:#ff3c3c;
border:none;
color:white;
font-size:20px;
cursor:pointer;
}

/* text */

.category{
color:#ff7a18;
font-size:13px;
margin-top:12px;
}

.product-card h3{
font-size:18px;
margin:6px 0;
}

.rating{
color:#ff3c3c;
}

/* pagination */

.pagination{
margin-top:40px;
text-align:center;
}

.page-btn{
padding:10px 15px;
margin:5px;
border-radius:6px;
border:none;
background:#2d1c13;
color:white;
cursor:pointer;
}

.page-btn.active,
.page-btn:hover{
background:#ff3c3c;
}

/* MODAL */

.product-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
z-index:9999;
}

.product-modal img{
max-width:80%;
max-height:80%;
cursor:zoom-in;
}

.close-modal{
position:absolute;
top:30px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}

/* responsive */

@media(max-width:1000px){

.products-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.products-grid{
grid-template-columns:1fr;
}

}

/* HEADER LAYOUT */

.product-header{
display:flex;
justify-content:space-between;
align-items:center;
position:relative;
}

/* DESKTOP FILTERS */

.product-filters{
display:flex;
gap:15px;
}

/* MOBILE FILTER ICON */

.mobile-filter{
display:none;
position:relative;
font-size:20px;
cursor:pointer;
color:white;
}

/* DROPDOWN MENU */

.mobile-dropdown{
position:absolute;
top:40px;
right:0;
background:#2b0f05;
border-radius:10px;
padding:10px 0;
display:none;
flex-direction:column;
min-width:170px;
box-shadow:0 10px 25px rgba(0,0,0,0.4);
z-index:9999; /* IMPORTANT FIX */
}

/* BUTTONS */

.mobile-dropdown button{
background:none;
border:none;
color:white;
padding:10px 20px;
text-align:left;
width:100%;
cursor:pointer;
font-size:14px;
transition:0.2s;
}

.mobile-dropdown button:hover{
background:#e31e24;
}

/* SHOW DROPDOWN */

.mobile-filter.active .mobile-dropdown{
display:flex;
}

/* ADD THIS FIX */

.product-card{
  cursor:pointer; /* 🔥 makes card clickable */
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.product-filters{
display:none;
}

.mobile-filter{
display:block;
}

}

/* ================= FOOTER ================= */

.footer{
background:#161616;
color:#ccc;
padding:60px 0 20px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

/* LOGO */

.footer-logo{
width:180px;
margin-bottom:15px;
}

/* TEXT */

.footer p{
line-height:1.6;
font-size:14px;
}

/* HEADINGS */

.footer h3{
color:white;
margin-bottom:15px;
}

.footer h4{
margin-top:20px;
color:white;
}

/* LINKS */

.footer-links ul,
.footer-products ul{
list-style:none;
}

.footer-links li,
.footer-products li{
margin-bottom:8px;
}

.footer-links a{
text-decoration:none;
color:#ccc;
transition:0.3s;
}

.footer-links a:hover{
color:#ff3c3c;
}

/* CONTACT ICONS */

.footer-contact i{
color:#ff3c3c;
margin-right:8px;
}

/* SOCIAL */

.social-icons{
margin-top:10px;
}

.social-icons a{
display:inline-block;
width:36px;
height:36px;
background:#222;
border-radius:50%;
text-align:center;
line-height:36px;
margin-right:8px;
color:white;
transition:0.3s;
}

.social-icons a:hover{
background:#ff3c3c;
}

/* COPYRIGHT */

.footer-bottom{
text-align:center;
border-top:1px solid #222;
margin-top:40px;
padding-top:20px;
font-size:14px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px){

.footer-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.footer-grid{
grid-template-columns:1fr;
text-align:center;
}

.footer-contact p{
justify-content:center;
}

}