/* ===================================
   CG Transport – Under Construction
   =================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #1a1a2e;
}

/* Dark overlay for better readability */
.background-overlay {
    position: fixed;
    inset: 0;
    background: url('hero4.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 30, 0.55) 0%,
        rgba(10, 15, 30, 0.45) 50%,
        rgba(10, 15, 30, 0.60) 100%
    );
}

/* ---- Main Container ---- */
.container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    padding-right: 12%;
}

/* ---- Glassmorphism Card ---- */
.card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: none;
    border-radius: 20px;
    padding: 56px 64px;
    max-width: 560px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06);
    animation: cardFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(24px);
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Logo ---- */
.logo-wrapper {
    margin-bottom: 32px;
    animation: logoFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
    }
}

/* ---- Divider ---- */
.divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #1a5fb4, #3584e4);
    border-radius: 2px;
    margin: 0 auto 32px;
    animation: dividerExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
    transform: scaleX(0);
}

@keyframes dividerExpand {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ---- Message ---- */
.message {
    margin-bottom: 28px;
    animation: contentFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    opacity: 0;
}

.message-de {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.message-en {
    font-size: 0.95rem;
    font-weight: 400;
    color: #555;
    font-style: italic;
}

/* ---- Contact Section ---- */
.contact-section {
    margin-bottom: 24px;
    animation: contentFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
    opacity: 0;
}

.contact-label-de {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.contact-label-en {
    font-size: 0.82rem;
    font-weight: 400;
    color: #777;
    font-style: italic;
}

@keyframes contentFadeIn {
    to {
        opacity: 1;
    }
}

/* ---- Contact Details ---- */
.contact-details {
    animation: contentFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
    opacity: 0;
}

.contact-address {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.9rem;
    color: #444;
}

.company-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a2e;
}

/* ---- Contact Links ---- */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 10px;
    background: rgba(26, 95, 180, 0.06);
    border: 1px solid rgba(26, 95, 180, 0.12);
    color: #1a5fb4;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    min-width: 260px;
    justify-content: center;
}

.contact-link:hover {
    background: rgba(26, 95, 180, 0.12);
    border-color: rgba(26, 95, 180, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 95, 180, 0.1);
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 640px) {
    .card {
        padding: 40px 28px;
        border-radius: 16px;
    }

    .logo {
        max-width: 220px;
    }

    .message-de {
        font-size: 1.05rem;
    }

    .contact-link {
        min-width: 100%;
    }
}

@media (max-width: 400px) {
    .card {
        padding: 32px 20px;
    }

    .logo {
        max-width: 180px;
    }
}
