/* ========================================= */
/* ATOZ TECH EXCHANGE - MAIN STYLE.CSS */
/* ========================================= */


/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}


/* BODY */

body{

font-family:'Poppins',sans-serif;
background:#f5ede3;
color:#2d241d;
overflow-x:hidden;
line-height:1.7;

}


/* LINKS */

a{

text-decoration:none;
transition:0.3s;

}


/* IMAGES */

img{

max-width:100%;
display:block;

}


/* CONTAINER */

.container{

width:100%;
max-width:1300px;
margin:auto;
padding:0 20px;

}


/* ========================================= */
/* HEADER */
/* ========================================= */

header{

display:flex;
justify-content:space-between;
align-items:center;
padding:20px 60px;
background:#efe4d6;
border-bottom:1px solid #d9c7b3;
position:sticky;
top:0;
z-index:999;

}

.logo{

font-size:30px;
font-weight:700;
color:#2d241d;

}


/* NAV */

nav{

display:flex;
align-items:center;
gap:25px;

}

nav a{

color:#2d241d;
font-weight:500;
font-size:15px;
position:relative;

}

nav a:hover{

color:#8b6b4a;

}

nav a::after{

content:'';
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:#8b6b4a;
transition:0.3s;

}

nav a:hover::after{

width:100%;

}


/* MENU BUTTON */

.menu-btn{

display:none;
font-size:24px;
cursor:pointer;

}


/* ========================================= */
/* HERO SECTION */
/* ========================================= */

.hero,
.page-hero{

padding:120px 40px;
text-align:center;
background:linear-gradient(
135deg,
#efe4d6,
#f5ede3
);

}

.hero h1,
.page-hero h1{

font-size:68px;
margin-bottom:25px;
line-height:1.2;

}

.hero p,
.page-hero p{

max-width:850px;
margin:auto;
font-size:18px;
line-height:1.9;
color:#6b5b4d;

}


/* ========================================= */
/* BUTTONS */
/* ========================================= */

.btn{

background:#8b6b4a;
color:white;
padding:14px 26px;
border-radius:14px;
display:inline-block;
font-size:15px;
font-weight:500;
border:none;
cursor:pointer;
transition:0.3s;

}

.btn:hover{

background:#6f5438;
transform:translateY(-4px);

}

.secondary-btn{

background:#d9c7b3;
color:#2d241d;

}

.secondary-btn:hover{

background:#c9b49c;

}


/* ========================================= */
/* SECTION TITLE */
/* ========================================= */

.section-title{

text-align:center;
margin-bottom:60px;

}

.section-title h2{

font-size:52px;
margin-bottom:15px;

}

.section-title p{

max-width:700px;
margin:auto;
color:#6b5b4d;

}


/* ========================================= */
/* GRID SYSTEM */
/* ========================================= */

.products-grid,
.market-grid,
.vendors-grid,
.team-grid,
.why-grid,
.services-grid{

display:grid;
grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}


/* ========================================= */
/* CARDS */
/* ========================================= */

.product-card,
.market-card,
.vendor-card,
.team-card,
.why-card,
.service-card{

background:#efe4d6;
border-radius:24px;
overflow:hidden;
border:1px solid #d9c7b3;

box-shadow:
0 10px 30px rgba(0,0,0,0.05);

transition:0.3s;

}

.product-card:hover,
.market-card:hover,
.vendor-card:hover,
.team-card:hover,
.why-card:hover,
.service-card:hover{

transform:translateY(-10px);

}


/* CARD IMAGE */

.product-card img,
.market-card img,
.team-card img{

width:100%;
height:240px;
object-fit:cover;

}


/* CARD CONTENT */

.product-content,
.market-content,
.service-content{

padding:30px;

}

.product-content h2,
.market-content h2,
.service-content h2{

margin-bottom:15px;
font-size:24px;

}

.product-content p,
.market-content p,
.service-content p{

color:#6b5b4d;
line-height:1.8;

}


/* ========================================= */
/* PRODUCT INFO */
/* ========================================= */

.product-info,
.market-info{

display:flex;
justify-content:space-between;
align-items:center;
gap:15px;
margin-top:25px;
flex-wrap:wrap;

}

.price{

font-size:20px;
font-weight:700;
color:#8b6b4a;

}


/* ========================================= */
/* SEARCH */
/* ========================================= */

.market-search{

display:flex;
justify-content:center;
align-items:center;
gap:20px;
padding:40px;
flex-wrap:wrap;

}

.search-box,
.market-filter{

padding:16px;
border-radius:14px;
border:1px solid #d9c7b3;
background:#efe4d6;
font-size:15px;
font-family:'Poppins',sans-serif;
min-width:260px;

}

