/* ================= 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;
}

}


/* ================= HERO SECTION ================= */

.hero{
  position:relative;
  height:90vh;

  /* 🔥 FIXED BACKGROUND */
  background-image: url('../images/Index slider.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* DARK OVERLAY */

.hero-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  z-index:1;
}

/* CONTENT */

.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
  color:#fff;
}

/* BADGE */

.hero-badge{
  display:inline-block;
  background:rgba(255,140,0,0.2);
  color:#e31e24;
  padding:6px 14px;
  border-radius:20px;
  font-size:12px;
  margin-bottom:20px;
  letter-spacing:1px;
}

/* TITLE */

.hero-content h1{
  font-size:48px;
  font-weight:700;
  line-height:1.2;
  margin-bottom:20px;
}

/* DESCRIPTION */

.hero-content p{
  font-size:18px;
  color:#ddd;
  margin-bottom:30px;
  line-height:1.6;
}

/* BUTTONS */

.hero-buttons{
  display:flex;
  gap:15px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  padding:12px 24px;
  border-radius:8px;
  font-size:14px;
  text-decoration:none;
  transition:0.3s;
}

/* PRIMARY BUTTON */

.btn.primary{
  background:#e31e24;
  color:#fff;
}

.btn.primary:hover{
  background:#e31e24;
}

/* SECONDARY BUTTON */

.btn.secondary{
  border:1px solid #aaa;
  color:#fff;
}

.btn.secondary:hover{
  background:#fff;
  color:#000;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

  .hero{
    height:80vh;
  }

  .hero-content h1{
    font-size:32px;
  }

  .hero-content p{
    font-size:16px;
  }

}

@media(max-width:480px){

  .hero{
    height:75vh;
  }

  .hero-content h1{
    font-size:26px;
  }

}

/* ================= WHY SONAI PREMIUM ================= */

.why-sonai{
padding:90px 20px;
background:#1c0f07;
}

.container{
max-width:1200px;
margin:auto;
}

/* section tag */

.why-tag{
color:#e31e24;
font-size:14px;
font-weight:600;
letter-spacing:2px;
margin-bottom:10px;
text-transform:uppercase;
}

/* title */

.why-title{
font-size:40px;
font-weight:700;
color:white;
margin-bottom:50px;
}

/* grid */

.why-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

/* card */

.why-card{
background:#331d10;
padding:35px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
transition:all 0.35s ease;
position:relative;
overflow:hidden;
}

/* hover gradient */

.why-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:4px;
background:linear-gradient(90deg,#e31e24,#ff6b6b);
transform:scaleX(0);
transform-origin:left;
transition:0.4s;
}

.why-card:hover::before{
transform:scaleX(1);
}

/* hover effect */

.why-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

/* icon */

.why-icon{
width:55px;
height:55px;
background:#ffeaea;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
font-size:22px;
color:#e31e24;
margin-bottom:18px;
transition:0.3s;
}

.why-card:hover .why-icon{
background:#e31e24;
color:#fff;
transform:rotate(-8deg) scale(1.1);
}

/* title */

.why-card h3{
font-size:20px;
font-weight:600;
margin-bottom:10px;
color:whitesmoke;
}

/* text */

.why-card p{
font-size:14px;
color:#fff;
line-height:1.6;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1024px){

.why-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.why-grid{
grid-template-columns:1fr;
}

.why-title{
font-size:28px;
}

}

/* ================= ABOUT SECTION ================= */

.about{
padding:80px 0;
background:#3b1a07;
}

.about-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

/* IMAGE */

.about-image img{
width:100%;
border-radius:6px;
}

/* CONTENT */

.about-content h2{
font-size:40px;
margin-bottom:20px;
position:relative;
color:#e31e24;
}

.about-content h2::after{
content:"";
width:60px;
height:3px;
background:#e31e24;
display:block;
margin-top:10px;
}

.about-content p{
margin-bottom:15px;
line-height:1.6;
color:#fff;
}

/* STATS */

.about-stats{
display:flex;
gap:30px;
margin:25px 0;
}

