/* 
 * FEMININE BLOG DESIGN - Soft & Modern
 * ==========================================
 * Inspired by: anastasiablogger.com
 * Color Palette: Pastel Pink, White, Light Gray
 */

/* Import Beautiful Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    /* Pastel Pink Palette */
    --pink-primary: #ffb0d0;
    --pink-light: #ffd4e5;
    --pink-lighter: #ffe9f3;
    --pink-dark: #ff8fb8;
    --pink-accent: #ff6ba8;
    
    /* Neutrals */
    --white: #ffffff;
    --cream: #fef9f6;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-text: #666666;
    --gray-dark: #333333;
    
    /* Accent Colors */
    --gold: #d4af37;
    --lavender: #e6d5f5;
    --mint: #d5f5e3;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    
    /* Shadows - Soft & Subtle */
    --shadow-sm: 0 2px 8px rgba(255, 176, 208, 0.1);
    --shadow-md: 0 4px 16px rgba(255, 176, 208, 0.15);
    --shadow-lg: 0 8px 24px rgba(255, 176, 208, 0.2);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--gray-dark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY - Elegant & Readable
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-dark);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: var(--space-md);
}

a {
    color: var(--pink-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--pink-dark);
}

/* ============================================
   HEADER - Soft & Feminine
   ============================================ */
header {
    background: var(--white);
    border-bottom: 1px solid var(--pink-lighter);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

header .logo:hover img {
    transform: scale(1.05);
}

header nav a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-dark);
    margin: 0 1.25rem;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--pink-accent);
}

/* Search Icon */
header .search-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-lighter);
    border-radius: 50%;
    color: var(--pink-accent);
    transition: all 0.3s ease;
}

header .search-icon:hover {
    background: var(--pink-primary);
    color: var(--white);
    transform: scale(1.1);
}

/* ============================================
   HERO SECTION - Soft & Inviting
   ============================================ */
.hero-section {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--pink-lighter) 0%, var(--lavender) 100%);
}

.hero-section img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.6s ease;
}

.hero-section:hover img {
    transform: scale(1.05);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
}

.hero-badge {
    display: inline-block;
    background: var(--pink-primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-button {
    display: inline-block;
    background: var(--pink-accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   POST CARDS - Soft & Modern
   ============================================ */
.post-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.post-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-light);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.1);
}

.post-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--pink-accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    box-shadow: var(--shadow-sm);
}

.post-card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-dark);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.post-card:hover .post-card-title {
    color: var(--pink-accent);
}

.post-card-excerpt {
    font-family: 'Lora', serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--pink-lighter);
    font-size: 0.8125rem;
    color: var(--gray-text);
}

.post-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-card-link {
    color: var(--pink-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.post-card:hover .post-card-link {
    gap: 0.75rem;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */
.category-section {
    margin-bottom: var(--space-xl);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--pink-lighter);
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-transform: capitalize;
}

.category-link {
    background: var(--pink-lighter);
    color: var(--pink-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: var(--pink-primary);
    color: var(--white);
    transform: translateX(5px);
}

/* ============================================
   SIDEBAR - Elegant Widgets
   ============================================ */
.sidebar-widget {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--pink-lighter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-icon {
    color: var(--pink-accent);
    font-size: 1.125rem;
}

.trending-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 15px;
    transition: background 0.3s ease;
    margin-bottom: 1rem;
}

.trending-item:hover {
    background: var(--pink-lighter);
}

.trending-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pink-primary);
    min-width: 40px;
}

.trending-item:first-child .trending-number {
    color: var(--pink-accent);
}

.trending-content {
    flex: 1;
}

.trending-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.trending-item:hover .trending-title {
    color: var(--pink-accent);
}

.trending-category {
    font-size: 0.75rem;
    color: var(--gray-text);
    text-transform: capitalize;
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-info {
    flex: 1;
}

.recent-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.recent-post-item:hover .recent-post-title {
    color: var(--pink-accent);
}

.recent-post-meta {
    font-size: 0.75rem;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   BUTTONS - Soft & Rounded
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--pink-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--pink-accent);
    border: 2px solid var(--pink-primary);
}

.btn-secondary:hover {
    background: var(--pink-primary);
    color: var(--white);
}

/* ============================================
   PAGINATION - Soft Circles
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: var(--space-xl) 0;
}

.pagination-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--pink-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--pink-accent);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--gray-text);
    font-weight: 500;
}

/* ============================================
   FOOTER - Elegant & Clean
   ============================================ */
footer {
    background: var(--white);
    border-top: 1px solid var(--pink-lighter);
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: var(--space-xl);
}

footer .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer .footer-logo:hover {
    opacity: 1;
}

footer h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

footer p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-text);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer ul li a {
    color: var(--gray-text);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

footer ul li a:hover {
    color: var(--pink-accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--pink-lighter);
    color: var(--pink-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--pink-accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--pink-lighter);
    font-size: 0.875rem;
    color: var(--gray-text);
}

/* ============================================
   FORMS - Soft & Inviting
   ============================================ */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--pink-lighter);
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    color: var(--gray-dark);
    background: var(--white);
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 3px rgba(255, 176, 208, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   SCROLL TO TOP - Soft Circle
   ============================================ */
#scrollToTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--pink-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
}

#scrollToTopBtn:hover {
    background: var(--pink-dark);
    transform: translateY(-5px);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    header nav { display: none; }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    footer {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.hidden { display: none; }
