/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Elegant Color Palette - Pastel Dreams */
    --primary-lavender: #E6E6FA;
    --soft-lilac: #D8D0F0;
    --mauve-mist: #E0C9D9;
    --powder-blue: #C0D9E8;
    --misty-rose: #FFE4E1;
    --seafoam: #D0F0E4;
    --peach-cream: #FFDAB9;
    --wisteria: #C9A9DC;
    --dusty-rose: #DCA9B9;
    --sage: #C0D0C0;
    
    /* Neutrals */
    --white-soft: #FFFAF5;
    --white-pure: #FFFFFF;
    --gray-elegant: #F5F0F5;
    --gray-soft: #E8E0E8;
    --gray-mid: #A99FB9;
    --gray-deep: #6B5F7A;
    --charcoal-soft: #4A4355;
    
    /* Gradients */
    --gradient-sunset: linear-gradient(135deg, #FFE5E5 0%, #FFE0F0 50%, #E5E0FF 100%);
    --gradient-lavender: linear-gradient(135deg, #E9DEF5 0%, #D4E0F0 100%);
    --gradient-peach: linear-gradient(135deg, #FFE8E0 0%, #FFDEC5 100%);
    --gradient-mint: linear-gradient(135deg, #E0F0E8 0%, #C5E0D5 100%);
    
    /* Shadows */
    --shadow-soft: 0 10px 30px -15px rgba(150, 120, 180, 0.2);
    --shadow-medium: 0 20px 40px -15px rgba(130, 100, 160, 0.25);
    --shadow-elegant: 0 30px 60px -20px rgba(110, 80, 140, 0.3);
    --shadow-glow: 0 0 30px rgba(210, 180, 240, 0.3);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', 'Quicksand', sans-serif;
    --font-display: 'Playfair Display', serif;
}

body {
    background: var(--gradient-sunset);
    color: var(--charcoal-soft);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path d="M20,20 Q40,10 60,20 T100,20" stroke="%23A99FB9" fill="none" stroke-width="0.5"/><path d="M10,50 Q30,40 50,50 T90,50" stroke="%23A99FB9" fill="none" stroke-width="0.5"/><path d="M20,80 Q40,70 60,80 T100,80" stroke="%23A99FB9" fill="none" stroke-width="0.5"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 4.5rem;
    background: linear-gradient(145deg, #6B5F7A, #8A7A9C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.8rem;
    color: var(--gray-deep);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--wisteria), var(--powder-blue));
    border-radius: 2px;
}

h3 {
    font-size: 2rem;
    color: var(--gray-deep);
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--gray-deep);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 250, 245, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 100px;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1000;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 500;
    text-decoration: none;
    background: linear-gradient(145deg, #8A7A9C, #B8A9D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 300;
    font-size: 2rem;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-deep);
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--wisteria), var(--powder-blue), var(--peach-cream));
    transition: width 0.4s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--charcoal-soft);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 230, 250, 0.4) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease;
}

.tagline {
    font-size: 2rem;
    font-weight: 300;
    color: var(--gray-deep);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.4;
    font-family: var(--font-serif);
    font-style: italic;
    animation: fadeUp 1s ease 0.2s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    animation: fadeUp 1s ease 0.4s both;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn.primary {
    background: linear-gradient(145deg, #D8D0F0, #C0D9E8);
    color: var(--charcoal-soft);
    box-shadow: var(--shadow-medium);
}

.btn.secondary {
    background: transparent;
    color: var(--gray-deep);
    border: 1px solid rgba(106, 95, 122, 0.3);
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elegant);
}

/* ===== FEATURED POSTS ===== */
.featured-posts {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.featured-posts h2 {
    margin-bottom: 3rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.post-card {
    background: rgba(255, 250, 245, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--wisteria), var(--powder-blue), var(--peach-cream), var(--seafoam));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.post-card:hover::before {
    transform: translateX(0);
}

.post-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 250, 245, 0.9);
    box-shadow: var(--shadow-elegant);
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-mid);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    letter-spacing: 0.5px;
}