.stat-box{
display:flex;
align-items:center;
gap:10px;
background:#633419;
padding:15px 20px;
border-radius:5px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.stat-box i{
font-size:22px;
color:#e31e24;
}

.stat-box h3{
margin:0;
font-size:22px;
}

/* BUTTON */

.about-btn{
display:inline-block;
background:#e31e24;
color:white;
padding:12px 25px;
margin-top:10px;
font-weight:600;
}

/* RESPONSIVE */

@media(max-width:900px){

.about-container{
grid-template-columns:1fr;
}

.about-image{
order:1;
}

.about-content{
order:2;
}

.about-content h2{
font-size:30px;
}

.about-stats{
flex-direction:column;
}

}
/* ================= PRODUCT SHOWCASE ================= */

.product-showcase{
padding:70px 20px;
background:#1c0f07;
overflow:hidden;
}

.product-title{
text-align:center;
font-size:36px;
font-weight:700;
margin-bottom:40px;
color:#f7f4f4;
}

/* slider */

.product-slider{
overflow:hidden;
position:relative;
}

/* track */

.product-track{
display:flex;
gap:25px;
animation:scrollProducts 25s linear infinite;
}

/* card */

.product-card{
min-width:300px;
height:auto;
border-radius:20px;
background:#331d10;
position:relative;
box-shadow:0 8px 25px rgba(0,0,0,0.05);
transition:0.3s;
overflow:hidden;
}

.product-card:hover{
transform:translateY(-8px);
}

/* image */

.product-card img{
width:100%;
height:220px;
object-fit:contain;
padding:10px;
background:#fff;
border-radius:20px 20px 0 0;
}

/* product info */

/* ===== PROFESSIONAL PRODUCT INFO ===== */

.product-info{
background:rgba(255,255,255,0.05);
backdrop-filter:blur(10px);
padding:18px;
border-radius:0 0 20px 20px;
color:#ff3b3b;
transition:0.3s;
}

/* hover effect */

.product-card:hover .product-info{
background:rgba(255,255,255,0.08);
}

/* category */

.category{
font-size:12px;
color:#ff3b3b;
font-weight:500;
letter-spacing:0.5px;
margin-bottom:6px;
text-transform:uppercase;
}

/* product name */

.product-info h3{
font-size:18px;
font-weight:600;
margin-bottom:10px;
line-height:1.3;
}

/* stars */

.stars{
font-size:14px;
color:#ff3b3b;
letter-spacing:2px;
}

/* optional subtle divider */

.product-info::before{
content:"";
display:block;
width:40px;
height:2px;
background:#ff3b3b;
margin-bottom:10px;
border-radius:2px;
}

/* badge */

.badge{
position:absolute;
top:15px;
right:15px;
background:#e31e24;
color:#fff;
font-size:12px;
padding:6px 12px;
border-radius:8px;
font-weight:600;
}

/* animation */

@keyframes scrollProducts{
0%{ transform:translateX(0); }
100%{ transform:translateX(-50%); }
}

/* ================= RESPONSIVE ================= */

@media(max-width:1024px){
.product-card{
min-width:260px;
}
}

@media(max-width:768px){
.product-card{
min-width:220px;
}

.product-title{
font-size:28px;
}
}

@media(max-width:480px){
.product-card{
min-width:180px;
}
.product-card img{
height:160px;
}
}

/* DISCOVER SECTION */

.discover-section{
padding:70px 20px;
background:#4F2A0F;
}

.discover-container{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
max-width:1200px;
margin:auto;
}

.discover-left{
background:rgba(200,162,122,0.4);
backdrop-filter: blur(5px);
padding:35px;
border-radius:20px;
}

.small-title{
color:#e31e24;
font-size:13px;
letter-spacing:2px;
font-weight:600;
}

.discover-header h2{
font-size:34px;
margin:10px 0 30px;
font-weight:700;
}

/* ================= CATEGORY GRID ================= */

.category-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

/* ================= CATEGORY CARD ================= */

.category-card{
background:#f7f7f7;
padding:30px;
border-radius:18px;
text-align:center;
cursor:pointer;
transition:all 0.3s ease;

display:flex;                 /* 🔥 FIX ALIGNMENT */
flex-direction:column;
align-items:center;
justify-content:center;
gap:10px;
}

/* ICON */

.category-card i{
font-size:28px;
color:#e31e24;
transition:0.3s;
}

/* TEXT */

.category-card span{
font-size:14px;
font-weight:600;
color:#333;
line-height:1.4;
transition:0.3s;
}

/* ================= HOVER EFFECT ================= */

.category-card:hover{
background:#e31e24;
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* hover text + icon */

.category-card:hover i,
.category-card:hover span{
color:#fff;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){
.category-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:576px){
.category-grid{
grid-template-columns:1fr;
}

.category-card{
padding:25px;
}
}
/* BANNER */

.discover-banner{
background:linear-gradient(rgba(227,30,36,0.8),rgba(227,30,36,0.8)),url("images/banner-chair.jpg");
background-size:cover;
border-radius:20px;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
}

.banner-content h3{
font-size:32px;
margin-bottom:20px;
}

.banner-btn{
width:50px;
height:50px;
background:#fff;
color:#e31e24;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
}

/* PRODUCTS */

.product-section{
padding:80px 20px;
background:#fff;
}

.product-title{
text-align:center;
font-size:36px;
margin-bottom:40px;
}

.product-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
max-width:1200px;
margin:auto;
}

.product-card{
background:#fff;
border-radius:15px;
padding:15px;
box-shadow:0 10px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.product-card:hover{
transform:translateY(-6px);
}

.product-img{
overflow:hidden;
border-radius:10px;
}

.product-img img{
width:100%;
transition:0.4s;
}

.product-img:hover img{
transform:scale(1.15);
}

.product-actions{
display:flex;
justify-content:space-between;
margin-top:10px;
}

.view-btn{
background:#e31e24;
color:#fff;
border:none;
padding:8px 15px;
border-radius:6px;
cursor:pointer;
}

.whatsapp-btn{
background:#25D366;
color:#fff;
padding:8px 12px;
border-radius:6px;
}

/* POPUP */

.popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
justify-content:center;
align-items:center;
}

.popup-content{
background:#fff;
padding:30px;
border-radius:15px;
text-align:center;
max-width:400px;
}

.popup-content img{
width:100%;
border-radius:10px;
margin-bottom:15px;
}

.close-popup{
position:absolute;
right:20px;
top:10px;
font-size:25px;
cursor:pointer;
}

/* ================= MOBILE FIX ================= */

@media (max-width:768px){

.category-arrival-section{
display:flex;
flex-direction:column;
gap:20px;
}

/* Discover categories first */

.discover-categories{
order:1;
width:100%;
}

/* New arrivals below */

.new-arrivals{
order:2;
width:100%;
}

/* category grid fix */

.category-grid{
grid-template-columns:repeat(2,1fr);
gap:15px;
}

}

/* ================= MOBILE DISCOVER FIX ================= */

@media (max-width:768px){

.discover-container{
flex-direction:column;
gap:25px;
}

/* discover categories full width */

.discover-left{
width:100%;
order:1;
}

/* new arrival banner below */

.discover-banner{
width:100%;
order:2;
height:220px;
margin-top:10px;
}

}

@media (max-width:768px){

.category-grid{
grid-template-columns:repeat(2,1fr);
gap:15px;
}

}

/* ================= MOBILE SECTION ORDER FIX ================= */

@media (max-width:768px){

.discover-section{
order:1;
}

.certified-section{
order:2;
}

.certificate-section{
order:3;
}

}

/* ================= CERTIFICATE SECTION ================= */

.certificate-section{
padding:80px 20px;
background:#4F2A0F;
}

.certificate-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:1fr 2fr;
gap:30px;
}

