:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #bb86fc;
    --secondary-color: #03dac6;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    width: 0%;
    z-index: 1000;
}

.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(31, 28, 44, 0.8) 0%, rgba(146, 141, 171, 0.8) 100%), url('2.jpeg') center/cover no-repeat;
    position: relative;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1.5s ease-out;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero .meta {
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 800px;
    margin: -60px auto 50px;
    padding: 50px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
}

.blog-content p {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    color: #cccccc;
}

.drop-cap::first-letter {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 12px;
    margin-top: 5px;
    color: var(--accent-color);
}

.image-wrapper {
    margin: 3.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.image-wrapper.in-view {
    opacity: 1;
    transform: translateY(0);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

figcaption {
    text-align: center;
    font-size: 0.95rem;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #bbb;
    font-style: italic;
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.image-wrapper:hover figcaption {
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 40px;
    background: #0a0a0a;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .container {
        margin: -30px 15px 30px;
        padding: 25px;
    }
    .drop-cap::first-letter {
        font-size: 3.5rem;
    }
}
