/* ============================================================================
   tentang.css — Tentang Kami / About Us info page
   ----------------------------------------------------------------------------
   Ported from the delivered mockup `tentang_UM/final_tentangkami.html`, with the
   "Apa Kata Mereka?" testimonial carousel restored from `footer.html`.

   Used by: pages/info/indonesia/tentang.blade.php
            pages/info/english/about.blade.php

   SCOPING CONTRACT — see the header of kerjasama.css. `.um-tentang` is the scope
   root, mockup classes are prefixed `tt-`, custom properties are `--tt-*` on the
   scope class. Swiper's own classes (.swiper, .swiper-slide, .swiper-pagination,
   .swiper-button-next/prev) are NOT prefixed — they are library-owned.

   TOKEN NOTES on the mockup's originals, which were actively misleading:
     - `--gold: #2f6f55` and `--dark-green: #2f6f55` were the SAME green, and
       neither was gold. Renamed to say what they are.
     - `--gold-dark: #a38345` was an orphan from an abandoned gold palette and is
       dropped.
     - That single green token served as both a SURFACE (button and panel
       backgrounds) and INK (Swiper arrows, meta text, the section-title rule),
       so it is split into --tt-accent-surface and --tt-accent-ink. Without that
       split dark mode cannot lighten the ink without also washing out the panels.

   The mockup's own footer rules (.main-footer, .footer-*, .pay-*, .social-links,
   .support-info, .btn-download, .btn-login, .btn-app-group) are deliberately NOT
   ported — this page uses the portal's shared CMS-driven footer instead. That
   also removes the mockup's Visa/Mastercard logos, which were hotlinked from
   Wikimedia Commons.
   ========================================================================== */

.um-tentang {
    --tt-accent-surface: #2f6f55;   /* button / panel backgrounds */
    --tt-accent-ink:     #2f6f55;   /* arrows, meta text, title underline */
    --tt-heading:        #1a1a1a;
    --tt-text:           #333333;
    --tt-muted:          #777777;
    --tt-muted-alt:      #555555;
    --tt-surface:        #ffffff;
    --tt-page-bg:        #ffffff;
    --tt-hero-bg:        linear-gradient(135deg, #fff 0%, #f9f7f2 100%);
    --tt-card-border:    #f0f0f0;
    --tt-shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, .2);
}

/* Mockup reset, scoped. The original was a bare `*`, which would have stripped
   the portal header and footer of their margins. */
.um-tentang,
.um-tentang * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.um-tentang-body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.um-tentang { font-family: 'Poppins', sans-serif; color: var(--tt-text); line-height: 1.6; }
.um-tentang .tt-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.um-tentang .tt-section { padding: 100px 0; }


/* ---------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.um-tentang .tt-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--tt-hero-bg);
    padding: 50px 0;
}
.um-tentang .tt-hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.um-tentang .tt-hero-content { flex: 1.2; }
.um-tentang .tt-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: var(--tt-heading);
    line-height: 1.1;
    margin-bottom: 20px;
}
.um-tentang .tt-subtitle {
    font-size: 1.1rem;
    color: var(--tt-muted-alt);
    margin-bottom: 35px;
    max-width: 500px;
}
.um-tentang .tt-hero-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.um-tentang .tt-logo-display {
    width: 100%;
    max-width: 450px;
    height: auto;
    transition: transform .5s ease;
}
.um-tentang .tt-logo-display:hover { transform: translateY(-10px); }

.um-tentang .tt-btn-primary {
    background: var(--tt-accent-surface);
    color: #fff;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(47, 111, 85, .4);
}
.um-tentang .tt-btn-primary:hover { transform: translateY(-3px); }
/* Inverted variant used on the green CTA panel — was an inline style in the mockup */
.um-tentang .tt-btn-invert {
    background: #fff;
    color: var(--tt-accent-surface);
    box-shadow: none;
}


/* ---------------------------------------------------------------------------
   SECTION TITLE
   Renamed from .section-title, which collides with the portal's
   homepage/styles.blade.php and components/property/styles.blade.php.
   ------------------------------------------------------------------------- */
