/*
Theme Name: Zynara Art One Page
Theme URI: https://zynaraart.com/
Author: Zynara Art
Description: Lightweight, responsive one-page WordPress and WooCommerce theme for Zynara Art India.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: zynara
*/

:root {
  --ink: #171715;
  --muted: #6b675f;
  --paper: #f7f4ee;
  --white: #fff;
  --line: #ded8ce;
  --gold: #a98038;
  --green: #384238;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; width: auto; height: auto; clip: auto; z-index: 9999; background: #fff; padding: .8rem 1rem; left: 1rem; top: 1rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.announcement { background: var(--ink); color: #fff; font-size: .79rem; letter-spacing: .09em; text-align: center; padding: .58rem 1rem; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,244,238,.94); border-bottom: 1px solid rgba(23,23,21,.1); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 500; letter-spacing: .28em; font-size: 1.08rem; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo, .brand--image img { width: auto; max-width: 150px; max-height: 68px; object-fit: contain; }
.brand-mark { width: 29px; height: 29px; border: 1.5px solid var(--ink); position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 31px; height: 1.5px; background: var(--gold); transform: rotate(-45deg); left: -2px; top: 13px; }
.primary-nav ul { display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.primary-nav a { font-size: .82rem; letter-spacing: .04em; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold); }
.nav-actions { display: flex; gap: 1rem; align-items: center; font-size: .82rem; }
.menu-toggle { display: none; border: 0; background: none; padding: .4rem; }

.hero { min-height: 78vh; display: grid; align-items: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0 0 0 55%; background: radial-gradient(circle at 30% 28%, #d3a98f 0 15%, transparent 16%), linear-gradient(140deg, #bcc2ac 0 38%, #855d4c 39% 61%, #dfc7a9 62%); opacity: .84; clip-path: polygon(16% 0,100% 0,100% 100%,0 100%); }
.hero-inner { position: relative; z-index: 2; padding: 7rem 0; max-width: 730px; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { margin-bottom: 1.35rem; font-size: clamp(3rem, 6.2vw, 6.7rem); letter-spacing: -.045em; max-width: 930px; }
h2 { font-size: clamp(2.2rem, 4vw, 4.25rem); letter-spacing: -.03em; }
h3 { font-size: 1.45rem; }
.hero-copy { max-width: 590px; font-size: clamp(1rem, 1.4vw, 1.18rem); color: #4f4b44; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.4rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--gold); border-color: var(--gold); }
.button--ghost { background: transparent; color: var(--ink); }
.button--ghost:hover { color: #fff; }

.trust { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.35rem 1rem; text-align: center; border-right: 1px solid var(--line); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.trust-item:last-child { border-right: 0; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 0; max-width: 780px; }
.section-head p { max-width: 480px; margin: 0; color: var(--muted); }

.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.collection-card { min-height: 340px; position: relative; display: flex; align-items: end; overflow: hidden; background: var(--card-bg, #cbc2b4); isolation: isolate; }
.collection-card::before { content: ""; position: absolute; inset: 0; background-image: var(--card-image, none); background-size: cover; background-position: center; transition: transform .5s ease; z-index: -2; }
.collection-card::after { content: ""; position: absolute; inset: 32% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); z-index: -1; }
.collection-card:hover::before { transform: scale(1.035); }
.collection-card__content { color: #fff; padding: 1.4rem; width: 100%; }
.collection-card h3 { margin: 0 0 .35rem; }
.collection-card span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.collection-card:nth-child(8n+1) { --card-bg: linear-gradient(145deg,#b98c74,#d7c4a7); }
.collection-card:nth-child(8n+2) { --card-bg: linear-gradient(145deg,#2f5058,#d6bfa0); }
.collection-card:nth-child(8n+3) { --card-bg: radial-gradient(circle,#ad6c55 0 25%,#e2d0b7 26% 48%,#556650 49%); }
.collection-card:nth-child(8n+4) { --card-bg: linear-gradient(35deg,#675844,#d4bc9a,#76837d); }
.collection-card:nth-child(8n+5) { --card-bg: linear-gradient(155deg,#3e342f,#9c715d 50%,#d7b989); }
.collection-card:nth-child(8n+6) { --card-bg: linear-gradient(55deg,#a46e4c,#dbc8a8 48%,#425e5e); }
.collection-card:nth-child(8n+7) { --card-bg: linear-gradient(145deg,#71604c,#c9a66f,#35545b); }
.collection-card:nth-child(8n+8) { --card-bg: conic-gradient(from 30deg,#283b3a,#b79555,#dfc9a8,#283b3a); }

.story { background: var(--ink); color: #f5f0e7; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.story h2 { color: #fff; }
.story-copy { font-size: clamp(1.15rem, 2vw, 1.6rem); font-family: var(--serif); }
.story-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #45423c; }
.story-point { background: var(--ink); padding: 1.5rem; }
.story-point strong { display: block; color: #d2b272; margin-bottom: .35rem; }
.story-point p { margin: 0; color: #bbb5aa; font-size: .9rem; }

.shop-by { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shop-panel { padding: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.shop-panel ul { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.shop-panel a { display: inline-block; border-bottom: 1px solid #bfb7aa; font-size: .9rem; }
.shop-panel a:hover { color: var(--gold); }

.answer-block { background: #e8e0d3; }
.answer-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; }
.answer-grid p { font-size: 1.1rem; }
.delivery-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.delivery-list span { border: 1px solid #c2b6a5; padding: .45rem .7rem; font-size: .76rem; background: rgba(255,255,255,.35); }

.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); max-width: 760px; }

.contact-section { padding-top: 0; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid var(--line); background: #fffaf2; }
.contact-box h2 { margin-bottom: 1rem; }
.contact-box p { color: var(--muted); }
.contact-options { display: grid; }
.contact-option { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-option:first-child { border-top: 1px solid var(--line); }
.contact-option span { color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-option strong { font-weight: 500; overflow-wrap: anywhere; }
.contact-option:hover strong { color: var(--gold); }

.cta { text-align: center; background: var(--green); color: #fff; }
.cta h2 { max-width: 800px; margin-inline: auto; }
.cta p { color: #d8ded5; }
.newsletter { max-width: 600px; margin: 2rem auto 0; display: flex; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; padding: .9rem 1rem; }
.newsletter input::placeholder { color: #d8ded5; }
.newsletter button { border-color: #fff; background: #fff; color: var(--ink); }

.site-footer { background: #11110f; color: #cfcbc2; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 2rem; }
.footer-title { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.site-footer li { margin: .45rem 0; }
.site-footer a:hover { color: #fff; }
.legal { border-top: 1px solid #33322e; margin-top: 3rem; padding-top: 1.3rem; font-size: .76rem; display: flex; justify-content: space-between; gap: 1rem; }

.page-main { min-height: 65vh; padding: 5rem 0; }
.entry-content { max-width: 820px; }
.woocommerce .site-main { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; padding: 4rem 0; }

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; inset: 76px 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1.5rem 20px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 1rem; justify-content: start; }
  .nav-actions { display: none; }
  .hero::before { opacity: .22; inset: 0; clip-path: none; }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .answer-grid, .contact-box { grid-template-columns: 1fr; gap: 2rem; }
  .shop-by { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 72vh; }
  .hero-inner { padding: 5rem 0; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { display: block; }
  .section-head p { margin-top: 1rem; }
  .collections { grid-template-columns: 1fr; }
  .collection-card { min-height: 300px; }
  .story-points { grid-template-columns: 1fr; }
  .newsletter { display: grid; gap: .7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
