/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    color: #000000;
    background-color: #000000;
    overflow-x: hidden;
}

/* App Container - Top navigation layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Header Navigation */
.top-header {
    background-color: #000000;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.top-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}

.nav-link:hover {
    background-color: #333333;
}

.nav-link.active {
    background-color: #1d9bf0;
}

.nav-link.active:hover {
    background-color: #1a8cd8;
}

.nav-icon {
    margin-right: 8px;
    font-size: 1rem;
}

.nav-text {
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #1d9bf0;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}

.social-link:hover {
    background-color: #1a1a1a;
}

.social-icon {
    margin-right: 8px;
    font-size: 1rem;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    background-color: #ffffff;
    color: #000000;
}

/* Title Bar */
.title-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 20px 30px;
    text-align: center;
}

.title-quote {
    font-size: 1.3rem;
    font-weight: 400;
    color: #000000;
    text-align: center;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Feed/Posts Section */
.feed {
    max-width: 600px;
    margin: 0 auto;
}

/* Post Styles */
.post {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
    transition: background-color 0.2s ease;
}

.post:hover {
    background-color: #f8f9fa;
}

.post-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1d9bf0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.post-author {
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 8px;
}

.post-handle {
    color: #71767b;
    font-size: 0.9rem;
    margin-right: 8px;
}

.post-time {
    color: #71767b;
    font-size: 0.9rem;
}

.post-content {
    margin-left: 60px;
    color: #000000;
}

.post-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.post-content ul {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
    margin-left: 20px;
}

.post-content ul li {
    margin-bottom: 8px;
}

.post-hashtags {
    margin-top: 12px;
}

.hashtag {
    color: #1d9bf0;
    margin-right: 8px;
    font-size: 0.9rem;
}

.hashtag:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Contact Form in Post */
.contact-form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1d9bf0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #71767b;
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

.contact-form button,
.post-action-btn {
    background-color: #1d9bf0;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
    margin-top: 8px;
}

.contact-form button:hover,
.post-action-btn:hover {
    background-color: #1a8cd8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .top-nav {
        order: 1;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .social-links {
        order: 2;
    }
    
    .nav-text,
    .social-text {
        display: none;
    }
    
    .nav-link,
    .social-link {
        padding: 10px 12px;
    }
    
    .nav-icon,
    .social-icon {
        margin-right: 0;
    }
    
    .title-bar {
        padding: 15px 20px;
    }
    
    .title-quote {
        font-size: 1.1rem;
    }
    
    .post {
        padding: 12px 15px;
    }
    
    .post-content {
        margin-left: 0;
        margin-top: 12px;
    }
    
    .post-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-avatar {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .title-bar {
        padding: 12px 15px;
    }
    
    .title-quote {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility classes for notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 10000;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.notification-success {
    background-color: #00ba7c;
}

.notification-error {
    background-color: #f4212e;
}

.notification-info {
    background-color: #1d9bf0;
}