/* Digiplanet Project Portfolio - Frontend Styles */

/* Variables */
:root {
    --dpp-primary-color: #2563eb;
    --dpp-secondary-color: #1e40af;
    --dpp-text-color: #1f2937;
    --dpp-text-light: #6b7280;
    --dpp-bg-color: #ffffff;
    --dpp-bg-light: #f3f4f6;
    --dpp-border-color: #e5e7eb;
    --dpp-border-radius: 12px;
    --dpp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --dpp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --dpp-transition: all 0.3s ease;
}

/* Container */
.dpp-portfolio-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Filters Wrapper */
.dpp-filters-wrapper {
    background: var(--dpp-bg-light);
    border-radius: var(--dpp-border-radius);
    padding: 24px;
    margin-bottom: 32px;
}

/* Search */
.dpp-search-wrapper {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
}

.dpp-search-input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    font-size: 16px;
    border: 2px solid var(--dpp-border-color);
    border-radius: 8px;
    background: var(--dpp-bg-color);
    transition: var(--dpp-transition);
}

.dpp-search-input:focus {
    outline: none;
    border-color: var(--dpp-primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dpp-search-btn {
    position: absolute;
    right: 1px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dpp-primary-color);
    border: none;
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    color: #fff;
    transition: var(--dpp-transition);
}

.dpp-search-btn:hover {
    background: var(--dpp-secondary-color);
}

/* Filter Controls */
.dpp-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.dpp-filter-group {
    flex: 1;
    min-width: 200px;
}

.dpp-filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dpp-text-color);
    margin-bottom: 6px;
}

.dpp-filter-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--dpp-border-color);
    border-radius: 8px;
    background: var(--dpp-bg-color);
    cursor: pointer;
    transition: var(--dpp-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.dpp-filter-select:focus {
    outline: none;
    border-color: var(--dpp-primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dpp-reset-filters {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dpp-text-color);
    background: var(--dpp-bg-color);
    border: 2px solid var(--dpp-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--dpp-transition);
    white-space: nowrap;
}

.dpp-reset-filters:hover {
    background: var(--dpp-bg-light);
    border-color: var(--dpp-text-light);
}

/* Loading Overlay */
.dpp-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: var(--dpp-border-radius);
}

.dpp-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--dpp-border-color);
    border-top-color: var(--dpp-primary-color);
    border-radius: 50%;
    animation: dpp-spin 1s linear infinite;
}

@keyframes dpp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Projects Grid */
.dpp-projects-grid {
    display: grid;
    gap: 24px;
}

.dpp-columns-1 {
    grid-template-columns: 1fr;
}

.dpp-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.dpp-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.dpp-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Project Card */
.dpp-project-card {
    position: relative;
}

.dpp-card-inner {
    background: var(--dpp-bg-color);
    border-radius: var(--dpp-border-radius);
    overflow: hidden;
    box-shadow: var(--dpp-shadow);
    transition: var(--dpp-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dpp-card-inner:hover {
    box-shadow: var(--dpp-shadow-lg);
    transform: translateY(-4px);
}

/* Card Thumbnail */
.dpp-card-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.dpp-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--dpp-transition);
}

.dpp-card-inner:hover .dpp-thumbnail-img {
    transform: scale(1.05);
}

.dpp-placeholder-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dpp-bg-light);
    color: var(--dpp-text-light);
}

/* Card Overlay */
.dpp-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--dpp-transition);
}

.dpp-card-inner:hover .dpp-card-overlay {
    opacity: 1;
}

.dpp-view-project {
    padding: 12px 24px;
    background: var(--dpp-bg-color);
    color: var(--dpp-text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(10px);
    transition: var(--dpp-transition);
}

.dpp-card-inner:hover .dpp-view-project {
    transform: translateY(0);
}

.dpp-view-project:hover {
    background: var(--dpp-primary-color);
    color: #fff;
}

/* Card Content */
.dpp-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dpp-project-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}

.dpp-project-title a {
    color: var(--dpp-text-color);
    text-decoration: none;
    transition: var(--dpp-transition);
}

.dpp-project-title a:hover {
    color: var(--dpp-primary-color);
}

/* Project Meta */
.dpp-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.dpp-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--dpp-text-light);
}

.dpp-meta-icon {
    display: flex;
    align-items: center;
}

.dpp-meta-icon svg {
    width: 14px;
    height: 14px;
}

