/**
 * Documentation Page CSS
 *
 * Styles for the theme documentation page.
 */

.fossil-documentation-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fossil-documentation-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.fossil-documentation-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.fossil-documentation-section h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.fossil-documentation-section h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.fossil-documentation-section ol,
.fossil-documentation-section ul {
    margin-left: 20px;
}

.fossil-documentation-section li {
    margin-bottom: 10px;
}

.fossil-notice {
    background-color: #f8f8f8;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin: 20px 0;
}

/* Demo Previews */
.fossil-demo-previews {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.fossil-demo-preview {
    flex: 0 0 calc(33.333% - 30px);
    margin: 0 15px 30px;
    background-color: #f8f8f8;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fossil-demo-image {
    position: relative;
   height: 400px;
    overflow: hidden;
}

.fossil-demo-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fossil-demo-preview:hover .fossil-demo-image img {
    transform: scale(1.05);
}

.fossil-demo-preview h3 {
    padding: 15px 15px 0;
    margin: 0;
}

.fossil-demo-preview .button {
    margin: 15px;
}


/* Plugin card styling */
.fossil-recommended-plugins {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.fossil-plugin-card {
    max-width: 250px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.fossil-plugin-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.fossil-plugin-thumbnail {
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
}

.fossil-plugin-thumbnail img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.fossil-plugin-info {
    padding: 15px;
}

.fossil-plugin-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.fossil-plugin-info p {
    margin-bottom: 15px;
    color: #666;
    font-size: 13px;
}

.fossil-plugin-actions {
    margin-top: 10px;
}

.fossil-plugin-button {
    display: inline-block;
    padding: 8px 12px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}

.fossil-plugin-button:hover {
    background-color: #005a87;
}

.fossil-plugin-button.disabled {
    background-color: #7fb8d5;
    cursor: not-allowed;
}

.fossil-plugin-button.updating-message {
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .fossil-demo-preview,
    .fossil-plugin-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media screen and (max-width: 782px) {
    .fossil-demo-preview,
    .fossil-plugin-card {
        flex: 0 0 calc(100% - 30px);
    }
}


/* Pro Version Banner */
.fossil-pro-banner {
    background: linear-gradient(135deg, #41CB5B 0%, #2271b1 100%);
    color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fossil-pro-banner-content {
    flex: 1;
}

.fossil-pro-banner h2 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 24px;
    border: none;
    padding: 0;
}

.fossil-pro-banner p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.fossil-pro-banner .button {
    background: #fff;
    color: #2271b1;
    font-weight: 600;
    padding: 10px 20px;
    height: auto;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    font-size: 15px;
    line-height: 1.5;
}

.fossil-pro-banner .button:hover {
    background: transparent;
    color: #fff;
}


/* Support Section */
.fossil-support-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.fossil-support-option {
    flex: 1;
    min-width: 250px;
    background-color: #f8f8f8;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.fossil-support-option:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.fossil-support-option h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.fossil-support-option p {
    margin-bottom: 20px;
    color: #555;
}

.fossil-support-option .button {
    width: 100%;
    text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .fossil-pro-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .fossil-pro-banner .button {
        margin-top: 15px;
    }
}


/* Customizer Sections List */
.fossil-customizer-sections {
    margin-left: 0;
    list-style-type: none;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.fossil-customizer-sections li {
    padding: 12px 15px;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 30px;
    transition: background-color 0.2s ease;
}

.fossil-customizer-sections li:last-child {
    border-bottom: none;
}

.fossil-customizer-sections li:hover {
    background-color: #f9f9f9;
}


.fossil-customizer-link {
    margin-top: 20px;
    margin-left: 25px;
}


/* Upgrade Pro Button Styling */

.fossil-import-pro {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, #ff5f6d 0%, #c30010 100%) !important;
    color: #ffffff !important;
    border-color: #c30010 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease !important;
}

.fossil-import-pro:hover, 
.fossil-import-pro:focus {
    background: linear-gradient(135deg, #ff4c5d 0%, #a80000 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.fossil-import-pro:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 95, 109, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 95, 109, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 95, 109, 0);
    }
}