/* Limson International — Warm Travertine */
:root {
  --bg: #F7F3EE;
  --surface: #EDE7DE;
  --primary: #B85C38;
  --secondary: #7A5C44;
  --text: #1E1510;
  --muted: #8C7B6E;
  --line: #D9CFC4;
  --cta: #2C3E35;
  --nav-bg: #FFFDF9;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.5rem; }
p { color: var(--text); }
.muted { color: var(--muted); }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { padding: 80px 0; border-bottom: 1px solid var(--line); }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: #1f2d26; }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled { background: rgba(255,253,249,0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--text); }
.brand span { color: var(--primary); font-weight: 400; font-style: italic; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); padding-bottom: 4px; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-color: var(--primary); }

/* Hero */
.hero { padding: 100px 0 120px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 24px; display: inline-block;
}
.hero h1 .word {
  display: inline-block; opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.25s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.4s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.55s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.7s; }
.hero h1 .word:nth-child(6) { animation-delay: 0.85s; }
.hero h1 .word:nth-child(7) { animation-delay: 1.0s; }
.hero h1 .accent { color: var(--primary); font-style: italic; }
.hero-lead { margin: 32px 0 40px; color: var(--secondary); font-size: 17px; max-width: 460px; }
.hero-ctas { display: flex; gap: 16px; }
.hero-img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; bottom: 20px; left: 20px; background: var(--bg); padding: 10px 16px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); border: 1px solid var(--line); }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Category strip */
.cat-strip { padding: 60px 0; }
.cat-strip-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 12px; border: 1px solid var(--line); background: var(--surface);
  transition: transform .25s ease, border-color .25s ease;
}
.cat-tile:hover { transform: translateY(-4px); border-color: var(--primary); }
.cat-icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--primary); }
.cat-tile span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }

/* Section heading */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 12px; }
.sec-head p { color: var(--muted); max-width: 560px; margin: 16px auto 0; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.product-card {
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color .25s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--primary); }
.pc-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--surface); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .pc-img img { transform: scale(1.04); }
.pc-cat {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--bg); color: var(--primary);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line);
}
.pc-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-body h3 { font-size: 1.2rem; }
.pc-body p { color: var(--muted); font-size: 14px; flex: 1; }
.pc-enquire { margin-top: 12px; align-self: flex-start; }

/* Why Limson */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.why-block { padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.why-num { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary); margin-bottom: 16px; display: block; }
.why-block h3 { margin-bottom: 12px; }
.why-block p { color: var(--secondary); font-size: 15px; }

/* Contact strip */
.contact-strip { background: var(--surface); padding: 60px 0; border-bottom: 1px solid var(--line); }
.contact-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cs-left h3 { margin-bottom: 8px; }
.cs-left p { color: var(--secondary); max-width: 520px; }

/* Footer */
.site-footer { background: var(--bg); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 64px; margin-bottom: 50px; }
.footer-grid h5 { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; }
.footer-grid a { display: block; font-size: 14px; color: var(--text); padding: 4px 0; }
.footer-grid a:hover { color: var(--primary); }
.footer-grid p { font-size: 14px; margin-bottom: 12px; }
.copyright { padding-top: 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

/* Products page */
.page-header { padding: 80px 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.page-header .eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 12px; }
.page-header p { color: var(--muted); max-width: 580px; margin: 16px auto 0; }
.filter-bar { padding: 40px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; border-bottom: 1px solid var(--line); }
.pill {
  display: inline-block; padding: 10px 22px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); cursor: pointer; transition: all .25s ease;
  font-family: 'DM Sans', sans-serif;
}
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* About */
.about-banner { aspect-ratio: 21/9; overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-bottom: 80px; }
.about-banner img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-grid h2 { margin-bottom: 24px; }
.about-grid p { color: var(--secondary); margin-bottom: 18px; font-size: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { margin-bottom: 32px; }
.info-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 8px; }
.info-item .value { font-size: 16px; color: var(--text); }
.map-wrap { margin-top: 32px; aspect-ratio: 4/3; border: 1px solid var(--line); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-form label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 0; font-family: 'DM Sans', sans-serif;
  font-size: 15px; margin-bottom: 20px; transition: border-color .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-msg { padding: 14px 18px; margin-bottom: 20px; font-size: 14px; display: none; }
.form-msg.success { display: block; background: var(--surface); color: var(--cta); border: 1px solid var(--cta); }
.form-msg.error { display: block; background: #fbe9e3; color: var(--primary); border: 1px solid var(--primary); }

/* Admin */
.admin-wrap { max-width: 1100px; margin: 40px auto; padding: 0 24px; }
.admin-login { max-width: 380px; margin: 100px auto; padding: 40px; background: var(--surface); border: 1px solid var(--line); }
.admin-login h2 { margin-bottom: 24px; text-align: center; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-table th { background: var(--surface); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.admin-table img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line); }
.admin-actions { display: flex; gap: 8px; }
.admin-actions a, .admin-actions button { font-size: 11px; padding: 8px 14px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.admin-form { background: var(--surface); padding: 32px; border: 1px solid var(--line); margin-bottom: 32px; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line);
  font-family: 'DM Sans', sans-serif; font-size: 14px; margin-bottom: 16px; border-radius: 0;
}
.admin-form label { display: block; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--secondary); margin-bottom: 6px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-strip-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 60px 0; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 10px; }
}
@media (max-width: 600px) {
  .product-grid, .why-grid, .cat-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 16px 20px; }
  .brand { font-size: 18px; }
  .nav-links { gap: 12px; }
  h1 { font-size: 2rem; }
}
