﻿/* ===========================
   EVENNECT HUB HOME (Index)
=========================== */

/* ===========================
   BRAND COLOURS (from logo)
=========================== */

:root {
    --eh-teal: #10b7b0;
    --eh-teal-dark: #0a8f8a;
    --eh-coral: #ff5b6a;
    --eh-coral-dark: #e33e54;
    --eh-teal-glow: rgba(16,183,176,0.22);
    --eh-coral-glow: rgba(255,91,106,0.22);
}

/* =========================== */

.eh-dividerBlock {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.eh-mini-left {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.eh-page {
    position: relative;
    min-height: calc(100vh - 90px);
    background-image: url('/images/index/index-bg-main.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #efe7dd;
}

    .eh-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.66) 45%, rgba(255,255,255,0.60) 100%);
        pointer-events: none;
    }

.eh-container {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 18px 70px;
}

/* HERO */

.eh-hero {
    text-align: center;
    padding-top: 10px;
}

/* Logo */

.eh-logo {
    width: clamp(140px, 18vw, 300px);
    height: auto;
    display: block;
    margin: 0 auto 6px;
}

/* Tagline */

.eh-tagline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    margin: 0 auto 10px;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 16px 34px rgba(0,0,0,0.10);
    backdrop-filter: blur(12px);
    font-weight: 950;
    font-size: clamp(14px, 1.4vw, 18px);
    letter-spacing: .6px;
    text-transform: uppercase;
    color: rgba(15,23,42,0.78);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    cursor: default;
    opacity: 0;
    transform: translateY(6px);
    animation: ehTagIn .55s ease forwards;
}

    .eh-tagline:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 46px rgba(0,0,0,0.14);
        filter: brightness(1.03);
        border-color: rgba(16,183,176,0.35);
    }

.eh-dot {
    opacity: .55;
    font-weight: 900;
}

@keyframes ehTagIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eh-tagline {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 420px) {
    .eh-tagline {
        letter-spacing: .3px;
        padding: 7px 12px;
        text-transform: none;
        flex-wrap: wrap;
    }
}

.eh-h1 {
    margin: 18px 0 10px;
    font-size: clamp(34px, 3.2vw, 54px);
    font-weight: 950;
    letter-spacing: -0.8px;
    color: #0f172a;
}

.eh-sub {
    max-width: 900px;
    margin: 0 auto 18px;
    color: rgba(15,23,42,0.72);
    font-weight: 650;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.45;
}

.eh-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* ===========================
   BUTTONS
=========================== */

.eh-btn {
    border: none;
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* Primary teal button */

.eh-btn--orange {
    background: linear-gradient(90deg,var(--eh-teal),var(--eh-teal-dark));
    color: #fff;
    box-shadow: 0 16px 34px var(--eh-teal-glow);
}

    .eh-btn--orange:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 46px rgba(16,183,176,0.30);
        filter: brightness(1.03);
    }

/* Coral secondary */

.eh-btn--coral {
    background: linear-gradient(90deg,var(--eh-coral),var(--eh-coral-dark));
    color: #fff;
    box-shadow: 0 16px 34px var(--eh-coral-glow);
}

    .eh-btn--coral:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 46px rgba(255,91,106,0.30);
        filter: brightness(1.03);
    }


/* Coral buttons  */
.eh-btn--navy {
    background: linear-gradient(90deg,var(--eh-coral),var(--eh-coral-dark));
    color: #fff;
    border: none;
    box-shadow: 0 16px 34px var(--eh-coral-glow);
}

    .eh-btn--navy:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 46px rgba(255,91,106,0.30);
        filter: brightness(1.04);
    }

    .eh-btn--navy:active {
        transform: translateY(0);
        box-shadow: 0 10px 20px rgba(255,91,106,0.25);
    }

/* Quick links strip */

.eh-strip {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    overflow: auto;
    padding-bottom: 4px;
}

.eh-chip {
    flex: 0 0 auto;
    background: rgba(255,255,255,0.70);
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 850;
    color: rgba(15,23,42,0.82);
    box-shadow: 0 16px 34px rgba(0,0,0,0.10);
    text-decoration: none;
}

    .eh-chip:hover {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

/* Section Titles */

.eh-sectionTitle {
    margin: 34px 0 14px;
    font-size: 22px;
    font-weight: 950;
    color: #0f172a;
}

/* Grid */

.eh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.eh-card {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    padding: 16px;
}

    .eh-card:hover {
        transform: translateY(-2px);
    }

/* Card content */

.eh-cardTop {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.eh-icon {
    font-size: 22px;
}

.eh-title {
    margin: 0;
    font-weight: 950;
    color: #0f172a;
    font-size: 18px;
}

.eh-desc {
    margin: 8px 0 12px;
    color: rgba(15,23,42,0.72);
    font-weight: 650;
}

.eh-btnRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Features */

.eh-mini {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(15,23,42,0.72);
    font-weight: 750;
    font-size: 13px;
}

/* How it works */

.eh-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 12px;
}

.eh-step {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 20px;
    padding: 14px;
}

    .eh-step h4 {
        margin: 0 0 6px;
        font-size: 15px;
        font-weight: 950;
    }

    .eh-step p {
        margin: 0;
        color: rgba(15,23,42,0.72);
    }

/* Search */

.eh-searchWrap {
    max-width: 680px;
    margin: 14px auto 0;
    display: grid;
    gap: 10px;
}

.eh-searchRow {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.eh-input {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.12);
    background: rgba(255,255,255,0.80);
}

    .eh-input:focus {
        border-color: rgba(16,183,176,0.40);
        box-shadow: 0 18px 40px rgba(16,183,176,0.16);
    }

.eh-locBtn {
    width: 100%;
}

/* Loading */

.eh-loadingSpinner {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 4px solid rgba(15,23,42,0.14);
    border-top-color: rgba(16,183,176,0.95);
    animation: ehSpin 0.9s linear infinite;
}

@keyframes ehSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */

@media (max-width: 980px) {
    .eh-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .eh-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .eh-grid {
        grid-template-columns: 1fr;
    }

    .eh-steps {
        grid-template-columns: 1fr;
    }
}
