/* === Aragold Hero Slider — paritate Woodmart Slides === */

/* ---------- Container + slide base ---------- */
.aragold-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f7f7f7;
}
.aragold-hero--stretch {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}
.aragold-hero__swiper {
    position: relative;
    width: 100%;
    height: 100%;
}
.aragold-hero__slide {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* height-ul e dictat de imagine (height: auto pe img) — niciun crop */
}
.aragold-hero__bg-picture {
    display: block;
    width: 100%;
    line-height: 0;
}
.aragold-hero__bg-image {
    display: block;
    width: 100%;
    height: auto; /* aspect-ratio natural pastrat — fara crop */
}
.aragold-hero__overlay {
    z-index: 1;
}
.aragold-hero--fixed-height .aragold-hero__slide {
    height: var(--aragold-hero-height);
    min-height: 360px;
}
.aragold-hero--fixed-height .aragold-hero__bg-picture {
    position: absolute;
    inset: 0;
    height: 100%;
}
.aragold-hero--fixed-height .aragold-hero__bg-image {
    height: 100%;
    object-fit: var(--aragold-bg-fit, cover);
    object-position: var(--aragold-bg-position, center center);
}

/* ---------- Overlay (text container peste imagine) ---------- */
.aragold-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    pointer-events: none;
}
.aragold-hero__container {
    width: 100%;
    max-width: 1320px;
    height: 100%;
    margin: 0 auto;
    padding: 24px;
    display: flex;
}
.aragold-hero__content {
    pointer-events: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.aragold-hero__container {
    box-sizing: border-box;
}
.aragold-hero__content {
    max-width: min(100%, 760px);
    min-width: 0;
}

/* ---------- Content alignment per device — DESKTOP (>=992px) ---------- */
@media (min-width: 992px) {
    /* Horizontal */
    .aragold-hero__slide--align-h-d-left .aragold-hero__container { justify-content: flex-start; }
    .aragold-hero__slide--align-h-d-center .aragold-hero__container { justify-content: center; }
    .aragold-hero__slide--align-h-d-right .aragold-hero__container { justify-content: flex-end; }
    /* Vertical */
    .aragold-hero__slide--align-v-d-top .aragold-hero__container { align-items: flex-start; }
    .aragold-hero__slide--align-v-d-middle .aragold-hero__container { align-items: center; }
    .aragold-hero__slide--align-v-d-bottom .aragold-hero__container { align-items: flex-end; }
    /* Text alignment matches horizontal */
    .aragold-hero__slide--align-h-d-left .aragold-hero__content { text-align: left; align-items: flex-start; }
    .aragold-hero__slide--align-h-d-center .aragold-hero__content { text-align: center; align-items: center; }
    .aragold-hero__slide--align-h-d-right .aragold-hero__content { text-align: right; align-items: flex-end; }
}

/* ---------- TABLET (576-991px) ---------- */
@media (min-width: 576px) and (max-width: 991px) {
    .aragold-hero__slide--align-h-t-left .aragold-hero__container { justify-content: flex-start; }
    .aragold-hero__slide--align-h-t-center .aragold-hero__container { justify-content: center; }
    .aragold-hero__slide--align-h-t-right .aragold-hero__container { justify-content: flex-end; }
    .aragold-hero__slide--align-v-t-top .aragold-hero__container { align-items: flex-start; }
    .aragold-hero__slide--align-v-t-middle .aragold-hero__container { align-items: center; }
    .aragold-hero__slide--align-v-t-bottom .aragold-hero__container { align-items: flex-end; }
    .aragold-hero__slide--align-h-t-left .aragold-hero__content { text-align: left; align-items: flex-start; }
    .aragold-hero__slide--align-h-t-center .aragold-hero__content { text-align: center; align-items: center; }
    .aragold-hero__slide--align-h-t-right .aragold-hero__content { text-align: right; align-items: flex-end; }
}

/* ---------- MOBILE (<=575px) ---------- */
@media (max-width: 575px) {
    .aragold-hero__slide--align-h-m-left .aragold-hero__container { justify-content: flex-start; }
    .aragold-hero__slide--align-h-m-center .aragold-hero__container { justify-content: center; }
    .aragold-hero__slide--align-h-m-right .aragold-hero__container { justify-content: flex-end; }
    .aragold-hero__slide--align-v-m-top .aragold-hero__container { align-items: flex-start; }
    .aragold-hero__slide--align-v-m-middle .aragold-hero__container { align-items: center; }
    .aragold-hero__slide--align-v-m-bottom .aragold-hero__container { align-items: flex-end; }
    .aragold-hero__slide--align-h-m-left .aragold-hero__content { text-align: left; align-items: flex-start; }
    .aragold-hero__slide--align-h-m-center .aragold-hero__content { text-align: center; align-items: center; }
    .aragold-hero__slide--align-h-m-right .aragold-hero__content { text-align: right; align-items: flex-end; }
    .aragold-hero__container { padding: 16px; }
    .aragold-hero__content { max-width: 100%; }
}
@media (max-width: 575px) {
    .aragold-hero--fixed-height .aragold-hero__slide {
        min-height: 420px;
    }
    .aragold-hero__content {
        max-width: min(100%, calc(100vw - 64px));
    }
}

/* ---------- Typography (Bodoni Moda + Montserrat Light) ---------- */
.aragold-hero__title {
    margin: 0;
    font-family: 'Bodoni Moda', Didot, 'Bodoni 72', 'Times New Roman', serif;
    font-weight: 400;
    font-size: var(--aragold-title-font-size, clamp(28px, 4vw, 56px));
    line-height: 1.1;
    letter-spacing: 5px;
    color: var(--aragold-title-color, #67676B);
    white-space: nowrap;
    transform: translate(var(--aragold-title-offset-x, 0), var(--aragold-title-offset-y, 0));
}
.aragold-hero__title {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.aragold-hero__subtitle {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    font-size: var(--aragold-subtitle-font-size, clamp(13px, 1.2vw, 16px));
    line-height: 1.4;
    letter-spacing: 6px;
    color: var(--aragold-subtitle-color, #6F7276);
    text-align: center;
    align-self: center;
    transform: translate(var(--aragold-subtitle-offset-x, 0), var(--aragold-subtitle-offset-y, 0));
}
.aragold-hero__subtitle {
    max-width: 100%;
    overflow-wrap: anywhere;
}
@media (max-width: 991px) {
    .aragold-hero__bg-image {
        object-fit: var(--aragold-bg-fit-tablet, var(--aragold-bg-fit, cover));
        object-position: var(--aragold-bg-position-tablet, var(--aragold-bg-position, center center));
    }
    .aragold-hero__title {
        font-size: var(--aragold-title-tablet-font-size, clamp(24px, 5vw, 40px));
        letter-spacing: 4px;
        transform: translate(clamp(-24px, var(--aragold-title-offset-x-tablet, var(--aragold-title-offset-x, 0)), 24px), clamp(-120px, var(--aragold-title-offset-y-tablet, var(--aragold-title-offset-y, 0)), 120px));
    }
    .aragold-hero__subtitle {
        font-size: var(--aragold-subtitle-tablet-font-size, 13px);
        letter-spacing: 5px;
        transform: translate(clamp(-24px, var(--aragold-subtitle-offset-x-tablet, var(--aragold-subtitle-offset-x, 0)), 24px), clamp(-120px, var(--aragold-subtitle-offset-y-tablet, var(--aragold-subtitle-offset-y, 0)), 120px));
    }
    .aragold-hero__description {
        font-size: var(--aragold-description-tablet-font-size, var(--aragold-description-font-size, 14px));
    }
    .aragold-hero__cta-row {
        transform: translate(clamp(-24px, var(--aragold-button-offset-x-tablet, var(--aragold-button-offset-x, 0)), 24px), clamp(-120px, var(--aragold-button-offset-y-tablet, var(--aragold-button-offset-y, 0)), 120px));
    }
}
@media (max-width: 575px) {
    .aragold-hero__bg-image {
        object-fit: var(--aragold-bg-fit-mobile, var(--aragold-bg-fit-tablet, var(--aragold-bg-fit, cover)));
        object-position: var(--aragold-bg-position-mobile, var(--aragold-bg-position-tablet, var(--aragold-bg-position, center center)));
    }
    .aragold-hero__title {
        font-size: var(--aragold-title-mobile-font-size, clamp(22px, 7vw, 32px));
        letter-spacing: 3px;
        transform: translate(clamp(-24px, var(--aragold-title-offset-x-mobile, var(--aragold-title-offset-x-tablet, var(--aragold-title-offset-x, 0))), 24px), clamp(-96px, var(--aragold-title-offset-y-mobile, var(--aragold-title-offset-y-tablet, var(--aragold-title-offset-y, 0))), 96px));
        white-space: normal; /* allow wrap on small screens */
    }
    .aragold-hero__subtitle {
        font-size: var(--aragold-subtitle-mobile-font-size, 12px);
        letter-spacing: 4px;
        transform: translate(clamp(-24px, var(--aragold-subtitle-offset-x-mobile, var(--aragold-subtitle-offset-x-tablet, var(--aragold-subtitle-offset-x, 0))), 24px), clamp(-96px, var(--aragold-subtitle-offset-y-mobile, var(--aragold-subtitle-offset-y-tablet, var(--aragold-subtitle-offset-y, 0))), 96px));
    }
    .aragold-hero__description {
        font-size: var(--aragold-description-mobile-font-size, var(--aragold-description-tablet-font-size, var(--aragold-description-font-size, 14px)));
    }
    .aragold-hero__cta-row {
        transform: translate(clamp(-24px, var(--aragold-button-offset-x-mobile, var(--aragold-button-offset-x-tablet, var(--aragold-button-offset-x, 0))), 24px), clamp(-96px, var(--aragold-button-offset-y-mobile, var(--aragold-button-offset-y-tablet, var(--aragold-button-offset-y, 0))), 96px));
    }
}

/* ---------- Text mode (light/dark) ---------- */
.aragold-hero__slide--text-light .aragold-hero__title { color: var(--aragold-title-color, #FFFFFF); }
.aragold-hero__slide--text-light .aragold-hero__subtitle { color: var(--aragold-subtitle-color, rgba(255, 255, 255, 0.85)); }
/* dark/auto: defaults applied above */

/* ---------- Description + CTA row (pe acelasi rand) ---------- */
.aragold-hero__cta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
    align-self: stretch; /* stretch to full content width (= title width) */
    max-width: 100%;
    transform: translate(var(--aragold-button-offset-x, 0), var(--aragold-button-offset-y, 0));
}
.aragold-hero__description {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    font-size: var(--aragold-description-font-size, 14px);
    line-height: 1.5;
    color: #6F7276;
    max-width: 260px;
    text-align: left;
    overflow-wrap: anywhere;
}
/* Right-align: button stanga (aliniat cu marginea stanga a titlului),
   description imediat in dreapta butonului cu gap mic. */
.aragold-hero__slide--align-h-d-right .aragold-hero__cta-row,
.aragold-hero__slide--align-h-t-right .aragold-hero__cta-row {
    justify-content: flex-start;
    gap: 24px;
}
.aragold-hero__slide--align-h-d-center .aragold-hero__cta-row,
.aragold-hero__slide--align-h-t-center .aragold-hero__cta-row,
.aragold-hero__slide--align-h-m-center .aragold-hero__cta-row {
    justify-content: center;
}

/* Light text mode */
.aragold-hero__slide--text-light .aragold-hero__description {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- CTA button ---------- */
.aragold-hero__cta { margin-top: 8px; }
.aragold-hero__btn {
    display: inline-block;
    max-width: 100%;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid #67676B;
    border-radius: 4px;
    color: #67676B;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    overflow-wrap: anywhere;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.aragold-hero__btn:hover { background: #67676B; color: #FFFFFF; }
.aragold-hero__slide--text-light .aragold-hero__btn {
    border-color: #FFFFFF;
    color: #FFFFFF;
}
.aragold-hero__slide--text-light .aragold-hero__btn:hover {
    background: #FFFFFF;
    color: #010F1C;
}

/* ---------- ARROWS — 3 stiluri ---------- */
.aragold-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    border: 0;
    transition: background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}
.aragold-hero__nav--prev { left: 24px; }
.aragold-hero__nav--next { right: 24px; }

/* Stil 1 — chevron in cerc (default) */
.aragold-hero--arrows-style-1 .aragold-hero__nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #010F1C;
    opacity: 0;
}
.aragold-hero--arrows-style-1:hover .aragold-hero__nav { opacity: 1; }
.aragold-hero--arrows-style-1 .aragold-hero__nav:hover { background: #FFFFFF; }

/* Stil 2 — chevron simplu fara background */
.aragold-hero--arrows-style-2 .aragold-hero__nav {
    width: 36px;
    height: 36px;
    background: transparent;
    color: #FFFFFF;
    opacity: 0.7;
}
.aragold-hero--arrows-style-2 .aragold-hero__nav:hover { opacity: 1; }
.aragold-hero--arrows-style-2 .aragold-hero__nav svg { width: 28px; height: 28px; }

/* Stil 3 — slim line vertical */
.aragold-hero--arrows-style-3 .aragold-hero__nav {
    width: 32px;
    height: 32px;
    background: transparent;
    color: currentColor;
    opacity: 0.6;
}
.aragold-hero--arrows-style-3 .aragold-hero__nav:hover { opacity: 1; }
.aragold-hero--arrows-style-3 .aragold-hero__nav svg { stroke-width: 1; width: 24px; height: 24px; }

/* Color scheme arrows — dark/light */
.aragold-hero--arrows-color-dark .aragold-hero__nav { color: #010F1C; }
.aragold-hero--arrows-color-light .aragold-hero__nav { color: #FFFFFF; }

@media (max-width: 991px) {
    .aragold-hero__nav { opacity: 1 !important; }
    .aragold-hero--arrows-style-1 .aragold-hero__nav { width: 36px; height: 36px; }
    .aragold-hero__nav--prev { left: 12px; }
    .aragold-hero__nav--next { right: 12px; }
}

/* ---------- PAGINATION — 3 stiluri ---------- */
.aragold-hero__pagination.swiper-pagination {
    position: absolute;
    bottom: 24px;
    z-index: 4;
    width: auto;
    left: auto;
    right: auto;
}
/* Pagination horizontal alignment */
.aragold-hero--pagination-align-left .aragold-hero__pagination { left: 24px; }
.aragold-hero--pagination-align-center .aragold-hero__pagination {
    left: 50%;
    transform: translateX(-50%);
}
.aragold-hero--pagination-align-right .aragold-hero__pagination { right: 24px; }

/* Stil DOTS (default) */
.aragold-hero--pagination-dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin: 0 6px !important;
}
.aragold-hero--pagination-dots .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
}

/* Stil FRACTION (01 — 02) */
.aragold-hero--pagination-fraction .swiper-pagination {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    color: #FFFFFF;
}
.aragold-hero--pagination-fraction .swiper-pagination-current,
.aragold-hero--pagination-fraction .swiper-pagination-total {
    font-weight: 500;
}

/* Stil SQUARES */
.aragold-hero--pagination-squares .swiper-pagination-bullet {
    width: 24px;
    height: 4px;
    border-radius: 0;
    background: #FFFFFF;
    opacity: 0.4;
    margin: 0 4px !important;
    transition: opacity 0.2s ease, width 0.2s ease;
}
.aragold-hero--pagination-squares .swiper-pagination-bullet-active {
    opacity: 1;
    width: 36px;
}

/* Pagination color — dark scheme */
.aragold-hero--pagination-color-dark.aragold-hero--pagination-dots .swiper-pagination-bullet,
.aragold-hero--pagination-color-dark.aragold-hero--pagination-squares .swiper-pagination-bullet {
    background: #010F1C;
}
.aragold-hero--pagination-color-dark.aragold-hero--pagination-fraction .swiper-pagination {
    color: #010F1C;
}
