﻿/* announcement.css – Announcement page styling & animation */

.announcement-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

    .bg-layer .img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.announce-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-bg {
    position: absolute;
    inset: 0;
}

    .banner-bg .img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .9) 0%, rgba(1, 105, 175, 0.65) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 110px 0 80px;
}

.banner-label {
    background: #FFDC00;
    color: #054f99;
    padding: 14px 28px;
    border: 1.5px dashed #054f99;
    border-radius: 999px;
    margin-bottom: 24px;
    display: inline-block;
    font-weight: 600;
}

.banner-title {
    font-family: 'Inter-Bold';
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.banner-subtitle {
    font-family: 'Inter-Medium';
    color: #FFDC00;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.content-wrapper {
    position: relative;
    z-index: 2;
    padding: 110px 20px 100px;
}

.notice-container {
    width: 80%;
    margin: 0 auto;
    top: -180px;
    position: relative;
}

.yellow-label {
    background-color: #FFDC00;
    color: #054f99;
    padding: 14px 28px;
    border: 1px dashed #054f99;
    border-radius: 999px;
    font-family: 'Inter-Medium';
    display: inline-block;
    margin-bottom: 24px;
}

.message-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 45px 50px;
    text-align: left;
}

.greeting,
.closing {
    font-family: 'Inter-Bold';
    color: #054f99;
    margin-bottom: 28px;
    line-height: 1.5;
}

.main-text {
    font-family: 'Inter-Medium';
    line-height: 1.65;
    margin-bottom: 22px;
    color: #333;
}

.italic {
    font-family: 'Inter-Medium';
    font-style: italic;
    color: #444;
    margin: 32px 0 40px;
}

.table-wrapper {
    margin: 28px 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter-Medium';
}

    table thead th {
        background: #0169AF;
        color: white;
    }

    table th,
    table td {
        padding: 18px 22px;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        font-size: 18px;
    }

    table th {
        background: #F8FBFF;
        color: #0169AF;
        font-family: 'Inter-Bold';
    }

    table td {
        color: #444;
    }

.value {
    color: #0169AF;
    font-weight: 500;
}

