/* Biorganica Greetings Page Styles - Simple Overlay Approach */

/* Welcome Overlay - Simple card overlay */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    position: relative;
    animation: slideInScale 0.4s ease-out;
}

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

.welcome-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.welcome-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.welcome-header h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.welcome-header p {
    font-size: 1rem;
    color: #48bb78;
    font-weight: 500;
    margin: 0;
}

.welcome-body {
    text-align: center;
    margin-bottom: 1.5rem;
}

.welcome-body p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.welcome-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #48bb78, #68d391);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.btn-explore, .btn-later {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-explore {
    background: linear-gradient(135deg, #48bb78, #68d391);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.btn-later {
    background: rgba(0, 0, 0, 0.05);
    color: #4a5568;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-later:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.welcome-note {
    text-align: center;
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
    font-style: italic;
}

/* Main section styling additions */
.main-section {
    margin-top: 2rem;
}

.main-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.main-btn {
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.main-btn.primary {
    background: linear-gradient(135deg, #48bb78, #68d391);
    color: white;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
}

.main-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(72, 187, 120, 0.4);
}

.main-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.main-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.products-preview-section {
    margin-top: 3rem;
}

.products-title {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Enhanced product grid for better display */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.18);
}

.product-image {
    height: 180px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.2rem;
}

.product-info h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffd700;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.1rem;
    color: #68d391;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, #48bb78, #68d391);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-card {
        max-width: 400px;
        padding: 1.5rem;
    }
    
    .welcome-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-actions {
        flex-direction: column;
    }
    
    .btn-explore, .btn-later {
        width: 100%;
        justify-content: center;
    }
    
    .main-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .main-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .welcome-overlay {
        padding: 1rem;
    }
    
    .welcome-card {
        padding: 1.2rem;
    }
    
    .welcome-header h2 {
        font-size: 1.3rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .products-title {
        font-size: 1.5rem;
    }
} 