.um-tentang .tt-section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--tt-heading);
}
.um-tentang .tt-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--tt-accent-ink);
    margin: 20px auto;
}


/* ---------------------------------------------------------------------------
   EKOSISTEM CARDS
   ------------------------------------------------------------------------- */
.um-tentang .tt-grid-ekosistem {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.um-tentang .tt-card-eko {
    background: var(--tt-surface);
    padding: 40px 30px;
    text-align: center;
    border-radius: 30px;
    border: 1px solid var(--tt-card-border);
    transition: .4s;
}
.um-tentang .tt-card-eko:hover {
    transform: translateY(-10px);
    box-shadow: var(--tt-shadow-premium);
    border-color: var(--tt-accent-ink);
}
.um-tentang .tt-card-eko i { font-size: 2.5rem; color: var(--tt-accent-ink); margin-bottom: 20px; }
.um-tentang .tt-card-eko h3 {
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    color: var(--tt-heading);
}
.um-tentang .tt-card-eko p { font-size: .9rem; color: var(--tt-muted); line-height: 1.5; }


/* ---------------------------------------------------------------------------
   TESTIMONIAL CAROUSEL  (restored from footer.html)
   The final mockup deleted this section but kept loading Swiper for it — ~150 KB
   of CSS and JS for a carousel that no longer existed. Restoring the section
   makes that dependency earn its place again.
   ------------------------------------------------------------------------- */
.um-tentang .tt-testi-header { text-align: center; margin-bottom: 40px; }
.um-tentang .tt-testi-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--tt-heading);
}
.um-tentang .tt-testi-kicker { color: var(--tt-accent-ink); font-weight: 600; }

.um-tentang .swiper { width: 100%; padding-bottom: 50px !important; }
.um-tentang .tt-testi-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--tt-surface);
    padding: 60px;
    border-radius: 40px;
    box-shadow: var(--tt-shadow-premium);
    margin: 10px;
}
.um-tentang .tt-testi-content { flex: 1; text-align: left; }
.um-tentang .tt-testi-image { flex: 1; }
.um-tentang .tt-testi-image img {
    width: 100%;
    height: 450px;
    border-radius: 25px;
    object-fit: cover;
}
.um-tentang .tt-quote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--tt-text);
    line-height: 1.8;
}
.um-tentang .tt-testi-name { font-size: 1.2rem; display: block; color: var(--tt-heading); }
.um-tentang .tt-testi-meta { color: var(--tt-accent-ink); font-size: .9rem; }

.um-tentang .swiper-button-next,
.um-tentang .swiper-button-prev { color: var(--tt-accent-ink); }
.um-tentang .swiper-pagination-bullet-active { background: var(--tt-accent-ink); }


/* ---------------------------------------------------------------------------
   STORY PANEL
   ------------------------------------------------------------------------- */
