/* Dashboard Specific Styles - Matching Reference Design */

/* Navigation Styles */
.dashboard-nav {
    background-color: #f7f5f3;
    border-bottom: 1px solid #ebe7e4;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 60px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #6b6b6b;
    text-decoration: none;
}

.nav-link.active {
    color: #2c3e50;
    font-weight: 500;
}

/* General Layout */
.dashboard-container {
    background-color: #f7f5f3;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.dashboard-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 40px;
    gap: 60px;
}

.dashboard-left {
    flex: 1;
    max-width: 600px;
}

.dashboard-right {
    flex: 0 0 400px;
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7f5f3;
}

/* Hero Section */
.hero-section {
    margin-bottom: 80px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 600px;
    padding: 20px 0;
    box-sizing: border-box;
}

.hero-title {
    font-size: 52px;
    font-weight: 300;
    color: #2c3e50;
    margin: 0 0 24px 0;
    line-height: 1.1;
    text-align: left;
    width: 100%;
    letter-spacing: -0.03em;
    word-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 19px;
    color: #5a5a5a;
    margin: 0 0 36px 0;
    line-height: 1.7;
    text-align: left;
    width: 100%;
    max-width: 480px;
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    background-color: #d4a574;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    align-self: flex-start;
}

.btn-primary:hover {
    background-color: #c49963;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: #8db3a0;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #7da491;
    color: white;
    text-decoration: none;
}

/* Section Containers */
.section-container {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.view-all-link {
    color: #6b6b6b;
    text-decoration: none;
    font-size: 14px;
}

.view-all-link:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* Entry Cards */
.entry-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.entry-title {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.entry-date {
    font-size: 14px;
    color: #8b8b8b;
    margin: 0 0 12px 0;
}

.entry-preview {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.5;
}

/* Community Section */
.community-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.community-title {
    font-size: 20px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.community-text {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0 0 24px 0;
}

/* Journal Illustration */
.journal-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.journal-book {
    position: relative;
    width: 200px;
    height: 160px;
}

.journal-cover {
    width: 180px;
    height: 140px;
    background: linear-gradient(135deg, #8db3a0 0%, #7da491 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: rotate(-5deg);
}

.journal-pages {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 140px;
    height: 120px;
    background: #fefefe;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: rotate(3deg);
}

.page-line {
    height: 1px;
    background: #e8e8e8;
    margin-bottom: 8px;
    width: 100%;
}

.page-line:nth-child(odd) {
    width: 90%;
}

.journal-pencil {
    position: absolute;
    top: 50px;
    right: -10px;
    transform: rotate(25deg);
}

.pencil-body {
    width: 80px;
    height: 8px;
    background: linear-gradient(90deg, #d4a574 0%, #e6c18a 100%);
    border-radius: 4px;
}

.pencil-tip {
    width: 12px;
    height: 12px;
    background: #8b4513;
    border-radius: 50%;
    position: absolute;
    right: -2px;
    top: -2px;
}

/* Blog Section */
.blog-section {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    position: relative;
}

.blog-section .section-title {
    font-size: 24px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0 0 28px 0;
    text-align: left;
    letter-spacing: -0.01em;
}

.blog-card {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    position: relative;
    transition: all 0.3s ease;
}

.blog-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-card:hover {
    transform: translateX(4px);
}

.blog-thumbnail {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.mountain-bg {
    background: linear-gradient(135deg, #8db3a0 0%, #7da491 100%);
}

.sunset-bg {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
}

.coffee-bg {
    background: linear-gradient(135deg, #d4a574 0%, #c49963 100%);
}

.blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}

.blog-title {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0 0 6px 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-meta {
    font-size: 13px;
    color: #7a7a7a;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.blog-preview {
    font-size: 14px;
    color: #5a5a5a;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-content {
        flex-direction: column;
        padding: 20px;
        gap: 40px;
    }
    
    .dashboard-right {
        flex: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
}
