/* Custom Styles - Take Part Not Space */

/* ========================================
   BASE STYLES
   ======================================== */

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    position: relative;
}

/* ========================================
   CONTAINER
   ======================================== */

.container {
    text-align: center;
    max-width: 500px;
    padding: 20px;
}

.container-wide {
    max-width: 900px;
    width: 95vw;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: absolute;
    top: 20px;
    right: 20px;
}

.menu-button {
    font-size: 36px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: #ffffff;
    border: 1px solid #000;
    text-align: right;
}

.menu a {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.menu a:hover {
    background: #f0f0f0;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1 {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: normal;
}

p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

p:last-child {
    margin-bottom: 0;
}

/* ========================================
   LINKS
   ======================================== */

a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

a:hover {
    opacity: 0.6;
}

/* ========================================
   HOME PAGE SPECIFIC
   ======================================== */

.logo {
    width: 440px;
    max-width: 90vw;
    margin-bottom: 80px;
}

.insta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 40px;
}

.home-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.insta-link img {
    width: 18px;
    height: 18px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 15px 30px;
    border: 1px solid #000;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    transition: background 0.2s, color 0.2s;
}

.home-button:hover {
    background: #000;
    color: #fff;
    opacity: 1;
}

.home-button .arrow {
    transition: transform 0.2s;
}

.home-button:hover .arrow {
    transform: translateX(4px);
}

/* ========================================
   IMPRESSUM SPECIFIC
   ======================================== */

.impressum-block {
    margin-bottom: 24px;
}

.label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    opacity: 0.7;
}

/* ========================================
   OFFENER BRIEF SPECIFIC
   ======================================== */

#countdown {
    font-size: 16px;
    line-height: 1.6;
    white-space: nowrap;
}

/* ========================================
   EVENTS PAGE SPECIFIC
   ======================================== */

.events-link-box {
    border: 1px solid #000;
    padding: 40px;
    margin-top: 20px;
}

.events-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid #000;
    font-size: 16px;
    margin: 20px 0;
    transition: background 0.2s, color 0.2s;
}

.events-button:hover {
    background: #000;
    color: #fff;
    opacity: 1;
}

.events-button .arrow {
    transition: transform 0.2s;
}

.events-button:hover .arrow {
    transform: translateX(4px);
}

.events-hint {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
}

/* ========================================
   PDF PREVIEW BOX
   ======================================== */

.pdf-preview-box {
    margin-top: 20px;
    width: 100%;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
    max-height: 70vh;
    box-sizing: border-box;
}

#pdf-pages {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(70vh - 80px);
    width: 100%;
    box-sizing: border-box;
}

.pdf-preview-box canvas,
#pdf-pages canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.pdf-page {
    border-bottom: 1px solid #ddd;
    max-width: 100%;
    box-sizing: border-box;
}

.pdf-page:last-child {
    border-bottom: none;
}

/* ========================================
   PETITION PAGE SPECIFIC (SHADOW PAGE)
   ======================================== */

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.iframe-fallback {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
}
