/* =========================================================
   AURELIA — Fragrance House Theme
   Twilight palette · champagne gold · olfactory pyramid
   ========================================================= */

:root {
    /* Palette */
    --aurelia-night:    #1b1424;  /* deepest background */
    --aurelia-plum:     #2a1d38;  /* section background */
    --aurelia-aubergine:#3d2b4f;  /* raised cards */
    --aurelia-gold:     #d4af6a;  /* champagne accent */
    --aurelia-gold-lt:  #e8d5a8;
    --aurelia-cream:    #f4efe6;  /* light text */
    --aurelia-text:     #ece4d9;
    --aurelia-muted:    #a99bb5;  /* muted lavender-grey */
    --aurelia-line:     rgba(212,175,106,0.22);

    /* Type */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Rhythm */
    --wrap: 1180px;
    --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--aurelia-night);
    color: var(--aurelia-text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    color: var(--aurelia-cream);
    margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: 0.5px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

a { color: var(--aurelia-gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--aurelia-gold-lt); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    color: var(--aurelia-gold);
    margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 38px;
    border: 1px solid var(--aurelia-gold);
    background: var(--aurelia-gold);
    color: var(--aurelia-night);
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}
.btn:hover { background: transparent; color: var(--aurelia-gold); }
.btn--ghost { background: transparent; color: var(--aurelia-gold); }
.btn--ghost:hover { background: var(--aurelia-gold); color: var(--aurelia-night); }

/* ---------- Site header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px var(--gutter);
    background: rgba(27,20,36,0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--aurelia-line);
}
.site-header__brand {
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--aurelia-cream);
}
.site-header__brand a { color: inherit; }
.site-header__nav { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-header__nav a {
    color: var(--aurelia-text); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.15em;
}
.site-header__cart { color: var(--aurelia-cream); font-size: 0.85rem; letter-spacing: 0.1em; }
@media (max-width: 820px) { .site-header__nav { display: none; } }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(50px, 9vw, 120px) var(--gutter);
}
.hero__title { margin-bottom: 0.3em; }
.hero__title em { font-style: italic; color: var(--aurelia-gold); }
.hero__lead { color: var(--aurelia-muted); max-width: 44ch; margin-bottom: 2rem; }
.hero__price {
    font-family: var(--font-display);
    font-size: 1.8rem; color: var(--aurelia-gold-lt);
    margin: 0 0 1.6rem;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img {
    width: 100%; border-radius: 4px;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
}
.hero__glow {
    position: absolute; inset: -20% -10% auto auto; width: 60%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(212,175,106,0.28), transparent 65%);
    filter: blur(20px); z-index: -1;
}
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Section shell ---------- */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--plum { background: var(--aurelia-plum); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section__head p { color: var(--aurelia-muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 4px; background: var(--aurelia-aubergine); }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Features / benefits ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature {
    padding: 34px 28px;
    border: 1px solid var(--aurelia-line);
    border-radius: 4px;
    background: rgba(61,43,79,0.35);
}
.feature__icon { font-size: 1.6rem; color: var(--aurelia-gold); margin-bottom: 14px; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--aurelia-muted); font-size: 0.96rem; margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- SIGNATURE: Olfactory pyramid ---------- */
.pyramid { max-width: 560px; margin: 0 auto; }
.pyramid__row {
    display: grid; grid-template-columns: 120px 1fr; gap: 24px;
    align-items: center; padding: 22px 0;
    border-bottom: 1px solid var(--aurelia-line);
}
.pyramid__row:last-child { border-bottom: 0; }
.pyramid__tier {
    font-family: var(--font-display); font-style: italic;
    font-size: 1.3rem; color: var(--aurelia-gold);
    text-align: right;
}
.pyramid__notes { color: var(--aurelia-text); letter-spacing: 0.03em; }
.pyramid__notes span { color: var(--aurelia-muted); font-size: 0.85rem; display: block; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
    padding: 30px; border-radius: 4px;
    background: var(--aurelia-aubergine);
    border: 1px solid var(--aurelia-line);
}
.review__stars { color: var(--aurelia-gold); letter-spacing: 3px; margin-bottom: 14px; }
.review p { font-size: 0.98rem; color: var(--aurelia-text); }
.review__name { font-family: var(--font-display); font-size: 1.1rem; color: var(--aurelia-cream); margin-top: 12px; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--aurelia-line); }
.faq__q {
    width: 100%; text-align: left; background: none; border: 0;
    color: var(--aurelia-cream); font-family: var(--font-display);
    font-size: 1.3rem; padding: 24px 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq__q::after { content: '+'; color: var(--aurelia-gold); font-size: 1.5rem; transition: transform .2s ease; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--aurelia-muted); }
.faq__item.is-open .faq__a { max-height: 300px; }
.faq__a p { padding: 0 0 24px; margin: 0; }

/* ---------- Newsletter + footer ---------- */
.newsletter { text-align: center; background: var(--aurelia-plum); }
.newsletter form { display: flex; gap: 12px; max-width: 480px; margin: 1.6rem auto 0; }
.newsletter input {
    flex: 1; padding: 15px 18px; background: var(--aurelia-night);
    border: 1px solid var(--aurelia-line); color: var(--aurelia-text); border-radius: 2px;
}
@media (max-width: 520px) { .newsletter form { flex-direction: column; } }

.site-footer {
    background: var(--aurelia-night);
    border-top: 1px solid var(--aurelia-line);
    padding: 48px var(--gutter);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
    color: var(--aurelia-muted); font-size: 0.85rem;
}
.site-footer__brand { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 3px; color: var(--aurelia-cream); }

/* ---------- WooCommerce niceties ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background: var(--aurelia-aubergine); border-top: 3px solid var(--aurelia-gold);
    color: var(--aurelia-text); list-style: none;
}
.woocommerce span.onsale {
    background: var(--aurelia-gold); color: var(--aurelia-night);
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--aurelia-gold-lt); font-family: var(--font-display); font-size: 1.7rem;
}

/* ---------- A11y / motion ---------- */
:focus-visible { outline: 2px solid var(--aurelia-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   ELEMENTOR HELPER CLASSES
   Add these class names to Elementor sections/columns/widgets
   (Advanced > CSS Classes) to apply Aurelia styling while building
   the Home page visually.
   ========================================================= */

/* Backgrounds — apply to a Section's CSS Classes field */
.aur-bg-night   { background: var(--aurelia-night) !important; }
.aur-bg-plum    { background: var(--aurelia-plum) !important; }
.aur-bg-card    { background: var(--aurelia-aubergine) !important; }

/* Text tokens */
.aur-text       { color: var(--aurelia-text) !important; }
.aur-muted      { color: var(--aurelia-muted) !important; }
.aur-gold       { color: var(--aurelia-gold) !important; }
.aur-cream      { color: var(--aurelia-cream) !important; }

/* Display heading — apply to a Heading widget */
.aur-display    { font-family: var(--font-display) !important; font-weight: 500 !important; line-height: 1.1 !important; }
.aur-display em { font-style: italic; color: var(--aurelia-gold); }

/* Eyebrow label — apply to a small Heading/Text widget above titles */
.aur-eyebrow {
    text-transform: uppercase !important;
    letter-spacing: 0.28em !important;
    font-size: 0.72rem !important;
    color: var(--aurelia-gold) !important;
    font-family: var(--font-body) !important;
}

/* Gold button — apply to a Button widget's CSS Classes */
.aur-btn .elementor-button,
.aur-btn.elementor-button {
    background: var(--aurelia-gold) !important;
    color: var(--aurelia-night) !important;
    border: 1px solid var(--aurelia-gold) !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    padding: 16px 38px !important;
    transition: background .25s ease, color .25s ease !important;
}
.aur-btn .elementor-button:hover,
.aur-btn.elementor-button:hover {
    background: transparent !important;
    color: var(--aurelia-gold) !important;
}

/* Card border — apply to columns you want as bordered feature cards */
.aur-card {
    border: 1px solid var(--aurelia-line) !important;
    border-radius: 4px !important;
    background: rgba(61,43,79,0.35) !important;
}

/* Olfactory pyramid — build 3 rows in Elementor and add these classes,
   or paste the markup into an HTML widget. */
.aur-pyramid .aur-pyramid__row {
    display: grid; grid-template-columns: 120px 1fr; gap: 24px;
    align-items: center; padding: 22px 0;
    border-bottom: 1px solid var(--aurelia-line);
}
.aur-pyramid .aur-pyramid__tier {
    font-family: var(--font-display); font-style: italic;
    font-size: 1.3rem; color: var(--aurelia-gold); text-align: right;
}
.aur-pyramid .aur-pyramid__notes span {
    color: var(--aurelia-muted); font-size: 0.85rem; display: block;
}

/* Make Elementor's default section padding feel like Aurelia's rhythm */
.aur-section > .elementor-container { padding-block: clamp(56px, 9vw, 110px); }
