/* Minimal Personal Journal Styling */

/* CSS Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f7f5f3;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 80px;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.site-title-link {
    text-decoration: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 999;
}

.nav-link-enhanced {
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-color) !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-link-enhanced:hover {
    background-color: var(--bg-color);
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-auth-signup {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    transition: all 0.2s ease;
}

.btn-auth-signup:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.btn-new-entry {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-new-entry:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Hero Section */
.hero-section {
    background: var(--white);
    padding: 60px 0;
    margin: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.hero-content h1 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* Cards */
.glass-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.dashboard-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.dashboard-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Journal Illustration - Simplified */
.journal-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.journal-book {
    width: 200px;
    height: 140px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    position: relative;
    border: 2px solid var(--border-color);
}

.journal-book::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--border-color);
    box-shadow: 
        0 15px 0 var(--border-color),
        0 30px 0 var(--border-color),
        0 45px 0 var(--border-color);
}

/* Forms */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn-new-entry,
    .hero-buttons .btn {
        text-align: center;
    }
}

/* Page-specific styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-shimmer {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Clean list styles */
ul, ol {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Simple animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
