/* =========================================================
   PRIME TRAVEL – Mobile First Stylesheet
   ========================================================= */

/* ===== RESET & BASICS ===== */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== BACKGROUND (Meer / Segeltörn) ===== */
body {
    background: radial-gradient(
        circle at top center,
        #1a4f7a 0%,     /* Himmel / helles Meer */
        #0b2d45 70%,    /* tiefes Meer */
        #071d31 100%    /* Dunkelblau */
    );
    background-size: 200% 200%;
    animation: slowwave 25s ease infinite;
}

@keyframes slowwave {
    0%   { background-position: 50% 0%; }
    50%  { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }
}

/* ===== LAYOUT – MOBILE FIRST ===== */
.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    box-sizing: border-box;
}

/* ===== BILDRAHMEN ===== */
.frame {
    width: 100%;
    max-width: 420px;
    padding: 10px;
    border: 5px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

    /* 🔑 Zentrierung des Bildes */
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* ===== TEXT ===== */
.caption {
    margin-top: 1rem;
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* ===== TABLET & DESKTOP ===== */
@media (min-width: 768px) {

    .container {
        padding: 2.5rem;
    }

    .frame {
        max-width: 700px;
        padding: 14px;
        border-width: 7px;
        backdrop-filter: blur(4px);
    }

    .frame img {
        max-height: 80vh;       /* ganzes Bild sichtbar */
        width: auto;
        max-width: 100%;
        object-fit: contain;    /* niemals croppen */
    }

    .caption {
        font-size: 1.5rem;
        margin-top: 1.4rem;
    }
}

/* ===== GROßE DESKTOPS ===== */
@media (min-width: 1200px) {

    .frame {
        max-width: 820px;
    }

    .caption {
        font-size: 1.7rem;
    }
}