.search-box:focus,
.market-filter:focus{

outline:none;
border-color:#8b6b4a;

}


/* ========================================= */
/* WHY SECTION */
/* ========================================= */

.why-section,
.products-section,
.marketplace-section,
.vendors-section,
.team-section,
.contact-section,
.about-section{

padding:80px 40px;

}

.why-card{

padding:40px;
text-align:center;

}

.why-card i{

font-size:55px;
margin-bottom:20px;
color:#8b6b4a;

}


/* ========================================= */
/* STATS */
/* ========================================= */

.stats-section{

padding:70px 40px;

display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.stat-box{

background:#efe4d6;
padding:40px;
text-align:center;
border-radius:22px;
border:1px solid #d9c7b3;

box-shadow:
0 10px 30px rgba(0,0,0,0.05);

}

.stat-box h2{

font-size:48px;
margin-bottom:10px;
color:#8b6b4a;

}

.stat-box p{

color:#6b5b4d;

}


/* ========================================= */
/* CONTACT */
/* ========================================= */

.contact-container{

display:grid;
grid-template-columns:1fr 1fr;
gap:50px;

}

.contact-box{

display:flex;
gap:20px;
margin-top:30px;

}

.contact-box i{

font-size:28px;
color:#8b6b4a;

}


/* ========================================= */
/* FORMS */
/* ========================================= */

form{

display:flex;
flex-direction:column;
gap:20px;

}

form input,
form textarea,
form select{

padding:16px;
border-radius:14px;
border:1px solid #d9c7b3;
background:#f5ede3;
font-family:'Poppins',sans-serif;
font-size:15px;

}

form textarea{

min-height:140px;
resize:none;

}

form input:focus,
form textarea:focus,
form select:focus{

outline:none;
border-color:#8b6b4a;

}


/* ========================================= */
/* CTA SECTION */
/* ========================================= */

.cta-section{

padding:100px 40px;
text-align:center;
background:#efe4d6;

}

.cta-section h2{

font-size:54px;
margin-bottom:20px;

}

.cta-section p{

max-width:750px;
margin:auto;
line-height:1.9;
color:#6b5b4d;
margin-bottom:35px;

}


/* ========================================= */
/* ADS SECTION */
/* ========================================= */

.ads-section{

margin:50px 0;
padding:20px;
border-radius:20px;
overflow:hidden;

}

.infeed-ads{

background:#efe4d6;

}

.multiplex-section{

background:#f5ede3;

}


/* ========================================= */
/* FOOTER */
/* ========================================= */

footer{

padding:40px;
background:#d9c7b3;
text-align:center;

}

.footer-links{

margin-top:15px;

}

.footer-links a{

margin:0 12px;
color:#2d241d;

}

.footer-links a:hover{

color:#8b6b4a;

}


/* ========================================= */
/* TABLES */
/* ========================================= */

.table-section{

padding:40px;
overflow-x:auto;

}

.admin-table{

width:100%;
border-collapse:collapse;
background:#efe4d6;
border-radius:20px;
overflow:hidden;

}

.admin-table th,
.admin-table td{

padding:18px;
border-bottom:1px solid #d9c7b3;
text-align:left;

}

.admin-table th{

background:#d9c7b3;

}


/* ========================================= */
/* LOGIN */
/* ========================================= */

.login-page{

min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:40px;

}

.login-container{

width:100%;
max-width:1150px;
display:grid;
grid-template-columns:1fr 1fr;
background:#efe4d6;
border-radius:24px;
overflow:hidden;

box-shadow:
0 10px 40px rgba(0,0,0,0.08);

}

.login-left{

padding:60px;
background:linear-gradient(
135deg,
#8b6b4a,
#6f5438
);

color:white;
display:flex;
flex-direction:column;
justify-content:center;

}

.login-left h1{

font-size:42px;
margin-bottom:20px;

}

.login-left p{

line-height:1.9;

}

.login-right{

padding:60px;
display:flex;
flex-direction:column;
justify-content:center;

}


/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media(max-width:992px){

.contact-container{

grid-template-columns:1fr;

}

.login-container{

grid-template-columns:1fr;

}

.login-left{

display:none;

}

}


@media(max-width:768px){

header{

padding:20px;

}

nav{

display:none;

}

.menu-btn{

display:block;

}

.hero h1,
.page-hero h1{

font-size:42px;

}

.hero,
.page-hero,
.products-section,
.marketplace-section,
.vendors-section,
.team-section,
.contact-section,
.about-section,
.why-section,
.cta-section{

padding:60px 20px;

}

.stats-section{

padding:50px 20px;

}

.ads-section{

margin:30px 0;
padding:10px;

}

.login-right{

padding:40px 25px;

}

}