/*
 * Home page (resources/views/home.blade.php).
 * Site colours: dark blue #00354e, gold #f2b705. Page width 950px (legacy layout).
 */

.home {
    clear: both;
    width: 950px;
    background: #f5f8fa;
    color: #2f4352;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: .4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: #f2b705; color: #00354e; }
.btn--gold:hover { background: #ffc823; box-shadow: 0 6px 18px rgba(242, 183, 5, .35); transform: translateY(-1px); }
.btn--ghost { border: 2px solid rgba(255, 255, 255, .8); color: #fff; padding: 9px 20px; }
.btn--ghost:hover { background: #fff; color: #00354e; }
.btn--blue { background: #00354e; color: #fff; }
.btn--blue:hover { background: #004e72; box-shadow: 0 6px 18px rgba(0, 53, 78, .3); transform: translateY(-1px); }
.btn--outline { border: 2px solid #00354e; color: #00354e; padding: 9px 18px; }
.btn--outline:hover { background: #00354e; color: #fff; }

.section-kicker {
    display: block;
    margin-bottom: 6px;
    color: #c48f00;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.section-title {
    margin: 0 0 16px;
    color: #00354e;
    font-size: 26px;
    line-height: 1.25;
    font-weight: bold;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 430px;
    overflow: hidden;
    background: #00354e;
}
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: hero-zoom 8s ease-out both; }   /* slow "Ken Burns" zoom */
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }

.hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 37, 55, .92) 0%, rgba(0, 53, 78, .72) 42%, rgba(0, 53, 78, .1) 75%);
}
.hero__caption {
    position: absolute;
    left: 55px;
    top: 50%;
    width: 520px;
    transform: translateY(-58%);
    color: #fff;
}
.hero__caption > * { animation: rise .8s ease both; }
.hero__caption > :nth-child(2) { animation-delay: .12s; }
.hero__caption > :nth-child(3) { animation-delay: .24s; }
.hero__caption > :nth-child(4) { animation-delay: .36s; }
.hero__kicker {
    display: inline-block;
    padding-left: 34px;
    position: relative;
    color: #f2b705;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero__kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: #f2b705;
}
.hero__title {
    margin: 10px 0 12px;
    font-size: 40px;
    line-height: 1.1;
    font-weight: bold;
    letter-spacing: .5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.hero__text {
    margin: 0 0 26px;
    max-width: 440px;
    color: #dbe7ef;
    font-size: 16px;
    line-height: 1.6;
}
.hero__actions { display: flex; gap: 12px; }

.hero__nav {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 28px;
    line-height: 36px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s, background .2s;
}
.hero:hover .hero__nav { opacity: 1; }
.hero__nav:hover { background: #f2b705; color: #00354e; }
.hero__nav--prev { left: 14px; }
.hero__nav--next { right: 14px; }
.hero__dots {
    position: absolute;
    right: 30px;
    bottom: 92px;
    display: flex;
    gap: 8px;
}
.hero__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: width .3s, background .3s;
}
.hero__dots button.is-active { width: 28px; background: #f2b705; border-color: #f2b705; }

/* ---------- Investor corner (overlaps the hero) ---------- */
.investor {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: -62px 30px 0;
}
.investor__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 18px 16px;
    border-radius: 6px;
    border-top: 3px solid #f2b705;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 37, 55, .16);
    color: #2f4352;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.investor__card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0, 37, 55, .24); }
.investor__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef4f8;
    color: #00354e;
    transition: background .25s, color .25s, transform .4s;
}
.investor__card:hover .investor__icon { background: #00354e; color: #f2b705; transform: rotate(-8deg) scale(1.06); }
.investor__label { color: #00354e; font-size: 15px; font-weight: bold; line-height: 1.3; }
.investor__latest { color: #6b7f8e; font-size: 12px; line-height: 1.45; min-height: 34px; }
.investor__latest b { color: #2f4352; }
.investor__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: #c48f00;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.investor__more svg { transition: transform .2s; }
.investor__card:hover .investor__more svg { transform: translateX(4px); }

/* ---------- About ---------- */
.about {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 44px;
    align-items: center;
    padding: 56px 45px 30px;
}
.about__text p { margin: 0 0 22px; text-align: justify; color: #4a5d6b; }
.about__media { position: relative; }
.about__media img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 37, 55, .22);
}
.about__media::before {                   /* offset gold frame */
    content: "";
    position: absolute;
    inset: 18px -14px -14px 18px;
    border: 3px solid #f2b705;
    border-radius: 8px;
    z-index: -1;
}
.about__media { z-index: 0; }
.about__badge {
    position: absolute;
    left: -18px;
    bottom: 22px;
    padding: 10px 16px;
    border-radius: 4px;
    background: #00354e;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .5px;
    box-shadow: 0 8px 20px rgba(0, 37, 55, .3);
}

/* ---------- Figures ---------- */
.figures {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 10px 45px 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #00354e, #00577f);
    box-shadow: 0 12px 30px rgba(0, 37, 55, .2);
    overflow: hidden;
}
.figures__item {
    padding: 26px 10px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.figures__item:last-child { border-right: 0; }
.figures__value {
    display: block;
    color: #f2b705;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.figures__label {
    display: block;
    margin-top: 6px;
    color: #cfe0ec;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------- Highlights (Finance / Share Holder News / Prospectus) ---------- */
.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 50px 45px 20px;
}
.highlight {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 22px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e3e9ee;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.highlight::after {                       /* bottom bar grows on hover */
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: #f2b705;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.highlight:hover { transform: translateY(-5px); border-color: #d3dfe8; box-shadow: 0 14px 30px rgba(0, 37, 55, .13); }
.highlight:hover::after { transform: scaleX(1); }
.highlight__icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #00354e;
    color: #f2b705;
    transition: transform .4s;
}
.highlight:hover .highlight__icon { transform: rotateY(180deg); }
.highlight__title { margin: 0 0 8px; color: #00354e; font-size: 18px; }
.highlight__subtitle { margin: 0 0 6px; color: #c62828; font-size: 12px; font-weight: bold; letter-spacing: .5px; text-transform: uppercase; }
.highlight__text { flex: 1; margin: 0 0 16px; color: #5a6d7b; font-size: 13px; }
.highlight__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00354e;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .5px;
    text-decoration: none;
    text-transform: uppercase;
}
.highlight__link svg { transition: transform .2s; }
.highlight__link:hover { color: #c48f00; }
.highlight__link:hover svg { transform: translateX(4px); }

/* ---------- Announcements ---------- */
.announcements { padding: 34px 45px 20px; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-head .section-title { margin: 0; }
.doc-list--home { width: 100%; padding-top: 0; }

/* ---------- Gallery strip ---------- */
.strip {
    margin-top: 30px;
    padding: 26px 0;
    background: #00354e;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip__track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: strip-scroll calc(var(--n, 10) * 4s) linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item {
    display: block;
    width: 230px;
    height: 155px;
    border-radius: 6px;
    overflow: hidden;
    flex: 0 0 auto;
}
.strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s, filter .5s;
    filter: saturate(.85);
}
.strip__item:hover img { transform: scale(1.08); filter: saturate(1.1); }
@keyframes strip-scroll { to { transform: translateX(calc(-50% - 7px)); } }

/* footer directly after the strip */
.home + .footer .site-footer { margin-top: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .7s ease, translate .7s ease;
    transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
    .hero__slide.is-active img, .hero__caption > *, .strip__track { animation: none !important; }
    .js .reveal { opacity: 1; translate: none; transition: none; }
}

/* =================== Responsive (home page) =================== */
@media (max-width: 1000px) {
    .home { width: 100%; }
    .hero { height: 380px; }
    .hero__caption { left: 28px; right: 28px; width: auto; }
    .hero__nav { opacity: 1; }                      /* no hover on touch screens */
    .investor { margin: -56px 16px 0; gap: 12px; }
    .about { gap: 32px; padding: 50px 24px 26px; }
    .figures { margin: 10px 24px 0; }
    .highlights { gap: 16px; padding: 42px 24px 16px; }
    .announcements { padding: 30px 24px 16px; }
}
@media (max-width: 860px) {
    .investor { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; }
    .about__media { max-width: 520px; margin: 10px auto 0; width: calc(100% - 20px); }
    .figures { grid-template-columns: repeat(2, 1fr); }
    .figures__item:nth-child(2) { border-right: 0; }
    .figures__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .highlights { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero { height: 360px; }
    .hero__caption { left: 18px; right: 18px; transform: translateY(-62%); }
    .hero__title { font-size: 27px; }
    .hero__text { font-size: 14px; margin-bottom: 18px; }
    .hero__actions { flex-wrap: wrap; }
    .btn { padding: 10px 16px; font-size: 12px; }
    .hero__dots { right: 50%; transform: translateX(50%); bottom: 70px; }
    .hero__nav { top: auto; bottom: 62px; margin-top: 0; width: 34px; height: 34px; font-size: 24px; line-height: 30px; }
    .investor { grid-template-columns: 1fr; margin-top: -40px; }
    .investor__latest { min-height: 0; }
    .section-title { font-size: 22px; }
    .about { padding: 40px 18px 20px; }
    .about__text p { text-align: left; }
    .about__media img { height: 220px; }
    .about__badge { left: 8px; }
    .figures { margin: 10px 16px 0; }
    .figures__value { font-size: 26px; }
    .highlights { padding: 34px 16px 10px; }
    .announcements { padding: 26px 16px 10px; }
    .section-head { flex-wrap: wrap; gap: 12px; }
    .strip__item { width: 170px; height: 115px; }
}
