
/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI', sans-serif;
}

body{
  background:#eef2f7;
  color:#333;
}

/* ================= NAV ================= */
.top-nav{
  position:fixed;
  top:0;
  width:100%;
  height:60px;
  background:linear-gradient(45deg,#1877f2,#00c6ff);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 10px;
  color:#fff;
  z-index:1000;
}

.logo{
  font-weight:bold;
  font-size:18px;
}

.search-box{
  background:#fff;
  border-radius:20px;
  padding:5px 10px;
  display:flex;
  align-items:center;
  width:45%;
}

.search-box input{
  border:none;
  outline:none;
  width:100%;
}

.search-box i{
  color:#999;
  margin-right:5px;
}

.hidden{
  display:none;
}

.nav-icons i{
  font-size:18px;
  margin-left:10px;
}

/* ================= CONTENT ================= */
main{
  margin-top:65px;
  margin-bottom:70px;
  padding:10px;
}

/* PAGE */
.page{
  display:none;
}

.page.active{
  display:block;
}

/* ================= STORIES ================= */
.stories{
  display:flex;
  overflow-x:auto;
  gap:10px;
  margin-bottom:10px;
}

.story{
  min-width:60px;
  height:60px;
  border-radius:50%;
  background:linear-gradient(45deg,#ff00cc,#3333ff);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

/* ================= POST ================= */
.post-box{
  background:#fff;
  padding:10px;
  border-radius:12px;
  margin-bottom:10px;
}

.post-box textarea{
  width:100%;
  border:none;
  outline:none;
  resize:none;
  margin-bottom:8px;
}

.post-actions{
  display:flex;
  justify-content:space-between;
}

.upload-btn{
  background:#f1f1f1;
  padding:6px 10px;
  border-radius:20px;
  cursor:pointer;
}

.post-box button{
  background:#1877f2;
  color:#fff;
  border:none;
  padding:6px 15px;
  border-radius:20px;
}

/* POST CARD */
.post{
  background:#fff;
  padding:12px;
  border-radius:12px;
  margin-bottom:10px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.post-img{
  width:100%;
  border-radius:10px;
  margin-top:5px;
}

.post-actions-btn{
  display:flex;
  justify-content:space-around;
  margin-top:8px;
}

/* ================= ECOMMERCE ================= */
.banner{
  background:linear-gradient(45deg,#ff416c,#ff4b2b);
  color:#fff;
  padding:15px;
  border-radius:12px;
  text-align:center;
  margin-bottom:10px;
}

.categories{
  display:flex;
  overflow-x:auto;
  gap:10px;
  margin-bottom:10px;
}

.category{
  background:#fff;
  padding:8px 12px;
  border-radius:20px;
  white-space:nowrap;
  box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

.subcategories{
  display:flex;
  gap:8px;
  margin-bottom:10px;
}

.subcategory{
  background:#ddd;
  padding:6px 10px;
  border-radius:15px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}

.product{
  background:#fff;
  padding:10px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.product img{
  width:100%;
  border-radius:10px;
}

/* ================= REELS ================= */
.reel iframe{
  width:100%;
  height:300px;
  border-radius:12px;
}

/* ================= SERVICES ================= */
.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.service{
  padding:15px;
  border-radius:15px;
  text-align:center;
  color:#fff;
  font-size:13px;
  transition:0.3s;
}

.service:hover{
  transform:scale(1.05);
}

/* COLORS */
.service:nth-child(1){background:linear-gradient(45deg,#ff416c,#ff4b2b);}
.service:nth-child(2){background:linear-gradient(45deg,#f7971e,#ffd200);}
.service:nth-child(3){background:linear-gradient(45deg,#ff9966,#ff5e62);}
.service:nth-child(4){background:linear-gradient(45deg,#a044ff,#6a3093);}
.service:nth-child(5){background:linear-gradient(45deg,#36d1dc,#5b86e5);}
.service:nth-child(6){background:linear-gradient(45deg,#00b09b,#96c93d);}

/* ================= PROFILE ================= */
.profile{
  background:linear-gradient(45deg,#1877f2,#00c6ff);
  padding:20px;
  border-radius:15px;
  text-align:center;
  color:#fff;
}

.profile img{
  width:80px;
  height:80px;
  border-radius:50%;
  border:3px solid #fff;
  margin-bottom:10px;
}

.profile-actions{
  margin-top:10px;
}

.profile-actions button{
  margin:5px;
  padding:6px 12px;
  border:none;
  border-radius:20px;
  background:#fff;
  color:#1877f2;
}

/* ================= FOOTER ================= */
.footer{
  position:fixed;
  bottom:0;
  width:100%;
  height:60px;
  background:#fff;
  display:flex;
  justify-content:space-around;
  align-items:center;
  border-top:1px solid #ddd;
}

.nav-item{
  font-size:22px;
  color:#888;
}

.nav-item.active{
  color:#1877f2;
}