/* Project Excerpt */
.dpp-project-excerpt {
    font-size: 14px;
    color: var(--dpp-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Card Footer */
.dpp-card-footer {
    margin-top: auto;
}

/* Buttons */
.dpp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--dpp-transition);
    cursor: pointer;
    border: none;
}

.dpp-btn-primary {
    background: var(--dpp-primary-color);
    color: #fff;
}

.dpp-btn-primary:hover {
    background: var(--dpp-secondary-color);
    color: #fff;
}

.dpp-btn-primary svg {
    transition: var(--dpp-transition);
}

.dpp-btn-primary:hover svg {
    transform: translateX(4px);
}

/* No Projects */
.dpp-no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--dpp-bg-light);
    border-radius: var(--dpp-border-radius);
    color: var(--dpp-text-light);
    font-size: 16px;
}

/* Pagination */
.dpp-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.dpp-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.dpp-pagination li {
    margin: 0;
}

.dpp-pagination a,
.dpp-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dpp-text-color);
    background: var(--dpp-bg-color);
    border: 2px solid var(--dpp-border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--dpp-transition);
}

.dpp-pagination a:hover {
    background: var(--dpp-primary-color);
    border-color: var(--dpp-primary-color);
    color: #fff;
}

.dpp-pagination .current {
    background: var(--dpp-primary-color);
    border-color: var(--dpp-primary-color);
    color: #fff;
}

/* Single Project Template */
.dpp-single-project {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dpp-single-header {
    margin-bottom: 40px;
}

.dpp-single-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--dpp-text-color);
}

.dpp-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: var(--dpp-bg-light);
    border-radius: var(--dpp-border-radius);
}

.dpp-single-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dpp-single-meta-label {
    font-size: 13px;
    color: var(--dpp-text-light);
    font-weight: 500;
}

.dpp-single-meta-value {
    font-size: 14px;
    color: var(--dpp-text-color);
    font-weight: 600;
}

/* Single Project Featured Image */
.dpp-single-featured-image {
    margin-bottom: 40px;
    border-radius: var(--dpp-border-radius);
    overflow: hidden;
}

.dpp-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Single Project Content */
.dpp-single-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.dpp-single-main {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dpp-text-color);
}

.dpp-single-main h2 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.dpp-single-main p {
    margin-bottom: 16px;
}

/* Single Project Sidebar */
.dpp-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dpp-sidebar-box {
    background: var(--dpp-bg-light);
    border-radius: var(--dpp-border-radius);
    padding: 24px;
}

.dpp-sidebar-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--dpp-text-color);
}

.dpp-sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dpp-sidebar-box li {
    padding: 8px 0;
    border-bottom: 1px solid var(--dpp-border-color);
}

.dpp-sidebar-box li:last-child {
    border-bottom: none;
}

/* Case Study Sections */
.dpp-case-study-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--dpp-bg-light);
    border-radius: var(--dpp-border-radius);
}

.dpp-case-study-section h2 {
    font-size: 22px;
    margin: 0 0 16px;
    color: var(--dpp-text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dpp-case-study-section h2 svg {
    color: var(--dpp-primary-color);
}

/* Project Gallery */
.dpp-project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 40px 0;
}

.dpp-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.dpp-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--dpp-transition);
}

.dpp-gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonial */
.dpp-testimonial {
    background: linear-gradient(135deg, var(--dpp-primary-color), var(--dpp-secondary-color));
    color: #fff;
    padding: 40px;
    border-radius: var(--dpp-border-radius);
    margin: 40px 0;
    position: relative;
}

.dpp-testimonial::before {
    content: '"';
    font-size: 120px;
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.2;
    line-height: 1;
}

.dpp-testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.dpp-testimonial-author {
    font-weight: 600;
    font-size: 14px;
}

/* Related Projects */
.dpp-related-projects {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--dpp-border-color);
}

.dpp-related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dpp-text-color);
}

/* Share Buttons */
.dpp-share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.dpp-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dpp-bg-light);
    color: var(--dpp-text-color);
    text-decoration: none;
    transition: var(--dpp-transition);
}

.dpp-share-btn:hover {
    background: var(--dpp-primary-color);
    color: #fff;
}

/* Project Navigation */
.dpp-project-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--dpp-border-color);
}

