/* =============================================================================
   hero.css — Hero Carousel & Contact Representation
   -----------------------------------------------------------------------------
   Styles for the auto-rotating hero carousel on the home page, and for the
   right-column "represented by" gallery block in the contact section.
   ============================================================================= */

/* --- Hero Carousel --------------------------------------------------------- */
.hero {
    position: relative;
}

.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}

/* Prev / Next buttons */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

/* Dot indicators */
.hero-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* --- Gallery Representation (Contact Right Column) ------------------------ */
.contact-representation {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.rep-intro {
    font-size: 0.9rem;
    color: var(--color-heading);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.rep-block {
    padding: var(--space-md);
    background: var(--color-bg);
    border-radius: 4px;
    border-left: 1.5px solid var(--color-heading);
}

.rep-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-heading);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.rep-address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.rep-address a {
    color: var(--color-text);
}

.rep-email {
    font-size: 0.9rem;
    margin: 0;
}

.rep-email a {
    color: var(--color-heading);
}

.rep-email a:hover {
    opacity: 0.7;
}

/* --- Mobile adjustments --------------------------------------------------- */
@media (max-width: 767px) {
    .hero-prev,
    .hero-next {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    .hero-prev { left: 0.5rem; }
    .hero-next { right: 0.5rem; }

    .rep-block {
        padding: var(--space-md) var(--space-sm);
    }
}