/*
Theme Name: Blasé Boudoir - Morning Glory Noir
Theme URI: https://blaseboudoir.com/
Author: Blasé Boudoir
Version: 1.0.1
Description: Dark luxury boudoir theme with antique gold filigree, climbing morning glory window sills, and editorial blog showcase.
Text Domain: blase-morning-glory
*/

:root {
  --bg-deep: #0c0d10;
  --bg-card: #14161d;
  --bg-sill: #08090b;
  --gold-accent: #d4af37;
  --gold-muted: #967c29;
  --text-primary: #f0ede6;
  --text-muted: #a19d94;
  --glory-purple: #6a4c93;
  --glory-blue: #2a52be;
  --vine-green: #2d5a3f;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Antique Gold Borders & Filigree Accents */
.gold-filigree-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  gap: 15px;
}
.gold-filigree-divider::before,
.gold-filigree-divider::after {
  content: "";
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}
.gold-filigree-divider span {
  color: var(--gold-accent);
  font-size: 1.2rem;
}

/* Window Sill Header & Navigation */
header.cottage-sill-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #050608 0%, var(--bg-sill) 85%, #181512 100%);
  border-bottom: 3px solid #231d14;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-accent);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--gold-accent);
}

/* Cottage Sill Flora Overlay */
.sill-flora-overlay {
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  height: 28px;
  pointer-events: none;
  background-repeat: repeat-x;
  background-position: bottom;
  z-index: 1001;
}

/* Floating Flower Canvas */
#floating-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Main Content & Blog Section */
main {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.hero-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
}

.hero-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid #2a251b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-muted);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.12);
}

.post-thumbnail-link {
  display: block;
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.post-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .post-thumbnail-link img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  color: var(--gold-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.card-title a:hover {
  color: var(--gold-accent);
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  color: var(--gold-accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  align-self: flex-start;
  position: relative;
}

.read-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: var(--gold-accent);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

/* Singular Article / Page Styling */
.singular-article {
  background: var(--bg-card);
  border: 1px solid #2a251b;
  padding: 3rem 2.5rem;
  margin-top: 2rem;
  border-radius: 4px;
}
.singular-article h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}
.singular-article .entry-content {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.8;
}
.singular-article .entry-content p {
  margin-bottom: 1.5rem;
}

/* Cottage Sill Footer */
footer.cottage-sill-footer {
  position: relative;
  background: linear-gradient(0deg, #050608 0%, var(--bg-sill) 85%, #181512 100%);
  border-top: 3px solid #231d14;
  padding: 4rem 2rem 2rem;
  text-align: center;
  z-index: 2;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
}

.footer-top-flora {
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 28px;
  pointer-events: none;
  background-repeat: repeat-x;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}
