:root {
    --bg: #000;
    --text: #fff;
    --accent: #fff;
    --footer-bg: #9A2525;
    --info-text: #7A7A7A;
    --hr-color: #444; /* or any grey/white tone you prefer */
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Courier New", Courier;
    margin: 0;
    text-align: center;
}

a { text-decoration: none; color: var(--accent); }

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 10px;
}

/* ---------- HEADER ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--footer-bg);
    color: var(--text);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
}

header .logo img {
    height: 50px;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav li { display: inline-block; }

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 25px;
    gap: 5px;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

@media (max-width: 1024px) {
    nav ul {
        position: absolute;
        top: 60px;
        left: 0;
        width: 60%;
        flex-direction: column;
        background: var(--bg);
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    nav ul.active { max-height: 200px; }
    .menu-toggle { display: flex; }
}

/* ---------- MEDIA ---------- */
.media {
    width: 50vw;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

/* Overlay button for video */
.play-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
    background: var(--footer-bg);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ---------- TITLE ---------- */
.post-title {
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin: 20px 0 10px 0;
}

/* ---------- INFO SECTION ---------- */
.extra-info-grid {
    width: 100%;
    max-width: 1100px;
    margin: 10px auto;
    padding: 0 16px;
    text-align: left;
}

.info-box {
    padding: 12px 0;
}

.info-box p {
    margin: 0;
    font-size: 1rem;
    color: var(--info-text);
}

.info-box p strong {
    font-weight: bold;
    color: #fff;
    display: inline-block;
    min-width: 120px;
}

.info-box hr {
    border: none;
    border-top: 1px solid var(--hr-color);
    width: 100%;
    margin: 8px 0;
}

/* Text content */
.extra-text {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 14px;
    background: #000;
    border-radius: 10px;
    text-align: left;
    line-height: 1.7;
    font-size: 1rem;
    color: #fff;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* ---------- BUTTONS ---------- */
.btn-back {
    background: #9A2525;
    color: #fff;
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
}

.btn-back:hover {
    background: #c38c87;
}

/* ---------- FOOTER / CONTACT FORM ---------- */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 40px 20px;
}

/* UPDATED — fixed mobile overflow */
.contact-form {
    display: flex;
    color: #000;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    border: 2px solid #4E0E0F;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #C7C7C7;
    color: #000;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form button {
    background: #9A2525;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
    background: #c38c87;
    transform: scale(1.05);
}

.footer-email {
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
}

.footer-email a {
    color: var(--accent);
    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 900px) { 
    .extra-info-grid { grid-template-columns: repeat(2, 1fr); } 
}

@media (max-width: 600px) {
    .extra-info-grid { 
        grid-template-columns: 1fr; 
        max-width: 90%; 
        padding: 0 5%; 
        margin: 0 auto; 
    }

    .info-box, .extra-text { 
        width: 100%; 
        max-width: 90%; 
        margin: 0 auto; 
    }

    .media { 
        width: 90%; 
        height: auto; 
        margin: 0 auto 20px auto; 
    }

    .post-title { 
        font-size: 1.8rem; 
        max-width: 95%; 
    }

    /* FIXED — contact form now stays centered & aligned */
    .contact-form, 
    .footer-email { 
        max-width: 90%; 
        width: 100%; 
        margin: 0 auto 20px auto; 
        padding: 14px;
        box-sizing: border-box;
    }

    .contact-form button { width: 100%; }
}