.post-category {
    padding: 0.2rem 1rem;
    background: rgba(201, 169, 220, 0.2);
    border-radius: 50px;
    color: var(--wisteria);
}

.post-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    line-height: 1.3;
}

.post-excerpt {
    color: var(--gray-mid);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.read-more {
    color: var(--wisteria);
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
    color: var(--dusty-rose);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(145deg, rgba(230, 230, 250, 0.6), rgba(192, 217, 232, 0.6));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6rem 2rem;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '✦';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 15rem;
    opacity: 0.1;
    color: var(--wisteria);
    font-family: serif;
    transform: rotate(15deg);
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gray-deep);
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 1.2rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 60px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    outline: none;
    transition: all 0.3s ease;
    color: var(--charcoal-soft);
}

.subscribe-form input:focus {
    border-color: var(--wisteria);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glow);
}

.subscribe-form input::placeholder {
    color: var(--gray-mid);
    font-style: italic;
}

.subscribe-form button {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(145deg, var(--wisteria), var(--dusty-rose));
    border: none;
    border-radius: 60px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    box-shadow: var(--shadow-medium);
}

.subscribe-form button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-elegant);
}

/* ===== FOOTER ===== */
footer {
    background: rgba(255, 250, 245, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--gray-deep);
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--wisteria), transparent);
}

.footer-section p {
    color: var(--gray-mid);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    text-decoration: none;
    color: var(--gray-mid);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section a:hover {
    color: var(--wisteria);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    padding-left: 0;
}

.social-links a:hover {
    padding-left: 0;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(106, 95, 122, 0.1);
    color: var(--gray-mid);
    font-size: 0.9rem;
    font-family: var(--font-serif);
}

/* ===== BLOG POST PAGE ===== */
.post-page {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.post-header h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
}

.post-content {
    background: rgba(255, 250, 245, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.post-content h2 {
    font-size: 2.2rem;
    margin: 2rem 0 1rem;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.9;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-deep);
}

/* ===== ARCHIVE PAGE ===== */
.archive-section {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.archive-year {
    margin-bottom: 4rem;
}

.archive-year h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--wisteria);
}

.archive-list {
    list-style: none;
}

.archive-list li {
    display: flex;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(201, 169, 220, 0.2);
    transition: all 0.3s ease;
}

.archive-list li:hover {
    background: rgba(255, 250, 245, 0.3);
    padding-left: 1rem;
    border-radius: 10px;
}

.archive-date {
    min-width: 120px;
    color: var(--gray-mid);
    font-family: var(--font-serif);
    font-style: italic;
}

.archive-title {
    flex: 1;
    text-decoration: none;
    color: var(--gray-deep);
    font-weight: 400;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.archive-title:hover {
    color: var(--wisteria);
}

/* ===== ABOUT PAGE ===== */
.about-section {
    max-width: 900px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.profile {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--wisteria), var(--powder-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: var(--shadow-elegant);
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--wisteria), var(--powder-blue), var(--peach-cream));
    opacity: 0.3;
    z-index: -1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.profile-text {
    flex: 1;
}

.profile-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    font-family: var(--font-serif);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    max-width: 900px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: rgba(255, 250, 245, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--wisteria);
}

.contact-form {
    background: rgba(255, 250, 245, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(201, 169, 220, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--wisteria);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glow);
}

/* ===== DECORATIVE ELEMENTS ===== */
.floating-element {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, 15px) rotate(-5deg); }
    75% { transform: translate(-10px, -5px) rotate(3deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 { font-size: 4rem; }
    .hero h1 { font-size: 5rem; }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 250, 245, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
        border-radius: 20px;
        margin-top: 1rem;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }
    
    .hamburger span {
        width: 25px;
        height: 2px;
        background: var(--gray-deep);
        margin: 2px 0;
        transition: all 0.3s ease;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== LOADING ANIMATIONS ===== */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--white-soft);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, var(--wisteria), var(--powder-blue));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, var(--dusty-rose), var(--wisteria));
}