/* ==========================================================================
   AMBRE CLINIC — BRAND STYLESHEET
   ambre-brand.css
   
   Organized by component. Uses CSS variables from style.css.
   Compatible with Beaver Builder — uses non-conflicting class names.
   ========================================================================== */


/* ------------------------------------------------------------------
   1. GLOBAL TYPOGRAPHY
   ------------------------------------------------------------------ */

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--ambre-mid);
    background-color: var(--ambre-light);
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.ast-archive-title {
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--ambre-dark);
    line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.2rem; }

h1 em, h2 em, h3 em {
    color: var(--ambre-gold);
    font-style: italic;
}

p {
    margin-bottom: 1.2em;
}

a {
    color: var(--ambre-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--ambre-gold-deep);
}


/* ------------------------------------------------------------------
   2. BUTTONS
   ------------------------------------------------------------------ */

/* Primary gold CTA */
.ambre-btn,
.ambre-btn-primary,
.fl-builder-content .ambre-btn {
    display: inline-block;
    background: var(--ambre-gold);
    color: var(--ambre-dark);
    border: none;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}

.ambre-btn:hover,
.ambre-btn-primary:hover {
    background: var(--ambre-gold-deep);
    color: var(--ambre-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 164, 106, 0.3);
}

/* Ghost / outline button */
.ambre-btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--ambre-gold);
    border: 1px solid var(--ambre-gold);
    padding: 13px 32px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.ambre-btn-ghost:hover {
    background: var(--ambre-gold);
    color: var(--ambre-dark);
}

/* Ghost on dark backgrounds */
.ambre-btn-ghost-dark {
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.2);
}

.ambre-btn-ghost-dark:hover {
    background: var(--ambre-gold);
    color: var(--ambre-dark);
    border-color: var(--ambre-gold);
}


/* ------------------------------------------------------------------
   3. HEADER / NAVIGATION (Astra overrides)
   ------------------------------------------------------------------ */

/* Main header background */
.main-header-bar,
.ast-primary-header {
    background-color: var(--ambre-white);
    border-bottom: 1px solid var(--ambre-border);
}

/* Navigation links */
.main-navigation a,
.ast-header-sections-navigation a {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ambre-mid);
    transition: color var(--transition-fast);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: var(--ambre-gold);
}

/* Dropdown menus */
.ast-header-sections-navigation .sub-menu,
.main-navigation .sub-menu {
    background: var(--ambre-white);
    border: 1px solid var(--ambre-border);
    box-shadow: var(--shadow-card);
}

.main-navigation .sub-menu a:hover {
    background: var(--ambre-gold-pale);
    color: var(--ambre-gold-deep);
}

/* CTA button in header */
.ast-header-button-1 a,
.ambre-header-cta {
    background: var(--ambre-gold) !important;
    color: var(--ambre-dark) !important;
    padding: 10px 22px !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    border: none !important;
    transition: background var(--transition-fast) !important;
}

.ast-header-button-1 a:hover,
.ambre-header-cta:hover {
    background: var(--ambre-gold-deep) !important;
    color: var(--ambre-white) !important;
}

/* Language switcher styling */
.ambre-lang-switch,
.pll-parent-menu-item > a {
    font-size: 10px;
    color: var(--ambre-mid);
    border: 1px solid var(--ambre-border);
    padding: 5px 12px;
    letter-spacing: 0.08em;
}


/* ------------------------------------------------------------------
   4. HERO SECTION
   ------------------------------------------------------------------ */

.ambre-hero {
    background: linear-gradient(125deg, #111 0%, #222 60%, #1a160e 100%);
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) var(--space-lg);
}

.ambre-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(201, 164, 106, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.ambre-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: 20px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(201, 164, 106, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.ambre-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ambre-hero__eyebrow-line {
    width: 28px;
    height: 1px;
    background: var(--ambre-gold);
}

.ambre-hero__eyebrow-text {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ambre-gold);
}

.ambre-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.ambre-hero p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.85;
    margin-bottom: 30px;
}


/* ------------------------------------------------------------------
   5. TRUST BAR
   ------------------------------------------------------------------ */