.um-tentang .tt-bg-green {
    background: var(--tt-accent-surface);
    color: #fff;
    border-radius: 60px;
    margin: 40px 20px;
    padding: 100px 20px;
    text-align: center;
}
.um-tentang .tt-bg-green h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #fff;
}
.um-tentang .tt-story-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
    font-weight: 300;
    color: #fff;
}
.um-tentang .tt-story-text p { margin-bottom: 25px; }
.um-tentang .tt-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}
.um-tentang .tt-pillars h4 { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.um-tentang .tt-pillars p { font-size: .95rem; opacity: .8; margin-bottom: 0; }


/* ---------------------------------------------------------------------------
   APP STORE BADGES
   ------------------------------------------------------------------------- */
.um-tentang .tt-app-section { text-align: center; }
.um-tentang .tt-app-lead { margin-bottom: 40px; color: var(--tt-muted); }
.um-tentang .tt-store-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.um-tentang .tt-btn-store {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: .3s;
    border: 1px solid #333;
}
.um-tentang .tt-btn-store:hover { background: #222; transform: translateY(-5px); }
.um-tentang .tt-btn-store .tt-store-label { text-align: left; }
.um-tentang .tt-btn-store .tt-store-label span { font-size: .7rem; display: block; opacity: .8; }
.um-tentang .tt-btn-store .tt-store-label strong { font-size: 1.1rem; }


/* ---------------------------------------------------------------------------
   50:50 CTA PANEL
   The background image is referenced with a ROOT-RELATIVE path: this is a plain
   .css file and cannot contain Blade's asset() helper. The filename is lowercase
   because the mockup's `url('IMG_3670.png')` vs the on-disk `IMG_3670.PNG`
   resolved on case-insensitive macOS but 404'd on the Linux server.
   ------------------------------------------------------------------------- */
.um-tentang .tt-cta-half-section {
    display: flex;
    align-items: stretch;
    margin: 40px 20px 80px;
    border-radius: 60px;
    overflow: hidden;
    min-height: 400px;
}
.um-tentang .tt-cta-left {
    flex: 1;
    background: var(--tt-accent-surface);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px;
}
.um-tentang .tt-cta-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
    line-height: 1;
    color: #fff;
}
.um-tentang .tt-cta-left p { margin-bottom: 30px; opacity: .9; }
.um-tentang .tt-cta-right {
    flex: 1;
    background-image: url('/images/info/tentang/cta-hunian.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}


/* ---------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .um-tentang .tt-hero-flex { flex-direction: column; text-align: center; }
    .um-tentang .tt-hero-content { order: 2; }
    .um-tentang .tt-hero-visual { order: 1; margin-bottom: 30px; }
    .um-tentang .tt-subtitle { margin-left: auto; margin-right: auto; }
    .um-tentang .tt-testi-wrapper { flex-direction: column; padding: 30px; gap: 30px; }
    .um-tentang .tt-testi-image img { height: 300px; }
    .um-tentang .tt-section { padding: 60px 0; }
}
@media (max-width: 768px) {
    .um-tentang .tt-cta-half-section { flex-direction: column; border-radius: 40px; }
    .um-tentang .tt-cta-left { padding: 40px 30px; align-items: center; text-align: center; }
    .um-tentang .tt-cta-right { height: 250px; }
    .um-tentang .tt-bg-green { border-radius: 40px; padding: 60px 20px; margin: 40px 10px; }
    .um-tentang .tt-bg-green h2 { font-size: 2rem; }
    .um-tentang .tt-testi-header h2,
    .um-tentang .tt-section-title { font-size: 1.9rem; }
    .um-tentang .tt-quote { font-size: 1.1rem; }
}


/* ===========================================================================
   DARK MODE
   Token flip first, then the surfaces the mockup hardcoded.
   =========================================================================== */
html.dark body.um-tentang-body { background: #0f1412; color: #dfe6e2; }

html.dark .um-tentang {
    --tt-page-bg:        #0f1412;
    --tt-surface:        #141a17;
    --tt-heading:        #f3f4f6;
    --tt-text:           #dfe6e2;
    --tt-muted:          #9aa5a0;
    --tt-muted-alt:      #b5c0bb;
    --tt-card-border:    rgba(255, 255, 255, .07);
    --tt-hero-bg:        linear-gradient(135deg, #0f1412 0%, #131a17 100%);
    /* Surface stays green; ink lifts to a readable mint. This is the split. */
    --tt-accent-surface: #1e4a3a;
    --tt-accent-ink:     #6ee7b7;
    --tt-shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, .6);
}

/* The inverted CTA button sits on the green panel, so it needs the deepened
   panel colour as its text, not the lifted mint ink. */
html.dark .um-tentang .tt-btn-invert { background: #e8f3ee; color: #12261e; }
html.dark .um-tentang .tt-btn-primary { box-shadow: 0 10px 25px rgba(0, 0, 0, .45); }

html.dark .um-tentang .tt-card-eko { border-color: var(--tt-card-border); }
html.dark .um-tentang .tt-testi-wrapper { border: 1px solid rgba(255, 255, 255, .06); }
html.dark .um-tentang .tt-btn-store { background: #1a2320; border-color: #2b3833; }
html.dark .um-tentang .tt-btn-store:hover { background: #22302b; }
html.dark .um-tentang .swiper-pagination-bullet { background: #4b5b55; opacity: .6; }
