/**
 * Awards Carousel — mirrors screenshot carousel at smaller scale
 */

#awards {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#awards.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ── Carousel container ──────────────────────────── */

.awards-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 135px;
    overflow: visible;
}

/* ── Track ───────────────────────────────────────── */

.awards-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 600px;
    --transition-speed: 0.7s;
}

/* ── Items ───────────────────────────────────────── */

.awards-item {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    transition: transform var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94),
                z-index 0s calc(var(--transition-speed) * 0.5);
}

.awards-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Hidden left — off screen */
.awards-hidden-left {
    width: 200px;
    height: 113px;
    opacity: 0;
    transform: translateX(0) translateZ(-80px) scale(0.5);
    z-index: 1;
    pointer-events: none;
}

/* Side left — peeking */
.awards-side-left {
    width: 200px;
    height: 113px;
    opacity: 0;
    transform: translateX(-140px) translateZ(-60px) scale(0.75);
    z-index: 5;
    pointer-events: none;
}

.awards-side-left:hover { opacity: 0.65; }

/* Center — full */
.awards-center {
    width: 200px;
    height: 113px;
    opacity: 1;
    transform: translateX(0) translateZ(0) scale(1);
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

/* Side right — peeking */
.awards-side-right {
    width: 200px;
    height: 113px;
    opacity: 0;
    transform: translateX(140px) translateZ(-60px) scale(0.75);
    z-index: 5;
    pointer-events: none;
}

.awards-side-right:hover { opacity: 0.65; z-index: 15; }

/* Disable interactions during animation */
.awards-track.animating .awards-item { pointer-events: none; }

/* Fast transition */
.awards-track.fast-transition .awards-item {
    transition: transform 0.14s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.14s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                z-index 0s 0.07s;
}

/* ── Nav buttons ─────────────────────────────────── */

.awards-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20;
    padding: 0;
    outline: none;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awards-nav-left  { left: -40px; }
.awards-nav-right { right: -40px; }

.awards-nav-icon {
    width: 20px;
    height: 20px;
    color: rgba(224, 192, 128, 0.7);
    transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.7;
}

.awards-nav-btn:hover .awards-nav-icon {
    color: #e0c080;
    opacity: 1;
}

.awards-nav-left:hover .awards-nav-icon  { transform: translateX(-3px); }
.awards-nav-right:hover .awards-nav-icon { transform: translateX(3px); }

.awards-nav-btn:active .awards-nav-icon {
    color: #e0c080;
    transform: scale(0.9);
}

/* ── Indicators ──────────────────────────────────── */

.awards-indicators {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
    width: 300px;
    margin-bottom: 20px;
}

.awards-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(224, 192, 128, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.awards-indicator:hover { background: rgba(224, 192, 128, 0.5); }

.awards-indicator.active {
    background: #e0c080;
    width: 18px;
    border-radius: 3px;
}

/* ── Lightbox ────────────────────────────────────── */

.awards-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.awards-lightbox.open {
    display: flex;
}

.awards-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(224, 192, 128, 0.2);
}

.awards-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: rgba(224, 192, 128, 0.7);
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.awards-lightbox-close:hover {
    color: #e0c080;
    transform: scale(1.15);
}

/* ── Testimonials Carousel ───────────────────────── */

.testimonials-carousel {
    width: 420px;
    border-radius: 10px;
    overflow: hidden;
}

.testimonials-track {
    position: relative;
    min-height: 100px;
}

.testimonials-slide {
    position: absolute;
    inset: 0;
    padding: 16px 18px 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    box-sizing: border-box;
}

.testimonials-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.testimonials-quote {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    border-left: 2px solid rgba(224, 192, 128, 0.5);
    padding-left: 10px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.testimonials-source {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e0c080;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ── Testimonials nav row ────────────────────────── */

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 8px;
}

.testimonials-nav-btn {
    background: transparent;
    border: none;
    color: rgba(224, 192, 128, 0.6);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.testimonials-nav-btn:hover { color: #e0c080; }

.testimonials-indicators {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.testimonials-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(224, 192, 128, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.testimonials-indicator:hover { background: rgba(224, 192, 128, 0.5); }

.testimonials-indicator.active {
    background: #e0c080;
    width: 14px;
    border-radius: 3px;
}
