/* ----- JALLAD CODE
   Landing pages (Nov 2026). Loaded only by web/pages/landing-pages/show.blade.php.
   The banner, intro and video blocks reuse main.css (service-details, video-section),
   so only what is new is styled here. main.css is not changed. */

.landing-preview-notice {
    background-color: #fc0;
    color: #000;
    text-align: center;
    font-weight: bold;
    padding: 10px 16px;
}

/* Section frame and heading - the same yellow line + title as the rest of the site */
.landing-section {
    width: 85%;
    max-width: 1550px;
    margin: 70px auto;
}

.landing-section .landing-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 40px;
}

.landing-section .landing-header .yellow-line {
    flex: 0 0 68px;
    height: 8px;
    background-color: #fc0;
}

.landing-section .landing-header .title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Card grids: up to 4 across for "what you can do", up to 3 for key features */
.landing-cards {
    display: grid;
    gap: 30px;
}

.landing-cards.landing-cards-1 { grid-template-columns: minmax(0, 1fr); }
.landing-cards.landing-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.landing-cards.landing-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-cards.landing-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.landing-card {
    background-color: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* "What you can do": icon on top, centred */
.landing-benefits .landing-card {
    padding: 32px 28px;
    text-align: center;
    border-top: 6px solid #fc0;
}

.landing-benefits .landing-card .icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 18px;
}

.landing-card .title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 12px;
}

.landing-card .body,
.landing-card .body p,
.landing-card .body span {
    font-family: "Univers-57";
    font-size: 16px;
}

/* Key features: picture on top, text below - the same card as Buying Options */
.landing-cards--images .landing-card .image {
    padding: 5px 5px 0;
}

/* The whole picture is always shown, fitted inside a 16:9 box; a picture of another
   shape gets white space at the sides or top and bottom instead of being cut. */
.landing-cards--images .landing-card .image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background-color: #fff;
    border-radius: 18px 18px 0 0;
}

.landing-cards--images .landing-card .content {
    padding: 24px 28px 30px;
}

/* Introduction picture: shown whole inside the box (the Services pages crop it; this
   applies to landing pages only). */
.landing-intro.service-details .header .image img {
    object-fit: contain;
    object-position: center top;   /* level with the text, which starts at the top */
}

/* Buttons under the introduction (app stores, register, ...) */
.landing-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.landing-buttons .landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 42px;
    padding: 0 22px;
    border: 1px solid #fc0;
    border-radius: 2px;
    background-color: #fc0;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s all;
}

.landing-buttons .landing-button:hover {
    background-color: #000;
    color: #fc0;
}

/* App Store / Google Play badges (the site's own pictures, 384 x 114) */
/* Optional yellow border around the cards of a section (16 Nov 2026, team review),
   switched on per section in the CMS. */
.landing-section.landing-cards--bordered .landing-card {
    border: 2px solid #fc0;
}

.landing-section.landing-benefits.landing-cards--bordered .landing-card {
    border-top-width: 6px;   /* keeps the section's thicker yellow top line */
}

/* App block (10 Nov 2026): title and text above, then the badges with the QR code
   next to them. Under the cards it is centred. */
.landing-app-block {
    margin-top: 28px;
}

.landing-app-block--centred {
    margin-top: 40px;
    text-align: center;
}

.landing-app-title {
    font-size: 22px;
    font-weight: bold;
    font-stretch: condensed;
    color: #000;
    margin-bottom: 8px;
}

.landing-app-text,
.landing-app-text p {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.landing-app-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.landing-app-block--centred .landing-app-row {
    justify-content: center;
}

.landing-apps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* the site's main.css makes every img 100% x 100%: the QR code gets its own size */
.landing-app-row img.landing-qr {
    display: block;
    width: clamp(72px, 7vw, 100px);
    height: clamp(72px, 7vw, 100px);
    object-fit: contain;
    background: #fff;
}

/* Introduction (10 Nov 2026): a larger picture (was the site's fixed 510 x 456) and
   the text starting at the top, level with the picture, instead of centred. */
.landing-intro.service-details .header .header-content {
    align-items: flex-start;
    /* the same space above and below the section (16 Nov 2026, team review) */
    padding: 50px 0;
}

/* The picture box takes the picture's own height, whatever its shape. A fixed
   box shape left empty space under a wide picture (16 Nov 2026, team review). */
.landing-intro.service-details .header .header-content .image {
    width: 49%;
    max-width: 720px;
    height: auto;
}

.landing-intro.service-details .header .header-content .image img {
    height: auto;
}

.landing-intro.service-details .header .header-content .right-content {
    width: 42%;   /* leaves room for the yellow line the site draws 90px left of the title */
    padding-top: 10px;
}

.landing-apps a {
    display: block;
    transition: 0.3s opacity;
}

.landing-apps a:hover {
    opacity: 0.8;
}

.landing-apps img {
    display: block;
    height: clamp(34px, 3vw, 44px);   /* follows the screen size, between 34 and 44 px high */
    width: auto;
}

/* Video (selectors start with .video-section because main.css loads after this file):
   larger than the site's standard 500 x 240 block, always 16:9, and never
   wider than the screen. Only on landing pages; main.css is not changed. */
.video-section.landing-video .content {
    flex-wrap: nowrap;
    gap: 50px;
}

.video-section.landing-video .content .video {
    flex: 0 1 820px;
    width: auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.video-section.landing-video .content .right-section {
    flex: 1 1 360px;
}

/* No video text: the video takes the full width of the section */
.video-section.landing-video.landing-video--alone .content {
    justify-content: center;
}

.video-section.landing-video.landing-video--alone .content .video {
    flex-basis: 1100px;
}

/* Two across */
@media (max-width: 1190px) {
    .landing-cards.landing-cards-3,
    .landing-cards.landing-cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Video above its text on tablets and phones, full width */
@media (max-width: 1024px) {
    .video-section.landing-video .content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .video-section.landing-video .content .video,
    .video-section.landing-video .content .right-section {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* One across */
@media (max-width: 700px) {
    .landing-section {
        width: 90%;
        margin: 45px auto;
    }

    .landing-section .landing-header {
        gap: 12px;
        margin-bottom: 24px;
    }

    .landing-section .landing-header .yellow-line {
        flex-basis: 40px;
    }

    .landing-section .landing-header .title {
        font-size: 20px;
    }

    .landing-cards.landing-cards-2,
    .landing-cards.landing-cards-3,
    .landing-cards.landing-cards-4 {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .landing-buttons .landing-button {
        flex: 1 1 100%;
    }

}

/* Introduction on tablets and phones: picture full width above the text, as the
   site's own pages do below 1140px. */
@media (max-width: 1140px) {
    .landing-intro.service-details .header .header-content .image {
        width: 85%;
        margin: 0 auto 24px;
    }

    .landing-intro.service-details .header .header-content .right-content {
        width: 85%;
        padding-top: 0;
    }
}

@media (max-width: 575px) {
    .landing-intro.service-details .header .header-content .image,
    .landing-intro.service-details .header .header-content .right-content {
        width: 100%;
    }
}
/* ----- END JALLAD CODE */
