/*
Theme Name: APMW Marketplace
Theme URI: https://apmarketingworld.com
Author: APMW
Description: Custom marketplace theme
Version: 1.0
*/

body{
font-family: Arial, sans-serif;
margin:0;
background:#f2f4f5;
}

/* Header */

.header{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 40px;
background:#002f34;
color:white;
}

.logo img{
height:60px;
}

.menu a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:bold;
}

.post-ad{
background:#ffce32;
padding:10px 20px;
border-radius:5px;
}
.hero{
text-align:center;
padding:80px 20px;
background:#002f34;
color:white;
}

.search-box{
margin-top:20px;
}

.search-box input{
width:400px;
padding:12px;
border:none;
border-radius:4px;
}

.search-box button{
padding:12px 20px;
background:#ffce32;
border:none;
border-radius:4px;
}

.categories{
padding:60px;
text-align:center;
}

.category-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:30px;
}

.cat{
background:white;
padding:40px;
border-radius:8px;
box-shadow:0 0 10px rgba(0,0,0,0.1);
}
/* HEADER */

.header{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 40px;
background:#002f34;
color:white;
}

.logo img{
height:80px;
}

.menu a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:bold;
}

.post-ad{
background:#ffce32;
padding:10px 20px;
border-radius:5px;
color:black;
}

/* HERO */

.hero{
text-align:center;
padding:80px 20px;
background:#002f34;
color:white;
}

.search-box{
margin-top:20px;
}

.search-box input{
width:400px;
padding:12px;
border:none;
border-radius:4px;
}

.search-box button{
padding:12px 20px;
background:#ffce32;
border:none;
border-radius:4px;
}

/* CATEGORIES */

.categories{
padding:60px;
text-align:center;
}

.category-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:30px;
}

.cat{
background:white;
padding:40px;
border-radius:8px;
box-shadow:0 0 10px rgba(0,0,0,0.1);
}
/* GLOBAL */

body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:#f2f4f5;
}

/* HEADER */

.header{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 40px;
background:#002f34;
}

/* LOGO */

.logo img{
height:60px;
width:auto;
}

/* MENU */

.menu{
display:flex;
align-items:center;
}

.menu a{
color:white;
text-decoration:none;
margin-left:25px;
font-weight:bold;
}

/* POST AD BUTTON */

.post-ad{
background:#ffce32;
color:black;
padding:10px 20px;
border-radius:6px;
}
.cat{
background:white;
padding:35px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
text-align:center;
transition:0.3s;
}

.cat img{
width:60px;
margin-bottom:10px;
}

.cat:hover{
transform:translateY(-5px);
}
.featured{
padding:70px;
text-align:center;
}

.ads-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:30px;
}

.ad{
background:white;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
overflow:hidden;
}

.ad img{
width:100%;
}

.ad h3{
margin:10px;
}

.ad p{
color:#007a78;
font-weight:bold;
margin-bottom:15px;
}
/* MOBILE RESPONSIVE */

@media (max-width: 900px){

.category-grid{
grid-template-columns:repeat(2,1fr);
}

.ads-grid{
grid-template-columns:repeat(2,1fr);
}

.hero h1{
font-size:28px;
}

.search-box input{
width:250px;
}

}

@media (max-width: 500px){

.category-grid{
grid-template-columns:1fr;
}

.ads-grid{
grid-template-columns:1fr;
}

.menu{
flex-direction:column;
gap:10px;
}

.header{
flex-direction:column;
align-items:center;
}

.search-box input{
width:200px;
}

}
/* STICKY HEADER */

.header{
position:sticky;
top:0;
z-index:1000;
}

/* HAMBURGER BUTTON */

.menu-toggle{
display:none;
background:none;
border:none;
font-size:26px;
color:white;
cursor:pointer;
}

/* MOBILE */

@media (max-width:768px){

.menu{
display:none;
flex-direction:column;
background:#002f34;
width:100%;
padding:20px;
}

.menu a{
margin:10px 0;
}

.menu.show{
display:flex;
}

.menu-toggle{
display:block;
}

.header{
flex-wrap:wrap;
}

}