/* =====================
   Global Shared Styles
   Used by: index.html, product.html, etc.
===================== */
* { margin:0; padding:0; box-sizing:border-box; }

:root{
  --bg:#f5f5f7;
  --card:#ffffff;
  --accent:#c99a5b;
  --text:#222222;
  --muted:#7d7f89;
  --border:#e1e2ea;
  --radius:18px;
  --radius-full:999px;
  --shadow-soft:0 20px 40px rgba(15,23,42,0.12);
  --max-width:1280px;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text";
  background: radial-gradient(circle at top left, #ffffff 0, #f5f5f7 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 17px;
}

a{ text-decoration:none; color:inherit; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================
   Buttons (shared)
===================== */
.btn{
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid #dadbe5;
  font-size: 14px;
  cursor: pointer;
  transition: all .18s ease;
}
.btn:hover{
  border-color:#c99a5b33;
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}
.btn-primary{
  background: linear-gradient(135deg,#f7ead2,#c99a5b);
  color:#3b2a18;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(201,154,91,0.35);
}

/* =====================
   Navbar (shared)
===================== */
.navbar{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.nav-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 12px 20px;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo-img{
  height:34px;
  width:auto;
  display:block;
  margin-right:10px;
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}

.logo-text span:first-child{
  font-size:13px;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.logo-text span:last-child{
  font-size:11px;
  color: var(--muted);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:14px;
  color: var(--muted);
}

.nav-links a{
  position:relative;
  padding-bottom:3px;
  transition: color .2s ease;
}

.nav-links a:hover{ color: var(--text); }

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background: var(--accent);
  transition: .2s;
}
.nav-links a:hover::after{ width:100%; }

.nav-cta{ display:flex; gap:12px; }

/* =====================
   Footer (shared)
===================== */
.footer{
  position: relative;
  margin-top: 40px;
  color: #fff;
  padding: 48px 0 24px;
  background:
    linear-gradient(to bottom, rgba(40,26,18,0.65), rgba(20,12,8,0.75)),
    url("../img/Home/footer-wood.jpg") center/cover no-repeat;
}

.footer-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  column-gap: 216px;
  row-gap: 20px;
  margin-bottom: 28px;
  font-size: 13px;
}

.footer-heading{
  font-weight:600;
  margin-bottom:12px;
  font-size:20px;
}

.footer-text{
  color:#e7e9ec;
  margin-bottom:6px;
  font-size:12px;
}

.footer-link{
  display:block;
  margin-bottom:6px;
  color:#d9dde5;
  font-size:13px;
}

.footer-link:hover{ color:#fff; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.25);
  padding-top:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  font-size:12px;
  color:#d7dbe3;
}

/* =====================
   Responsive (shared)
===================== */
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 24px; }
}
@media (max-width: 700px){
  .nav-links{ display:none; }
  .footer-grid{ grid-template-columns: minmax(0,1fr); }
}

/* =========================
   Apple-ish scroll reveal
========================= */
.reveal{
  opacity: 0;
  transform: translateY(18px) scale(.985);
  filter: blur(10px);
  transition:
    opacity .85s cubic-bezier(.2,.8,.2,1),
    transform .85s cubic-bezier(.2,.8,.2,1),
    filter .85s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform, filter;
}

.reveal.in{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; filter:none; transition:none; }
}

