/* ===========================================================
   ICACON 2027 — home.css
   Page-specific styles for the homepage content: hero, welcome,
   workshops, key dates, committee, and venue sections. Shared
   tokens/resets live in base.css; header/footer styles live in
   header.css / footer.css.
   =========================================================== */

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 74px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 42, 82, .38) 0%, rgba(15, 42, 82, .18) 35%, rgba(15, 42, 82, .6) 75%, rgba(15, 42, 82, .92) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 64px 0 40px;
}

.hero .eyebrow-line span.rule {
    width: 36px;
    height: 1px;
    background: rgba(255, 255, 255, .4);
}

.hero .eyebrow-line p {
    color: #f6d9a8;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
    margin: 0;
}

.hero h1 {
    color: #fff;
    font-size: clamp(3.2rem, 9vw, 6.4rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.01em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
}

.hero h1 .of {
    display: block;
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    font-weight: 500;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .82);
    font-family: 'Inter';
    margin-bottom: 10px;
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.theme-pill {
    display: inline-block;
    margin: 26px auto 0;
    padding: 13px 28px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(8, 20, 45, .35);
    backdrop-filter: blur(6px);
    border-radius: 40px;
    color: #fdeee0;
    font-size: .95rem;
    font-weight: 500;
    font-style: italic;
}

.meta-chip {
    background: rgba(8, 20, 45, .45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    padding: 15px 24px;
    color: #fff;
    text-align: left;
    min-width: 190px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.meta-chip .lbl {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
    font-weight: 700;
}

.meta-chip .val {
    font-family: 'Fraunces';
    font-size: 1.08rem;
    margin-top: 5px;
}

.btn-conf {
    padding: 15px 34px;
    border-radius: 32px;
    font-weight: 700;
    font-size: .92rem;
    display: inline-block;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-conf-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 30px rgba(242, 118, 42, .4);
}

.btn-conf-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(242, 118, 42, .5);
    color: #fff;
}

.btn-conf-ghost {
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.btn-conf-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

.organised-by p.lbl {
    color: #fff;
    font-size: .9rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-shadow: 0 4px 24px rgb(0, 0, 0);
    margin-bottom: 16px;
    font-weight: 700;
}

.org-logos .logo {
    width: 160px;
    text-align: center;
}

.org-logos .logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
    border: 2px solid rgba(255, 255, 255, .5);
    overflow: hidden;
    padding: 6px;
    margin: 0 auto 10px;
    transition: transform .2s ease;
}

.org-logos span {
    color: #fff;
    font-size: .8rem;
}

.org-logos .logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.org-logos .logo-circle:hover {
    transform: translateY(-3px);
}

.slide-dots {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    gap: 9px;
    justify-content: center;
}

.slide-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .7);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.slide-dots button.active {
    background: var(--orange);
    border-color: var(--orange);
}

/* Welcome */
.welcome {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 64px 0;
}

.welcome:before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .08);
}

.welcome:after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .06);
}

.welcome-inner {
    position: relative;
    max-width: 820px;
}

.welcome-head {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-head h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    margin-top: 8px;
}

.welcome-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 40px 44px;
    position: relative;
}

.welcome-card i.fa-quote-left {
    position: absolute;
    top: 24px;
    left: 28px;
    font-size: 1.6rem;
    color: rgba(242, 118, 42, .35);
}

.welcome-body {
    color: rgba(255, 255, 255, .92);
    font-size: .98rem;
    line-height: 1.85;
    text-align: left;
}

.welcome-body+.welcome-body {
    margin-top: 16px;
}

.welcome-sign {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    text-align: right;
}

.welcome-sign .line1 {
    font-family: 'Fraunces';
    font-style: italic;
    font-size: 1.1rem;
    color: #fdeee0;
    line-height: 1.5;
}

.welcome-sign .line2 {
    margin-top: 10px;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
}

/* Workshops */
.workshops {
    background: var(--cream);
}

.wcard {
    background: #fff;
    border-radius: 18px;
    padding: 28px 18px;
    text-align: center;
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.wcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(13, 44, 92, .12);
}

.wcard .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.wcard h4 {
    font-family: 'Inter';
    font-size: .98rem;
    font-weight: 800;
    color: var(--navy);
}

.wcard p {
    font-size: .78rem;
    color: #6a7590;
    margin-top: 6px;
    line-height: 1.4;
}

/* Dates */
.dates {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.dates:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, rgba(15, 138, 108, .08), transparent 45%);
}

