/*
 * Roux Designs — Custom WordPress CSS
 * Paste this into: Appearance → Customize → Additional CSS
 * OR upload via a child theme's style.css
 */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Cinzel:wght@400;600&family=IM+Fell+English:ital@0;1&display=swap');

/* ─── COLOR VARIABLES ─── */
:root {
  --rd-bg:         #1e1206;
  --rd-surface:    #2a1a0a;
  --rd-text:       #f5eedd;
  --rd-text-muted: #a89070;
  --rd-gold:       #d4a843;
  --rd-gold-light: #e8c472;
  --rd-border:     #4a3520;
  --rd-warm:       #c9a87a;
}

/* ─── PAGE BODY ─── */
body.page-template-portfolio,
body.page-roux-portfolio {
  background-color: var(--rd-bg) !important;
  color: var(--rd-text) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 18px;
  line-height: 1.8;
}

/* ─── SECTION HEADINGS (Cinzel divider style) ─── */
.roux-section-heading {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0 1.5rem;
}
.roux-section-heading::before,
.roux-section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rd-border);
}
.roux-section-heading span {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rd-gold);
  white-space: nowrap;
}

/* ─── CATEGORY TITLE ─── */
.roux-category-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1.8rem, 3vw, 2.8rem) !important;
  font-weight: 300 !important;
  color: var(--rd-text) !important;
  margin-bottom: 0.3rem !important;
  line-height: 1.2 !important;
}
.roux-category-title em {
  font-style: italic;
  color: var(--rd-warm);
}
.roux-category-meta {
  font-size: 0.85rem;
  color: var(--rd-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2rem !important;
}

/* ─── PHOTO GRIDS ─── */
.roux-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 3rem;
}
.roux-grid-3 { grid-template-columns: repeat(3, 1fr); }
.roux-grid-2 { grid-template-columns: repeat(2, 1fr); }
.roux-grid-4 { grid-template-columns: repeat(4, 1fr); }
.roux-grid-featured { grid-template-columns: 2fr 1fr; }

.roux-photo-item {
  position: relative;
  overflow: hidden;
  background: var(--rd-surface);
  aspect-ratio: 4/3;
}
.roux-photo-item.tall   { aspect-ratio: 3/4; }
.roux-photo-item.wide   { aspect-ratio: 16/9; }
.roux-photo-item.square { aspect-ratio: 1; }

.roux-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.4s;
}
.roux-photo-item:hover img {
  transform: scale(1.04);
  opacity: 1;
}
.roux-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(20,8,0,0.88) 0%, transparent 100%);
  color: #ede5d0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.roux-photo-item:hover .roux-photo-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ─── QUOTE BAND ─── */
.roux-quote-band {
  background: var(--rd-surface);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--rd-border);
  border-bottom: 1px solid var(--rd-border);
  margin: 3rem 0;
}
.roux-quote-band blockquote {
  font-family: 'IM Fell English', serif !important;
  font-style: italic !important;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important;
  color: var(--rd-text) !important;
  max-width: 700px;
  margin: 0 auto !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.65;
}
.roux-quote-band cite {
  display: block;
  margin-top: 1.2rem;
  font-family: 'Cinzel', serif;
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--rd-gold);
  text-transform: uppercase;
}

/* ─── INLINE PULL QUOTE ─── */
.roux-pull-quote {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem 0;
  border-left: 3px solid var(--rd-gold);
  padding-left: 2rem;
  margin: 2rem 0;
}
.roux-pull-quote p {
  font-family: 'IM Fell English', serif !important;
  font-style: italic !important;
  font-size: 1.25rem !important;
  color: var(--rd-warm) !important;
  line-height: 1.65;
  margin: 0 !important;
}
.roux-pull-quote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: 'Cinzel', serif;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--rd-gold);
  text-transform: uppercase;
}

/* ─── ORNAMENTAL DIVIDER ─── */
.roux-divider {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--rd-gold);
  font-size: 0.9rem;
  letter-spacing: 0.6em;
  opacity: 0.5;
}

/* ─── HERO / BANNER ─── */
.roux-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--rd-bg);
}
.roux-hero-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.roux-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.roux-hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--rd-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.roux-hero-title {
  font-family: 'Cinzel', serif !important;
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  color: var(--rd-text) !important;
  margin-bottom: 1.5rem !important;
}
.roux-hero-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1em;
  color: var(--rd-warm);
}
.roux-hero-sub {
  font-size: 1.1rem !important;
  color: var(--rd-text-muted) !important;
  max-width: 500px;
  margin: 0 auto 2rem !important;
  line-height: 1.9;
}

/* ─── BUTTONS ─── */
.roux-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rd-gold) !important;
  text-decoration: none !important;
  border: 1px solid rgba(212,168,67,0.5);
  padding: 0.9rem 2.5rem;
  transition: background 0.3s, color 0.3s;
}
.roux-btn:hover {
  background: var(--rd-gold);
  color: var(--rd-bg) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .roux-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .roux-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .roux-grid-featured { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .roux-grid-3,
  .roux-grid-4 { grid-template-columns: 1fr; }
}