.dpp-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dpp-text-color);
    font-weight: 600;
    padding: 16px 24px;
    background: var(--dpp-bg-light);
    border-radius: var(--dpp-border-radius);
    transition: var(--dpp-transition);
}

.dpp-nav-link:hover {
    background: var(--dpp-primary-color);
    color: #fff;
}

.dpp-nav-link.prev {
    flex-direction: row;
}

.dpp-nav-link.next {
    flex-direction: row-reverse;
}

/* Standalone Filter Form */
.dpp-standalone-filter {
    background: var(--dpp-bg-light);
    padding: 24px;
    border-radius: var(--dpp-border-radius);
    margin-bottom: 32px;
}

.dpp-filter-horizontal .dpp-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.dpp-filter-vertical .dpp-filter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dpp-filter-field {
    flex: 1;
    min-width: 200px;
}

.dpp-filter-field input[type="text"],
.dpp-filter-field select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--dpp-border-color);
    border-radius: 8px;
    background: var(--dpp-bg-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .dpp-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dpp-single-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dpp-columns-3,
    .dpp-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dpp-filter-controls {
        flex-direction: column;
    }
    
    .dpp-filter-group {
        width: 100%;
    }
    
    .dpp-single-title {
        font-size: 28px;
    }
    
    .dpp-project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dpp-project-nav {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .dpp-columns-2,
    .dpp-columns-3,
    .dpp-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .dpp-portfolio-wrapper {
        padding: 10px;
    }
    
    .dpp-filters-wrapper {
        padding: 16px;
    }
    
    .dpp-single-title {
        font-size: 24px;
    }
    
    .dpp-project-gallery {
        grid-template-columns: 1fr;
    }
    
    .dpp-testimonial {
        padding: 24px;
    }
    
    .dpp-case-study-section {
        padding: 20px;
    }
}

/* Animation Classes */
.dpp-fade-in {
    animation: dppFadeIn 0.5s ease-out;
}

@keyframes dppFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.dpp-hover-zoom .dpp-card-inner:hover .dpp-thumbnail-img {
    transform: scale(1.1);
}

.dpp-hover-slide-up .dpp-card-inner:hover {
    transform: translateY(-8px);
}

.dpp-hover-fade .dpp-card-inner:hover {
    opacity: 0.9;
}

.dpp-hover-rotate .dpp-card-inner:hover .dpp-thumbnail-img {
    transform: scale(1.05) rotate(2deg);
}

/* Card Styles */
.dpp-style-minimal .dpp-card-inner {
    box-shadow: none;
    border: 1px solid var(--dpp-border-color);
}

.dpp-style-bordered .dpp-card-inner {
    border: 2px solid var(--dpp-border-color);
    box-shadow: none;
}

.dpp-style-shadowed .dpp-card-inner {
    box-shadow: var(--dpp-shadow-lg);
}

.dpp-style-overlay .dpp-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.dpp-style-overlay .dpp-project-title a,
.dpp-style-overlay .dpp-meta-value {
    color: #fff;
}

/* Print Styles */
@media print {
    .dpp-filters-wrapper,
    .dpp-pagination,
    .dpp-share-buttons,
    .dpp-project-nav {
        display: none;
    }
    
    .dpp-project-card {
        break-inside: avoid;
    }
}

/* Card Badge */
.dpp-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--dpp-primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

/* Project Client */
.dpp-project-client {
    font-size: 13px;
    color: var(--dpp-text-light);
    margin-bottom: 10px;
}

.dpp-client-label {
    margin-right: 4px;
}

.dpp-client-name {
    font-weight: 600;
    color: var(--dpp-text-color);
}

/* Project Tags */
.dpp-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.dpp-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--dpp-bg-light);
    color: var(--dpp-text-color);
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--dpp-transition);
}

.dpp-tag:hover {
    background: var(--dpp-primary-color);
    color: #fff;
}

.dpp-tag-more {
    background: var(--dpp-primary-color);
    color: #fff;
}

/* Secondary Button */
.dpp-btn-secondary {
    background: var(--dpp-bg-light);
    color: var(--dpp-text-color);
    padding: 10px;
}

.dpp-btn-secondary:hover {
    background: var(--dpp-primary-color);
    color: #fff;
}

