/*
Theme Name: Aubrun Perfume House
Theme URI: https://aubrun-parfums.fr
Description: An ultra-luxury French Apothecary & High-Perfumery WordPress theme for Aubrun (Grasse, France). Features dominant high-res product showcases, decorative typography, gold foil accents, interactive WebGL 3D glass bottle rendering, custom fragrance notes meta fields, and bespoke acquisition workflows.
Version: 2.0.0
Author: Aubrun Design Studio
Author URI: https://aubrun-parfums.fr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aubrun
Tags: luxury, perfume, fragrance, dominant-images, decorative-fonts, ecommerce, 3d-rendering, custom-post-type, grasse, apothecary

Theme Custom Variables & Base Styling
*/

:root {
  --void: #FBF8F3;
  --smoke: #F3ECE2;
  --amber-glass: #C89547;
  --bone-light: #16110E;
  --rose-ember: #9B3B3B;
  --mist: #7A6F65;
  --gold-glow: #E6B86A;
  --border-gold: rgba(200, 149, 71, 0.22);
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--void);
  color: var(--bone-light);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 149, 71, 0.5) var(--smoke);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--smoke);
}
::-webkit-scrollbar-thumb {
  background: rgba(200, 149, 71, 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--amber-glass);
}

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

/* Typography Helpers */
.font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-decorative {
  font-family: 'Cinzel Decorative', 'Cormorant Garamond', serif;
}

.etched-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mist);
}

/* Image Showcase Dominance Classes */
.hero-product-stage {
  background: radial-gradient(circle at 50% 40%, rgba(230, 184, 106, 0.15) 0%, rgba(243, 236, 226, 0.6) 60%, var(--void) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px -10px rgba(22, 17, 14, 0.06);
}

.product-image-dominant {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  filter: drop-shadow(0 25px 35px rgba(22, 17, 14, 0.12));
}

.group:hover .product-image-dominant {
  transform: scale(1.08) translateY(-6px);
  filter: drop-shadow(0 35px 45px rgba(200, 149, 71, 0.25));
}

/* CAD Grid & Accents */
.hud-grid {
  background-image: 
    linear-gradient(to right, rgba(200, 149, 71, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 149, 71, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.radial-glow-spotlight {
  background: radial-gradient(circle at center, rgba(230, 184, 106, 0.12) 0%, rgba(200, 149, 71, 0.03) 45%, transparent 75%);
}

.giant-watermark {
  font-size: 16rem;
  font-weight: 300;
  color: rgba(200, 149, 71, 0.04);
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.15em;
  font-family: 'Cinzel Decorative', serif;
}

/* Layout Splitter */
.aubrun-hero-split {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .aubrun-hero-split {
    flex-direction: row;
  }
  .aubrun-hero-visual-pane {
    width: 52%;
    position: sticky;
    top: 0;
    height: 100vh;
  }
  .aubrun-scroll-content-pane {
    width: 48%;
    border-left: 1px solid rgba(200, 149, 71, 0.15);
  }
}

/* Corner Brackets / Gold Foil Accents */
.corner-brace {
  position: absolute;
  width: 14px;
  height: 14px;
  border-style: solid;
  border-color: rgba(200, 149, 71, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}
.group:hover .corner-brace {
  border-color: var(--amber-glass);
  width: 18px;
  height: 18px;
}
.brace-tl { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.brace-tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.brace-bl { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.brace-br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

/* Double Border Container */
.double-bordered-container {
  border: 1px solid var(--border-gold);
  padding: 8px;
  background-color: var(--smoke);
  position: relative;
  box-shadow: inset 0 0 20px rgba(200, 149, 71, 0.04), 0 15px 40px rgba(22, 17, 14, 0.03);
}
.double-bordered-inner {
  border: 1px solid rgba(200, 149, 71, 0.18);
  background-color: var(--void);
  position: relative;
}

/* Gold Gradient Button */
.btn-gold-luxury {
  background: linear-gradient(135deg, #16110E 0%, #2A211B 100%);
  color: #FBF8F3;
  border: 1px solid rgba(200, 149, 71, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.btn-gold-luxury::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #C89547 0%, #E6B86A 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.btn-gold-luxury:hover::before {
  opacity: 1;
}
.btn-gold-luxury > * {
  position: relative;
  z-index: 10;
}
.btn-gold-luxury:hover {
  color: #16110E;
  box-shadow: 0 10px 25px rgba(200, 149, 71, 0.3);
}

/* Ticker Banner */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: #16110E;
  border-bottom: 1px solid rgba(200, 149, 71, 0.3);
  padding: 9px 0;
}
.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #E6B86A;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.ticker-item {
  padding: 0 2rem;
}
@keyframes tickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
