/* =========================================
   Assam Furniture — Static Site Stylesheet
   ========================================= */

/* ----- Reset & base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1f2937;
  background: #faf8f5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* ----- Layout helpers ----- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section { padding: 6rem 0; }
}

.section-amber-light { background: #fffbeb; }
.bg-white { background: #fff; }

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .section-head { margin-bottom: 4rem; }
}

.eyebrow {
  color: #b45309;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.eyebrow-light {
  color: #fcd34d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .eyebrow-light { font-size: 1rem; }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

.section-title.left { text-align: left; }

.section-desc {
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto;
}

.section-desc.left { margin: 0; }
.section-desc.big {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.gap-md { gap: 1.5rem; }
.gap-lg { gap: 3rem; }

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.align-center { align-items: center; }
.mt-lg { margin-top: 2rem; }
.hidden { display: none !important; }

.desktop-only { display: none; }
.mobile-only { display: inline-flex; }

@media (min-width: 768px) {
  .desktop-only { display: flex; }
  .mobile-only { display: none; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1.25rem; }
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block { width: 100%; display: flex; }

.btn-primary {
  background: #92400e;
  color: white;
}
.btn-primary:hover { background: #78350f; }

.btn-amber {
  background: #d97706;
  color: white;
}
.btn-amber:hover { background: #b45309; }

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-outline-light:hover {
  background: white;
  color: #78350f;
}

.btn-outline-amber {
  background: transparent;
  color: #92400e;
  border-color: #92400e;
}
.btn-outline-amber:hover {
  background: #92400e;
  color: white;
}

/* ----- Navbar ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 640px) {
  .nav-inner { height: 5rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  background: #92400e;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.brand-mark-light { background: #b45309; }

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: white;
  transition: color 0.3s ease;
}

.navbar.scrolled .brand-name { color: #451a03; }
.brand-name-light { color: white !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #d97706; }

.navbar.scrolled .nav-links a:not(.btn) { color: #374151; }
.navbar.scrolled .nav-links a:not(.btn):hover { color: #d97706; }

.nav-links a.btn { color: white; }

.menu-toggle {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
}

.navbar.scrolled .menu-toggle { color: #1f2937; }

.icon { width: 1.5rem; height: 1.5rem; }
.icon-sm { width: 1.25rem; height: 1.25rem; margin-left: 0.25rem; }

.mobile-menu {
  background: white;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.mobile-menu a {
  display: block;
  color: #374151;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mobile-menu a:hover { color: #b45309; }

.mobile-menu a.btn {
  margin-top: 0.5rem;
  color: white;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero { height: 700px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3)
  );
}

.hero-content {
  position: relative;
  width: 100%;
}

.hero-content > * { max-width: 42rem; }

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-title .accent { color: #fbbf24; }

.hero-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ----- Cards ----- */
.card {
  background: white;
  border-radius: 0.75rem;
  border: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* ----- Products ----- */
.product .product-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product:hover .product-img img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.card-body { padding: 1.25rem; }

.rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
}

.icon-star { color: #fbbf24; fill: #fbbf24; }

.product-name {
  font-weight: 600;
  color: #111827;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.product-price {
  color: #b45309;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ----- Customize ----- */
.custom-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.custom-list li {
  display: flex;
  gap: 1rem;
}

.custom-list .num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: #fef3c7;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
  font-weight: 700;
  font-size: 0.875rem;
}

.custom-list h4 {
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.custom-list p {
  color: #4b5563;
  font-size: 0.875rem;
}

.custom-visual {
  position: relative;
}

.custom-visual img {
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
}

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-card-icon {
  width: 3rem;
  height: 3rem;
  background: #fef3c7;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
  flex-shrink: 0;
}

.strong { font-weight: 700; color: #111827; }
.muted { color: #4b5563; }
.small { font-size: 0.875rem; }

/* ----- Features ----- */
.feature {
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: #fffbeb;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #b45309;
}

.feature h3 {
  font-weight: 700;
  color: #111827;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ----- Stats ----- */
.stats {
  margin-top: 4rem;
  background: #92400e;
  border-radius: 1rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) { .stats { padding: 3rem; } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }

.stat-label {
  color: #fde68a;
  font-size: 0.875rem;
}

/* ----- Contact ----- */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-card:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: #fef3c7;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
  flex-shrink: 0;
}

.contact-card h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.contact-card p {
  color: #4b5563;
  font-size: 0.95rem;
}

.map-placeholder {
  background: #f3f4f6;
  border-radius: 1rem;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.map-icon {
  color: #b45309;
  margin: 0 auto 1rem;
}

.map-placeholder .strong { margin-bottom: 0.5rem; }
.map-placeholder .small { margin-bottom: 1rem; }

/* ----- Footer ----- */
.footer {
  background: #451a03;
  color: #fef3c7;
  padding: 3rem 0;
}

.footer-grid { margin-bottom: 2.5rem; }

.footer-brand { margin-bottom: 1rem; }

.footer-desc {
  color: rgba(254, 243, 199, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer ul a {
  color: rgba(254, 243, 199, 0.8);
  transition: color 0.2s ease;
}

.footer ul a:hover { color: white; }

.footer ul.plain li { color: rgba(254, 243, 199, 0.8); }

.footer-bottom {
  border-top: 1px solid #78350f;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(252, 211, 77, 0.6);
}
