/* ===== Roopa Arts — Base ===== */
:root {
  --wood-dark: #3a1f14;
  --wood: #6b3a22;
  --wood-light: #8a4d2c;
  --gold: #b8863b;
  --gold-light: #d9a85c;
  --cream: #ffffff;
  --text: #2a1d14;
  --text-muted: #6b5d51;
  --border: #ece3d8;
  --logo-cream: #ffffff;
  --radius: 6px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--wood-dark);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

section { padding: 72px 0; scroll-margin-top: var(--header-h, 100px); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head p { color: var(--text-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: #25d366;
  color: #fff;
}
.btn-primary:hover { background: #1da851; }

.btn-outline {
  background: transparent;
  border-color: var(--wood);
  color: var(--wood);
}
.btn-outline:hover { background: var(--wood); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--wood-dark);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--wood); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid rgba(184, 134, 59, 0.25);
  transition: transform 0.25s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 74px;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(58, 31, 20, 0.22));
  transition: filter 0.2s ease, transform 0.2s ease;
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 5px 10px rgba(58, 31, 20, 0.3));
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.main-nav a:hover { color: var(--wood); }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.nav-dropdown-trigger:hover { color: var(--wood); }
.nav-dropdown-trigger .caret { font-size: 0.7em; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 4px);
  min-width: 140px;
  background: var(--logo-cream);
  border: 1px solid rgba(184, 134, 59, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -12px rgba(58, 31, 20, 0.35);
  padding: 6px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 8px);
}
.dropdown-menu a {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(184, 134, 59, 0.15); color: var(--wood); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.header-tagline {
  font-family: var(--sans);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--wood-dark);
  white-space: nowrap;
}
.header-tagline .tagline-dot {
  color: var(--gold);
  font-size: 0.7em;
  margin: 0 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--wood-dark);
  display: block;
}

/* ===== Hero ===== */
.hero {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-media img {
  max-height: 480px;
  width: auto;
}

/* ===== Trust strip ===== */
.trust-strip {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item { color: var(--wood-dark); }
.trust-item .icon { font-size: 1.6rem; margin-bottom: 8px; }
.trust-item .label {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ===== Featured product ===== */
.featured .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.featured h2 { font-size: 2rem; }
.featured-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}
.featured-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  color: var(--text);
}
.featured-list li::before {
  content: "\2726";
  color: var(--gold);
  flex-shrink: 0;
}
.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.price-discounted {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wood-dark);
}
.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Craftsmanship story ===== */
.craft-story { background: #fff; }
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.craft-item { text-align: center; padding: 0 12px; }
.craft-item .icon { font-size: 1.8rem; margin-bottom: 14px; }
.craft-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.craft-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Gallery ===== */
.gallery { background: var(--cream); }
.gallery-frame {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== More products ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.product-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Contact ===== */
.contact { background: var(--cream); }
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.detail-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.detail-row .k {
  color: var(--gold);
  flex-shrink: 0;
  width: 20px;
}
.contact-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: #fff;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.site-footer a { color: var(--wood-dark); }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }

/* ===== Quote modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 29, 20, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 30px 60px -20px rgba(58, 31, 20, 0.45);
}
.modal h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.modal-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  color: var(--wood-dark);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: rgba(184, 134, 59, 0.25); }
#quoteForm { display: flex; flex-direction: column; }
#quoteForm label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin: 14px 0 6px;
}
#quoteForm label .optional {
  font-weight: 400;
  color: var(--text-muted);
}
#quoteForm input,
#quoteForm textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  resize: vertical;
}
#quoteForm input:focus,
#quoteForm textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.modal-submit { margin-top: 22px; justify-content: center; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .featured .container { grid-template-columns: 1fr; }
  .featured .featured-media { order: -1; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact .container { grid-template-columns: 1fr; }
  .map-frame { display: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header .container {
    height: auto;
    flex-wrap: wrap;
    row-gap: 2px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .brand-logo { height: 58px; }

  .header-tagline {
    order: 3;
    flex-basis: 100%;
    text-align: right;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h, 96px);
    left: 0;
    right: 0;
    background: var(--logo-cream);
    border-bottom: 1px solid rgba(184, 134, 59, 0.35);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .site-header.nav-open .main-nav a {
    font-size: 1.15rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(58, 31, 20, 0.15);
  }
  .site-header.nav-open .main-nav a:last-child { border-bottom: none; }

  .nav-dropdown { position: static; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0;
    min-width: 0;
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: flex-start;
    font-size: 1.15rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(58, 31, 20, 0.15);
  }
  .nav-dropdown-trigger .caret { display: none; }

  .hero h1 { font-size: 2rem; }
  section { padding: 52px 0; }
  .craft-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 340px) {
  .container { padding: 0 16px; }
  .brand-logo { height: 48px; }
}

@media (max-width: 520px) {
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
