/*
Theme Name: Waura
Theme URI: https://shopwaura.com
Author: Waura
Description: Waura takı mağazası için zarif, koyu tonlu ve WooCommerce uyumlu özel tema.
Version: 1.0
Requires PHP: 7.4
Text Domain: waura
*/

:root{
  --bg: #240A3D;
  --bg-alt: #341154;
  --ink: #F2ECE0;
  --ink-muted: #B7A2C6;
  --gold: #C9932E;
  --gold-bright: #F0CB77;
  --gold-highlight: #FFEDA7;
  --line: #4A2E66;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

@keyframes shimmer{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}
@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

h1{ font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2{ font-size: clamp(1.8rem, 3vw, 2.6rem); }

a{ color: var(--ink); text-decoration: none; }
a:hover{ color: var(--gold-bright); }

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

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header{
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-title a{
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: .06em;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-highlight) 20%, var(--gold) 40%, var(--gold-bright) 60%, var(--gold-highlight) 80%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
.site-title a:hover{ opacity: .85; }

.main-nav ul{
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a{
  font-size: .92rem;
  color: var(--ink-muted);
  transition: color .2s ease;
}
.main-nav a:hover{ color: var(--gold-bright); }

.header-cart a{
  font-size: .92rem;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.header-cart a:hover{
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* Hero */
.hero{
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.hero .container{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow{
  color: var(--gold-bright);
  font-size: .85rem;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp .8s ease forwards;
}
.hero h1{
  opacity: 0;
  animation: fadeUp .8s ease forwards .12s;
}
.hero p{
  color: var(--ink-muted);
  max-width: 42ch;
  margin: 20px 0 32px;
  opacity: 0;
  animation: fadeUp .8s ease forwards .24s;
}
.hero .btn{
  opacity: 0;
  animation: fadeUp .8s ease forwards .36s;
}
.hero-image{
  aspect-ratio: 4/5;
  background: var(--bg-alt) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"></svg>');
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-image img{ width: 100%; height: 100%; object-fit: cover; }

.btn{
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: .9rem;
  letter-spacing: .03em;
  transition: background .2s ease, color .2s ease;
}
.btn:hover{
  background: var(--gold);
  color: var(--bg);
}

@media (max-width: 780px){
  .hero .container{ grid-template-columns: 1fr; }
  .main-nav{ display: none; }
}

/* Featured products */
.featured{
  padding: 88px 0;
}
.featured-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.featured-head a{ color: var(--ink-muted); font-size: .9rem; }
.featured-head a:hover{ color: var(--gold-bright); }

/* WooCommerce overrides */
ul.products{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 780px){
  ul.products{ grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

ul.products li.product{
  background: none;
}
ul.products li.product img{
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
ul.products li.product .woocommerce-loop-product__title{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}
ul.products li.product .price{
  color: var(--gold-bright);
  font-size: .95rem;
}
ul.products li.product .price ins{ text-decoration: none; }

.woocommerce div.product .woocommerce-tabs,
.woocommerce nav.woocommerce-pagination ul,
.woocommerce table.shop_table{
  border-color: var(--line);
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  border-radius: 2px;
  font-family: var(--font-body);
}
.woocommerce a.button:hover, .woocommerce button.button:hover{
  background: var(--gold);
  color: var(--bg);
}

/* Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Manifesto */
.manifesto{
  padding: 140px 0;
  text-align: center;
}
.manifesto .container{ max-width: 760px; }
.manifesto .rule{
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 32px;
}
.manifesto p{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

/* Craft — alternating editorial rows */
.craft{ padding: 40px 0 100px; }
.craft-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.craft-row:first-child{ border-top: none; }
.craft-row.reverse .craft-panel{ order: 2; }
.craft-row.reverse .craft-text{ order: 1; }

.craft-panel{
  aspect-ratio: 5/6;
  position: relative;
  background:
    radial-gradient(circle at 30% 25%, rgba(240,203,119,.16), transparent 55%),
    linear-gradient(150deg, var(--bg-alt), #1c0a30);
  border: 1px solid var(--line);
}
.craft-panel .tag{
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-family: var(--font-body);
  font-size: .78rem;
  color: var(--gold-bright);
  letter-spacing: .03em;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.craft-text .kicker{
  color: var(--gold);
  font-size: .85rem;
  margin-bottom: 14px;
}
.craft-text h3{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.craft-text p{ color: var(--ink-muted); max-width: 46ch; }

@media (max-width: 780px){
  .craft-row, .craft-row.reverse{
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .craft-row.reverse .craft-panel, .craft-row.reverse .craft-text{ order: initial; }
}

/* Editorial band */
.editorial-band{
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  background: #1A0730;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.editorial-band .band-glow{
  position: absolute;
  inset: -10% -10%;
  background: radial-gradient(circle at 50% 40%, rgba(201,147,46,.10), transparent 60%);
  will-change: transform;
}
.editorial-band .container{ position: relative; max-width: 820px; text-align: center; }
.editorial-band p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink);
  line-height: 1.5;
}
.editorial-band span{
  display: block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .82rem;
  color: var(--ink-muted);
}

/* Closing CTA */
.closing{
  padding: 150px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.closing .rule{ width: 48px; height: 1px; background: var(--gold); margin: 0 auto 32px; }
.closing h2{ margin-bottom: 28px; }

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  color: var(--ink-muted);
  font-size: .88rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand a{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}
.footer-brand p{ margin-top: 14px; max-width: 32ch; color: var(--ink-muted); font-size: .88rem; }
.footer-col h4{
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  font-size: .85rem;
  margin-bottom: 16px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 10px; }
.footer-col a{ color: var(--ink-muted); }
.footer-col a:hover{ color: var(--gold-bright); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}
@media (max-width: 780px){
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
}