.date-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px;
    position: relative;
    box-shadow: 0 10px 26px rgba(13, 44, 92, .06);
    height: 100%;
}

.date-card .tag {
    color: var(--teal);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
}

.date-card .big {
    font-family: 'Fraunces';
    font-size: 2rem;
    margin: 10px 0 4px;
    font-weight: 700;
    color: var(--navy);
}

.date-card .sub {
    font-size: .85rem;
    color: #5b6685;
}

.earlybird {
    background: linear-gradient(155deg, var(--orange), var(--orange-deep));
    border: none;
    color: #fff;
}

.earlybird .tag {
    color: #ffe6cf;
}

.earlybird .big {
    color: #fff;
}

.earlybird .sub {
    color: rgba(255, 255, 255, .85);
}

/* Committee */
.committee {
    background: #fff;
}

.comm-panel {
    background: var(--cream);
    border-radius: 22px;
    padding: 36px;
    border: 1px solid var(--line);
}

.comm-block {
    margin-bottom: 26px;
}

.comm-block:last-child {
    margin-bottom: 0;
}

.comm-block h4 {
    color: var(--teal);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
}

.comm-block h4 i {
    color: var(--orange);
    font-size: .8rem;
}

.comm-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
}

.comm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(13, 44, 92, .1);
}

.comm-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(13, 44, 92, .18);
}

.comm-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comm-card .cname {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.comm-card .crole {
    font-size: .68rem;
    color: var(--teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* Venue / CTA */
.venue {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.venue h2 {
    color: var(--navy);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
}

.venue p {
    margin-top: 16px;
    color: #4c5876;
    line-height: 1.7;
}

.venue-monument {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 20px 44px rgba(13, 44, 92, .14);
}

.contact-row a {
    font-size: .9rem;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.venue-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 16px;
    background: rgba(15, 138, 108, .08);
    border: 1px solid rgba(15, 138, 108, .25);
    border-radius: 30px;
    color: var(--teal);
    font-weight: 700;
    font-size: .82rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
    .comm-panel {
        padding: 26px 20px;
    }

    .venue-monument {
        order: -1;
    }

    .welcome-card {
        padding: 32px 24px;
    }

    .welcome-sign {
        text-align: left;
    }

    /* Hero: compact everything so it doesn't sprawl on small screens */
    .hero-content {
        padding: 36px 0 22px;
    }

    .eyebrow-line {
        gap: 10px !important;
    }

    .eyebrow-line .rule {
        width: 20px;
    }

    .eyebrow-line p {
        font-size: .68rem;
        letter-spacing: .1em;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
        line-height: 1;
    }

    .hero h1 .of {
        font-size: .82rem;
        margin-bottom: 6px;
    }

    .theme-pill {
        margin-top: 14px;
        padding: 9px 18px;
        font-size: .82rem;
    }

    .hero-meta {
        margin-top: 18px !important;
        gap: 8px !important;
    }

    .meta-chip {
        padding: 9px 14px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .meta-chip .lbl {
        font-size: .6rem;
    }

    .meta-chip .val {
        font-size: .84rem;
        margin-top: 3px;
    }

    .hero-ctas {
        margin-top: 18px !important;
        gap: 10px !important;
    }

    .btn-conf {
        padding: 11px 22px;
        font-size: .8rem;
    }

    .organised-by {
        margin-top: 26px !important;
    }

    .organised-by p.lbl {
        font-size: .68rem;
        margin-bottom: 12px;
    }

    .org-logos {
        gap: 16px !important;
    }

    .org-logos .logo {
        width: 76px;
    }

    .org-logos .logo-circle {
        width: 52px;
        height: 52px;
        margin-bottom: 6px;
    }

    .org-logos span {
        font-size: .58rem;
        line-height: 1.2;
        display: block;
    }
}

@media (max-width: 560px) {
    .hero-meta {
        flex-direction: column;
        align-items: stretch !important;
    }

    .meta-chip {
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 420px) {
    .theme-pill {
        font-size: .78rem;
        padding: 8px 16px;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 13vw, 3.2rem);
    }

    .org-logos .logo {
        width: 64px;
    }

    .org-logos .logo-circle {
        width: 44px;
        height: 44px;
    }

    .wcard {
        padding: 22px 12px;
    }

    .wcard .icon {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
    }

    .date-card {
        padding: 24px 20px;
    }

    .date-card .big {
        font-size: 1.6rem;
    }
}