/* Plugin Showcase Website Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(45deg, #28a745, #20c997);
    --gradient-warning: linear-gradient(45deg, #ffc107, #fd7e14);
    --border-radius: 15px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
      font-family: "Roboto Condensed", sans-serif;
    line-height: 1.6;
    color: #333;
}

.card-title
{
	font-size: 1rem;
}

.card-text
{
	font-size: 0.9rem;
	min-height: 6rem;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Search Box */
.search-box {
    max-width: 500px;
    margin: 0 auto;
}

.search-box .form-control {
    border: none;
    border-radius: 25px;
    padding: 15px 25px;
    font-size: 1.1rem;
    box-shadow: var(--box-shadow);
}

.search-box .btn {
    border-radius: 25px;
    padding: 15px 25px;
    margin-left: 10px;
    box-shadow: var(--box-shadow);
}

/* Stats Section */
.stats-row {
    background: var(--light-color);
    padding: 40px 0;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Category Filters */
.category-filter {
    margin: 30px 0;
}

.category-btn {
    margin: 5px;
    border-radius: 25px;
    padding: 8px 20px;
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 500;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Plugin Cards */
.plugin-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.plugin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.plugin-image {
    height: 200px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.plugin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.plugin-card:hover .plugin-image img {
    transform: scale(1.05);
}

.plugin-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--box-shadow);
}

.plugin-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--box-shadow);
}

/* Badges */
.download-badge {
    background: var(--gradient-success);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.version-badge {
    background: var(--secondary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Buttons */
.download-btn {
    background: var(--gradient-success);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    color: white;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    color: white;
}

.buy-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    color: white;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card .card-body {
    padding: 25px;
}

.feature-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card .card-title i {
    font-size: 1.3rem;
    margin-right: 10px;
}

/* Stats Cards */
.stats-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Changelog */
.changelog-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
    background: var(--light-color);
    padding: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--box-shadow);
}

.changelog-item h5 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.screenshot-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
    color: white;
    padding: 40px 0;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

footer .text-muted {
    color: #adb5bd !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-box .btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .plugin-logo-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .category-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .plugin-card .card-body {
        padding: 15px;
    }
    
    .download-btn, .buy-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Version History Styles */
.version-history {
    margin-top: 20px;
}

.version-item {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.version-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.version-item .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
}

.version-badge {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.release-notes {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    border-left: 4px solid var(--primary-color);
}

.release-notes-content {
    color: #495057;
    line-height: 1.6;
    font-size: 0.95rem;
}

.release-notes h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Image Slideshow Styles */
.image-slideshow-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: #000;
}

.slideshow-image {
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.slideshow-image:hover {
    transform: scale(1.02);
}

.carousel-indicators {
    margin-bottom: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.carousel-control-next {
    background: linear-gradient(270deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 10px 15px;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.carousel-caption h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Fullscreen Slideshow Styles */
.fullscreen-image {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}

#fullscreenSlideshow .carousel-caption {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 15px 20px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
}

#fullscreenSlideshow .carousel-caption h5 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

#fullscreenSlideshow .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 0;
}

#fullscreenSlideshow .carousel-control-prev,
#fullscreenSlideshow .carousel-control-next {
    width: 8%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}

#fullscreenSlideshow .carousel-control-next {
    background: linear-gradient(270deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}

#fullscreenSlideshow .carousel-control-prev-icon,
#fullscreenSlideshow .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Placeholder Image Styles */
.placeholder-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Description Section Styles */
.description-content {
    margin-top: 20px;
}

.content-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    line-height: 1.7;
    font-size: 1rem;
    color: #495057;
}

.content-box h1, .content-box h2, .content-box h3, .content-box h4, .content-box h5, .content-box h6 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-box h1:first-child, .content-box h2:first-child, .content-box h3:first-child, 
.content-box h4:first-child, .content-box h5:first-child, .content-box h6:first-child {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 1rem;
}

.content-box ul, .content-box ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-box li {
    margin-bottom: 0.5rem;
}

.content-box blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.content-box code {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e83e8c;
}

.content-box pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.content-box pre code {
    background: none;
    padding: 0;
    color: #495057;
}

.content-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.content-box a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.content-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-box th, .content-box td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.content-box th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}
