/* Bensonluker CMS - supplemental site styles (site.css) */

/* ---- Hero / headline slider ----
   The curve mask (clip-path ellipse), the image dimming (brightness
   filter), the text-wrapper centering/color, and the pagination
   bullet colors are all already defined in assets/css/swiper.css,
   copied verbatim from the live theme. Do not redeclare them here —
   duplicate/conflicting rules just fight that cascade and produce a
   shallower, wrong-looking curve (this happened once already: a
   leftover SVG "wave" divider painted a second, shallower notch on
   top of the correct clip-path dome — removed, do not re-add). */
.headline-section {
    width: 100%;
}

.FadeSwiper .headline-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* ---- Why Choose ---- */
.why-choose {
    background-color: var(--secondary-colour);
    padding: 0 0 3.5em;
}

.why-choose-body {
    max-width: 760px;
}

/* ---- Notification banner ---- */
.notification-message {
    padding-top: 1em;
}

/* ---- Product series background ---- */
.product-series {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.product-card,
.wiper-card {
    background-color: rgba(0, 0, 0, 0.75);
}

.product-card h3 {
    margin-bottom: 0.5em;
}

/* Compact spec bullet list used inside description_html (product cards, wiper card) */
ul.spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
}

ul.spec-list li {
    position: relative;
    padding-left: 1.1em;
    font-size: 0.92rem;
    line-height: 1.7;
}

ul.spec-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-colour);
}

.wiper-subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1em;
}

.product-feature-lines p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.3em;
}

/* ---- Product comparison table ---- */
.product-comparison table tr.border-bottom {
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

.product-comparison table th {
    font-weight: 700;
    white-space: nowrap;
}

.product-comparison table td,
.product-comparison table th {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

/* ---- Testimonials ---- */
.testimonial .swiper-container.coverflow {
    padding: 2em 0 3em 0;
}

.testimonial .swiper-slide {
    width: 320px;
}

.testimonial .content-box {
    background: #fff;
    color: #24252a;
    border-radius: 10px;
    padding: 2em;
    height: 100%;
}

.testimonial .swiper-slide-active .content-box {
    box-shadow: 0 0 0 3px var(--primary-colour);
}

.testimonial .testimonial-comments {
    font-style: italic;
}

.testimonial .swiper-button-prev,
.testimonial .swiper-button-next {
    color: var(--primary-colour);
}

/* ---- Video gallery (single playlist button + modal) ---- */
.video-playlist-btn {
    display: inline-block;
    margin-top: 0.5em;
}

.video-modal-list {
    display: flex;
    gap: 0.75em;
    overflow-x: auto;
    padding: 1em;
    background: rgba(255,255,255,0.03);
}

.video-list-item {
    flex: 0 0 140px;
    cursor: pointer;
    opacity: 0.65;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.video-list-item.active,
.video-list-item:hover {
    opacity: 1;
    border-color: var(--primary-colour);
}

.video-list-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.video-list-item span {
    display: block;
    font-size: 0.75rem;
    padding: 0.4em 0.5em;
    color: #fff;
}

/* ---- Contact form ---- */
.contact-form .form-control {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 6px;
}

.contact-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-form .form-control:focus {
    background-color: rgba(255,255,255,0.12);
    border-color: var(--primary-colour);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(3,148,169,0.25);
}

.contact-map {
    height: 100%;
    min-height: 320px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.contact-map-placeholder {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2em;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2);
}

/* ---- Sections ---- */
.product-series, .wiper-info, .testimonial, .latest-videos, .about-section, .contact-cta {
    padding: 2em 0;
}

#about .round-border {
    border-radius: 10px;
    overflow: hidden;
}

.about-gallery-slider .gallery-top {
    aspect-ratio: 16 / 9;
}

.about-gallery-slider .gallery-top .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-gallery-slider .gallery-thumbs {
    margin-top: 10px;
    padding: 10px 0;
}

.about-gallery-slider .gallery-thumbs .swiper-slide {
    height: 110px;
    cursor: pointer;
}

.about-gallery-slider .gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

@media (max-width: 767px) {
    .FadeSwiper { height: 70vh; }
}

/* ---- Font Awesome icons ----
   The vendored assets/css/main.css has a leftover theme rule,
   `:lang(en) { font-family: "Roboto Condensed", sans-serif; }`, which has
   the same CSS specificity as Font Awesome's own `.fa-solid`/`.fa-brands`
   font-family rules in all.css. Because main.css loads after all.css,
   that :lang(en) rule wins the cascade tie and overwrites the icon font on
   every <i class="fa-..."> tag, turning icons into blank boxes/letters.
   site.css loads last, so restoring the correct icon font-family here
   (not editing the vendored main.css) fixes it without needing !important. */
.fa-solid, .fas,
.fa-regular, .far {
    font-family: 'Font Awesome 6 Free';
}

.fa-brands, .fab {
    font-family: 'Font Awesome 6 Brands';
}
