
/* Site Wide Styles */
:root {
    --bone: #e8dbc3;
    --iron-black: #1a1a1a;
    --rust-red: #8a2c1d;
    --verdigris: #4e5d42;
    --dirty-gold: #b59d52;
    --parchment: #f3ebd3;
}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: var(--parchment);
    color: var(--iron-black);
}

header {
    background-color: var(--iron-black);
    color: var(--dirty-gold);
    padding: 15px 20px;
    border-bottom: 4px solid var(--rust-red);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: var(--verdigris);
    color: var(--parchment);
    padding: 10px 15px;
    font-size: 1em;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--bone);
    min-width: 160px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: var(--iron-black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--dirty-gold);
    color: var(--iron-black);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Container */
.container {
    padding: 20px;
    max-width: 960px;
    margin: auto;
}

/* Modal base styles */
.modal {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(26, 26, 26, 0.85); /* semi-transparent iron-black */
}

.modal-content {
    background-color: var(--parchment);
    margin: 10% auto;
    padding: 20px;
    border: 3px solid var(--rust-red);
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 15px black;
}

/* Button styles */
.btn {
    background-color: var(--verdigris);
    color: var(--parchment);
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-family: 'Georgia', serif;
}

.btn.secondary {
    background-color: var(--rust-red);
}


/* post styles */
.post {
    border: 2px solid var(--verdigris);
    background: var(--bone);
    margin: 20px 0;
    padding: 15px;
}

.post img {
    max-width: 100%;
    margin-top: 10px;
    border: 1px solid var(--verdigris);
}

.post iframe {
    margin-top: 10px;
    width: 50%;
    height: 100px;
    border: none;
}


/* like button */
.like-btn[disabled] {
    background-color: var(--dirty-gold);
    cursor: not-allowed;
}

/* Chat Container */
.chat-container {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Sidebar */
.chat-sidebar {
    width: 250px;
    border-right: 2px solid var(--verdigris);
    background-color: var(--bone);
    padding: 10px;
}

.chat-sidebar h3 {
    margin-top: 0;
    color: var(--rust-red);
}

.chat-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-sidebar li {
    margin-bottom: 10px;
}

.chat-sidebar a {
    color: var(--iron-black);
    text-decoration: none;
}

.chat-sidebar a:hover {
    color: var(--dirty-gold);
}

/* Chat Main Area */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--parchment);
    border: 2px solid var(--verdigris);
    padding: 15px;
}

/* Message Box */
.messages-box {
    flex: 1;
    overflow-y: auto;
    height: 400px;
    background-color: var(--bone);
    padding: 10px;
    border: 1px solid var(--verdigris);
    margin-bottom: 10px;
}

.message {
    margin-bottom: 12px;
    font-family: 'Georgia', serif;
    padding: 8px;
    border-radius: 5px;
    max-width: 75%;
    line-height: 1.4;
}

.message.you {
    background-color: var(--verdigris);
    color: var(--parchment);
    margin-left: auto;
    text-align: right;
}

.message.them {
    background-color: var(--dirty-gold);
    color: var(--iron-black);
    text-align: left;
}

/* Message Form */
.message-form textarea {
    width: 100%;
    padding: 10px;
    font-family: 'Georgia', serif;
    border: 1px solid var(--verdigris);
    background-color: var(--bone);
    resize: none;
    margin-bottom: 10px;
}


