/* Products Page Specific Styles */

/* Products Hero Section */
.products-hero {
    padding: clamp(40px, 6vw, 60px) 0 clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, rgba(249, 243, 243, 0.95) 0%, rgba(245, 203, 204, 0.25) 100%);
    text-align: center;
}

.products-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.products-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: 'Poppins', sans-serif;
    color: var(--dark-brown);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.products-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-brown);
    line-height: 1.7;
    margin-bottom: 30px;
}

.products-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 203, 204, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(245, 203, 204, 0.4);
    font-size: 0.95rem;
    color: var(--text-brown);
}

.badge-icon {
    font-size: 1.2rem;
}

/* Products Section */
.products-section {
    padding: clamp(60px, 8vw, 80px) 0;
    background-color: var(--white);
}

/* Trimester Sections */
.trimester-section {
    margin-bottom: clamp(80px, 12vw, 120px);
    position: relative;
}

.trimester-section:last-of-type {
    margin-bottom: clamp(40px, 6vw, 60px);
}

.trimester-header {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 30px);
    margin-bottom: clamp(50px, 8vw, 70px);
    padding: clamp(25px, 5vw, 35px);
    background: linear-gradient(160deg, rgba(245, 203, 204, 0.1) 0%, rgba(249, 243, 243, 0.8) 100%);
    border-radius: 25px;
    border: 1px solid rgba(179, 135, 132, 0.15);
}

.trimester-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: clamp(80px, 15vw, 100px);
    height: clamp(80px, 15vw, 100px);
    background: linear-gradient(160deg, rgba(245, 203, 204, 0.9) 0%, rgba(240, 180, 182, 0.9) 100%);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(245, 203, 204, 0.3);
    flex-shrink: 0;
}

.trimester-number {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--dark-brown);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.trimester-label {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    font-weight: 600;
    color: var(--dark-brown);
    margin-top: 2px;
}

.trimester-info {
    flex: 1;
}

.trimester-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-family: 'Poppins', sans-serif;
    color: var(--dark-brown);
    margin-bottom: 8px;
    line-height: 1.2;
}

.trimester-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-brown);
    line-height: 1.6;
    opacity: 0.9;
}

/* Trimester Content */
.trimester-content {
    animation: fadeIn 0.5s ease;
}

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

/* Coming Soon Message */
.coming-soon-message {
    text-align: center;
    padding: clamp(60px, 10vw, 100px) 20px;
    background: linear-gradient(160deg, rgba(249, 243, 243, 0.5) 0%, rgba(245, 203, 204, 0.1) 100%);
    border-radius: 30px;
    border: 1px solid rgba(179, 135, 132, 0.1);
}

.coming-soon-icon {
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: 20px;
}

.coming-soon-message h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--dark-brown);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.coming-soon-message p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-brown);
    opacity: 0.8;
}

.category-section {
    margin-bottom: clamp(60px, 8vw, 80px);
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-family: 'Poppins', sans-serif;
    color: var(--dark-brown);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.category-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-brown);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: clamp(24px, 4vw, 32px);
    max-width: 1200px;
    margin: 0 auto;
    justify-content: start;
}

/* Product Cards */
.product-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 243, 243, 0.9) 100%);
    border: 1px solid rgba(179, 135, 132, 0.15);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(179, 135, 132, 0.1);
}

/* Removed hover effect as requested */

/* Product Preview */
.product-preview {
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 203, 204, 0.3), rgba(240, 180, 182, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.preview-placeholder {
    text-align: center;
    color: var(--text-brown);
}

.preview-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.preview-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Loading Animation */
.product-card[data-loading="true"] .preview-placeholder {
    animation: pulse 2s infinite;
}

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

/* Product Info */
.product-info {
    padding: clamp(20px, 4vw, 28px);
}

.product-name {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.product-description {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--text-brown);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Product Tags - Removed as requested */

/* Product Link */
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(245, 203, 204, 0.9), rgba(240, 180, 182, 0.9));
    color: var(--dark-brown);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 203, 204, 0.3);
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 203, 204, 0.4);
    background: linear-gradient(135deg, rgba(245, 203, 204, 1), rgba(240, 180, 182, 1));
}

.product-link svg {
    transition: transform 0.3s ease;
}

.product-link:hover svg {
    transform: translateX(2px);
}

/* Navigation Active State */
.nav a.active {
    color: var(--main-pink);
    font-weight: 600;
}

/* Mobile Menu Toggle Styles */
.mobile-menu-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-icon,
.close-icon {
    font-size: 18px;
    color: var(--dark-brown);
    position: absolute;
    transition: opacity 0.2s ease;
}

.menu-icon {
    opacity: 1;
}

.close-icon {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon {
    opacity: 0;
}

.mobile-menu-toggle.active .close-icon {
    opacity: 1;
}

/* Mobile Menu Styles */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 25px;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 20px rgba(179, 135, 132, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav a {
        font-size: 1.1rem;
        padding: 15px 0;
        border-bottom: 1px solid rgba(179, 135, 132, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        color: var(--main-pink);
        padding-left: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .category-section {
        margin-bottom: 50px;
    }
    
    .product-preview {
        height: 160px;
    }
    
    .preview-icon {
        font-size: 2.5rem;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .trimester-section {
        margin-bottom: 60px;
    }
    
    .trimester-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 40px;
        padding: 25px 20px;
    }
    
    .trimester-badge {
        min-width: 70px;
        height: 70px;
    }
    
    /* Product tags removed */
}

@media (max-width: 480px) {
    .products-hero {
        padding: 30px 0 40px;
    }
    
    .products-section {
        padding: 40px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .category-header {
        margin-bottom: 30px;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .product-preview {
        height: 140px;
    }
    
    .preview-icon {
        font-size: 2rem;
    }
    
    .product-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .trimester-section {
        margin-bottom: 50px;
    }
    
    .trimester-header {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .trimester-badge {
        min-width: 60px;
        height: 60px;
    }
    
    .trimester-number {
        font-size: 1.2rem;
    }
    
    .trimester-label {
        font-size: 0.7rem;
    }
}

/* Enhanced Loading States */
.product-card[data-loading="true"] {
    position: relative;
}

.product-card[data-loading="true"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Accessibility Improvements */
.product-link:focus {
    outline: 2px solid var(--main-pink);
    outline-offset: 2px;
}

.product-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(179, 135, 132, 0.15);
}

/* Print Styles */
@media print {
    .product-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .product-link {
        color: var(--dark-brown) !important;
    }
}
