/*
Theme Name: ZipDirectory PRO
Version: 5.0
*/

/* ================= ROOT ================= */

:root{
  --primary:#0ea5e9;
  --primary-dark:#0284c7;
  --dark:#0f172a;
  --muted:#64748b;
  --bg:#f8fafc;
  --card:#ffffff;
  --radius:16px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:var(--bg);
  color:var(--dark);
}

.container{
  width:92%;
  max-width:1200px;
  margin:auto;
}

/* ================= HEADER ================= */

.site-header{
  background:#ffffff;
  border-bottom:1px solid #e2e8f0;
  padding:18px 0;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-size:22px;
  font-weight:700;
  color:var(--dark);
  text-decoration:none;
}

.main-nav ul{
  display:flex;
  gap:32px;
  list-style:none;
  margin:0;
  padding:0;
}

.main-nav a{
  color:var(--muted);
  font-weight:600;
  text-decoration:none;
  transition:.2s;
}

.main-nav a:hover{
  color:var(--primary);
}

.btn-primary{
  background:var(--primary);
  color:#fff;
  padding:10px 20px;
  border-radius:10px;
  font-weight:600;
  text-decoration:none;
  transition:.2s;
}

.btn-primary:hover{
  background:var(--primary-dark);
}

/* ================= HERO ================= */

.hero{
  position:relative;
  height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
}

.hero img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,0.5),rgba(0,0,0,0.6));
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
}

.hero h1{
  font-size:48px;
  font-weight:700;
  margin-bottom:20px;
}

.hero p{
  font-size:20px;
  margin-bottom:35px;
  color:#e2e8f0;
}

/* ================= GLASS SEARCH ================= */

.search-box{
  display:flex;
  gap:12px;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(10px);
  padding:15px;
  border-radius:var(--radius);
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
}

.search-box input,
.search-box select{
  flex:1;
  padding:14px;
  border:none;
  border-radius:10px;
  font-size:15px;
}

.search-box button{
  padding:14px 24px;
  border:none;
  background:var(--primary);
  color:#fff;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  transition:.2s;
}

.search-box button:hover{
  background:var(--primary-dark);
}

/* ================= SECTION ================= */

.section{
  padding:80px 0;
}

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  font-size:30px;
  margin-bottom:10px;
}

.section-title p{
  color:var(--muted);
}

/* ================= CARD ================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:25px;
  box-shadow:0 15px 40px rgba(0,0,0,0.05);
  transition:.3s;
  border:1px solid #e2e8f0;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 60px rgba(0,0,0,0.08);
}

.card img{
  max-height:70px;
  margin-bottom:15px;
  object-fit:contain;
}

.card h3{
  font-size:20px;
  margin-bottom:8px;
}

.card .meta{
  font-size:14px;
  color:var(--muted);
  margin-bottom:18px;
}

.card .actions{
  display:flex;
  gap:10px;
}

.card .actions a{
  flex:1;
  padding:10px;
  border-radius:8px;
  text-align:center;
  font-size:14px;
  text-decoration:none;
  font-weight:600;
}

.card .actions .primary{
  background:var(--primary);
  color:#fff;
}

.card .actions .secondary{
  border:1px solid var(--primary);
  color:var(--primary);
}

/* ================= FOOTER ================= */

.site-footer{
  background:#0f172a;
  color:#cbd5e1;
  padding:70px 0;
  margin-top:100px;
}

.site-footer h4{
  color:#fff;
}

.site-footer a{
  color:#94a3b8;
  text-decoration:none;
}

.site-footer a:hover{
  color:#fff;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

  .main-nav{display:none;}

  .hero{
    height:auto;
    padding:100px 20px;
  }

  .hero h1{
    font-size:30px;
  }

  .hero p{
    font-size:16px;
  }

  .search-box{
    flex-direction:column;
  }

}