/* Entrance Animation */
.animation-slide {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

body.announce-loaded .animation-slide {
    opacity: 1;
    transform: translateY(0);
}

body.announce-loaded .yellow-label {
    transition-delay: 0.2s;
}

body.announce-loaded .title {
    transition-delay: 0.4s;
}

body.announce-loaded .date-line {
    transition-delay: 0.55s;
}

body.announce-loaded .message-card {
    transition-delay: 0.7s;
}

/* Contact Card */
.contact .img.hero-img {
    position: absolute;
    left: -100px;
    top: -32px;
    height: auto;
    width: 55%;
    pointer-events: none;
}

.contact.card {
    position: relative;
    overflow: hidden;
    padding: 32px 0 0;
    margin-bottom: 40px;
}

    .contact.card .card-content {
        background-color: #0165A8;
        display: flex;
        flex-direction: column;
        gap: 8px;
        border-radius: 22px;
        min-height: 212.8px;
        padding: 20px 40px 20px 400px;
        background-image: url(../images/our-fleet/wave-bg.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

        .contact.card .card-content .font32 {
            font-family: 'Inter-Bold';
            color: #FFDC00;
            line-height: 1.5;
        }

        .contact.card .card-content .font16 {
            font-family: 'Inter-Regular';
            color: #fff;
        }

        .contact.card .card-content .font14 {
            font-family: 'Inter-Regular';
            color: #FFDC00;
        }

        .contact.card .card-content .contact-cta {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 22px;
            margin: 6px 0;
            flex-flow: wrap;
        }

            .contact.card .card-content .contact-cta .btn {
                display: flex;
                align-items: center;
                background-color: #fff;
                border: none;
                border-radius: 32px;
                gap: 20px;
                padding: 15px 30px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            }

                .contact.card .card-content .contact-cta .btn img {
                    height: 24px;
                    width: auto;
                }

                .contact.card .card-content .contact-cta .btn.btn-email .font16 {
                    font-family: 'Inter-Medium';
                    color: #0169AF;
                }

                .contact.card .card-content .contact-cta .btn.btn-phone .font16 {
                    font-family: 'Inter-Medium';
                    color: #054F99;
                }

                .contact.card .card-content .contact-cta .btn.btn-whatsapp .font16 {
                    font-family: 'Inter-Medium';
                    color: #2DD24B;
                }

/* Responsive */
@media (min-width: 1024px) {
    .banner-content {
        padding: 6.875vw 5vw;
    }

    .banner-label {
        padding: 0.875vw 1.75vw;
        border: 0.09375vw dashed #054f99;
        border-radius: 62.4375vw;
        margin-bottom: 1.5vw;
    }

    .banner-title {
        margin-bottom: 0.75vw;
        text-shadow: 0 0.125vw 0.5vw rgba(0,0,0,0.4);
    }

    .banner-subtitle {
        text-shadow: 0 0.0625vw 0.375vw rgba(0,0,0,0.5);
    }

    .content-wrapper {
        padding: 6.875vw 1.25vw 6.25vw;
    }

    .notice-container {
        top: -11.25vw;
    }

    .yellow-label {
        padding: 0.875vw 1.75vw;
        border: 0.0625vw dashed #054f99;
        border-radius: 62.4375vw;
        margin-bottom: 1.5vw;
    }

    .message-card {
        border-radius: 1vw;
        box-shadow: 0 0.5vw 1.875vw rgba(0,0,0,0.1);
        padding: 2.8125vw 3.125vw;
    }

    .greeting,
    .closing {
        margin-bottom: 1.75vw;
    }

    .main-text {
        margin-bottom: 1.375vw;
    }

    .italic {
        margin: 2vw 0 2.5vw;
    }

    .table-wrapper {
        margin: 1.75vw 0;
    }

    table th,
    table td {
        padding: 1.125vw 1.375vw;
        border-bottom: 0.0625vw solid #e0e0e0;
        font-size: 1.125vw;
    }

    .animation-slide {
        transform: translateY(3.125vw);
    }

    .contact .img.hero-img {
        left: -6.25vw;
        top: -2vw;
    }

    .contact.card {
        padding: 2vw 0 0;
        margin-bottom: 2.5vw;
    }

        .contact.card .card-content {
            gap: 0.5vw;
            border-radius: 1.375vw;
            min-height: 13.3vw;
            padding: 1.25vw 2.5vw 1.25vw 25vw;
        }

            .contact.card .card-content .contact-cta {
                gap: 1.375vw;
                margin: 0.375vw 0;
            }

                .contact.card .card-content .contact-cta .btn {
                    border-radius: 2vw;
                    gap: 1.25vw;
                    padding: 0.9375vw 1.875vw;
                    box-shadow: 0 0.25vw 0.625vw rgba(0, 0, 0, 0.1);
                }

                    .contact.card .card-content .contact-cta .btn img {
                        height: 1.5vw;
                    }
}

@media (max-width: 1023px) {
    .content-wrapper {
        padding: 90px 18px 80px;
    }

    .message-card {
        padding: 2rem 1.8rem;
    }

    .yellow-label {
        padding: 0.7rem 1.6rem;
    }

    table th, table td {
        padding: 0.9rem 1rem;
        font-size: 4.186vw;
    }

    .notice-container {
        width: 100%;
        top: -140px;
    }

    .banner-content {
        padding: 27.907vw 4.651vw 13.953vw 4.651vw;
    }

    .banner-label {
        font-size: 3.256vw;
    }

    .banner-title {
        font-size: 5.581vw;
    }

    .banner-subtitle {
        font-size: 3.721vw;
    }

    .contact .img.hero-img {
        left: 50%;
        transform: translateX(-50%);
        top: -4.651vw;
        width: 100vw;
        z-index: 0;
    }

    .contact.card {
        padding: 44vw 0 0;
        margin-bottom: 8vw;
    }

        .contact.card .card-content {
            border-radius: 4.651vw;
            min-height: auto;
            padding: 6vw 4.651vw;
            gap: 3.5vw;
            background-size: auto;
            z-index: 1;
            position: relative;
        }

        .contact.card .card-content .font32 {
            font-size: 5.581vw;
            line-height: 7.5vw;
        }

        .contact.card .card-content .font16 {
            font-size: 3.256vw;
            line-height: 4.7vw;
        }

        .contact.card .card-content .font14 {
            font-size: 3vw;
            line-height: 4.2vw;
        }

        .contact.card .card-content .contact-cta {
            flex-direction: column;
            align-items: stretch;
            gap: 3vw;
            margin: 2vw 0;
        }

            .contact.card .card-content .contact-cta .btn {
                border-radius: 8vw;
                gap: 3vw;
                padding: 3.5vw 5vw;
                box-shadow: 0 0.698vw 2vw rgba(0, 0, 0, 0.1);
            }

                .contact.card .card-content .contact-cta .btn img {
                    height: 5vw;
                    width: auto;
                }

                .contact.card .card-content .contact-cta .btn .font16 {
                    font-size: 3.5vw;
                }
}