/* landing.css - Mub Log Marketplace (image-enhanced 4-section landing page) */

/* Theme variables */
:root{
  --white: #ffffff;
  --bg: #ffffff;
  --muted: #6b7280;
  --accent: #007bff;
  --accent-2: #ffcc00;
  --card: #ffffff;
  --container: 1100px;
  --shadow: 0 10px 30px rgba(12,22,38,0.06);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:var(--bg);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-text-size-adjust:100%;
}

/* container */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

/* HERO */
.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  padding:48px 0;
  position:relative;
  overflow:hidden;
  background: linear-gradient(180deg, rgba(6,123,255,0.06) 0%, rgba(255,255,255,1) 70%);
}

.hero-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  width:100%;
}

/* left copy */
.hero-left{ flex:1; max-width:640px;}
.hero-title{
  font-size:3rem;
  color:var(--accent);
  margin:0 0 10px 0;
  line-height:1.02;
  font-weight:800;
}
.hero-lead{
  font-size:1.15rem;
  margin:0 0 8px 0;
  color:#111827;
}
.hero-sub{ color:var(--muted); margin-bottom:18px; }

/* hero media */
.hero-media{
  flex:1; display:flex; align-items:center; justify-content:center;
}
.hero-media img{
  width:100%;
  max-width:420px;
  border-radius:16px;
  box-shadow:var(--shadow);
  display:block;
}

/* scroll down arrow */
.scroll-down{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  font-size:20px;
  text-decoration:none;
  color: #374151;
  opacity:0.9;
  animation: floaty 2.4s ease-in-out infinite;
}

/* SERVICES */
.section{ padding:72px 0; }
.section-title{ text-align:center; color:var(--accent); font-size:2rem; margin-bottom:6px;}
.section-sub{ text-align:center; color:var(--muted); margin-bottom:28px; }

/* grid */
.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
  margin-top:18px;
}

/* card */
.card{
  background:var(--card);
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .28s ease, box-shadow .28s ease;
  border:1px solid rgba(15,23,42,0.03);
  opacity:0;
  transform: translateY(18px) scale(.995);
}

.card-media img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
}

.card-body{ padding:16px; }
.card h3{ margin:0 0 8px 0; font-size:1.05rem; color:#0f172a; }
.card p{ margin:0; color:#4b5563; font-size:.95rem; }

/* SPECIALS */
.special{ background:transparent; padding-top:48px; }
.special-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-top:20px;
}
.special-card{
  text-align:center;
  padding:18px;
  background:#fff;
  border-radius:12px;
  box-shadow:var(--shadow);
  border:1px solid rgba(15,23,42,0.03);
}
.special-card img{ width:70px; height:70px; object-fit:cover; border-radius:12px; display:block; margin:0 auto 12px; }

/* CTA */
.cta{
  padding:46px 0;
  background: linear-gradient(180deg, rgba(255,204,0,0.06) 0%, rgba(255,255,255,0.02) 100%);
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:#fff;
  padding:22px;
  border-radius:12px;
  box-shadow:var(--shadow);
  border:1px solid rgba(15,23,42,0.03);
}
.cta-text h2{ margin:0 0 6px 0; font-size:1.4rem; color:#0f172a; }
.cta-text p{ margin:0; color:var(--muted); }

/* footer */
.site-footer{ padding:26px 0; color:var(--muted); text-align:center; }

/* reveal animations */
.reveal{ opacity:0; transform: translateY(22px) scale(.995); transition: all .7s cubic-bezier(.2,.9,.2,1); }
.reveal.is-visible{ opacity:1; transform: translateY(0) scale(1); }

/* small utility */
.muted{ color:var(--muted); }

/* responsive */
@media (max-width:980px){
  .hero-inner{ flex-direction:column-reverse; text-align:center; }
  .hero-media img{ max-width:320px; margin-bottom:18px; }
  .cta-inner{ flex-direction:column; }
}
@media (max-width:540px){
  .hero-title{ font-size:2rem; }
  .hero-lead{ font-size:1rem; }
  .card-media img{ height:140px; }
}

/* animations */
@keyframes floaty{
  0%{ transform:translateX(-50%) translateY(0) }
  50%{ transform:translateX(-50%) translateY(8px) }
  100%{ transform:translateX(-50%) translateY(0) }
}
/* BUTTON STYLES */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-yellow {
  background-color: var(--accent-2);
  color: #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-yellow:hover {
  background-color: #ffd633;
  transform: translateY(-2px);
}