/* Card Footer with multiple buttons */
.dpp-card-footer {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dpp-card-footer .dpp-btn-primary {
    flex: 1;
}

.dpp-card-footer .dpp-btn-secondary {
    flex-shrink: 0;
}

/* Sidebar Tags */
.dpp-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dpp-tag-list .dpp-tag {
    padding: 6px 12px;
    font-size: 12px;
}

/* Archive Header */
.dpp-archive-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dpp-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.dpp-archive-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--dpp-text-color);
}

.dpp-archive-description {
    font-size: 18px;
    color: var(--dpp-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Share Section */
.dpp-share-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--dpp-border-color);
}

.dpp-share-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--dpp-text-color);
}

/* CTA Box in Sidebar */
.dpp-sidebar-box.dpp-cta {
    background: linear-gradient(135deg, var(--dpp-primary-color), var(--dpp-secondary-color));
    color: #fff;
}

.dpp-sidebar-box.dpp-cta h3 {
    color: #fff;
}

.dpp-sidebar-box.dpp-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.dpp-sidebar-box.dpp-cta .dpp-btn {
    background: #fff;
    color: var(--dpp-primary-color);
    width: 100%;
    justify-content: center;
}

.dpp-sidebar-box.dpp-cta .dpp-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Project Info List */
.dpp-project-info ul li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.dpp-project-info ul li strong {
    flex-shrink: 0;
    color: var(--dpp-text-light);
    font-weight: 500;
}

.dpp-project-info ul li a {
    color: var(--dpp-primary-color);
    text-decoration: none;
}

.dpp-project-info ul li a:hover {
    text-decoration: underline;
}

/* Section Content */
.dpp-section-content {
    color: var(--dpp-text-color);
    line-height: 1.8;
}

.dpp-section-content p {
    margin-bottom: 12px;
}

.dpp-section-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Adjustments for New Elements */
@media (max-width: 768px) {
    .dpp-archive-title {
        font-size: 28px;
    }
    
    .dpp-archive-description {
        font-size: 16px;
    }
    
    .dpp-card-footer {
        flex-direction: column;
    }
    
    .dpp-card-footer .dpp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .dpp-card-footer .dpp-btn-secondary {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .dpp-archive-wrapper {
        padding: 20px 15px;
    }
    
    .dpp-archive-title {
        font-size: 24px;
    }
    
    .dpp-project-tags {
        display: none;
    }
}

/* Overlay Card Style Adjustments */
.dpp-style-overlay .dpp-card-thumbnail {
    aspect-ratio: 4/3;
}

.dpp-style-overlay .dpp-card-inner {
    position: relative;
}

.dpp-style-overlay .dpp-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    border-radius: 0 0 var(--dpp-border-radius) var(--dpp-border-radius);
}

.dpp-style-overlay .dpp-project-title a {
    color: #fff;
}

.dpp-style-overlay .dpp-project-client,
.dpp-style-overlay .dpp-meta-value,
.dpp-style-overlay .dpp-project-excerpt {
    color: rgba(255, 255, 255, 0.9);
}

.dpp-style-overlay .dpp-meta-icon svg {
    stroke: rgba(255, 255, 255, 0.9);
}

.dpp-style-overlay .dpp-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dpp-style-overlay .dpp-card-badge {
    background: #fff;
    color: var(--dpp-primary-color);
}

.dpp-style-overlay .dpp-card-overlay {
    display: none;
}

/* Minimal Card Style */
.dpp-style-minimal .dpp-card-inner {
    box-shadow: none;
    border: 1px solid var(--dpp-border-color);
}

.dpp-style-minimal .dpp-card-inner:hover {
    box-shadow: none;
    border-color: var(--dpp-primary-color);
}

/* Bordered Card Style */
.dpp-style-bordered .dpp-card-inner {
    border: 2px solid var(--dpp-border-color);
    box-shadow: none;
}

.dpp-style-bordered .dpp-card-inner:hover {
    border-color: var(--dpp-primary-color);
    box-shadow: none;
    transform: none;
}

/* Shadowed Card Style */
.dpp-style-shadowed .dpp-card-inner {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.dpp-style-shadowed .dpp-card-inner:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Print Styles */
@media print {
    .dpp-card-overlay,
    .dpp-card-badge,
    .dpp-share-section,
    .dpp-sidebar-box.dpp-cta {
        display: none !important;
    }
    
    .dpp-single-content {
        grid-template-columns: 1fr !important;
    }
    
    .dpp-case-study-section {
        break-inside: avoid;
    }
}