/* ===== DESIGNS PAGE STYLES ===== */

.designs-header {
    padding: 120px 20px 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    color: var(--text-light);
}

.designs-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-light), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.designs-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.designs-section {
    padding: 60px 20px;
    background: var(--bg-light);
    min-height: 100vh;
}

.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.design-card {
    background: var(--text-light);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.design-card:nth-child(1) { animation-delay: 0.05s; }
.design-card:nth-child(2) { animation-delay: 0.1s; }
.design-card:nth-child(3) { animation-delay: 0.15s; }
.design-card:nth-child(4) { animation-delay: 0.2s; }
.design-card:nth-child(5) { animation-delay: 0.25s; }
.design-card:nth-child(6) { animation-delay: 0.3s; }
.design-card:nth-child(7) { animation-delay: 0.35s; }
.design-card:nth-child(8) { animation-delay: 0.4s; }
.design-card:nth-child(9) { animation-delay: 0.45s; }
.design-card:nth-child(10) { animation-delay: 0.5s; }

.design-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 212, 170, 0.15);
}

.design-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.design-card:hover .design-image img {
    transform: scale(1.1);
}

.design-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-green);
    color: white;
    padding: 6px 14px;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.design-badge.hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.design-badge.premium {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.design-badge.enterprise {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.design-content {
    padding: 25px;
}

.design-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.design-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.design-features li {
    padding: 10px 0;
    color: #222222;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.design-features li:last-child {
    border-bottom: none;
}

.design-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #00b894;
    margin-bottom: 20px;
}

.design-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.design-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.design-btn:hover::before {
    left: 100%;
}

.design-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .designs-header h1 {
        font-size: 1.8rem;
    }
    
    .designs-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .design-image {
        height: auto;
        padding: 10px;
    }
    
    .design-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* ===== VIDEO PREVIEW BUTTON ===== */
.design-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.preview-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.preview-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

.preview-btn svg {
    width: 18px;
    height: 18px;
}

.design-buttons .design-btn {
    flex: 1;
    margin-top: 0;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.video-modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
}

.video-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-close-btn:hover {
    background: var(--accent-green);
    color: #fff;
}

@media (max-width: 768px) {
    .preview-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .preview-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .design-buttons {
        flex-direction: column;
    }
    
    .video-close-btn {
        top: -35px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