/* LEFT SIDE */

.certificate-banner{
background:
linear-gradient(rgba(227,30,36,0.75), rgba(227,30,36,0.75)),
url("images/Awars.jpg");
background-size:cover;
background-position:center;
border-radius:20px;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
min-height:350px;
}

.certificate-overlay{
text-align:center;
padding:30px;
}

.small-text{
letter-spacing:2px;
font-size:12px;
margin-bottom:10px;
}

.certificate-overlay h2{
font-size:32px;
margin-bottom:20px;
}

.certificate-btn{
width:50px;
height:50px;
border-radius:50%;
background:#fff;
color:#e31e24;
display:flex;
align-items:center;
justify-content:center;
margin:auto;
font-size:18px;
text-decoration:none;
transition:0.3s;
}

.certificate-btn:hover{
background:#000;
color:#fff;
}

/* RIGHT SIDE */

.certificate-right{
background:rgba(200,162,122,0.4);
backdrop-filter: blur(5px);
padding:35px;
border-radius:20px;
}

/* header */

.small-title{
color:#e31e24;
font-size:13px;
letter-spacing:2px;
font-weight:600;
}

.certificate-header h2{
font-size:32px;
margin:10px 0 30px;
font-weight:700;
}

/* grid */

.certificate-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

/* card */

.certificate-card{
background:#f7f7f7;
border-radius:15px;
padding:30px 25px;
text-align:center;
transition:0.3s;
cursor:pointer;
}

/* ICON */

.certificate-card i{
font-size:28px;
color:#e31e24;   /* logo red */
margin-bottom:12px;
display:block;
}

/* TEXT */

.certificate-card p{
font-size:16px;
font-weight:600;
color:#111;
margin:0;
}

/* HOVER */

.certificate-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
background:#ffffff;
}

/* responsive */

@media(max-width:992px){

.certificate-container{
grid-template-columns:1fr;
}

.certificate-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.certificate-grid{
grid-template-columns:1fr;
}

}

/* ================= 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;
}

}

/* ================= CONTACT CTA ================= */

.contact-cta{
padding:80px 20px;
background:#4a2412;
}

.cta-container{
max-width:1200px;
margin:auto;
background:#161616;
border-radius:20px;
padding:50px;
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
color:#fff;
}

/* text */

.cta-text h2{
font-size:42px;
font-weight:700;
margin-bottom:15px;
}

.cta-text p{
font-size:16px;
color:#d6d6d6;
margin-bottom:25px;
line-height:1.6;
}

/* buttons */

.cta-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.cta-btn{
padding:12px 24px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:0.3s;
display:inline-flex;
align-items:center;
gap:8px;
}

/* primary */

.cta-btn.primary{
background:#e31e24;
color:#fff;
}

.cta-btn.primary:hover{
background:#c9161c;
}

/* secondary */

.cta-btn.secondary{
border:1px solid #fff;
color:#fff;
}

.cta-btn.secondary:hover{
background:#fff;
color:#000;
}

/* image */

.cta-image img{
width:200px;
height:200px;
object-fit:cover;
border-radius:50%;
border:6px solid #e31e24;
}

/* responsive */

@media(max-width:992px){

.cta-container{
flex-direction:column;
text-align:center;
}

.cta-text h2{
font-size:32px;
}

}

@media(max-width:600px){

.cta-text h2{
font-size:26px;
}

.cta-image img{
width:150px;
height:150px;
}

}