/*
Theme Name: Sofia Journal
Theme URI: https://sofianotes.com
Author: Sofia
Description: Jurnal minimalist și elegant bazat pe designul sof6.html - stil Pinterest
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sofia-journal
*/

/* --- VARIABILE DE CULOARE --- */
:root {
    --bg-color: #fcfbf8; /* Crem foarte deschis */
    --card-bg: #ffffff;
    --text-main: #545454; /* Gri închis, nu negru dur */
    --accent-green: #d4e2d4; /* Verde Salvie */
    --accent-pink: #f6e6e4; /* Roz prăfuit */
    --accent-blue: #e3f2fd; /* Albastru pal */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Forme organice pe fundal (Blobs) */
.bg-blob {
    position: fixed;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
}
.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-green);
    border-radius: 50%;
}
.blob-2 {
    top: 200px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

/* Header Simplu */
header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
}

.logo a {
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    color: #9cad9c; /* Accent subtil pe nume */
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #9cad9c;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Zona Hero (Intro) */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300; /* Subțire */
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #888;
}

.handwritten {
    font-family: 'Patrick Hand', cursive;
    color: #9cad9c;
    transform: rotate(-3deg);
    display: inline-block;
}

/* Layout tip Pinterest (Masonry) */
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    column-count: 3; /* 3 Coloane ca pe Pinterest */
    column-gap: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 20px; /* Colțuri foarte rotunjite */
    padding: 0;
    margin-bottom: 2rem;
    break-inside: avoid; /* Nu rupe cardul între coloane */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Umbră foarte fină */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    padding: 1.5rem;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    padding: 4px 10px;
    border-radius: 50px;
}

.tag-green { background-color: var(--accent-green); }
.tag-pink { background-color: var(--accent-pink); }
.tag-blue { background-color: var(--accent-blue); }

.card h2 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.card h2 a {
    text-decoration: none;
    color: var(--text-main);
}

.card p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 1rem;
}

.date {
    font-size: 0.8rem;
    color: #aaa;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 1rem;
    color: #aaa;
    font-size: 0.9rem;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.single-post .post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.single-post h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.single-post .post-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
}

.single-post .featured-image {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
}

.single-post .featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-post .post-content p {
    margin-bottom: 1.5rem;
}

.single-post .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 2rem 0;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-container { column-count: 2; }
    .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 600px) {
    .grid-container { column-count: 1; }
    header { flex-direction: column; gap: 1rem; }
    nav a { margin: 0 10px; }
}
