/* Zayed Talk page — resources/views/zayedtalk/index.blade.php */

@font-face {
    font-family: "ZT Din23";
    src: url("../fonts/DIN-NEXT-LT-W23-MEDIUM.otf") format("opentype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "ZT DinAr";
    src: url("../fonts/DINNEXTLTARABIC-LIGHT.ttf") format("truetype");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: "ZT DinAr";
    src: url("../fonts/DINNextLTArabic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --zt-navy: #4C548C;
    --zt-pink: #F79E99;
    --zt-coral: #E96F5F;
    --zt-purple: #8772A5;
    --zt-sky: #B8DFF1;
    --zt-line: linear-gradient(to right, #E96F5F, #B8DFF1 57%, #8772A5);
    --zt-heading: "ZT Din23", "ZT DinAr", Arial, sans-serif;
    --zt-body: "ZT DinAr", "ZT Din23", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body.zt {
    margin: 0;
    background: #fff;
    color: var(--zt-navy);
    font-family: var(--zt-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.zt img { max-width: 100%; }
.zt a { color: inherit; }
.zt p { margin: 0; }
.zt h2 { margin: 0; font-weight: 400; }
.zt section { scroll-margin-top: 1rem; }

.zt-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Pill button with gradient outline */
.zt-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 2rem 0.2em;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to left, #E96F5F, #B8DFF1 57%, #8772A5) border-box;
    color: var(--zt-navy) !important;
    font-family: var(--zt-heading);
    font-size: 1.15rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s, color .2s;
}
.zt-pill:hover { transform: scale(1.03); color: var(--zt-pink) !important; }

/* "+" icon link/button */
.zt-plus {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: .9rem;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
}
.zt-plus img { width: 3rem; height: 3rem; transition: transform .3s, opacity .3s; }
.zt-plus:hover img, .zt-plus[aria-expanded="true"] img { transform: rotate(180deg); opacity: .8; }
.zt-plus--dark { color: var(--zt-navy); font-size: 1.1rem; }
.zt-plus--dark:hover span { color: var(--zt-pink); }

/* ============ NAV ============ */
.zt-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
}
.zt-nav__logo img { width: 6.5rem; height: auto; display: block; }
.zt-nav__right { display: flex; flex-direction: column; align-items: flex-end; gap: .9rem; }
.zt-nav__back {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding-bottom: .5rem;
    color: #fff !important;
    font-family: var(--zt-body);
    font-weight: 300;
    text-decoration: none;
    transition: color .3s;
}
.zt-nav__back::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(286deg, #8772a5 0%, #b8dff1 51%, #e96f5f 100%);
}
.zt-nav__back svg { transition: margin .4s; }
.zt-nav__back:hover { color: var(--zt-pink) !important; }
.zt-nav__back:hover svg { margin-inline-end: .5rem; }
[dir="rtl"] .zt-nav__back svg { transform: scaleX(-1); }
.zt-nav__icons { display: flex; align-items: center; gap: .9rem; color: #fff; }
.zt-nav__icons a { color: #fff !important; text-decoration: none; font-size: 1.15rem; transition: transform .2s; }
.zt-nav__icons a:hover { transform: scale(1.12); }
.zt-nav__lang { font-family: var(--zt-heading); font-size: .95rem !important; }

/* ============ HERO ============ */
.zt-hero {
    position: relative;
    min-height: 100vh;
    padding: 1rem 0 4rem;
    color: #fff;
    overflow: hidden;
}
.zt-hero__bg, .zt-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zt-hero__bg { opacity: .9; object-position: 70% 50%; }
.zt-hero__overlay { z-index: 1; }
[dir="rtl"] .zt-hero__bg, [dir="rtl"] .zt-hero__overlay { transform: scaleX(-1); }
.zt-hero__inner { position: relative; z-index: 2; margin-top: 10rem; }
.zt-hero__top { display: flex; gap: 2rem; }
.zt-hero__title { font-family: var(--zt-heading); flex-shrink: 0; }
.zt-hero__big { font-size: 8rem; line-height: 1.05; letter-spacing: .28em; }
.zt-hero__pink { position: relative; bottom: .3em; font-size: 4.5rem; line-height: 1.05; letter-spacing: .28em; color: var(--zt-pink); }
.zt-ar .zt-hero__big, .zt-ar .zt-hero__pink { letter-spacing: 0; }
.zt-ar .zt-hero__pink { bottom: 0; }

.zt-hero__side { position: relative; display: flex; align-items: center; flex: 1; }
.zt-hero__palm { width: 45%; max-width: 320px; margin: auto; }
[dir="rtl"] .zt-hero__palm { transform: scaleX(-1); }
.zt-hero__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.1rem;
    font-family: var(--zt-heading);
    font-size: 1.2rem;
}
/* Curved stagger that follows the palm shape: 0, 5, 8, 7, 4, 0 rem.
   Shifted back by the max (8) so the widest item never runs off the screen. */
.zt-hero__links { white-space: nowrap; }
.zt-hero__links li { position: relative; inset-inline-start: calc((var(--offset, 0) - 8) * 1rem); }
.zt-hero__links li:nth-child(2) { --offset: 5; }
.zt-hero__links li:nth-child(3) { --offset: 8; }
.zt-hero__links li:nth-child(4) { --offset: 7; }
.zt-hero__links li:nth-child(5) { --offset: 4; }
.zt-underline { display: inline-block; color: #fff !important; text-decoration: none; transition: color .2s; }
.zt-underline::after {
    content: "";
    display: block;
    width: 1.5rem;
    height: 4px;
    background: var(--zt-pink);
    transition: width .2s linear;
}
.zt-underline:hover { color: #d1d5db !important; }
.zt-underline:hover::after { width: 100%; }
.zt-hero__sublink {
    display: block;
    padding-inline-start: 1rem;
    font-size: .85rem;
    color: #fff !important;
    text-decoration: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .3s, max-height .3s;
}
.zt-hero__links li:hover .zt-hero__sublink { opacity: 1; max-height: 2rem; }

.zt-hero__about { width: 33%; margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; }
.zt-hero__more { margin-top: .8rem !important; }

/* ============ EVENTS ============ */
.zt-events {
    padding: 4rem 0 10%;
    text-align: center;
    background: linear-gradient(#EEEAF2, #F8EBEA);
}
.zt-events__title { font-family: var(--zt-heading); font-size: 1.5rem !important; letter-spacing: .25em; margin-bottom: 1rem !important; }
.zt-ar .zt-events__title { letter-spacing: 0; }
.zt-gradient-border { border: 8px solid; border-image: var(--zt-line) 3; }
.zt-events__box {
    width: 75%;
    margin: 0 auto;
    padding: 4rem 10%;
    font-family: var(--zt-heading);
    color: #4B548C;
}
.zt-events__empty { font-size: 1.6rem; }
.zt-event + .zt-event { margin-top: 3rem; }
.zt-event__name { font-size: 3.5rem; color: #FFA099; }
.zt-event__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin: 2rem 0; font-size: 1.6rem; }
.zt-countdown { display: flex; justify-content: center; align-items: flex-start; gap: 1rem; }
.zt-countdown div { display: flex; flex-direction: column; align-items: center; min-width: 4ch; }
.zt-countdown b { font-weight: 400; font-size: 5rem; line-height: 1; }
.zt-countdown i { font-style: normal; font-size: 5rem; line-height: 1; }
.zt-countdown small { font-size: 1.4rem; margin-top: .5rem; }
.zt-events__register {
    position: relative;
    top: -1.5rem;
    display: inline-flex;
    align-items: center;
    height: 3rem;
    padding: 0 2rem .2em;
    border-radius: 999px;
    background: linear-gradient(to left, #E96F5F, #8772A5);
    color: #fff !important;
    font-family: var(--zt-heading);
    font-size: 1.25rem;
    text-decoration: none;
    transition: transform .2s;
}
.zt-events__register:hover { transform: scale(1.03); }

/* ============ SPEAKERS ============ */
.zt-speakers { position: relative; padding: 4rem 0 2rem; overflow: hidden; background: #fff; }
.zt-speakers__backdrop {
    position: absolute;
    inset: 0;
    padding: 4%;
    text-align: center;
    font-family: var(--zt-body);
    font-size: 6.5rem;
    line-height: 1.15;
    opacity: .04;
    pointer-events: none;
    transition: opacity .25s ease-in-out;
}
.zt-speakers__backdrop.is-fading { opacity: 0; }
.zt-speakers__head { position: relative; padding: 0 13%; }
.zt-speakers__title { font-family: var(--zt-body); font-size: 6rem !important; line-height: 1.1; }
.zt-speakers__desc { width: 45%; padding-inline-start: 1rem; font-size: 1.1rem; line-height: 1.6; }
.zt-speakers__head .zt-plus { padding-inline-start: 1rem; }
.zt-speakers__palm {
    position: absolute;
    top: -2rem;
    inset-inline-end: 13%;
    width: 16%;
    transform: rotate(180deg);
}
[dir="rtl"] .zt-speakers__palm { transform: rotate(180deg) scaleX(-1); }

.zt-speakers__slider { margin-top: 1rem; }
.zt-slide { width: 340px; padding: 4rem 1rem 3rem; transition: filter .25s, transform .25s; filter: blur(4px); }
.zt-speakers__slider .slick-active .zt-slide,
.zt-speakers__slider .slick-active.zt-slide { filter: blur(0); }
.zt-speakers__slider .slick-center .zt-slide,
.zt-speakers__slider .slick-center.zt-slide { filter: blur(0); transform: scale(1.15); }
.zt-speakers__slider .slick-center .zt-card { animation: zt-float 4s ease-in-out infinite; }

.zt-card { text-align: center; color: var(--zt-navy); cursor: pointer; }
.zt-card__photo { position: relative; width: 210px; height: 210px; margin: 0 auto 2rem; }
.zt-card__img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: filter .2s, transform .2s;
}
.zt-card__ring {
    position: absolute;
    inset: 0;
    z-index: 1;
    transform: scale(.6);
    opacity: 0;
    transition: transform 1s, opacity .5s;
}
.zt-card__ring img { width: 100%; height: 100%; border-radius: 50%; }
.zt-card__watch {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    color: #fff !important;
    font-size: .8rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.zt-card__watch img { width: 3.5rem; }
.zt-card__name { font-family: var(--zt-heading); font-size: 1.5rem; }
.zt-card__title { font-family: var(--zt-heading); font-size: .9rem; }
.zt-card__desc, .zt-card__handles { opacity: 0; transition: opacity .5s; }
.zt-card__desc { margin: .8rem 1rem 0 !important; font-size: .85rem; line-height: 1.5; }
.zt-card__handles { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.zt-card__handles a { font-size: 1.4rem; transition: transform .2s; }
.zt-card__handles a:hover { transform: scale(1.1); }
.zt-card__handles i { color: #9289B5; }
@supports (-webkit-background-clip: text) {
    .zt-card__handles i { background: linear-gradient(135deg, #9EA7CA, #9289B5); -webkit-background-clip: text; background-clip: text; color: transparent; }
}

/* The centred speaker shows its ring, bio and links */
.zt-speakers__slider .slick-center .zt-card__ring { opacity: 1; }
.zt-speakers__slider .slick-center .zt-card:hover .zt-card__ring { transform: scale(1.06); }
.zt-speakers__slider .slick-center .zt-card:hover .zt-card__ring img { animation: zt-spin 1s linear infinite; }
.zt-speakers__slider .slick-center .zt-card:hover .zt-card__img { filter: brightness(.8); transform: translateY(-.25rem); }
.zt-speakers__slider .slick-center .zt-card:hover .zt-card__watch { opacity: 1; pointer-events: auto; }
.zt-speakers__slider .slick-center .zt-card:hover .zt-card__desc,
.zt-speakers__slider .slick-center .zt-card:hover .zt-card__handles { opacity: 1; }

/* Slider arrows (speakers + instagram) */
.zt .zt-arrow {
    position: absolute;
    top: 10rem;
    z-index: 40;
    padding: 0;
    border: 0;
    background: none;
    color: #BFCFDD;
    font-size: 3.5rem;
    cursor: pointer;
    transition: color .2s;
}
.zt .zt-arrow:hover { color: #a6b2bd; }
.zt .zt-arrow--prev { left: 5rem; }
.zt .zt-arrow--next { right: 5rem; }

/* ============ CTA BLOCKS ============ */
.zt-cta { position: relative; padding: 3rem 0; }
.zt-cta__frame {
    position: relative;
    width: 80vw;
    height: 85vh;
    min-height: 560px;
    margin: 0 auto;
    border: 8px solid;
    border-image: var(--zt-line) 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.zt-cta--contact .zt-cta__frame,
.zt-cta--inspire .zt-cta__frame { border-image: linear-gradient(to left, #E96F5F, #B8DFF1 57%, #8772A5) 3; }
.zt-cta__panel {
    position: absolute;
    top: 50%;
    left: calc(-10vw - 8px);
    width: 100vw;
    height: 60%;
    transform: translateY(-58%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    overflow: visible;
}
.zt-cta--inspire .zt-cta__panel { background: radial-gradient(ellipse at top, #E96F5F 15%, #4B548C 80%); }
.zt-cta--press .zt-cta__panel { background: radial-gradient(circle at top, rgb(189,219,237) 15%, rgb(77,84,135) 75%); }
.zt-cta--contact .zt-cta__panel { background: radial-gradient(circle at center top, #4B548C 20%, #E96F5F 85%); }
[dir="rtl"] .zt-cta__panel { left: auto; right: calc(-10vw - 8px); }
.zt-cta__word {
    position: relative;
    z-index: 3;
    width: 80%;
    display: flex;
    justify-content: space-between;
    font-family: var(--zt-body);
    font-size: 9rem;
    line-height: .75;
}
.zt-ar .zt-cta__word { justify-content: center; margin-top: 1.5rem; font-size: 6rem; line-height: 1.1; }
.zt-cta__text {
    position: relative;
    z-index: 3;
    width: 55%;
    margin-top: 3rem !important;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.6;
}
.zt-cta__img {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 2;
    height: 65vh;
    max-height: 115%;
    width: auto;
    transform: translateX(-50%);
    pointer-events: none;
}
.zt-cta__btn { position: relative; z-index: 4; margin-bottom: 4rem; min-width: 25%; }

/* ============ FOOTER ============ */
.zt-footer { position: relative; background: linear-gradient(to right, #FCE8E5, #ECE8F1); padding: 2.5rem 10% 3rem; }
.zt-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.zt-footer__brand { display: flex; align-items: center; gap: .9rem; font-size: .8rem; }
.zt-footer__brand img { width: 3rem; height: 3rem; display: block; }
.zt-footer__icons { display: flex; gap: .9rem; }
.zt-footer__icons a { font-size: 1.35rem; text-decoration: none; transition: transform .2s; }
.zt-footer__icons a:hover { transform: scale(1.1); }
.zt-footer__menu { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; padding: 0 2%; font-size: .8rem; }
.zt-footer__menu div { display: flex; flex-direction: column; gap: 1rem; }
.zt-footer__menu a { text-decoration: none; transition: color .3s; }
.zt-footer__menu a:hover { color: var(--zt-pink); }
.zt-footer__head { font-family: var(--zt-heading); }
.zt-footer__chat {
    position: absolute;
    bottom: 5rem;
    inset-inline-end: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #E96F5F, #4B548C);
    color: #fff !important;
    font-size: 1.4rem;
    text-decoration: none;
}

@keyframes zt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes zt-spin { to { transform: rotate(360deg); } }

/* ============ SLICK BASE (slick.min.js needs these) ============ */
.slick-slider { position: relative; display: block; -webkit-user-select: none; user-select: none; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-slider .slick-track, .slick-slider .slick-list { transform: translate3d(0, 0, 0); }
.slick-track { position: relative; top: 0; left: 0; display: flex; align-items: center; margin: 0 auto; }
.slick-slide { display: none; height: auto; min-height: 1px; outline: none; }
[dir="rtl"] .slick-slide { float: right; }
.slick-initialized .slick-slide { display: block; }
.slick-dots { position: absolute; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.slick-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c9cbd9; font-size: 0; cursor: pointer; }
.slick-dots .slick-active button { background: var(--zt-navy); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1199px) {
    .zt-hero__big { font-size: 6.5rem; }
    .zt-hero__pink { font-size: 3.8rem; }
    .zt-speakers__title { font-size: 4.5rem !important; }
    .zt-speakers__backdrop { font-size: 5rem; }
    .zt-cta__word { font-size: 7rem; }
}
@media (max-width: 991px) {
    .zt-hero__inner { margin-top: 8rem; }
    .zt-hero__top { flex-direction: column; }
    .zt-hero__side { justify-content: space-between; }
    .zt-hero__links { font-size: 1rem; }
    .zt-hero__about { width: 70%; }
    .zt-speakers__desc { width: 80%; }
    .zt-cta__word { font-size: 5rem; }
    .zt-ar .zt-cta__word { font-size: 4rem; }
    .zt-cta__text { width: 70%; }
    .zt-event__name { font-size: 2.5rem; }
    .zt-countdown b, .zt-countdown i { font-size: 3rem; }
    .zt-footer__menu { flex-wrap: wrap; }
    .zt-footer__menu > div { flex: 1 1 30%; }
}
@media (max-width: 640px) {
    .zt-container { padding: 0 16px; }
    .zt-nav { padding-top: .8rem; }
    .zt-nav__logo img { width: 5rem; }
    .zt-nav__back { font-size: .8rem; }
    .zt-nav__icons { gap: .6rem; }
    .zt-nav__icons a { font-size: 1rem; }
    .zt-hero__inner { margin-top: 6rem; }
    .zt-hero__big { font-size: 4.2rem; letter-spacing: .15em; }
    .zt-hero__pink { font-size: 2.8rem; letter-spacing: .15em; }
    .zt-hero__palm { width: 40%; }
    .zt-hero__links { gap: .7rem; font-size: .9rem; }
    .zt-hero__links li { inset-inline-start: calc((var(--offset, 0) - 8) * .35rem); }
    .zt-hero__about { width: 100%; font-size: .95rem; }
    .zt-events__box { width: calc(100% - 32px); padding: 3rem 1rem; }
    .zt-events__empty { font-size: 1.2rem; }
    .zt-event__meta { font-size: 1.1rem; gap: 1rem; }
    .zt-countdown { gap: .3rem; }
    .zt-countdown b, .zt-countdown i { font-size: 2rem; }
    .zt-countdown small { font-size: .7rem; }
    .zt-speakers__head { padding: 0 16px; }
    .zt-speakers__title { font-size: 3rem !important; }
    .zt-speakers__desc { width: 100%; padding: 0; font-size: 1rem; }
    .zt-speakers__head .zt-plus { padding: 0; }
    .zt-speakers { padding-top: 6rem; }
    .zt-speakers__palm { width: 5rem; top: -5rem; inset-inline-end: 1rem; }
    .zt-speakers__backdrop { font-size: 3.2rem; }
    .zt-slide { width: 82vw; }
    .zt-speakers__slider .slick-center .zt-slide,
    .zt-speakers__slider .slick-center.zt-slide { transform: none; }
    /* No hover on phones: always show the bio of the centred speaker */
    .zt-speakers__slider .slick-center .zt-card__desc,
    .zt-speakers__slider .slick-center .zt-card__handles,
    .zt-speakers__slider .slick-center .zt-card__watch { opacity: 1; pointer-events: auto; }
    .zt .zt-arrow { display: none !important; }
    .zt-cta__frame { width: calc(100vw - 32px); height: 75vh; min-height: 480px; }
    .zt-cta__panel { left: -24px; height: 55%; }
    [dir="rtl"] .zt-cta__panel { right: -24px; }
    .zt-cta__word { width: 90%; font-size: 3.2rem; margin-top: 1.5rem; }
    .zt-ar .zt-cta__word { font-size: 2.8rem; }
    .zt-cta__text { width: 85%; margin-top: 1.5rem !important; font-size: .9rem; }
    .zt-cta__img { height: 42vh; }
    .zt-cta__btn { margin-bottom: 2rem; font-size: 1rem; padding: 0 1.2rem .2em; }
    .zt-footer { padding: 2rem 16px 6rem; }
    .zt-footer__menu > div { flex: 1 1 45%; }
    .zt-footer__chat { bottom: 1.5rem; }
}
