/* ==========================================================================
   EVENTIQO — PAGES/HOME.CSS
   Home page specific styles
   ========================================================================== */

/* ─── Hero Section ─────────────────────────────────────────────────────── */
#hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to right,
            rgba(13, 13, 13, 0.72) 0%,
            rgba(13, 13, 13, 0.42) 60%,
            rgba(13, 13, 13, 0.2) 100%); */
    /* background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.55) 15%,
            rgba(0, 0, 0, 0.35) 40%,
            rgba(0, 0, 0, 0.25) 70%,
            rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(to right,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.55) 35%,
            rgba(0, 0, 0, 0.30) 65%,
            rgba(0, 0, 0, 0.15) 100%); */
    background:
        linear-gradient(to bottom,
            rgba(18, 16, 14, 0.75) 0%,
            rgba(18, 16, 14, 0.45) 50%,
            rgba(18, 16, 14, 0.4) 100%),
        linear-gradient(to right,
            rgba(18, 16, 14, 0.8) 0%,
            rgba(18, 16, 14, 0.5) 45%,
            rgba(18, 16, 14, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding-top: 80px;
    /* nav height offset */
}

.hero-accent-line {
    display: block;
    width: 72px;
    height: 1px;
    background-color: var(--color-accent);
    margin-bottom: 1.5rem;
    transform-origin: left center;
    transform: scaleX(0);
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.5vw, var(--text-6xl));
    font-weight: 300;
    color: var(--color-surface);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    margin-right: 0.25em;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: rgba(249, 247, 244, 0.65);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.hero-scroll-indicator span {
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-surface);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-surface), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(0.7) translateY(6px);
    }
}


/* ─── About Preview Section ────────────────────────────────────────────── */
#about-preview {
    background-color: var(--color-surface);
}

.about-statement {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    /* Intentional 10px bleed below grid baseline */
    margin-bottom: -10px;
    position: relative;
}

.about-divider {
    width: 1px;
    background-color: var(--color-border);
    min-height: 100%;
}

.about-prose {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: 1.85;
    margin-bottom: var(--space-l);
}

.stats-row {
    display: flex;
    gap: var(--space-xl);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-m);
    margin-top: var(--space-m);
}

@media (max-width: 576px) {
    .stats-row {
        gap: var(--space-l);
    }
}


/* ─── Clients Section ──────────────────────────────────────────────────── */
#clients {
    background-color: var(--color-white);
}

.clients-heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-l);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem 4rem;
}

@media (max-width: 768px) {
    .clients-grid {
        gap: 2rem 2.5rem;
    }
}


/* ─── Testimonials Section ─────────────────────────────────────────────── */
#testimonials {
    background-color: var(--color-deep);
    position: relative;
    overflow: hidden;
}

.testimonials-inner {
    position: relative;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.quote-mark {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 14rem;
    line-height: 1;
    color: rgba(201, 169, 110, 0.07);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.testimonial-slide {
    display: block;
    position: relative;
    z-index: 1;
    opacity: 1;
    /* Let bxSlider handle opacity if using fade */
}

/* bxSlider custom pager styling */
.testimonials-inner .bx-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}

.testimonials-inner .bx-wrapper .bx-pager {
    padding-top: var(--space-l);
    bottom: -30px;
}

.testimonials-inner .bx-wrapper .bx-pager.bx-default-pager a {
    background: rgba(249, 247, 244, 0.2);
    width: 8px;
    height: 8px;
    margin: 0 6px;
    transition: background 0.3s ease;
}

.testimonials-inner .bx-wrapper .bx-pager.bx-default-pager a:hover,
.testimonials-inner .bx-wrapper .bx-pager.bx-default-pager a.active,
.testimonials-inner .bx-wrapper .bx-pager.bx-default-pager a:focus {
    background: var(--color-accent);
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.85;
    color: rgba(249, 247, 244, 0.88);
    margin-bottom: var(--space-l);
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.testimonial-meta {
    font-size: var(--text-xs);
    color: rgba(249, 247, 244, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}



/* ─── Gallery Preview Section ──────────────────────────────────────────── */
#gallery-preview {
    background-color: var(--color-surface);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 1rem;
}

.gallery-item-hero {
    grid-row: 1 / 3;
    height: 100%;
}

.gallery-item-sm {
    height: 100%;
}

@media (max-width: 768px) {
    .gallery-preview-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px;
    }

    .gallery-item-hero {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .gallery-item-sm {
        grid-row: 2 / 3;
    }
}

.gallery-cta-wrap {
    text-align: center;
    margin-top: var(--space-l);
}

.gallery-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
    transition: color var(--duration-hover) ease;
}

.gallery-cta-link:hover {
    color: var(--color-accent);
}


/* ─── Contact Section (Home variant) ──────────────────────────────────── */
#contact {
    background-color: var(--color-white);
}

.contact-respond-note {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: 0.75rem;
    letter-spacing: 0.04em;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.65;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    margin-top: 2px;
}

.contact-social {
    display: flex;
    gap: 0.75rem;
    margin-top: var(--space-m);
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition:
        border-color var(--duration-hover) ease,
        color var(--duration-hover) ease;
}

.contact-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}