.ambre-trust-bar {
    display: flex;
    justify-content: space-around;
    padding: 28px var(--space-lg);
    background: var(--ambre-gold-pale);
    border-bottom: 1px solid var(--ambre-border);
    flex-wrap: wrap;
    gap: 20px;
}

.ambre-trust-item {
    text-align: center;
}

.ambre-trust-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--ambre-gold);
    font-weight: 300;
    line-height: 1;
}

.ambre-trust-label {
    font-size: 10px;
    color: var(--ambre-mid);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 6px;
}


/* ------------------------------------------------------------------
   6. SERVICE CARDS
   ------------------------------------------------------------------ */

.ambre-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--ambre-border);
}

.ambre-service-card {
    background: var(--ambre-white);
    padding: 36px 24px;
    text-align: center;
    transition: background var(--transition-base);
}

.ambre-service-card:hover {
    background: var(--ambre-gold-pale);
}

.ambre-service-card__icon {
    width: 52px;
    height: 52px;
    background: var(--ambre-gold-pale);
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid var(--ambre-border);
}

.ambre-service-card__title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    color: var(--ambre-dark);
}

.ambre-service-card__desc {
    font-size: 12px;
    color: var(--ambre-mid);
    line-height: 1.65;
}

.ambre-service-card__link {
    font-size: 10px;
    color: var(--ambre-gold);
    letter-spacing: 0.08em;
    margin-top: 14px;
    text-transform: uppercase;
    display: inline-block;
}

.ambre-service-card__link:hover {
    color: var(--ambre-gold-deep);
}

@media (max-width: 768px) {
    .ambre-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .ambre-services-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------------
   7. BEFORE / AFTER GALLERY
   ------------------------------------------------------------------ */

.ambre-ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ambre-ba-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    overflow: hidden;
}

.ambre-ba-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    object-fit: cover;
}

.ambre-ba-before {
    background: #EBEBEB;
    color: #999;
}

.ambre-ba-after {
    background: var(--ambre-gold-pale);
    color: var(--ambre-gold-deep);
}

.ambre-ba-label {
    grid-column: 1 / -1;
    font-size: 11px;
    color: var(--ambre-mid);
    text-align: center;
    padding-top: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .ambre-ba-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}


/* ------------------------------------------------------------------
   8. TESTIMONIALS
   ------------------------------------------------------------------ */

.ambre-testimonial {
    background: var(--ambre-light);
    padding: 28px 24px;
    border-left: 2px solid var(--ambre-gold);
    position: relative;
}

.ambre-testimonial::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--ambre-gold-light);
    position: absolute;
    top: -8px;
    right: 16px;
    line-height: 1;
    opacity: 0.5;
}

