/* Writer Portfolio Styles */

:root {
    --bg-paper: #fdfbf7;
    --text-primary: #2c2c2c;
    --text-secondary: #595959;
    --accent: #1a1a1a;
}

body {
    background-color: var(--bg-paper);
    color: var(--text-primary);
    font-family: 'Merriweather', serif;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
    font-family: 'Lora', serif;
}

.font-serif {
    font-family: 'Merriweather', serif !important;
}

.bg-paper {
    background-color: #f7f5f0;
}

/* Typography */
.display-5 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Links */
.hover-underline {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.hover-underline:hover {
    background-size: 100% 2px;
}

/* Images */
.sepia-filter {
    filter: sepia(20%) contrast(95%);
    transition: filter 0.3s ease;
}

.sepia-filter:hover {
    filter: sepia(0%) contrast(100%);
}

/* Navbar */
.nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 80%;
}

/* Forms */
.form-control:focus {
    box-shadow: none;
    border-color: #666;
}

/* Buttons */
.btn {
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    padding: 10px 18px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid #1e272e;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #1e272e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Lora', serif;
}

.floating-btn:hover {
    transform: translateY(-2px);
    border-color: #1e272e;
    background: #1e272e;
    color: #ffffff;
}

.floating-btn.edit-btn {
    border-color: #1e272e;
    background: #1e272e;
    color: #ffffff;
}

.floating-btn.edit-btn:hover {
    background: #000000;
    opacity: 0.9;
    color: #ffffff;
}
