/* Open Source Magento Modules Page Styles */

/* Module Section Styling */
.module-section {
    transition: all 0.3s ease;
}

.module-section:hover {
    transform: translateY(-2px);
}

/* GitHub Button Styling */
.btn-outline-primary {
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    transform: translateX(2px);
}

/* Feature List Styling */
.list-group-item {
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* Badge Styling */
.badge {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
}

/* Stats Section */
.bg-primary .opacity-75 {
    opacity: 0.75;
}

/* Module Icons */
.module-section h2 i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.module-section:hover h2 i {
    transform: scale(1.1);
}

/* Installation Steps */
.badge-pill {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Community Links */
.btn-group .btn {
    margin: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
        margin: 0.25rem 0;
    }

    .text-right {
        text-align: left !important;
        margin-top: 1rem;
    }
}

/* Technical Highlights */
.technical-highlights ul {
    padding-left: 0;
}

.technical-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.technical-highlights li:last-child {
    border-bottom: none;
}

/* Alert Styling */
.alert-info {
    border-left: 4px solid #17a2b8;
}

/* List Styling */
.list-unstyled li {
    padding-left: 0.5rem;
}

/* GitHub Link Hover Effect */
a[href*="github.com"] {
    text-decoration: none;
    transition: color 0.2s ease;
}

a[href*="github.com"]:hover {
    color: #0366d6 !important;
}

/* Module Card Hover */
.section:hover {
    background-color: rgba(0, 0, 0, 0.02);
    transition: background-color 0.3s ease;
}

/* Version Badge */
.badge-info {
    background-color: #17a2b8;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-success {
    background-color: #28a745;
}

/* Icon Spacing */
.fa-check-circle {
    color: #28a745;
}

.fa-arrow-right {
    font-size: 0.8rem;
}

/* Stats Section Icons */
.bg-primary .fa-3x {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Installation Number Badges */
.installation-step .badge-primary {
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Link Underline on Hover */
section a:not(.btn):hover {
    text-decoration: underline;
}

/* Module Description Lead Text */
.lead {
    line-height: 1.7;
    font-weight: 300;
}

/* Feature Icons */
.fas.fa-2x {
    width: 40px;
    text-align: center;
}

/* Benefits Grid Spacing */
.benefits-section .col-lg-4 {
    margin-bottom: 2rem;
}

/* Community Section */
.community-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.community-section .btn-outline-primary {
    color: white;
    border-color: white;
}

.community-section .btn-outline-primary:hover {
    background-color: white;
    color: #667eea;
}
