/* Products Page Specific Styles */

/* Import Yekan Font */
@font-face {
	font-family: 'Yekan';
	src: url('../fonts/yekan/Yekan.eot');
	src: url('../fonts/yekan/Yekan.eot?#iefix') format('embedded-opentype'),
		url('../fonts/yekan/Yekan.woff2') format('woff2'),
		url('../fonts/yekan/Yekan.woff') format('woff'),
		url('../fonts/yekan/Yekan.ttf') format('truetype'),
		url('../fonts/yekan/Yekan.svg#Yekan') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    font-family: 'Yekan', Arial, sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    border-color: #0299b4;
    color: #0299b4;
}

.filter-btn.active {
    background: linear-gradient(to left, #0299b4, #025479);
    color: white;
    border-color: transparent;
}

/* Modern Creative Product Cards */
.product-item {
    margin-bottom: 2rem;
}

.product-card-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.product-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(2, 153, 180, 0.15);
    border-color: rgba(2, 153, 180, 0.3);
}

/* Background gradient */
.card-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(2, 153, 180, 0.05) 0%, 
        rgba(2, 84, 121, 0.05) 50%, 
        rgba(2, 153, 180, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card-modern:hover .card-bg-gradient {
    opacity: 1;
}

/* Content */
.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

/* Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-icon-modern {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0299b4, #025479);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(2, 153, 180, 0.3);
    transition: all 0.3s ease;
}

.product-card-modern:hover .product-icon-modern {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(2, 153, 180, 0.4);
}

.category-badge-modern {
    background: linear-gradient(135deg, rgba(2, 153, 180, 0.1), rgba(2, 84, 121, 0.1));
    color: #0299b4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Yekan', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(2, 153, 180, 0.2);
    backdrop-filter: blur(10px);
}

/* Product name */
.product-name-modern {
    margin-bottom: 1rem;
}

.product-name-modern h3 {
    font-family: 'Yekan', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    background: linear-gradient(135deg, #1f2937, #0299b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.product-card-modern:hover .product-name-modern h3 {
    transform: translateX(4px);
}

/* Description */
.product-description-modern {
    margin-bottom: 1.5rem;
}

.product-description-modern p {
    font-family: 'Yekan', Arial, sans-serif;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Features */
.product-features-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-family: 'Yekan', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-item svg {
    color: #0299b4;
    transition: all 0.3s ease;
}

.product-card-modern:hover .feature-item svg {
    transform: scale(1.2);
    color: #025479;
}

/* Action button */
.card-action-modern {
    display: flex;
    justify-content: center;
}

.order-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #0299b4, #025479);
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-family: 'Yekan', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(2, 153, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.order-btn-modern::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;
}

.order-btn-modern:hover::before {
    left: 100%;
}

.order-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 153, 180, 0.4);
}

.order-btn-modern svg {
    transition: transform 0.3s ease;
}

.order-btn-modern:hover svg {
    transform: translateX(4px);
}

/* Decorative elements */
.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(2, 153, 180, 0.1), rgba(2, 84, 121, 0.1));
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.decoration-2 {
    width: 60px;
    height: 60px;
    bottom: -15px;
    left: -15px;
    animation-delay: 2s;
}

.decoration-line {
    position: absolute;
    top: 50%;
    left: -10px;
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, transparent, #0299b4, transparent);
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Responsive adjustments for modern cards */
@media (max-width: 768px) {
    .product-item {
        margin-bottom: 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .product-name-modern h3 {
        font-size: 1.25rem;
    }
    
    .product-features-modern {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .order-btn-modern {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .product-icon-modern {
        width: 40px;
        height: 40px;
    }
    
    .decoration-1 {
        width: 60px;
        height: 60px;
    }
    
    .decoration-2 {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .card-content {
        padding: 1.25rem;
    }
    
    .product-name-modern h3 {
        font-size: 1.125rem;
    }
    
    .product-description-modern p {
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .order-btn-modern {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .category-badge-modern {
        font-size: 0.7rem;
        padding: 0.375rem 0.75rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pill Shape Card */
.product-pill-card {
    position: relative;
}

.pill-shape {
    border-radius: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pill-shape:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

/* Capsule Card */
.capsule-card {
    position: relative;
}

.capsule-divider {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to left, #0299b4, #025479);
    opacity: 0.2;
    transform: translateY(-50%);
}

/* Circular Flow Card */
.circular-flow-card {
    position: relative;
}

.circular-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #0299b4 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

/* Hexagon Wrapper */
.hexagon-wrapper {
    width: 130px;
    height: 130px;
    position: relative;
}

.hexagon {
    width: 100%;
    height: 100%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    transition: all 0.3s ease;
}

.hexagon-wrapper:hover .hexagon {
    transform: rotate(60deg);
}

/* Diamond Card */
.diamond-card {
    position: relative;
}

.diamond-bg {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #025479 0%, #0299b4 100%);
    opacity: 0.05;
    transform: rotate(45deg);
}

/* Wave Design Card */
.wave-design-card {
    position: relative;
}

.wave-header {
    position: relative;
}

.wave-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    clip-path: polygon(0 50%, 100% 20%, 100% 100%, 0 100%);
}

/* Asymmetric Card */
.asymmetric-card {
    position: relative;
}

.asymmetric-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, transparent 0%, #0299b4 100%);
    opacity: 0.03;
    border-radius: 3rem 0 3rem 0;
}

/* Search Input */
#searchInput {
    transition: all 0.3s ease;
}

#searchInput:focus {
    box-shadow: 0 0 0 3px rgba(2, 153, 180, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
    
    .product-item {
        margin-bottom: 1rem;
    }
}

/* Product Item Hidden State */
.product-item.hidden {
    display: none;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading {
    animation: shimmer 1.5s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 800px 104px;
}


