/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primary-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(31, 31, 31, 0.4) 0%, rgba(42, 42, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    color: var(--text-primary);
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-content h1 {
    font-family: 'Neon-Heavy', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 12px rgba(65, 105, 225, 0.6);
}

/* Post Meta Section */
.post-meta-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    margin: 0 20px;
}

.meta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.meta-item {
    font-family: 'Neon-Regular', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: var(--accent-blue);
}

/* Content Section */
.content-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    margin: 0 20px;
}

.content-body {
    font-family: 'Neon-Regular', sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.content-body h2, .content-body h3, .content-body h4 {
    font-family: 'Neon-Heavy', sans-serif;
    color: var(--text-primary);
    margin-top: 20px;
}

.content-body p {
    margin-bottom: 15px;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.content-body pre {
    background: rgba(42, 42, 42, 0.9);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    position: relative;
    margin: 20px 0;
}

.content-body code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #f8f8f2;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-blue);
    color: var(--text-primary);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-button:hover {
    background: var(--accent-blue-dark);
}

/* Share Section */
.share-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    margin: 0 20px;
    text-align: center;
}

.share-title {
    font-family: 'Neon-Heavy', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    color: var(--accent-blue);
}

/* Notification Section */
.notification-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 20px;
}

.notification {
    background: rgba(42, 42, 42, 0.9);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-light);
}

.notification.message {
    border-left: 4px solid #2196f3; /* Blue for info */
}

.notification.error {
    border-left: 4px solid #f44336; /* Red for error */
}

.notification.success {
    border-left: 4px solid #4caf50; /* Green for success */
}

.notification-text {
    font-family: 'Neon-Regular', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    flex-grow: 1;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1rem;
}

/* Spacer */
.spacer {
    height: 40px;
}

/* Media Queries for Responsiveness */

/* Medium screens (768px and below) */
@media (max-width: 768px) {
    .hero-image-container {
        height: 300px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .content-section, .share-section, .post-meta-section {
        padding: 20px;
    }
    .content-body {
        font-size: 1rem;
    }
    .share-title {
        font-size: 1.5rem;
    }
    .social-link {
        font-size: 1.2rem;
    }
}

/* Small screens (480px and below) */
@media (max-width: 480px) {
    .hero-image-container {
        height: 250px;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .content-section, .share-section, .post-meta-section {
        padding: 15px;
        margin: 0 10px;
    }
    .content-body {
        font-size: 0.9rem;
    }
    .meta-container {
        flex-direction: column;
        align-items: center;
    }
    .notification {
        flex-direction: column;
        align-items: flex-start;
    }
    .notification-close {
        align-self: flex-end;
    }
    .spacer {
        height: 20px;
    }
}