.ambre-testimonial__stars {
    color: var(--ambre-gold);
    font-size: 12px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.ambre-testimonial__text {
    font-size: 12.5px;
    color: var(--ambre-mid);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.ambre-testimonial__name {
    font-size: 12px;
    font-weight: 500;
    color: var(--ambre-dark);
}

.ambre-testimonial__treatment {
    font-size: 10px;
    color: var(--ambre-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 3px;
}


/* ------------------------------------------------------------------
   9. BLOG CARDS
   ------------------------------------------------------------------ */

.ambre-blog-card {
    border: 1px solid var(--ambre-border);
    background: var(--ambre-white);
    transition: box-shadow var(--transition-fast);
    overflow: hidden;
}

.ambre-blog-card:hover {
    box-shadow: var(--shadow-hover);
}

.ambre-blog-card__image {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-bottom: 1px solid var(--ambre-border);
}

.ambre-blog-card__body {
    padding: 18px;
}

.ambre-blog-card__category {
    font-size: 9px;
    color: var(--ambre-gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ambre-blog-card__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--ambre-dark);
}

.ambre-blog-card__date {
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
}


/* ------------------------------------------------------------------
   10. CTA SECTION
   ------------------------------------------------------------------ */

.ambre-cta {
    background: linear-gradient(125deg, #111, #1a160e);
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.ambre-cta::before {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    border: 1px solid rgba(201, 164, 106, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.ambre-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.ambre-cta p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.04em;
}


/* ------------------------------------------------------------------
   11. FOOTER (Astra overrides)
   ------------------------------------------------------------------ */

.site-footer,
.ast-footer-overlay {
    background: #0f0f0f;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.3);
    transition: color var(--transition-fast);
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.ambre-footer-title {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ambre-gold);
    margin-bottom: 16px;
}

.ast-small-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ast-small-footer .ast-footer-copyright {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}


/* ------------------------------------------------------------------
   12. MOBILE FLOATING CTA
   ------------------------------------------------------------------ */

.ambre-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--ambre-gold);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
}

.ambre-mobile-cta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    color: var(--ambre-dark);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ambre-mobile-cta__link:hover {
    color: var(--ambre-dark);
}

@media (max-width: 921px) {
    .ambre-mobile-cta {
        display: block;
    }

    /* Add bottom padding to body so CTA doesn't cover content */
    body {
        padding-bottom: 56px;
    }
}


/* ------------------------------------------------------------------
   13. SECTION LABELS / EYEBROWS (reusable)
   ------------------------------------------------------------------ */

.ambre-section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ambre-gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ambre-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ambre-border);
}

.ambre-section-title {
    font-family: var(--font-heading);
    font-weight: 300;
    margin-bottom: 8px;
}

.ambre-section-subtitle {
    font-size: 13px;
    color: var(--ambre-mid);
    letter-spacing: 0.04em;
    margin-bottom: var(--space-lg);
    border-left: 2px solid var(--ambre-gold);
    padding-left: 16px;
}


/* ------------------------------------------------------------------
   14. UTILITY CLASSES
   ------------------------------------------------------------------ */

.ambre-bg-dark    { background: var(--ambre-dark); }
.ambre-bg-light   { background: var(--ambre-light); }
.ambre-bg-pale    { background: var(--ambre-gold-pale); }
.ambre-bg-white   { background: var(--ambre-white); }

.ambre-text-gold  { color: var(--ambre-gold); }
.ambre-text-dark  { color: var(--ambre-dark); }
.ambre-text-mid   { color: var(--ambre-mid); }
.ambre-text-white { color: var(--ambre-white); }

.ambre-font-heading { font-family: var(--font-heading); }
.ambre-font-body    { font-family: var(--font-body); }
.ambre-font-accent  { font-family: var(--font-accent); }

.ambre-gold-border    { border: 1px solid var(--ambre-border); }
.ambre-gold-border-l  { border-left: 2px solid var(--ambre-gold); }
.ambre-gold-border-t  { border-top: 3px solid var(--ambre-gold); }

.ambre-card {
    background: var(--ambre-white);
    border: 1px solid var(--ambre-border);
    padding: var(--space-md);
    transition: all var(--transition-base);
}

.ambre-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}


/* ------------------------------------------------------------------
   15. BEAVER BUILDER SPECIFIC OVERRIDES
   ------------------------------------------------------------------ */

/* Ensure BB rows use full width properly */
.fl-row-content-wrap {
    /* Override BB defaults when needed */
}

/* BB button module — gold style override */
.fl-builder-content .fl-button-wrap .fl-button {
    font-family: var(--font-body);
    letter-spacing: 0.12em;
}

/* BB heading module — use brand heading font */
.fl-builder-content .fl-module-heading .fl-heading {
    font-family: var(--font-heading);
}

/* BB separator module — gold color */
.fl-builder-content .fl-module-separator .fl-separator {
    border-color: var(--ambre-gold);
}


/* ------------------------------------------------------------------
   16. SCROLLBAR STYLING (subtle luxury detail)
   ------------------------------------------------------------------ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ambre-light);
}

::-webkit-scrollbar-thumb {
    background: var(--ambre-gold-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ambre-gold);
}


/* ------------------------------------------------------------------
   17. SELECTION COLOR
   ------------------------------------------------------------------ */

::selection {
    background: var(--ambre-gold);
    color: var(--ambre-dark);
}

::-moz-selection {
    background: var(--ambre-gold);
    color: var(--ambre-dark);
}


/* ------------------------------------------------------------------
   18. SMOOTH SCROLL
   ------------------------------------------------------------------ */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
