/* =========================
   BODY FIX FOR STATIC PAGES
   ========================= */

body.static-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/* =========================
   PAGE LAYOUT
   ========================= */

.page-frame-wrapper {
    display: flex;
    justify-content: center;
    padding: 140px 20px 80px; /* top for header, bottom for footer */
}

.page-frame.single-frame {
    width: 100%;
    max-width: 1100px;
    min-height: 420px;
    height: auto;
    background: rgba(0,0,0,0.45);
    border-radius: 16px;
    padding: 32px;
    color: #ffffff;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
    overflow: visible;
}

.page-frame h2 {
    margin-bottom: 18px;
    font-size: clamp(18px, 2vw, 24px);
}

.page-frame p {
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 14px;
}


/* =========================
   CONTACT FORM
   ========================= */

.contact-form {
    max-width: 520px;
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row label {
    font-size: 12px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.form-row input,
.form-row textarea {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: #ffffff;
    outline: none;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--glow);
    box-shadow: 0 0 12px rgba(199,125,255,0.35);
}

.form-row textarea {
    resize: none;
}

.full-width {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.submit-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, #c77dff, #7b2cbf);
    border: none;
    border-radius: 10px;
    padding: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(199,125,255,0.4);
}

.submit-btn:active {
    transform: translateY(0);
}


/* =========================
   ABOUT PAGE ANIMATION
   ========================= */

.about-dynamic {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fade-item {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s ease forwards;
}

.fade-item:nth-child(1) { animation-delay: 0.05s; }
.fade-item:nth-child(2) { animation-delay: 0.15s; }
.fade-item:nth-child(3) { animation-delay: 0.25s; }
.fade-item:nth-child(4) { animation-delay: 0.35s; }
.fade-item:nth-child(5) { animation-delay: 0.45s; }
.fade-item:nth-child(6) { animation-delay: 0.55s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-dynamic ul {
    padding-left: 42px;
    margin-bottom: 14px;
    line-height: 1.4;
}


/* =========================
   FOOTER FIX
   ========================= */

footer,
.site-footer {
    position: relative;
    margin-top: auto;
}


/* =========================
   LINKS & BUTTONS
   ========================= */

.contact-email a {
    color: #c77dff;
    text-decoration: none;
    font-weight: 500;
}

.contact-email a:hover {
    text-decoration: underline;
}

.back-home-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(199,125,255,0.45);
    color: gold;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.25s ease, color 0.25s ease;
}

.back-home-btn:hover {
    background: rgba(199,125,255,0.15);
    color: white;
}


/* =========================
   MOBILE FIXES
   ========================= */

@media (max-width: 768px) {

    .page-frame-wrapper {
        padding: 24px 16px 24px;
    }

    .page-frame.single-frame {
        height: auto;
        margin-bottom: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .header-right {
        display: none;
    }

    .top-header {
        position: relative;
        top: auto;
        padding-top: 12px;
        padding-bottom: 4px;
    }
}

.footer-copy {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.75;
}

.footer-copy a {
    color: #ffffff;
    /* white */
    text-decoration: none;
    /* no underline */
    transition: color 0.25s ease;
}

.footer-copy a:hover {
    color: gold;
    /* hover golden */
    text-decoration: none;
}
@keyframes brandGlow {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    }

    50% {
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.85);
    }
}