/* Granny Thumbs - Classic Mature Style */
@import url('https://fonts.googleapis.com/css2?family=Georgia:wght@400;700&family=Crimson+Text:wght@400;600&display=swap');

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

:root {
    --maroon: #800000;
    --maroon-light: #a52a2a;
    --maroon-dark: #5c0000;
    --cream: #fffdd0;
    --cream-light: #fffee0;
    --ivory: #fffff0;
    --text-dark: #2c1810;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 17px;
}

header {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 50%, var(--maroon) 100%);
    color: var(--cream);
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 5px solid var(--cream);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.logo h1 {
    font-family: 'Georgia', serif;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 2px;
}

nav {
    background: var(--maroon-dark);
    border-bottom: 4px solid var(--cream);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

nav a {
    display: block;
    padding: 1.1rem 2.2rem;
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover {
    background: var(--maroon);
    border-bottom-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
}

.hero {
    text-align: center;
    padding: 4rem 2.5rem;
    background: var(--ivory);
    border: 3px solid var(--maroon);
    margin-bottom: 3.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero h2 {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--maroon-light);
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: var(--maroon);
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--maroon-dark);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128,0,0,0.4);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3.5rem 0;
}

.card {
    background: var(--ivory);
    border: 2px solid var(--maroon);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 3px solid var(--maroon);
}

.card-content {
    padding: 1.8rem;
}

.card h3 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--maroon);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.card-link {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: var(--maroon);
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: var(--maroon-dark);
}

footer {
    background: var(--maroon);
    color: var(--cream);
    padding: 3.5rem 2rem;
    text-align: center;
    border-top: 5px solid var(--cream);
    margin-top: 5rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
}

.sidebar {
    background: var(--ivory);
    border: 2px solid var(--maroon);
    padding: 1.8rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar h3 {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: var(--maroon);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--maroon);
    font-weight: 700;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(128,0,0,0.2);
}

.sidebar a {
    color: var(--maroon-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: var(--maroon);
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

.post-content {
    background: var(--ivory);
    padding: 2.5rem;
    border: 2px solid var(--maroon);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-content h1, .post-content h2 {
    font-family: 'Georgia', serif;
    color: var(--maroon);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.post-content h1 {
    font-size: 2.5rem;
}

.post-content h2 {
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.gallery-item {
    border: 2px solid var(--maroon);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(128,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3.5rem 0;
}

.pagination a {
    padding: 0.8rem 1.8rem;
    background: var(--maroon);
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--maroon-dark);
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.thumb-item {
    border: 2px solid var(--maroon);
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--ivory);
}

.thumb-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(128,0,0,0.2);
}

.thumb-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.thumb-title {
    padding: 0.8rem;
    text-align: center;
    font-weight: 600;
    color: var(--maroon);
    font-size: 0.9rem;
}
