/* Collection page specific styles */

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(249, 251, 253, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(184, 255, 249, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #B8FFF9;
}

.logout-btn {
    background: linear-gradient(135deg, #B8FFF9 0%, #A0F0E4 100%);
    color: #333 !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 255, 249, 0.3);
}

/* Collection Header */
.collection-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(184, 255, 249, 0.1) 0%, rgba(255, 217, 232, 0.1) 100%);
    text-align: center;
}

.collection-header-content h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.collection-header-content p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 300;
}

.collection-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #B8FFF9;
    font-weight: 500;
}

/* Collection Filters */
.collection-filters {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 255, 249, 0.2);
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 8px 20px;
    border: 1px solid rgba(184, 255, 249, 0.3);
    min-width: 300px;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    padding: 8px 0;
    font-size: 16px;
    color: #333;
}

.search-box input::placeholder {
    color: #999;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #B8FFF9;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #A0F0E4;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(184, 255, 249, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(184, 255, 249, 0.2);
    color: #333;
}

.filter-btn.active {
    background: linear-gradient(135deg, #B8FFF9 0%, #A0F0E4 100%);
    color: #333;
    border-color: #B8FFF9;
}

/* Collection Grid */
.collection-grid {
    padding: 60px 0;
    background: #F9FBFD;
}

.collection-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.product-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.view-btn {
    background: linear-gradient(135deg, #B8FFF9 0%, #A0F0E4 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 255, 249, 0.4);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.product-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 300;
}

.product-category {
    display: inline-block;
    background: linear-gradient(135deg, #B8FFF9 0%, #A0F0E4 100%);
    color: #333;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Filter animations */
.product-item.hidden {
    display: none;
}

.product-item.fade-out {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.product-item.fade-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* No results message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #333;
}

.no-results p {
    font-size: 16px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
        width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .collection-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .collection-stats {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .collection-container {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .product-info p {
        font-size: 13px;
    }
}

/* Loading animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(184, 255, 249, 0.3);
    border-top: 4px solid #B8FFF9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

