/* Designs Page Specific Styles */

.designs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Designs Header */
.designs-header {
    text-align: center;
    margin-bottom: 60px;
}

.designs-header h1 {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 700;
}

.designs-header p {
    font-size: 1.3rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Designs Filter */
.designs-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: #8B4513;
    border: 2px solid #8B4513;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* Designs Grid */
.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.design-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.design-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.design-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.design-item:hover .design-image img {
    transform: scale(1.1);
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.design-item:hover .design-overlay {
    opacity: 1;
}

.design-info {
    margin-top: auto;
}

.design-info h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.design-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.design-tag.traditional {
    background: #8B4513;
    color: white;
}

.design-tag.modern {
    background: #25D366;
    color: white;
}

.design-tag.casual {
    background: #FFD700;
    color: #8B4513;
}

.view-btn {
    background: white;
    color: #8B4513;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-top: 15px;
}

.view-btn:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* View More Section */
.view-more-section {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, #A0522D, #8B4513);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.lightbox-info {
    margin-top: 20px;
    color: white;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.lightbox-info .design-tag {
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .designs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .designs-container {
        padding: 30px 15px;
    }
    
    .designs-header h1 {
        font-size: 2.2rem;
    }
    
    .designs-header p {
        font-size: 1.1rem;
    }
    
    .designs-filter {
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .designs-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .design-image {
        height: 250px;
    }
    
    .design-info h3 {
        font-size: 1.1rem;
    }
    
    .view-more-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .designs-container {
        padding: 20px 10px;
    }
    
    .designs-header h1 {
        font-size: 1.8rem;
    }
    
    .designs-header p {
        font-size: 1rem;
    }
    
    .designs-filter {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .designs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .design-image {
        height: 220px;
    }
    
    .design-overlay {
        padding: 15px;
    }
    
    .design-info h3 {
        font-size: 1rem;
    }
    
    .view-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .view-more-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-content img {
        max-height: 70vh;
    }
    
    .close-lightbox {
        top: -30px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 320px) {
    .designs-header h1 {
        font-size: 1.6rem;
    }
    
    .designs-header p {
        font-size: 0.9rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .design-image {
        height: 200px;
    }
    
    .design-info h3 {
        font-size: 0.9rem;
    }
    
    .design-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .view-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
